[go: up one dir, main page]

CN112333686A - Network distribution method, terminal device, image forming apparatus, and storage medium - Google Patents

Network distribution method, terminal device, image forming apparatus, and storage medium Download PDF

Info

Publication number
CN112333686A
CN112333686A CN202011222315.2A CN202011222315A CN112333686A CN 112333686 A CN112333686 A CN 112333686A CN 202011222315 A CN202011222315 A CN 202011222315A CN 112333686 A CN112333686 A CN 112333686A
Authority
CN
China
Prior art keywords
image forming
application program
application
forming apparatus
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.)
Granted
Application number
CN202011222315.2A
Other languages
Chinese (zh)
Other versions
CN112333686B (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

Images

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

本申请提供一种配网方法、终端设备、图像形成装置及存储介质,配网方法包括:通过第一应用程序获取图像形成装置的热点信息,并基于热点信息与图像形成装置建立连接;通过第一应用程序唤起不同于第一应用程序的第二应用程序;通过第二应用程序获取目标无线网络的配置参数;经由终端设备通过第一应用程序基于热点信息所建立的与图像形成装置之间的连接,通过第二应用程序向图像形成装置发送包含配置参数的配网指令。本申请中,终端设备可以在未连接至目标无线网络的状态下,也能控制图像形成装置连接至目标无线网络,因此可以保证在终端设备处于不同网络状态时控制图像形成装置进行配网的成功率,另外,也可以使得用户执行配网操作更加便利。

Figure 202011222315

The present application provides a network distribution method, a terminal device, an image forming apparatus and a storage medium. The network distribution method includes: acquiring hotspot information of an image forming apparatus through a first application, and establishing a connection with the image forming apparatus based on the hotspot information; An application program invokes a second application program that is different from the first application program; the configuration parameters of the target wireless network are acquired through the second application program; the connection between the target wireless network and the image forming apparatus is established through the first application program through the terminal device based on the hotspot information. Connect, and send a network configuration command including configuration parameters to the image forming apparatus through the second application program. In this application, the terminal device can control the image forming apparatus to connect to the target wireless network even when it is not connected to the target wireless network, so it can ensure the success of controlling the image forming apparatus to perform network distribution when the terminal device is in different network states In addition, it can also make it more convenient for users to perform network distribution operations.

Figure 202011222315

Description

Network distribution 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
With the development of internet of things technology, users can realize device interconnection with an image forming apparatus (such as a printer) through a terminal device (such as a mobile phone) so as to control the image forming apparatus through the terminal device. In the prior art, a user can perform distribution network control on an image forming apparatus through a terminal device, specifically: the terminal device first connects to a target wireless network to which the image forming apparatus is desired to connect, and then transmits a relevant instruction via a server of the target wireless network in a state of connecting to the target wireless network to control the image forming apparatus to connect to the target wireless network.
However, when the terminal device is not connected to the target wireless network, such as 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 a network distribution failure of the image forming apparatus.
Further, when an application capable of transmitting configuration parameters of a target wireless network to an image forming apparatus to connect the image forming apparatus to the target wireless network is not built in the terminal device, a failure of the distribution network of the image forming apparatus may also be caused.
Disclosure of Invention
The application provides a network distribution method, a terminal device, an image forming device and a storage medium, which are used for solving the problems in the prior art.
In a first aspect, the present application provides a network distribution method, which is applied to a terminal device, and includes:
acquiring hotspot information of an image forming device through a first application program, and establishing connection with the image forming device based on the hotspot information;
invoking, 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 distribution network instruction containing the configuration parameters to the image forming device through the second application program through the connection between the terminal equipment and the image forming device, which is established through the first application program based on the hotspot information, wherein the distribution network instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to connect to the target wireless network.
In some embodiments, the target wireless network is different from a wireless network to which the terminal device is currently connected.
In some embodiments, a preset option is set on a user interface of the first application, where the preset option is used to trigger the first application to call a scanning unit of the terminal device to obtain identification information of the image forming apparatus and obtain the hotspot information based on the identification information, where the identification information includes the hotspot information.
In some embodiments, before the obtaining, by the first application, the hotspot information of the image forming apparatus and establishing a connection with the image forming apparatus based on the hotspot information, the method further includes:
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 obtaining, by the first application, the hotspot information of the image forming apparatus and establishing a connection with the image forming apparatus based on the hotspot 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 relationship with the second application program, and the terminal device invokes the second application program through the first application program based on the preset information.
In some embodiments, the first application includes preset information having a unique correspondence relationship with the second application, and the terminal device invokes the second application through the first application 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 which has a unique corresponding relation with the second application program through the first application program, and detecting whether the terminal device is internally provided with the third-party application program through the first application program when the preset information is determined to comprise first preset information corresponding to a browser application program and second preset information corresponding to other third-party application programs;
if so, calling the third-party application program through the first application program based on the second preset information;
and if not, the browser application program is called up through 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 hotspot of the image forming device to enable the terminal equipment to establish connection with the image forming device through a first application program based on hotspot information corresponding to the hotspot;
receiving a distribution network instruction sent by a terminal device through a second application program, wherein the distribution network instruction comprises configuration parameters of a target wireless network, and the distribution network instruction is sent by the terminal device through a connection established by the first application program based on the hotspot information and the image forming device;
and performing network configuration according to the configuration parameters to connect to the target wireless network.
In a third aspect, the present application provides a terminal device, including: the network distribution method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the network distribution method.
In a fourth aspect, the present application provides an image forming apparatus comprising: the network distribution method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the network distribution method.
In a fifth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the distribution network method described above.
The network distribution method, the terminal device, the image forming apparatus and the storage medium provided by the application include: acquiring hotspot information of the image forming device through a first application program, and establishing connection with the image forming device based on the hotspot information; calling up a second application program different from the first application program through the first application program; acquiring configuration parameters of the target wireless network through a second application program; and sending a distribution network instruction containing configuration parameters to the image forming device through a second application program through the connection between the terminal device and the image forming device, which is established through the first application program based on the hotspot information, wherein the distribution network instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to connect to a target wireless network. In the application, the terminal device can establish connection with the image forming device through the first application program, and based on the connection, the second application program evoked through the first application program sends a distribution network 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 distribution network operation of the image forming device cannot be completed by the first application program alone, the second application program is called by the first application program to realize the distribution network, and compared with the case that the distribution network operation of the image forming device is completed by independently starting the second application program after the first application program is quitted, the distribution network management method conforms to the use habit of a user and brings convenience to the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of an application scenario of the solution of the present application;
fig. 2 is a schematic diagram of a network distribution method applied to a terminal device according to an embodiment of the present disclosure;
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 disclosure;
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.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the present 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 phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good 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 good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Firstly, the application scenario related to the scheme of the application is explained:
fig. 1 is a schematic view of an application scenario of the present application, and 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 relevant distribution network control instruction to an image forming apparatus 10 through a terminal device 20 to control the image forming apparatus 10 to access to the WIFI-1.
In the prior art, when the distribution network of the image forming apparatus 10 is controlled, the distribution network information corresponding to the WIFI-1 is generally sent to a server connected to the terminal device by using a certain application program in the terminal device 20, and then the server sends the distribution network information to the image forming apparatus 10, so that the image forming apparatus 10 accesses the WIFI-1, thereby completing the distribution network processing of the image forming apparatus 10, wherein the server is used for connecting the image forming apparatus 10 to the WIFI-1 network, and for convenience of description, the server is referred to as a "server of the WIFI-1".
However, in the process of the prior art, since the process of the terminal device 20 sending the distribution network information to the image forming apparatus 10 requires the participation of the server of the WIFI-1, it is equal to the limitation that the terminal device 20 must first access the WIFI-1 and then control the image forming apparatus 10 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, resulting in a network distribution failure of the image forming apparatus 10.
In addition, when an application capable of transmitting configuration parameters of a 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, a failure of the distribution network of the image forming apparatus 10 may also be caused.
The application provides a network distribution method, a terminal device, an image forming apparatus and a storage medium, which aim to solve the above technical problems in the prior art.
The main conception of the application is as follows:
if the terminal device 20 is expected to be capable of controlling the image forming apparatus 10 to be connected to the WIFI-1 even when the current connection network is a cellular network such as 2G/3G4G/5G, or is connected to another wireless network such as WIFI-2, that is, in the process of controlling the image forming apparatus 10 to perform network distribution by the terminal device 20, a server of the WIFI-1 is not required to participate, that is, the terminal device 20 can send the relevant configuration information of the WIFI-1 to the image forming apparatus 10 without the help of the 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 can directly transmit the configuration information related to WIFI-1 to the image forming apparatus 10 through the connection with the image forming apparatus 10.
Therefore, in the network distribution method of the present application, the terminal device 20 first establishes a connection with the image forming apparatus 10 through the first application program based on the hotspot information of the image forming apparatus 10, then invokes another second application program through the first application program, and after acquiring the configuration parameters of a target wireless network (for example, WIFI-1 to which the terminal device 20 expects the image forming apparatus 10 to be connected) through the second application program, the terminal device 20 directly transmits the configuration parameters to the image forming apparatus 10 through the connection with the image forming apparatus 10 through the second application program, so that the network distribution process of the present application does not need the participation of a server of the WIFI-1, and thus the success rate of controlling the image forming apparatus to distribute a network when the terminal device is in different network states can be ensured. In addition, when the distribution network operation of the image forming device cannot be completed by the first application program alone, the second application program is called by the first application program to realize the distribution network, and compared with the case that the distribution network operation of the image forming device is completed by independently starting the second application program after the first application program is quitted, the distribution network management method conforms to the use habit of a user and brings convenience to the user.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It can be understood that the terminal device related to the embodiments 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 can be used to execute image forming jobs such as generating, printing, receiving, and transmitting image data, and examples of the image forming apparatus include: an inkjet printer, a laser printer, an LED (Light Emitting Diode) printer, a copier, a scanner, or a multifunction Peripheral (MFP) that performs the above functions in a single device. The image forming device comprises a processor, a communication module and a network connection module, wherein the processor can communicate with the terminal equipment through the communication module and control the network connection module to carry out network configuration according to information sent by the terminal equipment so as to be connected to a wireless network.
Fig. 2 is a schematic diagram of a network distribution method provided in an embodiment of the present application, where the method is applied to a terminal device, and as shown in fig. 2, the method mainly includes the following steps:
s110, acquiring hotspot information of the image forming device through the first application program, and establishing connection with the image forming device based on the hotspot information.
The first application program is an application program built in the terminal device, and when the first application program is in an operating state, the terminal device may obtain hotspot information of the image forming apparatus through the first application program, where the hotspot information may include a hotspot name, a hotspot password, and the like of the image forming apparatus. When the image forming apparatus is in the hotspot opening state, the terminal device may establish a connection with the image forming apparatus based on the acquired hotspot information through the first application program.
The image forming device comprises a main body, a WIFI module and a wireless hotspot control module, wherein the WIFI module is arranged in the main body of the image forming device, and the image forming device can open a wireless hotspot of the image forming device based on the WIFI module so as to establish connection between other equipment and the image forming device.
And S120, a second application program different from the first application program is called up through the first application program.
The second application program may be another application program different from the first application program, which is built in the terminal device. After the terminal device establishes connection with the image forming device through the first application program based on the acquired hotspot information, a program evoking action is executed through the first application program to evoke the second application program.
And S130, acquiring configuration parameters of the target wireless network through the second application program.
The target wireless network, i.e., the wireless network to which the terminal device desires the image forming apparatus to connect, is, for example, WIFI-1 in fig. 1. After the second application program is called up through the first application program, when the second application program is in a running state, the terminal can acquire the configuration parameters of the target wireless network through the second application program.
Alternatively, the configuration parameters of the target wireless network may include an SSID (Service Set Identifier) and a password of the target wireless network, so that the image forming apparatus connects to the target wireless network according to the SSID and the password of the target wireless network.
And S140, sending a distribution network instruction containing configuration parameters to the image forming device through a second application program through the connection between the terminal device and the image forming device, which is established through the first application program based on the hotspot information, wherein the distribution network instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to connect 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 distribution network instruction containing the configuration parameters of the target wireless network to the image forming device through the connection between the terminal device and the image forming device through the second application program, and therefore the image forming device carries out network configuration according to the configuration parameters in the distribution network instruction and is connected to the target wireless network.
In the process, the terminal device can send the distribution network instruction through the connection between the terminal device and the image forming apparatus through the second application program without participation of a server, so that the terminal device can control the image forming apparatus to distribute the network to be connected to the target wireless network in a state of not being connected to the target wireless network, and therefore, the success rate of controlling the image forming apparatus to distribute the network can be ensured when the terminal device is in different network states.
In addition, when the distribution network operation of the image forming device cannot be completed by the first application program alone, the second application program is called by the first application program to realize the distribution network, compared with the situation that the distribution network operation of the image forming device is completed by independently starting the second application program after the first application program is quitted, the use habit of a user is met, and the user does not need to additionally start the second application program in the process, so that the operation of the user can be reduced, and convenience is brought to the user.
Specifically, the application programs built in the terminal device may be divided into three types, the first type may be an application program installed in the terminal device, specifically, an application program capable of transmitting configuration parameters of a target wireless network to an image forming apparatus so as to complete a network distribution operation of the image forming apparatus, and such an application program may be referred to as a "network distribution application program", the network distribution application program may be a network distribution application program provided by a manufacturer that generates the image forming apparatus, specifically, a mobile printing APP, or a browser application program, and specifically, the browser application program may transmit the configuration parameters of the target wireless network to the image forming apparatus through a webpage user interface; the second type 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 a terminal is connected to a wireless network, the terminal can transmit configuration parameters of a target wireless network to an image forming device through a server corresponding to the fast application so as to complete the distribution network operation of the image forming device, when the terminal is not connected to the wireless network, the distribution network operation of the image forming device cannot be completed through a small program alone, and the fast application can be a small program; the third is an application installed in the terminal device, specifically, an application that cannot directly transmit configuration parameters of a target wireless network to the image forming apparatus to implement distribution network operation for the image forming apparatus, and such an application may be referred to as a "management application", that is, distribution network operation of the image forming apparatus cannot be implemented by the fast 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 first application is used to implement connection between the terminal and the image forming apparatus, and then the second application sends configuration parameters of the target wireless network to the image forming apparatus 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 network 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 transmit configuration information of WIFI-1 to the image forming apparatus via connection with the image forming apparatus through 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 control the image forming apparatus to perform network distribution to connect to the target wireless network even in a state where the terminal device is not connected to the target wireless network or is connected to other wireless networks, so that a success rate of controlling the image forming apparatus to perform network distribution when the terminal device is in a different network state can be ensured.
In some embodiments, a preset option is set on the user interface of the first application, where the preset option is used to trigger the first application to call the scanning unit of the terminal device to obtain the identification information of the image forming apparatus and obtain the hot spot information based on the identification information, where the identification information includes the hot spot information. The image forming apparatus is provided with identification information including hot spot information, and when the terminal device acquires the hot spot information of the image forming apparatus through the first application program, the terminal device may acquire the hot spot information by scanning the identification information provided on the image forming apparatus.
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 device to acquire identification information of the image forming apparatus. Optionally, the user may trigger the scanning unit to invoke the 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 in the embodiment of the present application, and as shown in fig. 3, the preset option may be a control containing prompt information, where the prompt information is, for example, "start scanning", and after the user clicks the control, the first application is triggered to invoke a scanning unit of the terminal device to execute a scanning function, so that a display interface of the terminal device is changed into a scanning interface containing a scanning line that moves up and down.
Optionally, the scanning unit of the terminal device may specifically be a camera and the like arranged in the terminal device.
Optionally, the form of the identification information may be an identification code such as a two-dimensional code, a barcode, and the like, and after acquiring the identification information, the first application program may acquire hot spot information therein 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 using a code spraying technology, and may also be displayed on a display interface of the image forming apparatus in a visible manner by using other manners, which 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 preset option is set on the user interface of the first application, and a user may manually trigger the first application to call the scanning unit by clicking the preset option, so as to obtain identification information of the image forming apparatus, which includes the hot spot information, in a scanning manner, thereby facilitating establishment of connection between the terminal device and the image forming apparatus.
In some embodiments, before obtaining, by the first application, 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 obtain identification information of the image forming device, and hotspot information is obtained based on the identification information, wherein the identification information comprises the hotspot information.
Specifically, when the first application is in a running state, the terminal device may automatically detect whether the terminal device is connected to the wireless network through the first application, because the terminal device may only be connected to the wireless network or to a hotspot of the image forming apparatus within a period of time, and when the terminal device is connected to the wireless network, it cannot be connected to the hotspot of the image forming apparatus at the same time, therefore, when the first application detects that the terminal device is not connected to the wireless network, it indicates that the terminal device is currently available for hotspot connection with the image forming apparatus, at this time, the first application directly and automatically invokes a scanning unit of the terminal device to scan the identification information of the image forming apparatus, thereby obtaining the hotspot information included in the identification information of the image forming apparatus.
In this embodiment, when the first application detects a hotspot where the terminal device can be currently connected to the image forming apparatus, the first application directly and automatically invokes the scanning unit to acquire hotspot information included in the identification information of the image forming apparatus in a scanning manner, thereby facilitating establishment of connection between the terminal device and the image forming apparatus. In some embodiments, before obtaining, by the first application, 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 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 hotspot information of the image forming apparatus on the user interface of the first application program, and the first application program directly acquires the hotspot information input by the user, and then establishes the connection between the terminal device and the image forming apparatus based on the directly acquired hotspot information.
In this embodiment, the first application program of the terminal device directly obtains the hot spot information input by the user on the user interface, and the processing procedure for identifying the identification information can be omitted, so that the connection between the terminal device and the image forming apparatus can be established more quickly.
In some embodiments, the identification information includes preset information having a unique correspondence with the second application, and the terminal device invokes the second application through the first application based on the preset information.
When the scanning unit of the first application calling terminal device acquires the identification information of the image forming apparatus, the identification information further includes preset information having a unique correspondence relationship with the second application, so that the first application can acquire the preset information by scanning and then directly call up the second application based on the preset information.
In this embodiment, the first application program can acquire the hot spot information of the image forming apparatus by scanning and also acquire the preset information having a unique correspondence with the second application program, based on the preset information, the first application program can directly invoke the second application program, and a user or a terminal device does not need to perform other operations for invoking the second application program, so that the processing flow of the distribution network can be simplified, and the speed of invoking the second application program can be increased.
In some embodiments, the first application includes preset information having a unique correspondence with the second application, and the terminal device invokes the second application through the first application based on the preset information.
The preset information having the unique corresponding relationship with the second application program may also be directly stored in the first application program, and when the second application program needs to be invoked, the first application program directly invokes 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, and based on the preset information, the first application program may directly invoke the second application program, and a user or a terminal device does not need to perform other operations for invoking the second application program, so that a processing flow of the distribution network may be simplified, and a speed of invoking the second application program may be increased.
In some embodiments, the second application is a browser application when the preset information may include an IP address of the image forming apparatus or a web address corresponding to a web user interface of the image forming apparatus.
Therefore, the distribution network can be realized by starting the web page user interface corresponding to the image forming device through the browser application program.
Alternatively, the second application may be a third party application different from the browser application, such as the above-mentioned mobile printing APP.
In this embodiment, the invoking of the second application program different from the first application program by the first application program specifically includes: determining preset information which has a unique corresponding relation with a second application program through a first application program, and detecting whether a third party application program is arranged in the terminal equipment or not through the first application program when the preset information is determined to comprise first preset information corresponding to a browser application program and second preset information corresponding to the third party application program; if so, calling a third-party application program through the first application program based on second preset information; and if not, the browser application program is called through the first application program based on the first preset information.
Specifically, when a second application program is invoked through a first application program, if the first application program determines that the preset information simultaneously includes first preset information for invoking a browser application program and second preset information for invoking a third-party application program, the first application program may invoke the second application program according to a rule for preferentially invoking the third-party application program, at this time, the first application program first 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 invokes the third-party application program based on the second preset information; and 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 invokes the browser application or the third-party application, the user may manually input the configuration parameters of the target wireless network on a user interface of the browser application or the third-party application, so that the browser application or the third-party application 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 on 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 distribution network speed can be improved, and the distribution network efficiency is ensured.
In some embodiments, a network distribution method is provided, which is applied to an image forming apparatus.
Fig. 4 is a schematic diagram of a network distribution method provided in an embodiment of the present application, and as shown in fig. 4, 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 a first application program based on hot spot information corresponding to the hot spot;
s220, receiving a distribution network instruction sent by the terminal device through a second application program, wherein the distribution network instruction comprises configuration parameters of a target wireless network, and the distribution network instruction is sent by the terminal device through connection between the terminal device and the image forming device, which is established through the first application program based on hotspot information;
and 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 a 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, thereby facilitating subsequent processing, for example, after the image forming apparatus is successfully connected to the target wireless network, directly using a related function of the image forming apparatus; alternatively, when the image forming apparatus fails to connect to the target wireless network, the distribution network operation or the like is resumed.
The embodiment provides a network distribution method, after an image forming apparatus starts a hotspot, a terminal device can establish connection with the image forming apparatus through a first application program, based on the connection, the terminal device sends a network distribution instruction containing configuration parameters to the image forming apparatus through a second application program evoked by the first application program, so that the image forming apparatus can perform network configuration and connect to a target wireless network, in the above process, the terminal device may transmit the distribution network instruction through the connection of the terminal device with the image forming apparatus by the second application, without the participation of a server, the terminal equipment can control the image forming device to carry out distribution network to connect to the target wireless network under the state of not connecting to the target wireless network, therefore, the success rate of controlling the image forming device to carry out distribution network when the terminal equipment is in different network states can be ensured.
In addition, when the distribution network operation of the image forming device cannot be completed by the first application program alone, the second application program is called by the first application program to realize the distribution network, compared with the situation that the distribution network operation of the image forming device is completed by independently starting the second application program after the first application program is quitted, the use habit of a user is met, and the user does not need to additionally start the second application program 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 respective steps in the flowcharts in the above-described embodiments are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown 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 multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
In some embodiments, a terminal device is provided, and fig. 5 is a schematic diagram of the terminal device provided in the embodiment of the present application, as shown in fig. 5, a terminal device 20 includes: the network distribution method applied to the terminal device comprises a memory 21, a processor 22 and a computer program stored on the memory 21 and capable of running on the processor 22, wherein the processor 22 executes the program to realize the steps of the network distribution method applied to the terminal device.
Optionally, the terminal device 20 may further include a display 23 for displaying information or performing human-computer interaction processing.
In some embodiments, an image forming apparatus is provided, and fig. 6 is a schematic diagram of an image forming apparatus provided in an embodiment of the present application, and as shown in fig. 6, an image forming apparatus 10 includes: the device comprises a memory 11, a processor 12 and a computer program stored on the memory 11 and capable of running on the processor 12, wherein the processor 12 realizes the network distribution method applied to the image forming device when executing the program.
In the above terminal device or the image forming apparatus, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines, such as a bus. The memory stores computer-executable instructions for implementing the data access control method, and includes at least one software functional module which can be stored in the memory in the form of software or firmware, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions. Further, the software programs and modules within the aforementioned memories 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 having signal processing capabilities. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps, and logic blocks disclosed 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 having stored thereon computer-executable instructions for performing the steps of the method embodiments of the present application when executed by a processor is provided.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the present 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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A network distribution method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring hotspot information of an image forming device through a first application program, and establishing connection with the image forming device based on the hotspot information;
invoking, 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 distribution network instruction containing the configuration parameters to the image forming device through the second application program through the connection between the terminal equipment and the image forming device, which is established through the first application program based on the hotspot information, wherein the distribution network instruction is used for instructing the image forming device to perform network configuration according to the configuration parameters so as to connect to the target wireless network.
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 preset option is set on a user interface of the first application, and the preset option is used for triggering the first application to call a scanning unit of the terminal device to acquire identification information of the image forming apparatus and acquire the hotspot information based on the identification information, and the identification information includes the hotspot information.
4. The method according to claim 1, wherein before the obtaining of the hotspot information of the image forming apparatus by the first application and establishing the connection with the image forming apparatus based on the hotspot information, the method further comprises:
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 relationship with the second application program, and based on the preset information, the terminal device invokes the second application program through the first application program.
6. The method according to claim 1, wherein the first application includes preset information having a unique correspondence relationship with the second application, and based on the preset information, the terminal device invokes the second application through the first application.
7. The method according to claim 1, wherein the invoking of the second application by the first application, different from the first application, specifically comprises:
determining preset information which has a unique corresponding relation with the second application program through the first application program, and detecting whether the terminal equipment is internally provided with the third party application program through the first application program when the preset information is determined to comprise first preset information corresponding to a browser application program and second preset information corresponding to the third party application program;
if so, calling the third-party application program through the first application program based on the second preset information;
and if not, the browser application program is called up through the first application program based on the first preset information.
8. A network distribution method applied to an image forming apparatus includes:
starting a hotspot of the image forming device to enable the terminal equipment to establish connection with the image forming device through a first application program based on hotspot information corresponding to the hotspot;
receiving a distribution network instruction sent by a terminal device through a second application program, wherein the distribution network instruction comprises configuration parameters of a target wireless network, and the distribution network instruction is sent by the terminal device through a connection established by the first application program based on the hotspot information and the image forming device;
and performing network configuration according to the configuration parameters to connect to the target wireless network.
9. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the network distribution method according to any of the claims 1-7 when executing the program.
10. An image forming apparatus, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the network distribution method according to claim 8 when executing the program.
11. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the network distribution method of any of claims 1-8.
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 true CN112333686A (en) 2021-02-05
CN112333686B 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)

Cited By (2)

* 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
CN115801821A (en) * 2022-10-09 2023-03-14 威盛电子(上海)有限公司 Internet of vehicles terminal equipment, parameter configuration method thereof and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130128311A1 (en) * 2011-11-22 2013-05-23 Samsung Electronics Co., Ltd. Image forming apparatus supporting peer-to-peer connection and method of executing application program thereof through internet protocol address linkage
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, system and terminal device for robot to connect to network
WO2020168561A1 (en) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 Device network distribution method and apparatus, electronic device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130128311A1 (en) * 2011-11-22 2013-05-23 Samsung Electronics Co., Ltd. Image forming apparatus supporting peer-to-peer connection and method of executing application program thereof through internet protocol address linkage
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, system and terminal device for robot to connect to network
WO2020168561A1 (en) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 Device network distribution method and apparatus, electronic device, and storage medium

Cited By (2)

* 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
CN115801821A (en) * 2022-10-09 2023-03-14 威盛电子(上海)有限公司 Internet of vehicles terminal equipment, parameter configuration method thereof and computer readable storage medium

Also Published As

Publication number Publication date
CN112333686B (en) 2024-01-09

Similar Documents

Publication Publication Date Title
CN108833585B (en) Information interaction method, device and storage medium
CN113965895A (en) Bluetooth connection switching method, device and storage medium
CN107818023B (en) Thread-based message processing method, intelligent device and storage medium
US11895611B2 (en) Sim card registration method and apparatus, computer device, and storage medium
US9264460B2 (en) Method, apparatus, and system for executing a job in cooperation with a server
CN112333686A (en) Network distribution method, terminal device, image forming apparatus, and storage medium
CN112068818A (en) Service interaction method and device, computer equipment and storage medium
CN111343236A (en) Method, device and communication system for communication between server and client
WO2022057429A1 (en) Network registration method and apparatus, and user terminal and storage medium
CN109902257B (en) Resource access method, device, computer equipment and storage medium
CN112805691B (en) Exception handling method, terminal device and storage medium
CN117544938B (en) Pairing method, device, equipment and storage medium of wireless microphone
CN108628781A (en) Smart card proactive command sending method, device, smart card and terminal device
CN108984319A (en) Method, device, computer equipment and storage medium for solving operation instruction conflict
CN108595274B (en) Program synchronization control method, device, system, computer device and storage medium
CN113194137A (en) Data transmission method, device, system and storage medium
CN117811921A (en) Component parameter configuration method, server and terminal equipment
CN115525446A (en) Cross-process communication calling point positioning method, device, equipment and storage medium
KR20130124142A (en) Supplementary services execution apparatus for providing supplementary services included in user terminal
JP2018111258A (en) Printing device
CN114356452B (en) Method and device for acquiring positioning result information, electronic equipment and storage medium
CN113784010B (en) Image forming apparatus, drive download prompting method thereof, and printing system
CN113064753B (en) Host state acquisition method, system, intelligent terminal and storage medium
CN113934557B (en) Methods, related equipment and systems for communication between mini-programs and web pages
CN114245405B (en) Equipment network distribution method, electronic equipment and 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