WO2019196654A1 - 终端的网络搜索方法、带网络搜索功能的终端 - Google Patents

终端的网络搜索方法、带网络搜索功能的终端 Download PDF

Info

Publication number
WO2019196654A1
WO2019196654A1 PCT/CN2019/079906 CN2019079906W WO2019196654A1 WO 2019196654 A1 WO2019196654 A1 WO 2019196654A1 CN 2019079906 W CN2019079906 W CN 2019079906W WO 2019196654 A1 WO2019196654 A1 WO 2019196654A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network
duration
mode
network search
Prior art date
Application number
PCT/CN2019/079906
Other languages
English (en)
French (fr)
Inventor
李嘉德
孙桃林
Original Assignee
珠海奔图电子有限公司
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 珠海奔图电子有限公司 filed Critical 珠海奔图电子有限公司
Publication of WO2019196654A1 publication Critical patent/WO2019196654A1/zh

Links

Images

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]

Definitions

  • the present invention relates to the field of network connection technologies, and in particular, to a network search method for a terminal, a terminal with a network search function, and a computer readable storage medium.
  • an essential step is to perform a search operation of an image forming apparatus that the user desires to use, in order to ensure that the image forming apparatus that the user desires to use can be searched.
  • the set search time is usually long, and the user can perform subsequent operations after the corresponding search duration ends. Therefore, even when the search operation of the image forming apparatus that the user desires to use is performed, even in the set search.
  • the image forming apparatus that the user desires to use has been searched before the end of the duration, and the user still needs to wait until the set search duration is over before the subsequent operation is performed. Therefore, if the set search duration is long, the user needs to wait for a long time.
  • Subsequent operations are inconvenient for the user; if the set search duration is short, after the search duration is over, if the image forming apparatus that the user desires to use is not searched, the user needs to perform an operation to trigger the terminal to perform the search operation again. Until the desired image forming device is searched, to the user To inconvenience.
  • the embodiment of the invention provides a network search method for a terminal, a terminal with a network search function, and a computer readable storage medium, so as to solve the problem that the setting of the terminal network search duration is unreasonable in the prior art, and the user is inconvenient. technical problem.
  • an embodiment of the present invention provides a network search method for a terminal, including:
  • the terminal performs a network search based on the determined network search duration, and automatically ends the network search after the network search duration ends.
  • an embodiment of the present invention provides a terminal with a network search function, including:
  • An interface unit configured to receive a search request of the terminal
  • a first determining unit configured to determine a network connection mode of the terminal
  • a determining unit configured to determine a network search duration corresponding to the network connection mode based on the determined network connection mode of the terminal in combination with a preset network search duration
  • the searching unit performs a network search of the terminal based on the determined network search duration, and automatically ends the network search of the terminal after the network search duration ends.
  • an embodiment of the present invention provides a terminal with a network search function, including:
  • an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program; the computer program being executed by a processor to implement the foregoing method.
  • An embodiment of the present invention provides a network search method for a terminal, a terminal with a network search function, and a computer readable medium, and determines a network connection mode of the terminal based on the received search request; and determines a network connection mode of the terminal based on the determined Determining, according to the preset network search duration, a network search duration corresponding to the network connection mode; the terminal performs a network search based on the determined network search duration, and automatically ends after the network search duration ends Web search.
  • the terminal network connection mode is determined based on the received search request, thereby determining a network search duration corresponding to the network connection mode of the terminal, and thus, the network search duration in the embodiment of the present invention is Not all are unified, according to the network connection mode to set the appropriate network search duration, on the one hand, can reduce the time that the user waits for the time when the network search time is long, to bring convenience to the user, on the other hand, can avoid the network
  • the search duration is short, the user needs to perform an operation to trigger the terminal to perform a search operation cumbersome operation, which brings convenience to the user. Therefore, the embodiment of the present invention can solve the technical problem that the setting of the search time of the electronic device network in the prior art is unreasonable and brings inconvenience to the user.
  • FIG. 1 is a flowchart of a method for searching a terminal network according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of display state information of a terminal interface and a remaining duration of a network search according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of determining a network connection mode of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a terminal with a network search function according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of another terminal with a network search function according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of another terminal with a network search function according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of another terminal with a network search function according to an embodiment of the present invention.
  • FIG. 8 is a block diagram of a terminal composition with a network search function according to another embodiment of the present invention.
  • the embodiment of the present invention provides a terminal network search method.
  • the following describes the flow of a terminal network search method according to an embodiment of the present invention.
  • the method includes the following steps:
  • S101 Determine a network connection mode of the terminal based on the received search request.
  • the terminal may be a terminal device having a wireless communication function, including a mobile phone, a smart phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted computer, and other smart terminals having wireless communication functions.
  • the network connection mode may be that the terminal works in the Wi-Fi workstation working mode, the terminal works in the Wi-Fi access point working mode, the terminal works in the Wi-Fi direct working mode, and the terminal works in the unconnected Wi-Fi working mode. , or the network connection status of the terminal and the electronic device.
  • the working mode of the terminal working in the Wi-Fi workstation refers to accessing the Internet as a client connection router.
  • opening the Wi-Fi workstation mode refers to opening the Wi-Fi STA (Workstation) function of the terminal, or simply To enable Wi-Fi access; the terminal works in the WI-FI access point mode, which means that it is used as a Wi-Fi access point (Wi-Fi hotspot) for other terminals to access.
  • Wi-Fi hotspot Wi-Fi hotspot
  • the mode refers to opening the Wi-Fi AP (access point) function of the terminal, or simply turning on the hotspot; the working of the terminal in the Wi-Fi direct working mode means that only one other network device is allowed to work with the Wi-Fi.
  • the terminal directly connected to the working mode performs a point-to-point connection; the terminal works in the unconnected Wi-Fi working mode, that is, the terminal does not establish a network connection with other network devices, wherein the network device includes a terminal with a network function or an electronic device.
  • the connection status between the terminal and the electronic device includes that the terminal does not establish a network connection with the electronic device, or the terminal and the electronic device have established a network connection.
  • the connection status between the terminal and the electronic device is determined by the connection information displayed by the network state detection module of the terminal, where the network state detection module of the terminal is used to detect and display the connection status between the terminal and other network devices. It is common for personnel, and no redundancy is given here.
  • the network search duration corresponding to the connection status of the terminal and the electronic device is set to ensure the reliability of the network connection between the terminal and the electronic device.
  • the electronic device includes, but is not limited to, an image forming apparatus such as a printer, a copying machine, a facsimile machine, a scanner, or the like.
  • An application app for performing an image forming operation (including but not limited to a printing operation, a copying operation, a scanning operation, a fax operation) is installed at the terminal, and the user is referred to as an app, and the user performs an operation on the user interface of the app to trigger the terminal to perform a network search operation.
  • the user can trigger the terminal to perform a network search operation by clicking an option of the app user interface to characterize the search function.
  • the terminal performs a network search operation for searching for an electronic device that the user desires to use to facilitate image formation later. Operation, based on the received search request, the app acquires and determines the network connection mode of the terminal.
  • the system automatically initiates a search request for the electronic device to the app.
  • the manner of receiving the search request includes: receiving the voice input on the operation interface of the terminal, or automatically generating a signal of the search request by touching the NFC (field communication) module in the terminal with other electronic devices;
  • S102 Determine a network search duration corresponding to the network connection mode based on the determined network connection mode of the terminal in combination with a preset network search duration.
  • the network search duration refers to the maximum duration of the network search operation performed by the terminal, that is, after the preset network search duration ends, the network search operation is automatically ended.
  • the relationship between the network connection mode and its corresponding network search duration is pre-stored in the app, and Table 1 is taken as an example.
  • Network connection mode Web search duration The terminal works in the Wi-Fi workstation working mode. 15 seconds The terminal works in the Wi-Fi access point working mode. 3 seconds The terminal works in Wi-Fi Direct mode 2 seconds
  • the network connection mode stored in Table 1 can be combined with the network search duration relationship to determine the corresponding network duration. For example, when it is determined that the terminal works in the Wi-Fi workstation working mode, It can be determined that the corresponding network search duration is 15 seconds. When it is determined that the terminal works in the Wi-Fi access point working mode, the corresponding network search duration can be determined to be 3 seconds. When it is determined that the terminal works in the Wi-Fi direct connection mode, You can determine the corresponding web search duration is 2 seconds.
  • S103 The terminal performs a network search based on the determined network search duration, and automatically ends the network search after the network search duration ends.
  • the terminal performs a network search, and the terminal works in different working modes, and the manner in which the terminal performs the network search is also different.
  • the terminal When the terminal works in the Wi-Fi workstation mode, the terminal performs the network search as follows: the app installed in the terminal sends the broadcast information including the network search duration based on the received search request, and acquires the network search duration. , responding to other network device information, and displaying the obtained information in the user interface of the app; when the terminal works in the Wi-Fi access point working mode, the Wi-Fi direct working mode, or the terminal works in the unconnected Wi- In the Fi working mode, the terminal performs the network search as follows: the app sends the current network connection information request information of the terminal to the terminal operating system based on the received search request, and the app obtains the current network connection information of the terminal, and displays the user interface of the app.
  • the network search duration refers to the maximum duration of the network search operation performed by the terminal. Therefore, in the process of performing the network search by the terminal, if the network search duration is over, the network search is automatically ended.
  • determining whether the network search duration ends if the connectable electronic device is searched before the network search duration ends, establishing a network connection with the selected electronic device after the network search duration ends.
  • the searched electronic device information is displayed on the app user interface, and thus, after the terminal completes a network search. Based on the electronic device information displayed by the app user interface, the user can determine whether there is an electronic device that he or she desires to use, and if so, select the electronic device information that is desired to be used, and establish a network connection between the terminal and the selected electronic device.
  • the network connection with the electronic device is automatically suggested according to a predetermined rule (for example, an electronic device closest to the terminal, a recently connected electronic device, an electronic device having the strongest network connection information, etc.).
  • the electronic device information selected and used in the above may be directly selected as an electronic device (for example, when the electronic device itself is used as an AP access point), or may be an electronic device in a network corresponding to a certain router; Implementations do not limit these specific embodiments.
  • An embodiment of the present invention provides a network search method for a terminal, determining a network connection mode of the terminal based on the received search request, and determining a location based on the determined network connection mode of the terminal and a preset network search duration. Determining a network search duration corresponding to the network connection mode; the terminal performs a network search based on the determined network search duration, and automatically ends the network search after the network search duration ends.
  • the network connection mode of the electronic device is determined based on the received search request, thereby determining a network search duration corresponding to the network connection mode of the electronic device, and thus, the network in the embodiment of the present invention is visible.
  • the search durations are not all uniform, and the appropriate network search duration is set according to the network connection mode.
  • the time that the user waits for the time when the network search duration is long can be reduced, and the user can be facilitated.
  • determining a network duration corresponding to the network connection mode further includes the following steps:
  • the network connection mode of the terminal is the first mode, determining, by using the first duration, the network search duration of the terminal.
  • the network connection mode of the terminal is the second mode, determining that the second duration is the network search duration of the terminal.
  • the first duration is greater than the second duration.
  • different network search durations are set based on different network connection modes, and the appropriate network search duration is set to ensure that the terminal performs a network search to search for more electronic devices as much as possible.
  • different network connection modes are set. Different web search durations are due to different network connection modes, and the way the terminal performs network search is different. This part of the content is described in detail above, and will not be redundant here.
  • the first mode is that the terminal works in a Wi-Fi workstation mode
  • the second mode is that the terminal works in a Wi-Fi access point mode or the terminal works in a Wi-Fi direct connection mode.
  • the terminal works in the unconnected Wi-Fi working mode.
  • the network search duration is set to 15 seconds
  • the current working mode of the terminal is that the terminal works in the Wi-Fi access point mode, the terminal works in the Wi-Fi direct connection mode, or the terminal works in the unconnected Wi-Fi working mode
  • the network search duration is set to 2 seconds.
  • the embodiment of the invention provides a network search method for a terminal, which can set different network search durations for different terminal working modes, and can effectively avoid the technical problem that the conventional practices of the prior art bring inconvenience to the user.
  • the existing In the technology in order to ensure that no matter which working mode the terminal works in, when the terminal performs network operation, the terminal can search for as many electronic devices as possible and set a relatively long network connection duration in performing a network operation. As a result, the user needs to spend time waiting for the network search duration to end, and then perform subsequent operations.
  • the first mode is that the network state detection module of the terminal displays that the terminal has established a network connection with other electronic devices
  • the second mode is that the network state detection module of the terminal displays the terminal and other The electronic device does not establish a network connection.
  • the network state detecting module of the terminal displays that the terminal has established a network connection with other electronic devices, setting the network search duration to 5 seconds, and when the terminal works in the second mode.
  • the network search duration is set to 2 seconds.
  • the embodiment of the invention provides a network search method for a terminal, which is configured to set different network search durations for different connection states of the terminal and the electronic device, and can effectively avoid the technical problem of inconvenience caused by the conventional practices of the prior art.
  • the terminal and the electronic device in order to ensure the reliability of the network connection between the terminal and the electronic device, regardless of the connection status of the terminal and the electronic device in the current state, such as the terminal being disconnected from the electronic device, the terminal and the electronic device The network connection is in progress, the terminal and the electronic device are already connected, and the set network search duration is the same.
  • the required network search duration does not need to be long, and When the terminal and the electronic device are in the disconnected state, the required network search duration is relatively long, and a relatively long network search duration is set in order to ensure the stability of the network connection between the terminal and the electronic device. , users may need to spend time waiting for a longer web search duration, after Subsequent operations can be performed, inconvenience to the user.
  • the method further includes the following steps:
  • the user interface of the app installed in the terminal displays the status of the network search of the terminal, and displays the remaining time of the network search of the terminal, as shown in FIG. 2, where 200 refers to installation.
  • 220 refers to the network search status of the terminal and the remaining time of the network search of the terminal.
  • the network connection status of the current terminal is “Searching for a printer”, and the network search remaining time of the current terminal is It is 20 seconds, and the remaining time is 0. That is, after the terminal completes the execution of a network search, it automatically enters the app user interface displaying the network search result of the terminal.
  • the user interface of the app can also display the network connection status between the terminal and the electronic device. As shown in FIG. 2, no network connection is established between the current terminal and the electronic device.
  • the app user interface of the terminal displays the network search operation to search for the electronic device
  • the network search status of the terminal and the network search remaining time of the terminal are displayed, so that the user knows the network search of the terminal in the current state. State and progress to provide convenience to users.
  • determining the network connection mode of the terminal includes the following steps:
  • the app installed in the terminal obtains the current network connection information of the terminal from the operating system of the terminal, based on the current network connection information of the acquired terminal, the app. Determine the network connection mode of the terminal.
  • FIG. 3 specifically includes the following steps:
  • S301 Determine whether the Wi-Fi function of the terminal is enabled.
  • S302 Determine whether the terminal is connected to another network device.
  • step S303 If yes, go to step S303, otherwise go to step S304.
  • the other network device may be an electronic device with a network function, a terminal, or the like.
  • the network connection information includes, but is not limited to, at least one of SSID information, MAC address, IP address, and signal strength information of other network devices.
  • step S303 the process proceeds to step S305.
  • S305 Determine, according to the obtained network connection information of other network devices that establish a network connection with the terminal, determine a network connection mode of the terminal.
  • Determining the network connection mode of the terminal includes two cases, one of which is used to judge the WI-FI working mode of the terminal, and the other case is used to determine the network connection status of the terminal and other network devices.
  • the method mainly includes the following two methods.
  • One method is to determine whether the SSID information includes the character Ap or the character direct based on the acquired SSID information of the other network device. If the character AP is included, the terminal is determined to work in the WIFI connection. In the in-point working mode, if the character direct is included, it is determined that the terminal works in the WIFI direct working mode. If neither the character AP nor the character direct is included, it is determined that the terminal works in the WIFI workstation working mode, if no other network is obtained.
  • the SSID information of the device determines that the terminal works in the unconnected Wi-FI working mode; the other method is to determine whether there is a MAC address based on the acquired MAC information of other network devices, and if there is a MAC address, it is determined that the terminal works in Wi -Fi direct mode of operation, otherwise, the terminal is determined to work in other modes of operation.
  • connection status between the terminal and the electronic device is mainly determined by the following methods:
  • the network working mode of the terminal is judged. If the terminal works in the Wi-Fi workstation working mode, it is determined whether the SSID information of the network connected to the terminal is consistent with the SSID of the electronic device connected to the terminal. If it is inconsistent, it is determined that the network connection between the terminal and the electronic device is disconnected.
  • the terminal establishes a network connection with the electronic device and the same network device, and then, if the network connection between the terminal and the electronic device is connected to the network of the terminal.
  • the SSID information is consistent with the SSID of the electronic device connected to the terminal, and the terminal sends the verification information to the electronic device based on the IP address of the electronic device, and if there is a response from the printer, it is determined that the terminal establishes a network connection with the electronic device. If there is no response, it is determined that the terminal does not establish a network connection with the electronic device.
  • the terminal works in the Wi-Fi access point working mode, it is determined whether the network connection SSID of the terminal is consistent with the SSID of the electronic device connected to the terminal. If they are consistent, it is determined that the network connection is established between the terminal and the electronic device. , it is determined that no network connection is established between the terminal and the electronic device.
  • the terminal works in the Wi-Fi Direct mode, if it is determined whether the SSID of the electronic device directly connected to the Wi-Fi terminal is the same as the SSID of the electronic device directly connected to the Wi-Fi terminal, if it is consistent, then It is determined that a network connection is established between the terminal and the electronic device. If not, it is determined that no network connection is established between the terminal and the electronic device.
  • the terminal works in the unconnected Wi-Fi working mode, it is determined that the terminal does not establish a network connection with the electronic device.
  • S304 The network connection mode of the current terminal is not establishing a network connection with other network terminals.
  • the terminal does not establish a connection with other network devices, it is determined that the terminal does not establish a network connection with other network devices.
  • the network connection mode of the terminal is determined by the communication between the app installed in the terminal and the operating system, so as to determine the network search duration corresponding to the terminal network connection mode.
  • the network search duration is not always uniform. According to the network connection mode, the appropriate network search duration is set. On the one hand, the time that the user waits for the time when the network search duration is long can be reduced, and the user is facilitated. On the other hand, It can avoid the cumbersome operation that the user needs to perform the operation to trigger the terminal to perform the search operation when the network search duration is short, which brings convenience to the user.
  • the embodiment of the present invention provides a terminal with a network search function.
  • the terminal with a network search function provided by the embodiment of the present invention is described below with reference to FIG. 4, and the terminal includes:
  • the interface unit 401 is configured to receive a search request of the terminal.
  • the first determining unit 402 is configured to determine a network connection mode of the terminal.
  • the determining unit 403 is configured to determine a network search duration corresponding to the network connection mode based on the determined network connection mode of the terminal in combination with a preset network search duration.
  • the searching unit 404 performs a network search of the terminal based on the determined network search duration, and automatically ends the network search of the terminal after the network search duration ends.
  • the device provided by the embodiment of the present invention can perform the technical solution shown in FIG. 2 , and the specific implementation manner and the beneficial effects are similar, and details are not described herein again.
  • the terminal further includes:
  • a second determining unit 505 configured to determine whether the network search duration is ended
  • the connecting unit 506 is configured to establish a network connection with the selected electronic device after the network search duration ends, if the connectable electronic device is searched for before the network search duration ends.
  • the terminal further includes:
  • the determining unit determines that the first duration is the network search duration of the terminal
  • the determining unit determines that the second duration is the network search duration of the terminal.
  • the first duration is greater than the second duration.
  • the first mode is that the terminal works in a Wi-Fi workstation mode
  • the second mode is that the terminal works in a Wi-Fi access point mode or the terminal works in a Wi-Fi direct connection mode.
  • the terminal works in the unconnected Wi-Fi working mode.
  • the first mode is that the network state detection module of the terminal displays that the terminal has established a network connection with other electronic devices
  • the second mode is that the network state detection module of the terminal displays the terminal and other The electronic device does not establish a network connection.
  • the terminal includes:
  • the first display unit 601 is configured to display a status of the network search of the terminal, and display a network search remaining duration of the terminal.
  • the terminal includes:
  • the third determining unit 701 is configured to determine a network connection mode of the terminal based on network connection information of the terminal.
  • the present invention further provides a terminal implementation with a network search function.
  • the control terminal provided by the implementation includes: a memory, a processor, and a computer program.
  • the computer program is stored in a memory and is configured to be executed by a processor to implement the methods provided by any of the above embodiments.
  • an embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program executed by a processor to implement the method as provided in any of the above embodiments.
  • An embodiment of the present invention provides a terminal with a network search function and a computer readable medium, and determines a network connection mode of the terminal based on the received search request; and based on the determined network connection mode of the terminal, combined with a preset network
  • the search duration determines a network search duration corresponding to the network connection mode; the terminal performs a network search based on the determined network search duration, and automatically ends the network search after the network search duration ends.
  • the network connection mode of the electronic device is determined based on the received search request, thereby determining a network search duration corresponding to the network connection mode of the electronic device, and thus, the network in the embodiment of the present invention is visible.
  • the search durations are not all uniform, and the appropriate network search duration is set according to the network connection mode.
  • the time that the user waits for the time when the network search duration is long can be reduced, and the user can be facilitated.
  • the embodiment of the present invention can solve the technical problem that the setting of the search time of the electronic device network in the prior art is unreasonable and brings inconvenience to the user.

Abstract

本发明提供了一种终端的网络搜索方法、带网络搜索功能的终端及计算机可读存储介质,所述网络搜索方法中:基于接收的搜索请求,判断所述终端的网络连接模式;基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。从而解决现有技术中存在终端网络搜索时长的设定不合理,给用户带来不便的技术问题。

Description

终端的网络搜索方法、带网络搜索功能的终端
本申请要求于2018年04月12日提交中国专利局、申请号为201810325294.3、申请名称为“终端的网络搜索方法、带网络搜索功能的终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及网络连接技术领域,尤其涉及一种终端的网络搜索方法、带网络搜索功能的终端及计算机可读存储介质。
背景技术
现有技术中,利用安装于移动终端的图像形成app执行打印操作时,必不可少的一个步骤是执行用户期望使用的图像形成装置的搜索操作,为了保证用户期望使用的图像形成装置能够被搜索到,设定的搜索时长通常较长,并且,在对应的搜索时长结束后,用户才能执行后续的操作,因此,在执行用户期望使用的图像形成装置的搜索操作时,即便在设定的搜索时长结束前已经搜索到了用户期望使用的图像形成装置,用户仍然需要等待直至设定的搜索时长结束才能进行后续操作,因此,若设定的搜索时长较长时,用户需要等待较长的时间才能进行后续操作,给用户带来了不便;若设定的搜索时长较短时,在搜索时长结束后,若未搜索到用户期望使用的图像形成装置,用户需要执行操作触发终端再次执行搜索操作,直到搜索到期望的图像形成装置,给用户带来不便。
综上,现有技术中,终端执行用户期望使用的图像形成装置的搜索操作时,设定的搜索时长不合理时,会给用户带来不便。
发明内容
本发明实施例提供了一种终端的网络搜索方法、带网络搜索功能的终端及计算机可读存储介质,以解决现有技术中存在终端网络搜索时长的设定不合理,给用户带来不便的技术问题。
第一方面,本发明实施例提供一种终端的网络搜索方法,包括:
基于接收的搜索请求,判断所述终端的网络连接模式;
基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;
基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。
第二方面,本发明实施例提供一种带网络搜索功能的终端,包括:
接口单元,用于接收终端的搜索请求;
第一判断单元,用于判断所述终端的网络连接模式;
确定单元,用于基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;
搜索单元,基于确定的所述网络搜索时长,执行所述终端的网络搜索,并在所述网络搜索时长结束之后,自动结束所述终端的网络搜索。
第三方面,本发明实施例提供一种带网络搜索功能的终端,包括:
存储器;
处理器;以及
计算机程序;
其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行以实现以上所述方法。
第四方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序;所述计算机程序被处理器执行以实现上述方法。
上述技术方案中的一个技术方案具有如下有益效果:
本发明实施例提供一种终端的网络搜索方法、带网络搜索功能的终端及计算机可读介质,基于接收的搜索请求,判断所述终端的网络连接模式;基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。本发明实施例中,基于接收的搜索请求,判断所述终端网络连接模式,从而确定与所述终端的网络连接模式对应的网络搜索时长,由此可见,本发明实施例中的网络搜索时长并不都是统一的,根据网络连接模式设定合适的网络搜索时长,一方面,能够减少当网络搜索时长较长时用户等待花费的时间, 给用户带来便利,另一方面,能够避免当网络搜索时长较短时用户需要执行操作触发终端执行搜索操作的繁琐操作,给用户带来便利。因此,本发明实施例能够解决现有技术中存在电子装置网络搜索时长的设定不合理,给用户带来不便的技术问题。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例所提供的一种终端网络搜索方法的流程图。
图2为本发明实施例所提供的终端界面显示状态信息及网络搜索剩余时长示意图。
图3为本发明实施例所提供的确定终端的网络连接模式流程图。
图4为本发明实施例所提供的一种带网络搜索功能的终端的组成框图。
图5为本发明实施例所提供的另一种带网络搜索功能的终端的组成框图。
图6为本发明实施例所提供的另一种带网络搜索功能的终端的组成框图。
图7为本发明实施例所提供的另一种带网络搜索功能的终端的组成框图。
图8为本发明又一实施例提供一种带网络搜索功能的终端组成框图。
具体实施方式
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
实施例
本发明实施例给出一种终端网络搜索方法,下面参考图1来说明本发明实施例所提供的一种终端网络搜索方法的流程,该方法包括以下步骤:
S101:基于接收的搜索请求,判断所述终端的网络连接模式。
其中,终端可以为具有无线通信功能的终端设备,包括手机、智能手机、平板电脑、笔记本电脑、掌上电脑、车载电脑以及其他具有无线通信功能的智能终端。
其中,网络连接模式可以为终端工作于Wi-Fi工作站工作模式、终端工作于Wi-Fi接入点工作模式、终端工作于Wi-Fi直连工作模式、终端工作于未连接Wi-Fi工作模式,或者终端与电子装置的网络连接状况。
具体地,终端工作于Wi-Fi工作站工作模式指作为客户端连接路由器上网,本领域技术人员可以理解打开Wi-Fi工作站模式是指打开所述终端的Wi-Fi STA(工作站)功能,或者简称为打开Wi-Fi;终端工作于WI-FI接入点模式是指作为Wi-Fi接入点(Wi-Fi热点)供其他终端接入,本领域技术人员可以理解打开Wi-Fi接入点模式是指打开所述终端的Wi-Fi AP(接入点)功能,或者简称打开热点;终端工作于Wi-Fi直连工作模式是指只允许其他一个网络设备与所述工作于Wi-Fi直连工作模式的终端进行点对点连接;终端工作于未连接Wi-Fi工作模式是指终端未与其他网络设备建立网络连接,其中网络设备包括带有网络功能的终端或者电子装置等。
其中,终端与电子装置的连接状况包括终端与电子装置未建立网络连接,或者终端与电子装置已经建立网络连接。具体地,终端与电子装置的连接状况以终端的网络状态检测模块所显示的连接信息为准,其中,终端的网络状态检测模块用来检测并显示终端与其他网络设备的连接状况,对本领域技术人员而言是常见的,在此不进行冗述。根据终端与电子装置的连接状况设定对应的网络搜索时长是为了保障终端与电子装置之间的网络连接的可靠性。具体地,电子装置包括但不限于打印机、复印机、传真机、扫描仪等图像形成装置。
在终端安装一用于执行图像形成操作(包括但不限于打印操作、复印操作、扫描操作、传真操作)的应用程序app,后续简称app,用户在app的用户界面执行操作触发终端执行网络搜索操作,具体地,用户可以通过点击app用户界面的表征搜索功能的选项,从而触发终端执行网络搜索操作,具体地,终端执行网络搜索操作,用于搜索用户期望使用的电子装置以便于后期执行图像形成操作,基于接收到的搜索请求,app获取并判断终端的网络连接模式。当然也可以在用户启动安装于终端的app时,系统自动向app发起电子装置的搜索请求。并且接收搜索请求的方式包括还可以是:在终端的操作界面上接 收语音输入,或者通过所述终端中的NFC(进场通信)模块与其他电子装置的碰触,自动生成搜索请求的信号;这些不同的方式都属于本发明的保护范围。
S102:基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长。
其中,网络搜索时长是指终端执行一次网络搜索操作的最大时长,即在预设的网络搜索时长结束后,会自动结束网络搜索操作。
举例来说,在app中预先存储有网络连接模式及其对应的网络搜索时长的关系,以表1为例。
表1
网络连接模式 网络搜索时长
终端工作于Wi-Fi工作站工作模式 15秒
终端工作于Wi-Fi接入点工作模式 3秒
终端工作于Wi-Fi直连工作模式 2秒
由上表可知,一旦确定网络连接模式,结合表1中存储的网络连接模式结合网络搜索时长关系即可确定对应的网络时长,举例而言,当确定终端工作于Wi-Fi工作站工作模式,即可确定对应的网络搜索时长为15秒,当确定终端工作于Wi-Fi接入点工作模式,即可确定对应的网络搜索时长为3秒,当确定终端工作于Wi-Fi直连工作模式,即可确定对应的网络搜索时长为2秒。
S103:基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。
具体地,根据确定的网络搜索时长,终端执行网络搜索,终端工作于不同的工作模式,终端执行网络搜索的方式也不同。
其中,当终端工作于Wi-Fi工作站模式时,终端执行网络搜索的方式如下:安装于终端的app基于接收到的搜索请求,发送包含网络搜索时长的广播信息,并获取在网络搜索时长范围内,作出响应的其他网络设备信息,并将获取的信息显示在app的用户界面;当终端工作于Wi-Fi接入点工作模式、Wi-Fi直连工作模式,或者终端工作于未连接Wi-Fi工作模式时,终端执行网络搜索的方式如下:app基于接收的搜索请求,向终端操作系统发送终端当前网络连 接信息请求信息,app获取终端当前网络连接信息,并显示在app的用户界面。
具体地,网络搜索时长是指终端执行一次网络搜索操作的最大时长,因此,在终端执行网络搜索的过程中,若网络搜索时长结束了,则自动结束网络搜索。
进一步地,判断所述网络搜索时长是否结束;若在所述网络搜索时长结束前搜索到可连接的电子装置,则在所述网络搜索时长结束后与选定的电子装置建立网络连接。
具体地,在终端执行网络搜索操作过程中,即在网络搜索时长结束前,若搜索到了电子装置,会将搜索到的电子装置信息显示在app用户界面,因而,在终端完成一次网络搜索后,用户基于app用户界面显示的电子装置信息,便能确定是否有自己期望使用的电子装置,若有,则选定期望使用的电子装置信息,并将终端与选定的电子装置建立网络连接,以便于后期执行图像形成操作;若没有,则在app用户界面执行特定操作触发终端再次执行网络搜索操作,其中特定操作可以为在用户界面点击刷新选项;当然终端还可以设置成,完成一次网络搜索之后,按照预定规则(例如距离终端最近的电子装置、最近连接的电子装置、网络连接信息最强的电子装置等)自动建议与电子装置的网络连接。
需要补充说明的是,上述选定期望使用的电子装置信息,可以直接是选择电子装置(例如电子装置本身作为AP接入点的时候),还可以是某个路由器对应网络中的电子装置;本实施不对这些具体实施方式进行限定。
本发明实施例提供一种终端的网络搜索方法,基于接收的搜索请求,判断所述终端的网络连接模式;基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。本发明实施例中,基于接收的搜索请求,判断所述电子装置的网络连接模式,从而确定与所述电子装置的网络连接模式对应的网络搜索时长,由此可见,本发明实施例中的网络搜索时长并不都是统一的,根据网络连接模式设定合适的网络搜索时长,一方面,能够减少当网络搜索时长较长时用户等待花费的时间,给用户带来便利,另一方面,能够避免当网络搜索时长较短时用户需要执行操作触发终端执行搜索操作的繁琐操作,给用户带来便利。
在上述实施例的基础上,确定与所述网络连接模式对应的网络时长,进一步把包括以下步骤:
若所述终端的网络连接模式为第一模式,则确定以第一时长为所述终端的网络搜索时长。
若所述终端的网路连接模式为第二模式,则确定以第二时长为所述终端的网络搜索时长。
所述第一时长大于所述第二时长。
即基于不同的网络连接模式设定不同的网络搜索时长,设定合适的网络搜索时长是为了保证终端执行一次网络搜索能够尽可能搜索到较多的电子装置,具体地,不同的网络连接模式设定不同的网络搜索时长是因为不同的网络连接模式,终端执行网络搜索的方式不同,这部分内容在上文做了详细的介绍,此处不再冗述。
进一步地,所述第一模式为所述终端工作于Wi-Fi工作站模式,所述第二模式为所述终端工作于Wi-Fi接入点模式或者所述终端工作于Wi-Fi直连模式,或者终端工作于未连接Wi-Fi工作模式。
举例而言,当终端工作于第一模式时,即终端的当前的工作模式为终端工作于Wi-Fi工作站模式时,设定网络搜索时长为15秒,当终端工作于第二模式时,即终端的当前工作模式为终端工作于Wi-Fi接入点模式、终端工作于Wi-Fi直连模式、或者终端工作于未连接Wi-Fi工作模式中的一种,则设定网络搜索时长为2秒。
本发明实施例提供一种终端的网络搜索方法,针对不同的终端工作模式设定不同的网络搜索时长,能够有效避免现有技术的常规做法给用户带来不便的技术问题,具体地,现有技术中,为了保障无论终端工作于哪种工作模式,终端执行网络操作时,均能在执行一次网络操作中能够搜索到尽可能多的电子装置而设定的相对较长的网络连接时长。因而导致用户需要花费时间等待网络搜索时长结束,之后再进行后续操作。
进一步地,所述第一模式为所述终端的网络状态检测模块显示所述终端与其他电子装置已经建立网络连接,所述第二模式为所述终端的网络状态检测模块显示所述终端与其他电子装置未建立网络连接。
举例而言,当终端工作于第一模式时,即所述终端的网络状态检测模块显示所述终端与其他电子装置已经建立网络连接,设定网络搜索时长为5秒,当终端工作于第二模式时,即所述终端的网络状态检测模块显示所述终端与其他电子装置未建立网络连接,则设定网络搜索时长为2秒。
本发明实施例提供一种终端的网络搜索方法,针对终端与电子装置的不同的连接状况设定不同的网络搜索时长,能够有效避免现有技术的常规做法给用户带来不便的技术问题,具体地,现有技术中,为了保障终端与电子装置之间的网络连接的可靠性,无论当前状态下,终端与电子装置处于何种连接状况,如终端与电子装置断开连接,终端与电子装置正在进行网络连接,终端与电子装置已经处于连接状态,所设定的网络搜索时长均相同,然而,举例而言,终端与电子装置处于连接状态时,所需的网络搜索时长无需较长,而当终端与电子装置处于断开状态时,所需要的网络搜索时长反而需要较长,为了保证终端与电子装置之间的网络连接的稳定性,均设定一个相对较长的网络搜索时长,因此,用户可能需要花费时间等待一个较长的网络搜索时长,之后才能进行后续操作,给用户带来不便。
进一步地,在图1所示的本发明实施例提供的一种终端网络搜索方法的基础上,还进一步包括以下步骤:
显示所述终端的网络搜索的状态,并显示所述终端的网络搜索剩余时长。
具体地,在终端执行网络搜索操作时,在安装于终端的app的用户界面显示终端的网络搜索的状态,及显示所述终端的网络搜索剩余时长,如图2所示,其中200是指安装于终端的app的用户界面,220是指终端的网络搜索状态及终端的网络搜索剩余时长,如图2所示,当前终端的网络连接状态为“正在搜索打印机”,当前终端的网络搜索剩余时长为20秒,待剩余时长为0,即终端完成一次网络搜索的执行后,自动进入显示有终端的网络搜索结果的app用户界面。进一步地,在app的用户界面还可以显示终端与电子装置的网络连接状态,如图2所示,当前终端与电子装置之间未建立网络连接。
在本发明实施例中,在终端的app用户界面显示终端执行网络搜索操作以搜索电子装置时,显示终端的网络搜索状态及终端的网络搜索剩余时长,使得用户知晓当前状态下的终端的网络搜索状态及进度,给用户提供便利。
在图1所示的本发明实施例提供的一种终端网络搜索方法的基础上,判断所述终端的网络连接模式,包括以下步骤:
基于所述终端的网络连接信息,判断所述终端的网路连接模式。
具体地,基于用户在app用户界面发起的搜索请求或者系统自动发起搜索请求,安装于终端的app向终端的操作系统获取终端的当前网络连接信息,基于获取到的终端的当前网络连接信息,app判断终端的网络连接模式。
终端的当前网络连接信息的获取方法,参见图3,具体包括一下步骤:
S301:判断终端的Wi-Fi功能是否开启。
若是,则进入步骤S302。
S302:判断终端是否连接其他网络设备。
若是,则进入步骤S303,否则进入步骤S304。
S303:获取与终端建立网络连接的其他网路设备的网络连接信息。
其中,其他网络设备可以为带有网络功能的电子装置、终端等。网络连接信息包括但不限于其他网络设备的SSID信息、MAC地址、IP地址、信号强弱信息中至少一种。
步骤S303之后,进入步骤S305。
S305:基于获取的与终端建立网络连接的其他网络设备的网络连接信息,确定终端的网络连接模式。
确定终端的网络连接模式包括两种情况,其中一种情况用于判断终端的WI-FI工作模式,另一种情况用于判断终端与其他网络设备的网路连接状态。
针对第一种情况,主要包括一下两种方式,一种方式是基于获取的其他网络设备的SSID信息,判断SSID信息是否包含字符Ap或者字符direct,若包含字符AP,则判定终端工作于WIFI接入点工作模式,若包含字符direct,则判定终端工作于WIFI直连工作模式,若既不包含字符AP,也不包含字符direct,则判定终端工作于WIFI工作站工作模式,若未获取到其他网络设备的SSID信息,则判定终端工作于未连接Wi-FI工作模式;另一种方式是基于获取的其他网络设备的MAC信息,判断是否存在MAC地址,若存在MAC地址,则判断终端工作于Wi-Fi直连工作模式,否则,则确定终端工作于其他工作模式。
针对第二种情况,用于判断终端与电子装置的连接状况,主要包括以下方式:
首先根据第一种情况中的判断规则,判断终端的网络工作模式,若终端工作于Wi-Fi工作站工作模式,则判断终端连接的网络的SSID信息与终端所连接的电子装置的SSID是否一致,若不一致,则判定终端与电子装置之间的网络连接断开,反之,则判定终端与电子装置与同一网络设备建立网络连接,之后,若终端与电子装置之间的网络连接若终端连接的网络的SSID信息与终端所连接的电子装置的SSID是一致的,则终端基于电子装置的IP地址,向电子装置发送验证信息,若存在打印机的响应,则确定终端与电子装置建立了网路连接,若不存在响应,则确定终端与电子装置未建立网络连接。
若终端工作于Wi-Fi接入点工作模式,则判断终端的网络连接SSID与终端所连接的电子装置的SSID是否一致,若一致,则确定终端与电子装置之间建立了网络连接,若不一致,则确定终端与电子装置之间未建立网络连接。
若终端工作于Wi-Fi直连工作模式,若判断与终端建立Wi-Fi直连的电子装置的SSID与之前与终端建立过Wi-Fi直连的电子装置的SSID是否一致,若一致,则确定终端与电子装置之间建立了网络连接,若不一致,则确定终端与电子装置之间未建立网络连接。
若终端工作于未连接Wi-Fi工作模式,则确定终端与电子装置未建立网络连接。
S304:当前终端的网络连接模式为未与其他网络终端建立网络连接。
若检测到终端未与其他网络设备建立连接,则判定终端未与其他网络设备建立网络连接。
本发明实施例,通过安装于终端的app与操作系统的通信,从而确定终端的网络连接模式,以便于后续确定与终端网络连接模式对应的网络搜索时长,由此可见,本发明实施例中的网络搜索时长并不都是统一的,根据网络连接模式设定合适的网络搜索时长,一方面,能够减少当网络搜索时长较长时用户等待花费的时间,给用户带来便利,另一方面,能够避免当网络搜索时长较短时用户需要执行操作触发终端执行搜索操作的繁琐操作,给用户带来便利。
本发明实施例给出一种带网络搜索功能的终端,下面参考图4来说明本发明实施例所提供的一种带网络搜索功能的终端,该终端包括:
接口单元401,用于接收终端的搜索请求。
第一判断单元402,用于判断所述终端的网络连接模式。
确定单元403,用于基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长。
搜索单元404,基于确定的所述网络搜索时长,执行所述终端的网络搜索,并在所述网络搜索时长结束之后,自动结束所述终端的网络搜索。
本发明实施例提供的装置能够执行图2所示的技术方案,其具体执行方式和有益效果类似,在这里不再赘述。
可选的,如图5所示,该终端还包括:
第二判断单元505,用于在判断所述网络搜索时长是否结束;
连接单元506,用于若在所述网络搜索时长结束前搜索到可连接的电子装置,则在所述网络搜索时长结束后与选定的电子装置建立网络连接。
可选的,该终端还包括:
当所述第一判断单元判断所述终端的网络连接模式为第一模式,则所述确定单元确定以第一时长为所述终端的网络搜索时长;
当所述第一判断单元判断所述终端的网路连接模式为第二模式,则所述确定单元确定以第二时长为所述终端的网络搜索时长。
其中,所述第一时长大于所述第二时长。
进一步地,所述第一模式为所述终端工作于Wi-Fi工作站模式,所述第二模式为所述终端工作于Wi-Fi接入点模式或者所述终端工作于Wi-Fi直连模式,或者终端工作于未连接Wi-Fi工作模式。
进一步地,所述第一模式为所述终端的网络状态检测模块显示所述终端与其他电子装置已经建立网络连接,所述第二模式为所述终端的网络状态检测模块显示所述终端与其他电子装置未建立网络连接。
可选的,如图6所示,该终端包括:
第一显示单元601,用于显示所述终端的网络搜索的状态,并显示所述终端的网络搜索剩余时长。
可选的,如图7所示,该终端包括:
第三判断单元701,用于基于所述终端的网络连接信息,判断所述终端的网路连接模式。
如图8所示,本发明还提供一种带网络搜索功能的终端实施方式,具体地,本实施提供的控制终端实包括:存储器、处理器、以及计算机程序。
其中,计算机程序存储在存储器中,并被配置为由处理器执行以实现上 述任一实施例所提供的方法。
另外,本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行以实现如上述任一实施例所提供的方法。
本发明实施例提供一种带网络搜索功能的终端及计算机可读介质,基于接收的搜索请求,判断所述终端的网络连接模式;基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。本发明实施例中,基于接收的搜索请求,判断所述电子装置的网络连接模式,从而确定与所述电子装置的网络连接模式对应的网络搜索时长,由此可见,本发明实施例中的网络搜索时长并不都是统一的,根据网络连接模式设定合适的网络搜索时长,一方面,能够减少当网络搜索时长较长时用户等待花费的时间,给用户带来便利,另一方面,能够避免当网络搜索时长较短时用户需要执行操作触发终端执行搜索操作的繁琐操作,给用户带来便利。因此,本发明实施例能够解决现有技术中存在电子装置网络搜索时长的设定不合理,给用户带来不便的技术问题。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (16)

  1. 一种终端的网络搜索方法,其特征在于,包括:
    基于接收的搜索请求,判断所述终端的网络连接模式;
    基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;
    基于确定的所述网络搜索时长,所述终端执行网络搜索,并在所述网络搜索时长结束之后,自动结束网络搜索。
  2. 根据权利要求1所述方法,其特征在于,还包括:
    判断所述网络搜索时长是否结束;
    若在所述网络搜索时长结束前搜索到可连接的电子装置,则在所述网络搜索时长结束后与选定的电子装置建立网络连接。
  3. 根据权利要求1所述方法,其特征在于,确定与所述网络连接模式对应的网络搜索时长,包括:
    若所述终端的网络连接模式为第一模式,则确定以第一时长为所述终端的网络搜索时长;
    若所述终端的网路连接模式为第二模式,则确定以第二时长为所述终端的网络搜索时长;
    其中,所述第一时长大于所述第二时长。
  4. 根据权利要求3所述方法,其特征在于,
    所述第一模式为所述终端工作于Wi-Fi工作站模式,所述第二模式为所述终端工作于Wi-Fi接入点模式、所述终端工作于Wi-Fi直连模式,或者所述终端工作于未连接Wi-Fi工作模式。
  5. 根据权利要求3所述的终端的网络搜索方法,其特征在于:
    所述第一模式为所述终端的网络状态检测模块显示所述终端与其他电子装置已经建立网络连接,所述第二模式为所述终端的网络状态检测模块显示所述终端与其他电子装置未建立网络连接。
  6. 根据权利要求1-5中任一项所述方法,其特征在于,还包括:
    显示所述终端的网络搜索的状态,并显示所述终端的网络搜索剩余时长。
  7. 根据权利要求1所述方法,其特征在于,判断所述终端的网络连接模式,包括:
    基于所述终端的网络连接信息,判断所述终端的网路连接模式。
  8. 一种带网络搜索功能的终端,其特征在于,包括:
    接口单元,用于接收终端的搜索请求;
    第一判断单元,用于判断所述终端的网络连接模式;
    确定单元,用于基于确定的所述终端的网络连接模式结合预先设定的网络搜索时长,确定与所述网络连接模式对应的网络搜索时长;
    搜索单元,基于确定的所述网络搜索时长,执行所述终端的网络搜索,并在所述网络搜索时长结束之后,自动结束所述终端的网络搜索。
  9. 根据权利要求8所述终端,其特征在于,还包括:
    第二判断单元,用于在判断所述网络搜索时长是否结束;
    第一连接单元,用于若在所述网络搜索时长结束前搜索到可连接的电子装置,则在所述网络搜索时长结束后与选定的电子装置建立网络连接。
  10. 根据权利要求8所述终端,其特征在于,
    当所述第一判断单元判断所述终端的网络连接模式为第一模式,则所述确定单元确定以第一时长为所述终端的网络搜索时长;
    当所述第一判断单元判断所述终端的网路连接模式为第二模式,则所述确定单元确定以第二时长为所述终端的网络搜索时长;
    其中,所述第一时长大于所述第二时长。
  11. 根据权利要求10所述终端,其特征在于,
    所述第一模式为所述终端工作于Wi-Fi工作站模式,所述第二模式为所述终端工作于Wi-Fi接入点模式或者所述终端工作于Wi-Fi直连模式,或者终端工作于未连接Wi-Fi工作模式。
  12. 根据权利要求10所述终端,其特征在于,
    所述第一模式为所述终端的网络状态检测模块显示所述终端与其他电子装置已经建立网络连接,所述第二模式为所述终端的网络状态检测模块显示所述终端与其他电子装置未建立网络连接。
  13. 根据权利要求8-12中任一项所述终端,其特征在于,还包括:
    第一显示单元,用于显示所述终端的网络搜索的状态,并显示所述终端的网络搜索剩余时长。
  14. 根据权利要求8所述终端,其特征在于,判断单元,用于判断所述终端的网络连接模式,包括:
    第三判断单元,用于基于所述终端的网络连接信息,判断所述终端的网路连接模式。
  15. 一种带网络搜索功能的终端,其特征在于,包括:
    存储器;
    处理器;以及
    计算机程序;
    其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行以实现如权利要求1-7任一项所述的方法。
  16. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序;所述计算机程序被处理器执行以实现如权利要求1-7任一项所述的方法。
PCT/CN2019/079906 2018-04-12 2019-03-27 终端的网络搜索方法、带网络搜索功能的终端 WO2019196654A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810325294.3A CN108738010A (zh) 2018-04-12 2018-04-12 终端的网络搜索方法、带网络搜索功能的终端
CN201810325294.3 2018-04-12

Publications (1)

Publication Number Publication Date
WO2019196654A1 true WO2019196654A1 (zh) 2019-10-17

Family

ID=63940842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/079906 WO2019196654A1 (zh) 2018-04-12 2019-03-27 终端的网络搜索方法、带网络搜索功能的终端

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738010A (zh) * 2018-04-12 2018-11-02 珠海奔图电子有限公司 终端的网络搜索方法、带网络搜索功能的终端
CN110017868A (zh) * 2019-05-08 2019-07-16 北京汇通天下物联科技有限公司 冷库温湿度监控方法及系统
CN114760672A (zh) * 2020-12-29 2022-07-15 深圳Tcl新技术有限公司 一种无感配网及设备协同的方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104934A (zh) * 2009-12-18 2011-06-22 鸿富锦精密工业(深圳)有限公司 无线通讯终端及其节能方法
CN103379480A (zh) * 2012-04-17 2013-10-30 腾讯科技(深圳)有限公司 无线网络连接方法及装置
WO2014010852A1 (ko) * 2012-07-10 2014-01-16 주식회사 에어플러그 경로에 따른 접속점 순차정보를 생성하고, 그 생성된 접속점 순차정보를 이용하여 무선 통신망을 접속하는 방법과 장치
CN104584650A (zh) * 2012-08-17 2015-04-29 苹果公司 管理移动设备中的功率消耗
CN108738010A (zh) * 2018-04-12 2018-11-02 珠海奔图电子有限公司 终端的网络搜索方法、带网络搜索功能的终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172304B (zh) * 2017-07-17 2019-12-03 维沃移动通信有限公司 一种移动终端功耗检测方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104934A (zh) * 2009-12-18 2011-06-22 鸿富锦精密工业(深圳)有限公司 无线通讯终端及其节能方法
CN103379480A (zh) * 2012-04-17 2013-10-30 腾讯科技(深圳)有限公司 无线网络连接方法及装置
WO2014010852A1 (ko) * 2012-07-10 2014-01-16 주식회사 에어플러그 경로에 따른 접속점 순차정보를 생성하고, 그 생성된 접속점 순차정보를 이용하여 무선 통신망을 접속하는 방법과 장치
CN104584650A (zh) * 2012-08-17 2015-04-29 苹果公司 管理移动设备中的功率消耗
CN108738010A (zh) * 2018-04-12 2018-11-02 珠海奔图电子有限公司 终端的网络搜索方法、带网络搜索功能的终端

Also Published As

Publication number Publication date
CN108738010A (zh) 2018-11-02

Similar Documents

Publication Publication Date Title
JP6608190B2 (ja) 情報端末、その制御方法、及びプログラム
US9311030B2 (en) Communication setting technology and communication apparatus
WO2019196654A1 (zh) 终端的网络搜索方法、带网络搜索功能的终端
KR102180701B1 (ko) 통신장치, 통신장치의 제어방법 및 기억매체
WO2014044057A1 (en) Methods, terminals, and systems for facilitating data sharing
JP5421762B2 (ja) 表示装置、その制御方法、表示システム
US20180124769A1 (en) Communication apparatus, control method thereof, and program
US10764819B2 (en) Network search method and apparatus under double-card mode, and computer storage medium
JP2012247859A (ja) 端末のリモートシステム、リモート操作方法
US20140086179A1 (en) Methods, terminals, and systems for facilitating data sharing
US20150347066A1 (en) Communication apparatus, method of controlling the same, and program
US10511693B2 (en) Non-transitory computer-readable recording medium for terminal device
EP3291509A1 (en) Information processing device and non-transitory recording medium
WO2014110855A1 (zh) 一种数据传输的方法及终端
JP2013020328A (ja) 情報処理プログラム、情報処理装置、情報処理方法
JP2017010323A (ja) 通信装置、通信装置の制御方法、およびプログラム
WO2021042612A1 (zh) 无线投屏方法、装置、设备及存储介质
US20180248697A1 (en) Communication Device
WO2015098162A1 (ja) 車載装置及び車載装置の制御方法
WO2018076613A1 (zh) 无线网络连接的流量控制方法、装置及可读取存储介质
JP2017200009A (ja) 情報処理装置及びプログラム
KR102022330B1 (ko) Wi-Fi 다이렉트를 이용한 화상형성장치의 네트워크 연결 방법, Wi-Fi 다이렉트를 지원하는 화상형성장치 및 화상형성시스템
CN113542423B (zh) 网络连接控制方法、网络连接控制终端及系统
US20220124129A1 (en) Information processing system, information processing method, and recording medium having recorded thereon information processing program
CN108738090B (zh) 一种通信装置网络连接的控制方法、通信装置、电子终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19784594

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19784594

Country of ref document: EP

Kind code of ref document: A1