CN112333686B - Distribution network method, terminal device, image forming apparatus, and storage medium - Google Patents

Distribution network method, terminal device, image forming apparatus, and storage medium Download PDF

Info

Publication number
CN112333686B
CN112333686B CN202011222315.2A CN202011222315A CN112333686B CN 112333686 B CN112333686 B CN 112333686B CN 202011222315 A CN202011222315 A CN 202011222315A CN 112333686 B CN112333686 B CN 112333686B
Authority
CN
China
Prior art keywords
application program
image forming
network
information
terminal device
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.)
Active
Application number
CN202011222315.2A
Other languages
Chinese (zh)
Other versions
CN112333686A (en
Inventor
李嘉德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN202011222315.2A priority Critical patent/CN112333686B/en
Publication of CN112333686A publication Critical patent/CN112333686A/en
Application granted granted Critical
Publication of CN112333686B publication Critical patent/CN112333686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Facsimiles In General (AREA)

Abstract

The application provides a network distribution method, a terminal device, an image forming device and a storage medium, wherein the network distribution method comprises the following steps: acquiring hot spot information of the image forming device through a first application program, and establishing connection with the image forming device based on the hot spot information; arousing, by the first application, a second application different from the first application; acquiring configuration parameters of the target wireless network through a second application program; and sending a network allocation instruction containing configuration parameters to the image forming device through the second application program by the connection with the image forming device established by the first application program based on the hot spot information through the terminal equipment. In the application, the terminal equipment can also control the image forming device to be connected to the target wireless network in a state of being not connected to the target wireless network, so that the success rate of network distribution of the image forming device can be ensured when the terminal equipment is in different network states, and in addition, the network distribution operation can be more conveniently executed by a user.

Description

Distribution network method, terminal device, image forming apparatus, and storage medium
Technical Field
The present disclosure relates to the field of internet of things, and in particular, to a network distribution method, a terminal device, an image forming apparatus, and a storage medium.
Background
The image forming apparatus is a relatively common office tool, and with the development of the internet of things technology, a user can implement interconnection with devices of the image forming apparatus (for example, a printer, etc.) through a terminal device (for example, a mobile phone, etc.), so that the image forming apparatus is controlled through the terminal device. In the prior art, a user can perform network distribution control on an image forming device through terminal equipment, specifically: the terminal device is first connected to a target wireless network to which the image forming apparatus is desired to be connected, and then transmits a related instruction via a server of the target wireless network in a state of being connected to the target wireless network to control the image forming apparatus to be connected to the target wireless network.
However, when the terminal device is not connected to the target wireless network, for example, when the current connection network of the terminal device is a 4G/5G mobile network or other wireless network, the user cannot control the image forming apparatus to connect to the target wireless network through the terminal device, resulting in failure of network allocation of the image forming apparatus.
Further, when an application program capable of transmitting the configuration parameters of the target wireless network to the image forming apparatus to connect the image forming apparatus to the target wireless network is not built in the terminal device, network allocation failure of the image forming apparatus may also be caused.
Disclosure of Invention
The application provides a network distribution method, terminal equipment, an image forming device and a storage medium, which are used for solving the problems existing in the prior art.
In a first aspect, the present application provides a network allocation method, applied to a terminal device, including:
acquiring hot spot information of an image forming device through a first application program, and establishing connection with the image forming device based on the hot spot information;
arousing, by the first application, a second application different from the first application;
acquiring configuration parameters of a target wireless network through the second application program;
and sending a network allocation instruction containing the configuration parameters to the image forming device through the second application program by using the connection between the image forming device and the terminal device, which is established by using the first application program based on the hot spot information, wherein the network allocation instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to be connected to the target wireless network.
In some embodiments, the target wireless network is different from the wireless network to which the terminal device is currently connected.
In some embodiments, a user interface of the first application program is provided with a preset option, where the preset option is used to trigger the first application program to call a scanning unit of the terminal device to obtain identification information of the image forming apparatus and obtain the hot spot information based on the identification information, and the identification information includes the hot spot information.
In some embodiments, before the acquiring, by the first application program, the hot spot information of the image forming apparatus and establishing a connection with the image forming apparatus based on the hot spot information, the method further includes:
and detecting whether the terminal equipment is connected to a wireless network or not through the first application program, if not, automatically calling a scanning unit of the terminal equipment to acquire identification information of the image forming device and acquiring the hot spot information based on the identification information, wherein the identification information comprises the hot spot information.
In some embodiments, before the acquiring, by the first application program, the hot spot information of the image forming apparatus and establishing a connection with the image forming apparatus based on the hot spot information, the method further includes:
and directly acquiring the hot spot information of the image forming device through the user interface of the first application program.
In some embodiments, the identification information includes preset information having a unique correspondence with the second application program, and the terminal device calls the second application program through the first application program based on the preset information.
In some embodiments, the first application program includes preset information having a unique correspondence with the second application program, and the terminal device calls the second application program through the first application program based on the preset information.
In some embodiments, the invoking, by the first application, a second application different from the first application specifically includes:
determining preset information with unique corresponding relation with the second application program through the first application program, and detecting whether the third party application program is built in the terminal equipment through the first application program when the preset information comprises first preset information corresponding to the browser application program and second preset information corresponding to other third party application programs;
if yes, the third party application program is evoked by the first application program based on the second preset information;
if not, the browser application program is evoked by the first application program based on the first preset information.
In a second aspect, the present application provides a network distribution method, applied to an image forming apparatus, including:
starting a hot spot of the image forming device so that the terminal equipment establishes connection with the image forming device through a first application program based on hot spot information corresponding to the hot spot;
receiving a network allocation instruction sent by a terminal device through a second application program, wherein the network allocation instruction comprises configuration parameters of a target wireless network, and the network allocation instruction is sent by the terminal device through a connection established by the first application program based on the hot spot information and the image forming device;
And carrying out network configuration according to the configuration parameters so as to connect to the target wireless network.
In a third aspect, the present application provides a terminal device, including: the network distribution system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the network distribution method when executing the program.
In a fourth aspect, the present application provides an image forming apparatus including: the network distribution system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the network distribution method when executing the program.
In a fifth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions that when executed by a processor are configured to implement the above-described network deployment method.
The network allocation method, the terminal equipment, the image forming device and the storage medium provided by the application comprise the following steps: acquiring hot spot information of the image forming device through a first application program, and establishing connection with the image forming device based on the hot spot information; arousing, by the first application, a second application different from the first application; acquiring configuration parameters of the target wireless network through a second application program; and sending a network allocation instruction containing configuration parameters to the image forming device through the second application program by the connection with the image forming device, which is established by the terminal equipment through the first application program based on the hot spot information, wherein the network allocation instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to be connected to a target wireless network. In the method, the terminal equipment can establish connection with the image forming device through the first application program, based on the connection, the second application program aroused by the first application program sends a network allocation instruction containing configuration parameters to the image forming device, so that the image forming device can perform network configuration and be connected to a target wireless network; in addition, when the network distribution operation of the image forming device cannot be completed by the first application program alone, the first application program is utilized to call the second application program to realize the network distribution, and compared with the situation that the network distribution operation of the image forming device is completed by independently starting the second application program after exiting the first application program, the network distribution operation meets the use habit of a user, and convenience is brought to the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view of an application scenario of the present application scheme;
fig. 2 is a schematic diagram of a network allocation method applied to a terminal device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a user interface of a first application in an embodiment of the present application;
fig. 4 is a schematic diagram of a network distribution method applied to an image forming apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of a terminal device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of an image forming apparatus according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the embodiments of the present application, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a commodity or system comprising such elements.
Firstly, explaining application scenes related to the scheme of the application:
fig. 1 is a schematic view of an application scenario of the present application, as shown in fig. 1, in a coverage area of a wireless network WIFI-1, based on an internet of things technology, a user may send a related network allocation control instruction to the image forming apparatus 10 through a terminal device 20, so as to control the image forming apparatus 10 to access the WIFI-1.
In the prior art, when performing the network distribution control of the image forming apparatus 10, network distribution information corresponding to WIFI-1 is generally transmitted to a server connected to the terminal device through an application program in the terminal device 20, and then the server is used to connect the image forming apparatus 10 to the WIFI-1, so as to complete the network distribution process of the image forming apparatus 10, where the server is referred to as a "WIFI-1 server" for convenience of description.
However, in the processing procedure of the prior art, since the process of sending the distribution network information to the image forming apparatus 10 by the terminal device 20 requires the participation of the server of the WIFI-1, it is limited that the terminal device 20 must first access the WIFI-1 before the image forming apparatus 10 can be controlled to access the WIFI-1. Therefore, when the current connection network of the terminal device is a cellular network such as 2G/3G/4G/5G or is connected to another wireless network such as WIFI-2, the terminal device 20 cannot control the image forming apparatus 10 to access WIFI-1, which results in failure of network distribution of the image forming apparatus 10.
In addition, when an application program capable of transmitting the configuration parameters of the target wireless network to the image forming apparatus 10 to connect the image forming apparatus 10 to the target wireless network is not built in the terminal device 20, network allocation failure of the image forming apparatus 10 may also be caused.
The network distribution method, the terminal equipment, the image forming device and the storage medium aim to solve the technical problems in the prior art.
The main conception of the application is as follows:
if it is desired that the terminal device 20 can control the image forming apparatus 10 to connect to the WIFI-1 when the current connection network is a cellular network such as 2G/3G4G/5G or connected to other wireless networks such as WIFI-2, that is, the process equivalent to the terminal device 20 controlling the image forming apparatus 10 to perform network allocation, the terminal device 20 can send relevant configuration information of the WIFI-1 to the image forming apparatus 10 without the participation of a server of the WIFI-1. And just if the terminal device 20 and the image forming apparatus 10 establish a communication connection, the terminal device 20 may directly transmit the relevant configuration information of WIFI-1 to the image forming apparatus 10 through the connection with the image forming apparatus 10.
Therefore, in the network configuration method of the present application, the terminal device 20 first establishes a connection with the image forming apparatus 10 based on the hotspot information of the image forming apparatus 10 through the first application, and then invokes another second application through the first application, after acquiring the configuration parameters of the target wireless network (for example, WIFI-1, where the terminal device 20 expects the image forming apparatus 10 to connect), through the second application, the terminal device 20 directly sends the configuration parameters to the image forming apparatus 10 through the connection with the image forming apparatus 10, so that the network configuration process of the present application does not need the participation of the server of the WIFI-1, and thus the success rate of the network configuration by the image forming apparatus can be ensured when the terminal device is in different network states. In addition, when the network distribution operation of the image forming device cannot be completed by the first application program alone, the first application program is utilized to call the second application program to realize the network distribution, and compared with the situation that the network distribution operation of the image forming device is completed by independently starting the second application program after exiting the first application program, the network distribution operation meets the use habit of a user, and convenience is brought to the user.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It can be appreciated that the terminal device related to each embodiment of the present application may be any one of a smart phone, a tablet computer, a notebook computer, a wearable device, or a computer.
In addition, the image forming apparatus according to the embodiments of the present application may be used to execute image forming jobs such as generating, printing, receiving, and transmitting image data, and examples of the image forming apparatus include: inkjet printers, laser printers, LED (Light Emitting Diode ) printers, copiers, scanners or multifunctional all-in-one fax machines, and multifunction peripherals (MFPs, multi-Functional Peripheral) that perform the above functions in a single device. The image forming apparatus includes a processor, a communication module, and a network connection module, wherein the processor may communicate with the terminal device through the communication module, and control the network connection module to perform network configuration according to information transmitted from the terminal device to connect to a wireless network.
Fig. 2 is a schematic diagram of a network allocation method provided in an embodiment of the present application, where the method is applied to a terminal device, as shown in fig. 2, and the method mainly includes the following steps:
s110, acquiring hot spot information of the image forming device through the first application program, and establishing connection with the image forming device based on the hot spot information.
The first application program is an application program built in the terminal equipment, and when the first application program is in an operation state, the terminal equipment can acquire hot spot information of the image forming device through the first application program, wherein the hot spot information can comprise a hot spot name, a hot spot password and the like of the image forming device. When the image forming device is in a hot spot opening state, the terminal equipment can establish connection with the image forming device through the first application program based on the acquired hot spot information.
The WIFI module is arranged in the main body of the image forming device, and the image forming device can start a wireless hotspot of the image forming device based on the WIFI module so that other equipment can be connected with the image forming device.
S120, a second application program different from the first application program is evoked by the first application program.
The second application program may be another application program which is different from the first application program and is built in the terminal device. After the terminal device establishes its connection with the image forming apparatus based on the acquired hotspot information through the first application, a program evoked action is performed through the first application to evoke the second application.
S130, acquiring configuration parameters of the target wireless network through a second application program.
The target wireless network, i.e., the wireless network to which the terminal device desires the image forming apparatus to connect, for example, WIFI-1 in fig. 1. After the second application program is evoked by the first application program, the terminal can acquire the configuration parameters of the target wireless network through the second application program when the second application program is in a running state.
Alternatively, the configuration parameters of the target wireless network may include an SSID (Service Set Identifier, service set identification) and a password of the target wireless network, so that the image forming apparatus is connected to the target wireless network according to the SSID and password of the target wireless network.
And S140, transmitting a network allocation instruction containing configuration parameters to the image forming device through the second application program by using the connection with the image forming device established by the terminal equipment based on the hot spot information through the first application program, wherein the network allocation instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to be connected to a target wireless network.
After the terminal device obtains the configuration parameters of the target wireless network through the second application program, the terminal device continues to send a network configuration instruction containing the configuration parameters of the target wireless network to the image forming device through the connection of the terminal device and the image forming device through the second application program, so that the image forming device performs network configuration according to the configuration parameters in the network configuration instruction, and is connected to the target wireless network.
The embodiment provides a network allocation method, a terminal device may establish a connection with an image forming apparatus through a first application program, based on the connection, a second application program evoked by the first application program sends a network allocation instruction including configuration parameters to the image forming apparatus, so that the image forming apparatus may perform network configuration and connect to a target wireless network.
In addition, when the network distribution operation of the image forming device cannot be completed by the first application program alone, the first application program is utilized to call the second application program to realize the network distribution, and compared with the situation that the network distribution operation of the image forming device is completed by independently starting the second application program after exiting the first application program, the network distribution operation accords with the use habit of a user, and the user does not need to start the second application program independently in the process, so that the operation of the user can be reduced, and convenience is brought to the user.
Specifically, the applications built in the terminal device may be three types, the first type may be an application installed in the terminal device, specifically an application capable of transmitting configuration parameters of the target wireless network to the image forming apparatus so as to complete a network configuration operation of the image forming apparatus, and such an application may be referred to as a "network configuration application", where the network configuration application may be a network configuration application provided by a manufacturer of the image forming apparatus, specifically a mobile printing APP, or may be a browser application, and specifically the browser application may transmit configuration parameters of the target wireless network to the image forming apparatus through a web user interface; the second is an application program which can be used without downloading an installation package and running the installation package, and can be called as a fast application, when the terminal is connected to a wireless network, the terminal can transmit configuration parameters of a target wireless network to the image forming device through a server corresponding to the fast application so as to complete network distribution operation of the image forming device, and when the terminal is not connected to the wireless network, the network distribution operation of the image forming device cannot be completed through a small program alone, and the fast application can be used as the small program; the third is an application installed in the terminal device, specifically, an application that cannot directly transmit the configuration parameters of the target wireless network to the image forming apparatus to implement the network configuration operation for the image forming apparatus, and such an application may be referred to as a "management application", that is, the network configuration operation of the image forming apparatus cannot be implemented by the quick application or the management application alone.
In some examples, the first application may be a fast application or a management application, and the second application may be a distribution network application, so that the connection between the terminal and the image forming apparatus is achieved by using the first application, and then the configuration parameters of the target wireless network are sent to the image forming apparatus by the second application to enable the image forming apparatus to be connected to the network.
In some embodiments, the target wireless network is different from the wireless network to which the terminal device is currently connected.
The terminal device may control the image forming apparatus to connect to other wireless networks in a case of connecting to the wireless network. For example, when the wireless network to which the terminal device is currently connected is WIFI-2, the terminal device may send configuration information of WIFI-1 to the image forming apparatus through connection with the image forming apparatus by means of the second application program, so that the image forming apparatus may perform network configuration according to the configuration parameters to connect to WIFI-1.
In this embodiment, the terminal device can also control the image forming apparatus to perform network allocation to connect to the target wireless network in a state of not being connected to the target wireless network or being connected to other wireless networks, so that the success rate of controlling the image forming apparatus to perform network allocation when the terminal device is in different network states can be ensured.
In some embodiments, a preset option is set on a user interface of the first application program, where the preset option is used to trigger the first application program to call a scanning unit of the terminal device to obtain identification information of the image forming apparatus and obtain hot spot information based on the identification information, and the identification information includes the hot spot information. The image forming apparatus is provided with identification information including the hotspot information, and the terminal device may acquire the hotspot information by scanning the identification information provided on the image forming apparatus when acquiring the hotspot information of the image forming apparatus through the first application.
Specifically, a preset option is set on a user interface of the first application program, and the preset option is used for triggering the first application program to call a scanning unit of the terminal equipment to acquire identification information of the image forming device. Alternatively, the user may trigger the scanning unit call event by clicking a preset option on the user interface of the first application.
Fig. 3 is a schematic diagram of a user interface of a first application program in this embodiment, as shown in fig. 3, where the preset option may be a control containing prompt information, for example, "start scanning", and after a user clicks the control, the first application program is triggered to call a scanning unit of the terminal device to execute a scanning function, so that the display interface of the terminal device is changed into a scanning interface containing a scanning line that moves up and down.
Alternatively, the scanning unit of the terminal device may specifically be a camera or the like disposed in the terminal device.
Optionally, the identification information may be in the form of an identification code, such as a two-dimensional code, a bar code, or the like, and after the first application program obtains the identification information, hot spot information in the identification code may be obtained in a decoding manner, where the identification code may be directly printed on a housing of the image forming apparatus, may be printed on a label attached to the image forming apparatus, may be sprayed on the housing of the image forming apparatus by a code spraying technology, may be displayed on a display interface of the image forming apparatus in other manners, and is not limited herein.
Further, the identification information may also include information such as a device name, a device number, and the like of the image forming apparatus.
In this embodiment, a user interface of the first application program is provided with a preset option, and a user can manually trigger the first application program to call the scanning unit by clicking the preset option, so as to obtain identification information of the image forming device including hot spot information in a scanning manner, thereby facilitating connection between the terminal device and the image forming device.
In some embodiments, before acquiring, by the first application program, hot spot information of the image forming apparatus and establishing a connection with the image forming apparatus based on the hot spot information, the method further includes: whether the terminal equipment is connected to the wireless network is detected through the first application program, if not, a scanning unit of the terminal equipment is automatically called to acquire identification information of the image forming device and hot spot information is acquired based on the identification information, and the identification information contains the hot spot information.
Specifically, when the first application program is in an operation state, the terminal device can automatically detect whether the terminal device is connected to the wireless network through the first application program, and because the terminal device can only be connected with the wireless network or connected with the hot spot of the image forming device in a period of time, when the terminal device is connected to the wireless network, the terminal device cannot be connected with the hot spot of the image forming device at the same time, when the first application program detects that the terminal device is not connected to the wireless network, the terminal device can be used for being connected with the hot spot of the image forming device at present, and at the moment, the first application program directly and automatically invokes a scanning unit of the terminal device to scan the identification information of the image forming device, so that the hot spot information contained in the identification information of the image forming device is obtained.
In this embodiment, when the first application detects a hotspot where the terminal device may be currently connected to the image forming apparatus, the first application directly and automatically invokes the scanning unit to obtain, in a scanning manner, hotspot information included in the identification information of the image forming apparatus, so as to facilitate connection between the terminal device and the image forming apparatus. In some embodiments, before acquiring, by the first application program, hot spot information of the image forming apparatus and establishing a connection with the image forming apparatus based on the hot spot information, the method further includes: and directly acquiring hot spot information of the image forming device through a user interface of the first application program.
Specifically, when the first application program is in the running state, the user may also directly input the hot spot information of the image forming apparatus on the user interface of the first application program, the first application program directly obtains the hot spot information input by the user, and then based on the directly obtained hot spot information, the connection between the terminal device and the image forming apparatus is established.
In this embodiment, the first application program of the terminal device directly obtains the hotspot information input by the user on the user interface, and may omit the processing procedure of identifying the identification information, so that the connection between the terminal device and the image forming apparatus may be established more quickly.
In some embodiments, the identification information includes preset information having a unique correspondence with the second application program, and the terminal device calls the second application program through the first application program based on the preset information.
When the first application program calls the scanning unit of the terminal device to acquire the identification information of the image forming device, the identification information also comprises preset information which has a unique corresponding relation with the second application program, so that the first application program can acquire the preset information through scanning, and then the second application program is directly called based on the preset information.
In this embodiment, the first application program can acquire the preset information having a unique corresponding relationship with the second application program while acquiring the hotspot information of the image forming apparatus through scanning, and based on the preset information, the first application program can directly call the second application program, and a user or a terminal device does not need to execute other operations for calling the second application program, so that the processing flow of the distribution network can be simplified, and the speed of calling the second application program can be improved.
In some embodiments, the first application includes preset information having a unique correspondence with the second application, and the terminal device calls the second application through the first application based on the preset information.
The preset information having the unique corresponding relation with the second application program can also be directly stored in the first application program, and when the second application program needs to be called, the first application program directly calls the second application program according to the preset information in the program.
In this embodiment, the first application program includes preset information having a unique correspondence with the second application program, based on the preset information, the first application program may directly call the second application program, and the user or the terminal device does not need to execute other operations for calling the second application program, so that a processing flow of the distribution network may be simplified, and a speed of calling the second application program may be increased.
In some embodiments, the preset information may include an IP address of the image forming apparatus or a web address corresponding to a webage user interface of the image forming apparatus, and the second application is a browser application.
Therefore, the web distribution can be realized by starting the web user interface corresponding to the image forming device through the browser application program.
Alternatively, the second application may be a third party application other than a browser application, such as the mobile printing APP described above.
In this embodiment, the first application program calls a second application program different from the first application program, and specifically includes: determining preset information with unique corresponding relation with a second application program through a first application program, and detecting whether a third-party application program is arranged in terminal equipment or not through the first application program when the preset information comprises first preset information corresponding to a browser application program and second preset information corresponding to a third-party application program; if yes, calling a third party application program based on second preset information through the first application program; if not, the browser application program is evoked by the first application program based on the first preset information.
Specifically, when the first application program calls the second application program, if the first application program determines that the preset information includes the first preset information for calling the browser application program and the second preset information for calling the third party application program, the first application program can call the second application program according to the rule of preferentially calling the third party application program, at this time, the first application program firstly detects whether the terminal device is internally provided with the third party application program, and when the terminal device is internally provided with the third party application program, the first application program calls the third party application program based on the second preset information; when the terminal equipment is not internally provided with the third party application program, the first application program calls the browser application program based on the first preset information.
Optionally, after the first application program calls the browser application program or the third party application program, the user may manually input the configuration parameters of the target wireless network in a user interface of the browser application program or the third party application program, so that the browser application program or the third party application program may directly obtain the configuration parameters of the target wireless network.
In this embodiment, the type of the second application program includes a third party application program or a browser application program, and the user may input the configuration parameters of the target wireless network in the user interface of the second application program, so that the second application program may directly obtain the configuration parameters of the target wireless network. In addition, the first application program preferentially calls the third-party application program, and the distribution network response speed of the third-party application program is higher, so that the improvement of the distribution network speed can be facilitated, and the distribution network efficiency is ensured.
In some embodiments, a method of distributing a network is provided, the method being applied to an image forming apparatus.
Fig. 4 is a schematic diagram of a network allocation method provided in an embodiment of the present application, as shown in fig. 4, where the method mainly includes the following steps:
s210, starting a hot spot of the image forming device so that the terminal equipment establishes connection with the image forming device through the first application program based on hot spot information corresponding to the hot spot;
S220, receiving a network allocation instruction sent by the terminal equipment through a second application program, wherein the network allocation instruction comprises configuration parameters of a target wireless network, and the network allocation instruction is sent by the terminal equipment through connection with the image forming device, which is established through the first application program based on hot spot information;
s230, performing network configuration according to the configuration parameters to connect to the target wireless network.
Optionally, after the image forming apparatus performs network configuration, the network configuration result may be fed back to the terminal device for display, so that the user may know whether the image forming apparatus is successfully connected to the target wireless network according to the display result of the terminal device, so as to facilitate subsequent processing, for example, after the image forming apparatus is successfully connected to the target wireless network, directly using related functions of the image forming apparatus; alternatively, when the image forming apparatus fails to connect to the target wireless network successfully, the network allocation operation or the like is performed again.
The embodiment provides a network allocation method, after an image forming device starts a hot spot, a terminal device can establish connection with the image forming device through a first application program, based on the connection, the terminal device sends a network allocation instruction containing configuration parameters to the image forming device through a second application program which is called by the first application program, so that the image forming device can perform network configuration and be connected to a target wireless network.
In addition, when the network distribution operation of the image forming device cannot be completed by the first application program alone, the first application program is utilized to call the second application program to realize the network distribution, and compared with the situation that the network distribution operation of the image forming device is completed by independently starting the second application program after exiting the first application program, the network distribution operation accords with the use habit of a user, and the user does not need to start the second application program independently in the process, so that the operation of the user can be reduced, and convenience is brought to the user.
It should be understood that, although the steps in the flowcharts in the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
In some embodiments, a terminal device is provided, fig. 5 is a schematic diagram of the terminal device provided in the embodiments of the present application, as shown in fig. 5, where the terminal device 20 includes: the network configuration method comprises a memory 21, a processor 22 and a computer program stored in the memory 21 and capable of running on the processor 22, wherein the steps of the network configuration method applied to the terminal equipment are realized when the processor 22 executes the program.
Optionally, the terminal device 20 may further include a display 23 for information presentation or man-machine interaction processing.
In some embodiments, an image forming apparatus is provided, fig. 6 is a schematic diagram of the image forming apparatus provided in the embodiment of the present application, and as shown in fig. 6, the image forming apparatus 10 includes: the computer program comprises a memory 11, a processor 12 and a computer program stored in the memory 11 and capable of running on the processor 12, wherein the processor 12 executes the program to realize the network distribution method applied to the image forming device.
In the above terminal device or image forming apparatus, the memory and the processor are electrically connected directly or indirectly to realize transmission or interaction of data. For example, the elements may be electrically connected to each other via one or more communication buses or signal lines, such as through a bus connection. The memory stores computer-executable instructions for implementing the data access control method, including at least one software functional module that may be stored in the memory in the form of software or firmware, and the processor executes the software programs and modules stored in the memory to perform various functional applications and data processing.
The Memory may be, but is not limited to, random access Memory (Random Access Memory; RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory; PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory; EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory; EEPROM), etc. The memory is used for storing a program, and the processor executes the program after receiving the execution instruction. Further, the software programs and modules within the memory may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor may be an integrated circuit chip with signal processing capabilities. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), and the like. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In one embodiment, a computer-readable storage medium is provided, in which computer-executable instructions are stored, which when executed by a processor, are configured to implement the steps of the method embodiments of the present application.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium and which, when executed, may comprise the steps of the above-described embodiments of the methods. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A network allocation method applied to a terminal device, comprising:
acquiring hot spot information of an image forming device through a first application program, and establishing connection with the image forming device based on the hot spot information;
arousing, by the first application, a second application different from the first application;
acquiring configuration parameters of a target wireless network through the second application program;
Transmitting a network allocation instruction containing the configuration parameters to the image forming device through the second application program by using the connection between the image forming device and the terminal device, which is established by the first application program based on the hot spot information, wherein the network allocation instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to be connected to the target wireless network;
the method for calling the second application program different from the first application program by the first application program specifically comprises the following steps:
determining preset information with unique corresponding relation with the second application program through the first application program, and detecting whether the third party application program is built in the terminal equipment through the first application program when the preset information comprises first preset information corresponding to the browser application program and second preset information corresponding to the third party application program;
if yes, the third party application program is evoked by the first application program based on the second preset information;
if not, the browser application program is evoked by the first application program based on the first preset information.
2. The method of claim 1, wherein the target wireless network is different from a wireless network to which the terminal device is currently connected.
3. The method according to claim 1, wherein a user interface of the first application program is provided with a preset option, the preset option is used for triggering the first application program to call a scanning unit of the terminal device to obtain identification information of the image forming device and obtain the hot spot information based on the identification information, and the identification information includes the hot spot information.
4. The method of claim 1, wherein the acquiring, by the first application, the hotspot information of the image forming apparatus, and before establishing a connection with the image forming apparatus based on the hotspot information, further comprises:
and detecting whether the terminal equipment is connected to a wireless network or not through the first application program, if not, automatically calling a scanning unit of the terminal equipment to acquire identification information of the image forming device and acquiring the hot spot information based on the identification information, wherein the identification information comprises the hot spot information.
5. The method according to claim 3 or 4, wherein the identification information includes preset information having a unique correspondence with the second application program, and the terminal device calls the second application program through the first application program based on the preset information.
6. The method according to claim 1, wherein the first application program includes preset information having a unique correspondence with the second application program, and the terminal device calls the second application program through the first application program based on the preset information.
7. A network distribution method applied to an image forming apparatus, comprising:
starting a hot spot of the image forming device so that the terminal equipment establishes connection with the image forming device through a first application program based on hot spot information corresponding to the hot spot;
receiving a network allocation instruction sent by a terminal device through a second application program, wherein the network allocation instruction comprises configuration parameters of a target wireless network, and the network allocation instruction is sent by the terminal device through a connection established by the first application program based on the hot spot information and the image forming device;
performing network configuration according to the configuration parameters to connect to the target wireless network;
the second application program calls a program different from the first application program for the terminal equipment through the first application program, and specifically comprises the following steps: determining preset information with unique corresponding relation with the second application program through the first application program, and detecting whether the third party application program is built in the terminal equipment through the first application program when the preset information comprises first preset information corresponding to the browser application program and second preset information corresponding to the third party application program; if yes, the third party application program is evoked by the first application program based on the second preset information; if not, the browser application program is evoked by the first application program based on the first preset information.
8. A terminal device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the network distribution method according to any of the preceding claims 1-6 when executing the program.
9. An image forming apparatus, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the network distribution method as claimed in claim 7 when executing the program.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to implement a network distribution method as claimed in any one of claims 1 to 7.
CN202011222315.2A 2020-11-05 2020-11-05 Distribution network method, terminal device, image forming apparatus, and storage medium Active CN112333686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011222315.2A CN112333686B (en) 2020-11-05 2020-11-05 Distribution network method, terminal device, image forming apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011222315.2A CN112333686B (en) 2020-11-05 2020-11-05 Distribution network method, terminal device, image forming apparatus, and storage medium

Publications (2)

Publication Number Publication Date
CN112333686A CN112333686A (en) 2021-02-05
CN112333686B true CN112333686B (en) 2024-01-09

Family

ID=74315992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011222315.2A Active CN112333686B (en) 2020-11-05 2020-11-05 Distribution network method, terminal device, image forming apparatus, and storage medium

Country Status (1)

Country Link
CN (1) CN112333686B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466427A (en) * 2022-02-15 2022-05-10 深圳海翼智新科技有限公司 Network access method, terminal equipment, intelligent equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650070A (en) * 2018-06-26 2020-01-03 九阳股份有限公司 Household appliance network configuration method and WiFi module
CN110769396A (en) * 2018-07-25 2020-02-07 深圳市优必选科技有限公司 Method and system for connecting robot with network and terminal equipment
WO2020168561A1 (en) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 Device network distribution method and apparatus, electronic device, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101872358B1 (en) * 2011-11-22 2018-06-29 에이치피프린팅코리아 주식회사 Image forming apparatus supporting Peer-to-Peer connection and method of executing application program thereof through IP address linkage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650070A (en) * 2018-06-26 2020-01-03 九阳股份有限公司 Household appliance network configuration method and WiFi module
CN110769396A (en) * 2018-07-25 2020-02-07 深圳市优必选科技有限公司 Method and system for connecting robot with network and terminal equipment
WO2020168561A1 (en) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 Device network distribution method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN112333686A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN109345813B (en) Method and device for pairing playing device and Bluetooth remote controller and readable storage medium
CN107360614B (en) method for performing network connection with image forming apparatus and image forming apparatus
CN108833585B (en) Information interaction method and device and storage medium
US8810839B2 (en) Information processing apparatus for transferring image data, server apparatus for receiving transferred image data, and control methods and storage media therefor
US10958477B2 (en) Information processing apparatus, method for controlling the same, and computer-readable medium
CN112333686B (en) Distribution network method, terminal device, image forming apparatus, and storage medium
US11895611B2 (en) Sim card registration method and apparatus, computer device, and storage medium
US20130159536A1 (en) Image processing device, image processing system, image processing method, and non-transitory computer readable recording medium
CN110731074B (en) Subscription message processing method and device, computer equipment and storage medium
CN108052401B (en) System attribute monitoring method, terminal device and computer readable storage medium
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
CN109189294B (en) Control method and device of electronic control equipment and computer readable storage medium
CN108595274B (en) Program synchronization control method, device, system, computer device and storage medium
US9367273B2 (en) Electronic apparatus
CN114881062A (en) Code scanning identification method and device, computer equipment and storage medium
CN115686392A (en) Remote printing control method, device and system of printer
CN113194137A (en) Data transmission method, device, system and storage medium
CN111381786B (en) Text printing method and device, computer equipment and storage medium
CN111314492A (en) Air conditioner, data transmission method thereof and computer readable storage medium
CN117544938B (en) Pairing method, device, equipment and storage medium of wireless microphone
CN111490910A (en) Device information scanning method, terminal device and computer readable storage medium
CN116760486B (en) Automatic frequency matching system and method for interphone
CN112241246A (en) Image formation control method, apparatus, system, and storage medium
CN114727365B (en) Equipment network distribution method and system and computer readable storage medium
CN111338585B (en) Television, data printing method, control device and readable storage medium

Legal Events

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