WO2020052268A1 - Procédé et dispositif de commande de connexion de réseau de terminal - Google Patents

Procédé et dispositif de commande de connexion de réseau de terminal Download PDF

Info

Publication number
WO2020052268A1
WO2020052268A1 PCT/CN2019/087597 CN2019087597W WO2020052268A1 WO 2020052268 A1 WO2020052268 A1 WO 2020052268A1 CN 2019087597 W CN2019087597 W CN 2019087597W WO 2020052268 A1 WO2020052268 A1 WO 2020052268A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
terminal
target application
currently connected
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.)
Ceased
Application number
PCT/CN2019/087597
Other languages
English (en)
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
Publication of WO2020052268A1 publication Critical patent/WO2020052268A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of the Internet, and in particular, to a method and device for controlling a network connection of a terminal.
  • An image forming device such as a printer supports a WI-FI connection.
  • a user can establish a wireless connection with the printer via a mobile phone, and send a print job to the printer via the mobile phone.
  • the printer has a soft AP (Access Point) function, that is, the printer can send out a broadcast as an access point.
  • the broadcast includes an SSID (Service Set Identifier, service set identifier), and the mobile phone can search for it.
  • SSID Service Set Identifier, service set identifier
  • the user selects the SSID in the Wi-Fi settings of the mobile phone and enters the password to make the mobile phone and printer establish a direct connection.
  • the mobile phone cannot perform web page printing or other functions that need to access the Internet.
  • the printer 103 itself includes an access point 105 and sends a broadcast, and the broadcast includes the SSID of the access point 105.
  • the mobile phone 104 can search for the SSID of the access point 105, and establish a connection with the access point 105 according to the SSID of the access point 105 and the corresponding authentication key, so as to search for the printer 103 to establish a direct connection without having to establish through another access point connection.
  • An APP (Application, application) of the printer 103 is installed on the mobile phone 104, and the printer's APP searches for the printer 103 to establish communication with the access point 105.
  • the Wi-Fi of the mobile phone 104 is still connected to the access point 105 of the printer 103 and cannot access the Internet.
  • the user needs to exit the APP of the printer and set the Wi-Fi connection of the mobile phone 104 to the access point 101 so that operations such as accessing the Internet through the access point 101 can be performed. If the printer 103 is to be reused, the user needs to set the Wi-Fi of the mobile phone to the access point 105 of the printer.
  • Another method is to make both the mobile phone 104 and the printer 103 connected to the access point 101 at the same time, then the APP of the mobile phone 104 searches for the printer 103 through the access point 101 to establish communication, so even if the user exits the APP, the mobile phone is still connected to the access point. 101. You can continue other operations to access the Internet. However, the process of configuring the printer 103 to connect to the access point 101 is very tedious. Generally, the printer 103 needs a setting panel. The setting panel is used to enter the SSID and key of the access point 101, or the printer 103 is connected to the computer via USB. The screen and keyboard of the computer enter the SSID and key of the access point 101.
  • embodiments of the present application provide a method and device for controlling a network connection of a terminal, so as to solve the problem of complicated network connection operations in the prior art.
  • an embodiment of the present application provides a method for controlling a network connection of a terminal.
  • the method includes: judging whether to perform an exit operation on a target application; and if the exit operation is performed on the target application, determining whether a network is satisfied.
  • a handover condition if the network handover condition is satisfied, controlling the terminal to disconnect a network connection with an access point to which it is currently connected when the target application performs an exit operation.
  • determining whether the network switching condition is met includes: determining whether the access point currently connected to the terminal is an access point of the image forming apparatus; and if the access point currently connected to the terminal is an access point of the image forming apparatus Access point, it is determined that the network switching condition is met; or, it is determined whether the access point that the terminal was connected to before logging in to the target application is consistent with its currently connected access point; if the terminal is logged in to the target application If the previously connected access point and the currently connected access point are inconsistent, then it is determined that the network switching condition is satisfied; or, it is determined whether the target application causes the terminal to perform the operation before the target application is exited. Switching over the network; if the target application causes the terminal to switch over the network before performing the exit operation on the target application, it is determined that the network switching condition is satisfied.
  • controlling the terminal to disconnect the network connection with the access point to which it is currently connected includes: deleting the service set identifier and key of the currently connected access point stored in the operating system of the terminal; or, Send a first instruction to the operating system of the terminal, where the first instruction is used to instruct the operating system of the terminal to reduce the connection priority of the currently connected access point.
  • the method further includes: determining whether the operating system of the terminal has lowered the connection priority of the currently connected access point or determining the terminal Whether to disconnect from its currently connected access point; if the operating system of the terminal has not lowered the connection priority of the currently connected access point or the terminal has not disconnected from its currently connected access point , Delete the service set identifier and key of the currently connected access point stored in the operating system.
  • the method further includes: establishing a monitoring program of the target application, the monitoring program storing a service set identifier and a key of the currently connected access point.
  • the unique identification information of the currently connected image forming apparatus if it is detected that the terminal logs in to the target application again, the monitoring program sends the stored information to the target application.
  • an embodiment of the present application provides a device for controlling a network connection of a terminal.
  • the device includes: a first determining unit for determining whether to perform an exit operation on a target application program; and a second determining unit for The target application performs an exit operation to determine whether a network switching condition is satisfied; and a control unit is configured to control the terminal to disconnect from the current connection with the target application when the target application performs an exit operation if the network switching condition is satisfied. Connection of your access point.
  • the second judging unit includes: a first judging subunit, configured to judge whether an access point currently connected to the terminal is an access point of an image forming apparatus; a first determining subunit, configured to: The access point to which the terminal is currently connected is the access point of the image forming apparatus, and it is determined that the network switching condition is satisfied; or a second determination subunit is used to determine the connection before the terminal logs in to the target application.
  • the second determining subunit is configured to determine if the access point connected before the terminal logs in to the target application is inconsistent with the currently connected access point; The network switching condition is satisfied; or a third determining sub-unit is used to determine whether the target application has caused the terminal to perform a network switching before the target application is quitted; a third determining sub-unit uses If the target application has caused the terminal to perform a network switch before performing the exit operation on the target application, it is determined that the network is satisfied. Switching condition.
  • control unit includes: a deleting subunit, configured to delete a service set identifier and a key of the currently connected access point stored in the operating system of the terminal; or a sending subunit, configured to send The operating system of the terminal sends a first instruction, and the first instruction is used to instruct the operating system of the terminal to reduce the connection priority of the currently connected access point.
  • control unit further includes: a fourth judging subunit, configured to determine whether the operating system of the terminal lowers the current value after the sending subunit sends the first instruction to the operating system of the terminal.
  • the connection priority of the currently connected access point or the terminal has not disconnected from the currently connected access point, the service set identifier and key of the currently connected access point stored in the operating system are deleted.
  • the apparatus further includes: a establishing unit, a storage unit, and a sending unit.
  • a establishing unit configured to establish a monitoring program for the target application before exiting the target application;
  • a storage unit configured to store a service set identifier of an access point currently connected through the monitoring program, A key, the unique identification information of the currently connected image forming apparatus;
  • a sending unit configured to send the stored information to the target application through the monitoring program if the terminal is detected to log in to the target application again.
  • an embodiment of the present application provides a storage medium including a stored program, and when the program runs, controlling a device where the storage medium is located executes the foregoing method for controlling a network connection of a terminal.
  • the exit operation it is determined whether to perform the exit operation on the target application. If the exit operation is performed on the target application, it is determined whether the network switching condition is satisfied. If the network switching condition is satisfied, the terminal is controlled when the target application performs the exit operation. Disconnecting the network connection with its currently connected access point solves the problem of tedious network switching operations in the prior art and achieves the technical effect of simple and fast network switching.
  • FIG. 1 is a schematic diagram of an optional network connection according to an embodiment of the present application.
  • FIG. 2 is a flowchart of an optional method for controlling a network connection of a terminal according to an embodiment of the present application
  • FIG. 3 is a flowchart of an optional method for controlling a network connection of a terminal according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of an optional device for controlling a network connection of a terminal according to an embodiment of the present application.
  • FIG. 2 is a flowchart of an optional method for controlling a network connection of a terminal according to an embodiment of the present application. As shown in FIG. 2, the method includes:
  • Step S102 Determine whether to perform an exit operation on the target application.
  • Step S104 if an exit operation is performed on the target application, it is determined whether a network switching condition is satisfied.
  • Step S106 If the network switching condition is satisfied, the control terminal disconnects the network connection with the access point to which it is currently connected when the target application performs an exit operation.
  • the terminal can be a mobile phone, a computer, or other electronic equipment.
  • the target application refers to an APP of an image forming apparatus, which is a device that prints data on a recording medium such as printing paper.
  • the image forming apparatus includes a copying machine, a printer, a facsimile, a scanner, and a multi-function peripheral that performs the above functions in a single device.
  • An image forming device such as a printer supports a WI-FI connection. A user can establish a wireless connection with the printer via a mobile phone, and send a print job to the printer via the mobile phone.
  • the exit of the target application can refer to any of the following situations: the user exits the target application under the operating system operating environment of the terminal; the user exits the interface of the target application to enter the interface of other applications, and the target application is only Runs in the background; the target application is forcibly quit or ends abnormally in the operating system operating environment of the terminal.
  • the exit operation it is determined whether to perform the exit operation on the target application. If the exit operation is performed on the target application, it is determined whether the network switching condition is satisfied. If the network switching condition is satisfied, the terminal is controlled when the target application performs the exit operation. Disconnecting the network connection with its currently connected access point solves the problem of tedious network switching operations in the prior art and achieves the technical effect of simple and fast network switching.
  • the mobile phone when the application is exited or the APP is running in the background, the mobile phone is automatically disconnected from the printer's access point, and the mobile phone is connected to the access point connected to the printer's access point.
  • the APP obtains the stored unique identification information of the previously connected printer and the service set identifier and key of the corresponding access point, so that the mobile phone connects to the printer's access point, and the APP reconnects with the previously connected
  • the printer establishes communication.
  • the mobile phone 104 before the mobile phone 104 establishes communication with the printer 103, the mobile phone 104 is connecting with the access point 101.
  • the APP can not only search for connection access through the access point 101
  • Point 101 printer can also search the access point 105 included in the printer 103.
  • the APP connects the mobile phone to the printer's access point 105 and establishes communication with the printer 103.
  • the unique identification information of the connected printer 103 and the service set identifier and key of the access point 105 of the corresponding printer are recorded.
  • the printer's unique identification information can be the printer's host name or the manufacturer's serial number.
  • the APP will detect whether the user has logged out of the APP, or monitored whether a logout user has logged in.
  • the APP prompts the operating system of the mobile phone 104 for network switching, and disconnects the mobile phone 104 from the access point 105. connection.
  • the mobile phone 104 automatically switches to the access point 101 before connecting after receiving the network switching instruction of the APP, so that when the user exits the APP, the mobile phone 104 automatically switches to a network connected to the Internet.
  • the APP When logging in to the APP again, the APP obtains the stored unique identification information of the printer 103 and the service set identifier and key of the corresponding access point 105, and enables the mobile phone to connect with the access point 105 according to the service set identifier and key of the access point 105.
  • the entry point 105 establishes a connection, and the APP searches the printer 103 for communication with the stored unique identification information of the printer 103, and displays the unique identification information, manufacturer information, and model information of the connected printer 103 on the interface of the APP.
  • determining whether the network switching condition is met includes: determining whether an access point currently connected to the terminal is an access point of the image forming apparatus; and if an access point currently connected to the terminal is an access point of the image forming apparatus Entry point, it is determined that the network switching condition is met.
  • the specific judgment basis is that the target application obtains the service set identifier of the currently connected access point. If the service set identifier includes predetermined letters, numbers, and characters, it indicates that the service set identifier is the access of the image forming apparatus.
  • the network name of the dot for example, the predetermined letter includes direct, the predetermined text includes "direct connection", the brand name, and the predetermined number includes the image forming apparatus model.
  • judging whether the network switching condition is met includes: judging whether the access point connected to the terminal before logging in to the target application and its currently connected access point are consistent; if the access point connected to the terminal before logging in to the target application and its If the currently connected access points are inconsistent, it is determined that the network switching condition is met.
  • the access point 101 connected to the terminal switches to the access point 105 of the image forming apparatus 103, Then the access point before the target application is not consistent with the currently connected access point; in another case, if the user connects to the access point 105 before the user logs in to the target application, the user accesses the image through the access point 105 after logging in to the target application
  • the forming device 103 establishes communication, and the access point connected to the terminal remains unchanged, and it is determined that the access point connected before the terminal logs in to the target application is consistent with the currently connected access point.
  • determining whether the network switching condition is met includes: determining whether the target application has caused the terminal to switch the network before the target application is withdrawn; if the target application causes the terminal to perform the network before the target application is withdrawn Handover, it is determined that the network handover condition is met.
  • the target application connects The point 101 switches to the access point 105 of the image forming apparatus 103, and the target application searches for the image forming apparatus 103 and establishes communication with the access point 105 according to the mobile phone 104. Then the target application uses the image forming apparatus 103 to make the mobile phone 104 is switched from the connected access point 101 to the connected access point 105, which indicates that the target application has caused the terminal to perform network switching.
  • the target application can store the network switching mark and different access points to which the mobile phone 104 is connected before and after the network switching. Therefore, when the target application is to be exited, it will be determined whether the target application has caused the terminal to perform a network switch, that is, it can be determined whether the target application stores a network switch flag. If the network switch flag is stored, it indicates that the network switch condition is met. Or, determine the value of the network switch flag. If it is "1", it means that the target application has made the terminal switch the network before exiting the target application. If it is "0", it means that the target application is before the exit operation. The terminal has not been switched over to the network.
  • controlling the terminal to disconnect the network connection with its currently connected access point includes deleting the service set identifier and key of the currently connected access point stored in the operating system of the terminal.
  • controlling the terminal to disconnect the network connection with the access point to which it is currently connected includes: sending a first instruction to the terminal's operating system, where the first instruction is used to instruct the terminal's operating system to reduce the connection of the currently connected access point. priority.
  • the method further includes: judging whether the operating system of the terminal lowers the connection priority of the currently connected access point or whether the terminal disconnects the access with which it is currently connected Point connection; if the operating system of the terminal has not lowered the connection priority of the currently connected access point or the terminal has not disconnected from the currently connected access point, the Service set identifier and key deletion.
  • the operating system of the terminal stores the service set identifier and key of the access point to which the terminal is connected. When the service set identifier and key of the currently connected access point is deleted from the operating system, the operating system will The historical access point in the system re-selects an access point to connect. This access point may be the access point that was connected before entering the target application.
  • the target application stores the service set identifier and key of the currently connected access point, and the unique identification information of the connected image forming apparatus, and is used to enable the terminal to connect to the access point and target storage stored by the target application when the user re-logs in to the target application.
  • the image forming apparatus is searched to establish communication.
  • the APP displays a reminder screen to prompt the user "the currently connected network is xxx, do you need to connect to the last connected image forming device and access point XXX", if the user is in the reminder screen Click "Confirm”, after entering the APP, get the service set identifier and key of the access point stored by the APP and the unique identification information of the image forming device, so that the terminal connects to the access point stored by the APP and searches for the image forming device Establish communication.
  • the user does not need to manually search for the image forming apparatus after entering the target application program, and can use the image forming apparatus quickly through the APP.
  • the terminal will automatically connect to the image forming device connected to the target application last time; after the target application exits, the terminal may be automatically connected to the image forming device.
  • the access point switches to the access point that was connected before entering the target application, which is convenient for users to perform other operations after exiting the target application, and the network switching is fast and convenient.
  • the method before exiting the target application, the method further includes: establishing a monitoring program of the target application, where the monitoring program stores a service set identifier, key, The unique identification information of the currently connected image forming apparatus; if it is detected that the terminal logs in to the target application again, the monitoring program sends the stored information to the target application.
  • the APP of the image forming device is installed in the Android system or IOS system of the mobile phone.
  • the APP is forcibly exited or terminated abnormally. Therefore, when the APP is not exited normally, the APP fails to record the data in use and the APP connection in time.
  • the unique identification information of the image forming apparatus, the SSID and the key of the corresponding access point are lost, and the network switching process that should be performed when the APP normally exits cannot be performed.
  • the APP of the image forming apparatus includes a sub APP and a main APP, and the objects that can be operated by the user are the main APP, that is, the user controls the image forming apparatus through printing, scanning, and faxing through the main APP.
  • the main APP starts, the sub-app starts at the same time; the sub-app will always monitor the operating status of the main app.
  • the sub-app can perform some functions of the main app. Specifically, it records the service set identifier of the access point to which the terminal is currently connected before the main app exits.
  • the terminal is connected to the corresponding access point of the image forming device used last time;
  • the stored information is obtained from the sub-app, and a reminder screen is displayed to prompt the user "the currently connected network is xxx, do you need to connect to the last connected image forming device and access point XXX", If the user clicks "Confirm” in the reminder screen, after entering the main APP, the terminal is connected to the stored access point and searches the image forming apparatus to establish communication.
  • the main app has no time to perform network switching processing. After the main APP is forcibly exited or terminated abnormally, the sub-app will not exit. Wait for a predetermined time (such as 15 seconds).
  • the APP When the APP does not monitor the operation of the main APP or does not receive the response information of the main APP, it performs the network switching operation of the first embodiment, that is, determines whether to exit the target application (such as the main APP); if the target application When the logout operation is performed, it is determined whether the network switching condition is satisfied; if the network switching condition is satisfied, the control terminal disconnects the network connection with the access point to which it is currently connected after the target application performs the logout operation.
  • the target application such as the main APP
  • the main app and sub-app will record the data in use, the unique identification information of the connected image forming device, and the SSID and key of the corresponding access point, and the main app will first determine whether the network switch is satisfied Condition; if the network switching condition is met, the main APP control terminal disconnects the network connection with its currently connected access point when the main app exits, and the sub-app will also exit with the main app when it exits normally.
  • the main app causes the terminal to reconnect to the stored access point according to the unique identification information of the stored image forming apparatus and the SSID and key of the corresponding access point, and the main app re-establishes communication with the stored image forming apparatus. .
  • FIG. 3 is a flowchart of an optional method for controlling a network connection of a terminal according to an embodiment of the present application. The steps in FIG. 3 are specifically described below:
  • Step 201 determine whether to exit the APP; the exit here includes not only the user making the APP exit under the operating system operating environment of the mobile phone, but also the user exiting the APP interface to enter the interface of other applications, and the APP is only running in the background, and The APP is forcibly exited, or abruptly ends abnormally in the operating system operating environment of the mobile phone, and exits the APP.
  • Step 202 if exiting the APP, determine whether the network needs to be switched currently; there are three ways to judge; first, determine whether the access point currently connected to the mobile phone is the printer as the access point, and if so, proceed to step 203; specific judgment The basis is that the APP obtains the SSID of the currently connected access point. If the SSID includes a predetermined letter, number, and text, it indicates that the SSID is the network name of the access point as the printer. For example, the predetermined letter includes direct and the predetermined text includes "Direct connection", brand name, and the predetermined number includes the printer model. Second, determine whether the access point connected to the mobile phone before entering the APP is the same as the currently connected access point.
  • step 203 specifically, the mobile phone is connected.
  • Access point 101 After entering the APP, when the user searches and connects to print 103, the mobile phone's Wi-Fi connection is switched from the access point (access point 101) before entering the APP to the printer-associated access point selected by the user.
  • the access point 105 indicates that the access point connected to the mobile phone before entering the APP is inconsistent with the currently connected access point; in addition, it is possible that the user has After setting the Wi-Fi connection of the mobile phone to the access point 105 in advance, and selecting the printer 103 after entering the APP, the APP does not switch the Wi-Fi connection of the mobile phone, it means that the mobile phone is connected to the access point 105 before entering the APP.
  • step 205 Whether the mobile phone has been switched over the network, that is, whether the access point connected to the mobile phone has been changed in order to connect to the printer after entering the APP. If the result of the judgment is yes, go to step 203; otherwise, go to step 205.
  • Step 203 The APP disconnects the mobile phone from the access point to which it is currently connected. Specifically, the APP first stores the SSID and key of the currently connected access point, so that the user can connect the mobile phone to the APP when the user logs in to the APP again. Access point; the APP attempts to send a command to the operating system of the mobile phone to reduce the connection priority of the currently connected access point. If the reduction fails or the mobile phone does not disconnect from the currently connected access point after sending the instruction, the APP sends the mobile phone And delete the SSID and key of the currently connected access point stored in the operating system of the device; if the reduction is successful or the mobile phone disconnects or deletes from the currently connected access point, the mobile phone will no longer be connected to the currently connected access point. The access point is connected to a higher priority access point.
  • step 204 the operating system of the mobile phone automatically selects an access point to establish a Wi-Fi connection according to the access point connected before entering the login APP.
  • the operating system of the mobile phone will store the SSID and key of the access point to which the mobile phone is connected, and adjust the connection priority of the newly established access point to the highest.
  • the mobile phone disconnects from the currently connected access point, the mobile phone automatically connects to an access point according to the connected access point stored by the operating system.
  • step 205 if it is determined that network switching is not required, the mobile phone does not perform any network switching processing, maintains connection with the access point connected before exiting the APP, and ends.
  • step 203 the user may also be prompted that a network switch is currently required and asked whether a network switch is required. If the user does not need to perform a network switch, the mobile phone will not be disconnected from the access point to which it is currently connected, but will continue to stay connected after exiting the APP.
  • step 203 if the user confirms that the network is to be switched, a list of access points may be displayed, allowing the user to select the access point to which the mobile phone is connected after exiting the APP, and enter the corresponding key, then in step 204 , The mobile phone establishes communication with the access point selected by the user.
  • the printer connected to the previous APP can be automatically connected when using the APP of the printer, without the user manually searching for the printer, and after exiting the APP at the same time It can automatically switch the Wi-Fi of the mobile phone from the access point of the connected printer to the access point connected before entering the APP, which is convenient for users to perform other operations after exiting the APP.
  • An embodiment of the present application provides a device for controlling a network connection of a terminal.
  • the device is configured to execute the foregoing method for controlling a network connection of a terminal.
  • the device includes a first determination unit 10 and a second determination unit. 20.
  • the first determining unit 10 is configured to determine whether to perform an exit operation on the target application.
  • the second determining unit 20 is configured to determine whether a network switching condition is satisfied if an exit operation is performed on the target application.
  • the control unit 30 is configured to control the terminal to disconnect the network connection with the access point to which it is currently connected when the target application performs an exit operation if the network switching condition is satisfied.
  • the terminal can be a mobile phone, a computer, or other electronic equipment.
  • the target application refers to an APP of an image forming apparatus, which is a device that prints data on a recording medium such as printing paper.
  • the image forming apparatus includes a copying machine, a printer, a facsimile, a scanner, and a multi-function peripheral that performs the above functions in a single device.
  • the exit of the target application can refer to any of the following situations: the user exits the target application under the operating system operating environment of the terminal; the user exits the interface of the target application to enter the interface of other applications, and the target application is only Runs in the background; the target application is forcibly quit or ends abnormally in the operating system operating environment of the terminal.
  • the exit operation it is determined whether to perform the exit operation on the target application. If the exit operation is performed on the target application, it is determined whether the network switching condition is satisfied. If the network switching condition is satisfied, the terminal is controlled when the target application performs the exit operation Disconnecting the network connection with its currently connected access point solves the problem of tedious network switching operations in the prior art and achieves the technical effect of simple and fast network switching.
  • the second determination unit 20 includes a first determination sub-unit and a first determination sub-unit.
  • the first determining subunit is configured to determine whether an access point currently connected to the terminal is an access point of the image forming apparatus.
  • the first determining subunit is configured to determine that the network switching condition is satisfied if the access point to which the terminal is currently connected is an access point of the image forming apparatus.
  • the second determination unit 20 includes a second determination sub-unit and a second determination sub-unit.
  • the second judging subunit is configured to judge whether the access point connected before the terminal logs in to the target application program is consistent with the currently connected access point.
  • the second determining subunit is configured to determine that if the access point connected before the terminal logs in to the target application and the currently connected access point are inconsistent, the network switching condition is satisfied.
  • the second determination unit 20 includes a third determination sub-unit and a third determination sub-unit.
  • the third determination subunit is used to determine whether the target application has caused the terminal to perform a network switch before the target application is quitted.
  • the third determination subunit is used to cause the target application to cause the terminal to be quitted before the target application is subjected to the exit operation. After network switching, it is determined that the network switching conditions are met.
  • control unit 30 includes: deleting a subunit or sending a subunit.
  • the deleting subunit is configured to delete a service set identifier and a key of the currently connected access point stored in the operating system of the terminal.
  • the sending subunit is configured to send a first instruction to the operating system of the terminal, and the first instruction is used to instruct the operating system of the terminal to reduce the connection priority of the currently connected access point.
  • control unit further includes a fourth judgment sub-unit and a removal sub-unit.
  • a fourth determining subunit configured to determine whether the operating system of the terminal has lowered the connection priority of the currently connected access point or whether the terminal has disconnected from the current connection after the sending subunit sends the first instruction to the operating system of the terminal Of the access point. Remove the sub-unit, and if the operating system of the terminal has not lowered the connection priority of the currently connected access point or the terminal has not disconnected from the currently connected access point, then access the currently connected access stored in the operating system The service set identifier and key of the peer are deleted.
  • the device further includes: a establishing unit, a storage unit, and a sending unit.
  • the establishing unit is used to establish a monitoring program of the target application before the target application is exited.
  • the storage unit is configured to store, through a monitoring program, a service set identifier of a currently connected access point, a key, and unique identification information of a currently connected image forming apparatus.
  • a sending unit is configured to send the stored information to the target application through a monitoring program if it is detected that the terminal logs in to the target application again.
  • An embodiment of the present application provides a storage medium including a stored program, wherein when the program is running, controlling a device where the storage medium is located performs the following steps: determining whether to quit the target application; if the target application is The logout operation determines whether the network switching condition is satisfied; if the network switching condition is satisfied, the terminal is controlled to disconnect the network connection with the access point to which it is currently connected when the target application performs the logout operation.
  • the device controlling the storage medium further performs the following steps: judging whether the access point currently connected to the terminal is the access point of the image forming apparatus; if the access point currently connected to the terminal is the access point of the image forming apparatus, determining Meet the network switching conditions; or, determine whether the access point that the terminal was connected to before logging in to the target application and its currently connected access point; if the access point that the terminal was connected to before logging in to the target application and its currently connected access point Inconsistent, it is determined that the network switching condition is satisfied; or, whether the target application has caused the terminal to perform network switching before the target application is exited; Then it is determined that the network switching condition is satisfied.
  • controlling the device where the storage medium is located also performs the following steps: when the control terminal disconnects the network connection with its currently connected access point, the service set identifier and password of the currently connected access point stored in the terminal's operating system Or delete the key; or send a first instruction to the operating system of the terminal, where the first instruction is used to instruct the operating system of the terminal to reduce the connection priority of the currently connected access point.
  • the device that controls the storage medium When the program is running, the device that controls the storage medium also performs the following steps: after sending the first instruction to the operating system of the terminal, determining whether the operating system of the terminal has lowered the connection priority of the currently connected access point or whether the terminal has disconnected from it The connection of the currently connected access point; if the operating system of the terminal has not lowered the connection priority of the currently connected access point or the terminal has not disconnected from the currently connected access point, the current connection stored in the operating system will be The access point's service set identifier and key are deleted.
  • the device that controls the storage medium When the program is running, the device that controls the storage medium also performs the following steps: Before exiting the target application, a monitoring program for the target application is established, and the monitoring program stores the service set identifier, key, and current of the currently connected access point. The unique identification information of the connected image forming apparatus; if it is detected that the terminal logs in to the target application again, the monitoring program sends the stored information to the target application.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the above integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium.
  • the above software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute the methods described in the embodiments of the present application. Some steps.
  • the aforementioned storage media include: U disks, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks or compact discs, and other media that can store program codes .

Landscapes

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

Abstract

Les modes de réalisation de la présente invention concernent un procédé et un dispositif pour commander une connexion de réseau d'un terminal. Le procédé consiste à : déterminer s'il faut effectuer une opération de sortie par rapport à une application cible ; si l'opération de sortie est effectuée par rapport à l'application cible, alors déterminer si un critère de commutation de réseau est satisfait ; et si le critère de commutation de réseau est satisfait, alors commander un terminal pour déconnecter une connexion de réseau à un point d'accès actuellement connecté à celui-ci lorsque l'application cible exécute l'opération de sortie. Par conséquent, la solution technique fournie selon les modes de réalisation de la présente invention résout le problème d'opérations de connexion de réseau compliquées selon l'état de la technique.
PCT/CN2019/087597 2018-09-14 2019-05-20 Procédé et dispositif de commande de connexion de réseau de terminal Ceased WO2020052268A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811076090.7 2018-09-14
CN201811076090.7A CN109041270B (zh) 2018-09-14 2018-09-14 一种控制终端的网络连接的方法和装置

Publications (1)

Publication Number Publication Date
WO2020052268A1 true WO2020052268A1 (fr) 2020-03-19

Family

ID=64622370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087597 Ceased WO2020052268A1 (fr) 2018-09-14 2019-05-20 Procédé et dispositif de commande de connexion de réseau de terminal

Country Status (2)

Country Link
CN (1) CN109041270B (fr)
WO (1) WO2020052268A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109041270B (zh) * 2018-09-14 2023-08-18 珠海奔图电子有限公司 一种控制终端的网络连接的方法和装置
CN111327672A (zh) * 2019-12-18 2020-06-23 珠海奔图电子有限公司 一种数据传输的控制方法、控制装置、移动终端
CN114375025B (zh) * 2021-12-31 2024-05-03 北京万集科技股份有限公司 用于终端的连网管理方法及其相关产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453907A (zh) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 终端应用的控制方法及装置
US20170124355A1 (en) * 2015-01-16 2017-05-04 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. System processing method, system processing device and terminal
CN107360614A (zh) * 2017-07-05 2017-11-17 珠海赛纳打印科技股份有限公司 与图像形成装置进行网络连接的方法及图像形成装置
CN108259696A (zh) * 2018-04-12 2018-07-06 珠海奔图电子有限公司 成像装置控制方法、装置及应用该方法的电子终端
CN109041270A (zh) * 2018-09-14 2018-12-18 珠海奔图电子有限公司 一种控制终端的网络连接的方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731810B (zh) * 2013-12-31 2017-08-15 小米科技有限责任公司 接入点共享方法及装置
JP5980258B2 (ja) * 2014-03-11 2016-08-31 キヤノン株式会社 情報処理装置、情報処理装置の制御方法及びプログラム
CN104159226B (zh) * 2014-07-24 2016-02-24 小米科技有限责任公司 网络连接方法和装置
CN106572509A (zh) * 2016-11-07 2017-04-19 宇龙计算机通信科技(深圳)有限公司 接入点切换方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170124355A1 (en) * 2015-01-16 2017-05-04 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. System processing method, system processing device and terminal
CN106453907A (zh) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 终端应用的控制方法及装置
CN107360614A (zh) * 2017-07-05 2017-11-17 珠海赛纳打印科技股份有限公司 与图像形成装置进行网络连接的方法及图像形成装置
CN108259696A (zh) * 2018-04-12 2018-07-06 珠海奔图电子有限公司 成像装置控制方法、装置及应用该方法的电子终端
CN109041270A (zh) * 2018-09-14 2018-12-18 珠海奔图电子有限公司 一种控制终端的网络连接的方法和装置

Also Published As

Publication number Publication date
CN109041270A (zh) 2018-12-18
CN109041270B (zh) 2023-08-18

Similar Documents

Publication Publication Date Title
CN105045545B (zh) 网络系统、客户终端及设备服务器的控制方法
US9208410B2 (en) Image processing apparatus, image processing apparatus control method, and storage medium
US9569632B2 (en) Information processing apparatus having wireless communication function and method of controlling the apparatus
US8913280B2 (en) Communication apparatus, method for controlling the same, storage medium, and printing apparatus
US9338818B2 (en) Wireless communication apparatus for wireless network and computer readable media
WO2020052268A1 (fr) Procédé et dispositif de commande de connexion de réseau de terminal
CN112804735B (zh) 无线通信系统、第一处理装置、第二处理装置
CN109168181B (zh) 一种控制终端的网络连接的方法和装置
CN108259696B (zh) 成像装置控制方法、装置及应用该方法的电子终端
US11528766B2 (en) Electronic device
WO2019196654A1 (fr) Procédé de recherche de réseau pour terminal et terminal à fonction de recherche de réseau
US20190004749A1 (en) Remote communication control system that improves security of remote session between image forming apparatus and connection terminal, remote maintenance system, and recording medium
US10346112B2 (en) Remote communication control system that improves security of remote session between image forming apparatus and connection terminal, session relay system, and recording medium
US10684809B2 (en) Image forming apparatus selectively operable as a gateway, method for supporting access, and non-transitory recording medium storing computer readable program
US10375742B2 (en) Communication apparatus and storage medium suitable for connecting to wireless LAN (local area network)
JP4328972B2 (ja) 印刷システム
US10331389B2 (en) Remote communication control system that improves security of remote session between image forming apparatus and connection terminal, remote communication system, session management system, and recording medium
JP2012090026A (ja) 周辺装置、lanへの接続方法及びプログラム
CN108738090B (zh) 一种通信装置网络连接的控制方法、通信装置、电子终端
EP4210313B1 (fr) Procédé de commande de non-liaison basé sur un dispositif de formation d'image et dispositif de formation d'image
CN103795960A (zh) 视频通信控制方法、装置及系统
US20250247910A1 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, terminal device, and method for controlling terminal device
US20240297946A1 (en) Server executing specific process related to configuration information of device using communication session established between the server and the device
US10338864B2 (en) Remote communication system that improves security of remote session between image forming apparatus and connection terminal, and session management system
CN116033398A (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: 19859148

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: 19859148

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.11.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19859148

Country of ref document: EP

Kind code of ref document: A1