Network printing method and device, server and computer readable storage medium

By storing the park map and device location on the server and calculating the execution parameters of the printing equipment, users can choose the best printing equipment, which solves the problem of selecting printing equipment in large parks, improves printing efficiency and implementability, and reduces operating costs.

CN119556869APending Publication Date: 2025-03-04MAIPU COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411619898.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In large parks, it is difficult for users to choose the best printing equipment for printing, resulting in inefficient printing and need to set up multiple print drivers on the user terminal, which is cumbersome to operate. The prior art improves printing efficiency through GPS positioning and LBS services, but fewer printing devices support GPS positioning and higher costs.

Method used

A network printing method is provided, which communicates with multiple printing devices and user terminals through a server, and stores a park map, a printing device location and a user terminal location. This method obtains the user's printing task, calculates the execution parameters of each printing device, including distance, execution time and comprehensive duration, and allows the user to select the best printing device based on these parameters.

Benefits of technology

Improve printing efficiency and implementability, reduce operation costs, and users can select the best printing equipment according to actual conditions, simplify user operations, and avoid the need to set up multiple print drivers in the printing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556869A_ABST
    Figure CN119556869A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a network printing method and device, a server and a computer readable storage medium, and relates to the technical field of printing control. Obtaining a printing task sent by any user terminal; according to user information corresponding to the user terminal, task parameters of the printing task, the position and the printing task queue of each printing device, the position of the user terminal and the park map, calculating execution parameters of each printing device for the printing task; and receiving a printing device selected by the user from the plurality of printing devices based on the execution parameters, and adding the printing task to a printing task queue corresponding to the selected printing device for processing. The method can improve the feasibility, reduce the operation cost, improve the printing efficiency and simplify the user operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of printing control technology, and in particular to a network printing method, device, server and computer-readable storage medium. Background Art

[0002] In large campuses, there are usually multiple printing devices that support shared printing for users to use. Although this method can improve printing efficiency to a certain extent, users often need to operate the print driver themselves to select a printing device when using it. Since users cannot perceive the actual operating conditions of the printing device, they often cannot select the best printing device for printing, which leads to low printing efficiency. In addition, this also requires setting up multiple print drivers on each user terminal in advance, so there is also the problem of cumbersome operation.

[0003] Currently, in order to improve printing efficiency, users can be allowed to view the distance between themselves and the printing device, and then select the corresponding printing device based on the distance. For example, a GPS (Global Positioning System) module is installed on the printing device, and the user terminal and the printing device are positioned through the LBS (Location Based Services) service, so as to calculate the straight-line distance between the two and feed it back to the user so that the user can make a selection.

[0004] However, this method also has certain problems. Specifically, there are few printing devices that support GPS positioning, so it is difficult to adapt to the actual situation of most parks and the feasibility is poor. Based on this, it is necessary to replace the printing devices in the park with printing devices with GPS modules. In addition, it is necessary to purchase LBS services, which will lead to high implementation costs. Summary of the invention

[0005] In view of this, the purpose of the present application is to provide a network printing method, device, server and computer-readable storage medium, which can simplify the operation, improve the printing efficiency, improve the feasibility and reduce the operating cost.

[0006] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, the present application provides a network printing method, which is applied to a server, wherein the server is communicatively connected with a plurality of printing devices and a plurality of user terminals, and the server stores a campus map, the location of each of the printing devices, and the location of each of the user terminals, and the method comprises:

[0008] Obtaining a print task sent by any of the user terminals;

[0009] Calculate the execution parameters of each printing device for the printing task according to the user information corresponding to the user terminal, the task parameters of the printing task, the location and the printing task queue of each printing device, the location of the user terminal and the campus map;

[0010] A printing device selected by a user from among the plurality of printing devices based on the execution parameters is received, and the printing task is added to a printing task queue corresponding to the selected printing device for processing.

[0011] In an optional embodiment, the execution parameters include distance, execution time and comprehensive time;

[0012] The calculating, according to the user information corresponding to the user terminal, the task parameters of the print task, the location and print task queue of each of the printing devices, the location of the user terminal and the campus map, the execution parameters of each of the printing devices for the print task includes:

[0013] Calculating the distance between the user terminal and each of the printing devices according to the location of each of the printing devices, the location of the user terminal, and the campus map;

[0014] Calculating the execution time of the printing task in each of the printing devices according to the user information, the task parameters of the printing task and the printing task queue corresponding to each of the printing devices;

[0015] According to the distance between the user terminal and each of the printing devices, the navigation time from the user terminal to each of the printing devices is calculated, and according to the navigation time from the user terminal to each of the printing devices and the corresponding execution time of each of the printing devices, the comprehensive time corresponding to each of the printing devices is calculated.

[0016] In an optional implementation, the task parameters include document type, paper type, paper material, print mode, print page number and print content, and the user information includes user priority;

[0017] The calculating the execution time of the print task in each of the printing devices according to the user information, the task parameters of the print task and the print task queue corresponding to each of the printing devices comprises:

[0018] For each of the printing devices, respectively, according to the preset printing constant, the influencing factor parameter, the current error coefficient and the printing page number corresponding to the printing device, the printing time for the printing device to execute the printing task is calculated;

[0019] The influencing factor parameter is determined according to the document type, the paper type, the paper material and the printing mode, and the current error coefficient is determined according to the average execution time of the printing device, the execution time per page, the current number of prints and the error coefficient determined last time;

[0020] Determine the task priority of the printing task according to the printing content, and determine the waiting time required for the printing task in the printing device according to the task priority, the user priority and the printing task queue corresponding to the printing device;

[0021] The execution duration of the printing task in the printing device is calculated according to the waiting duration and the printing duration.

[0022] In an optional implementation manner, the server is further provided with a driver module corresponding to each of the printing devices, and the adding of the printing task to the printing task queue corresponding to the selected printing device for processing includes:

[0023] Adding the print task to the print task queue corresponding to the selected printing device according to the task priority and user priority of the print task;

[0024] When it is determined to process the print task, a driver module corresponding to the selected print device is called to send the print task to the selected print device for processing.

[0025] In an optional embodiment, the method further includes determining the printing status of the printing device at preset time intervals;

[0026] When it is determined according to the printing status that the execution of the printing task is completed, a printing log corresponding to the printing task is generated so as to audit the printing behavior of the user through the printing log.

[0027] In an optional implementation manner, before the step of obtaining the print task sent by any of the user terminals, the method further includes:

[0028] Obtaining characteristic information of the printing device sent by the printing access device;

[0029] determining whether the printing device is an unregistered printing device according to the characteristic information of the printing device;

[0030] If the printing device is an unregistered printing device, the location of the printing device is determined according to the characteristic information of the printing device and the printing access device, and the printing device is registered according to the characteristic information and the location of the printing device.

[0031] In an optional implementation, the server is further connected to at least one terminal access device in communication, and the server further stores the location of the terminal access device and access login information corresponding to the access user, and the method further includes:

[0032] Obtaining an access authentication request sent by the terminal access device;

[0033] The access authentication request is generated by the terminal access device according to the access request sent by the user terminal to be connected to the network and sent to the server, and the access authentication request includes the user's login information and access information;

[0034] Determine whether the user is an admitted user according to the user's login information and the admitted login information, and access the user terminal to be admitted if the user is an admitted user;

[0035] The location of the user terminal to be connected to the network is determined according to the access information and the location of the terminal access device.

[0036] In a second aspect, the present application provides a network printing device, which is applied to a server, wherein the server is communicatively connected with a plurality of printing devices and a plurality of user terminals, wherein a campus map, the location of each of the printing devices, and the location of each of the user terminals are stored in the server, and the device comprises:

[0037] An acquisition module, used for acquiring a print task sent by any of the user terminals;

[0038] A calculation module, configured to calculate the execution parameters of each printing device for the printing task according to the user information corresponding to the user terminal, the task parameters of the printing task, the location of each printing device and the printing task queue, the location of the user terminal and the campus map;

[0039] The printing module is used to receive a printing device selected by a user from the plurality of printing devices based on the execution parameters, and add the printing task to a printing task queue corresponding to the selected printing device for processing.

[0040] In a third aspect, the present application provides a server, comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method described in any one of the aforementioned implementations.

[0041] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any one of the aforementioned implementations.

[0042] The network printing method, device, server and computer-readable storage medium provided by the embodiment of the present application, the server is connected to multiple printing devices and multiple user terminals in communication, and the server stores a campus map, the location of each printing device and the location of each user terminal, so the server can record the execution parameters of each printing device for the printing task according to the user information of the user terminal sending the printing task, the task parameters of the printing device, the location of each printing device and the printing task queue, the location of the user terminal and the campus map, and the user can select a printing device from multiple printing devices based on the execution parameters to process the printing task through the selected printing device. Since the server can store the location of the printing device in this method, there is no need to set up a GPS module and LBS service for the printing device, thereby improving feasibility and reducing operating costs. In addition, since the server can calculate the execution parameters of each printing device for the printing task, the user can select the best printing device based on the actual operation of each printing device, thereby improving printing efficiency. Since the solution can add the printing task to the printing queue of the selected printing device through the server, there is no need to set up multiple printing drivers in the printing device, thereby simplifying user operations.

[0043] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 A block diagram of a printing system is shown;

[0046] Figure 2 A block diagram of a server provided in an embodiment of the present application is shown;

[0047] Figure 3 A block diagram of a shared print management system is shown;

[0048] Figure 4 A schematic diagram of a flow chart of a network printing method provided by an embodiment of the present application is shown;

[0049] Figure 5 A schematic diagram of a printing system is shown;

[0050] Figure 6An example diagram of registration information corresponding to a printing device is shown;

[0051] Figure 7 An example diagram of the registration process is shown;

[0052] Figure 8 An example diagram showing online user information;

[0053] Fig. 9 Another example diagram showing online user information;

[0054] Fig.10 An example diagram of the network access process is shown;

[0055] Fig.11 A distance diagram is shown;

[0056] Fig.12 A schematic diagram of execution time is shown;

[0057] Fig.13 A schematic diagram of the comprehensive duration is shown;

[0058] Fig.14 An example diagram of the execution parameter calculation process is shown;

[0059] Fig.15 An example diagram of a print log is shown;

[0060] Fig.16 An example diagram of a printing process is shown;

[0061] Fig.17 A functional module diagram of a network printing device provided in an embodiment of the present application is shown.

[0062] Icons: 10 - server; 100 - memory; 110 - processor; 120 - communication module; 20 - printing device; 30 - user terminal; 200 - acquisition module; 210 - calculation module; 220 - printing module. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0064] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0065] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0066] Figure 1 For a block diagram of the printing system, see Figure 1 The printing system includes a server 10, a plurality of printing devices 20 and a plurality of user terminals 30, and the server 10 is communicatively connected with the plurality of printing devices 20 and the plurality of user terminals 30 respectively.

[0067] Optionally, the printing device 20 may include a printer, such as a laser printer, an inkjet printer, a 3D printer, and the like.

[0068] Optionally, the user terminal 30 may include a PC terminal and a mobile terminal.

[0069] Further, in Figure 1 On the basis of Figure 2 For a block diagram of the server 10 provided in the embodiment of the present application, please refer to Figure 1 The server includes a memory 100, a processor 110 and a communication module 120. The memory 100, the processor 110 and the communication module 120 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0070] The memory 100 is used to store computer programs or data that can be executed by the processor. The memory 100 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0071] The processor 110 is used to read / write data or computer programs stored in the memory, and execute the computer program to implement the network printing method provided in the embodiment of the present application.

[0072] The communication module 120 is used to establish a communication connection between the server and other communication terminals through the network, and to send and receive data through the network.

[0073] It should be understood that Figure 2 The structure shown is only a schematic diagram of the server structure. The server may also include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations are shown. Figure 2 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0074] Optionally, the server may store a campus map, the location of each printing device, and the location of each user terminal.

[0075] Optionally, the park map refers to an electronic map of the park, and the location refers to a specific location of a printing device or a user terminal in the park, such as Building 10, 5-10.

[0076] In this embodiment, in order to facilitate the management of printing devices and user terminals, as well as control and monitoring of the printing process, a shared printing management system can also be set up in the server, and multiple components can be set up in the shared printing management system, and each component can implement different functions.

[0077] In one example, Figure 3 For a block diagram of a shared print management system, see Figure 3 The shared printing system includes a user management module, an audit module, a campus map module, a printing management module, a printing device management module and a printing device identification module.

[0078] In this example, the user management module can be used to manage user terminals and user information, the campus map module can be used to manage the campus map, the audit module can be used to audit and monitor user behavior, the printing management module can be used to calculate the execution parameters corresponding to the printing device, the printing device management module can be used to manage the printing status of each printing device, and the printing device identification module can be used to manage the characteristic parameters of each printing device.

[0079] Next, the above Figure 1 The server in the example is the execution subject, and the network printing method provided by the embodiment of the present application is introduced exemplarily in combination with the flowchart. Specifically, Figure 4 A flowchart of a network printing method provided in an embodiment of the present application is shown in FIG. Figure 4 , the method comprising:

[0080] Step S20, obtaining a print task sent by any user terminal.

[0081] Optionally, the user may access the shared printing management system in the server through a user terminal to upload the printing task.

[0082] In this embodiment, the user can upload the print task by submitting the print document and configuring the print parameters.

[0083] Step S21 , calculating the execution parameters of each printing device for the printing task according to the user information corresponding to the user terminal, the task parameters of the printing task, the location of each printing device and the printing task queue, the location of the user terminal and the campus map.

[0084] Optionally, the execution parameter refers to a parameter that may be generated by the corresponding printing device if the printing task is assigned to the corresponding printing device for execution. It can be understood that the execution parameter is an estimated value of the printing device executing the printing task.

[0085] Step S22: receiving a printing device selected by a user from a plurality of printing devices based on the execution parameters, and adding the printing task to a printing task queue corresponding to the selected printing device for processing.

[0086] In this embodiment, the server may feed back the execution parameters corresponding to each printing device to the user, so that the user can determine the best printing device according to the execution parameters.

[0087] Optionally, the server is also provided with a print task queue corresponding to each printing device. It can be understood that the print task queue stores the print tasks to be executed by the printing device.

[0088] In the network printing method provided in the embodiment of the present application, the server is communicatively connected with multiple printing devices and multiple user terminals, and the server stores a campus map, the location of each printing device and the location of each user terminal. Therefore, the server can record the execution parameters of each printing device for the printing task based on the user information of the user terminal sending the printing task, the task parameters of the printing device, the location of each printing device and the printing task queue, the location of the user terminal and the campus map. The user can then select a printing device from multiple printing devices based on the execution parameters to process the printing task through the selected printing device.

[0089] Since in this method, the server can store the location of the printing device, there is no need to set up a GPS module and LBS service for the printing device, which can improve feasibility and reduce operating costs. In addition, since the server can calculate the execution parameters of each printing device for the printing task, the user can select the best printing device based on the actual operating conditions of each printing device, thereby improving printing efficiency. Since this solution can add the print task to the print queue of the selected printing device through the server, there is no need to set up multiple print drivers in the printing device, which can simplify user operations.

[0090] Optionally, in order to facilitate access to a printing device, the server may also be communicatively connected to at least one printing access device.

[0091] Optionally, Figure 5 For another schematic diagram of the printing system, see Figure 5 The printing access device may include a switch and an AP (Access Point, wireless access node) device.

[0092] In this embodiment, the AP device is a bridge for communication between the wireless network and the wired network, and is a core device for establishing a wireless local area network (WLAN). It is mainly used to provide mutual access between wireless workstations and the wired local area network.

[0093] Optionally, the switch supports terminal access authentication, can communicate with wired printing devices, and supports scanning and detecting wired printing devices under the switch; the AP device supports wireless printing device access authentication, the wireless printing device can access the wired network through the AP device, and supports scanning and detecting wireless printing devices associated with the AP.

[0094] It can be understood that, since the printing device includes a wired printing device and a wireless printing device, at least one switch and at least one AP device may be provided to respectively realize the connection of the wired printing device and the connection of the wireless printing device.

[0095] In this embodiment, in order to facilitate the server to centrally manage the printing devices in the park, the printing devices can be registered through the printing access device.

[0096] Optionally, the server may also store the location of the printing access device and feature information corresponding to each registered printing device.

[0097] Optionally, if the printing access device is a switch, the position of the printing access device refers to the position corresponding to each switch interface; if the printing access device is an AP device, the position of the printing access device refers to the position where the AP device is located.

[0098] Optionally, the server may send a terminal scanning task to the print access device at an initial moment, wherein the terminal scanning task carries a task policy.

[0099] Optionally, the task strategy may be MAC OUI, HTTP UserAgent, DHCP Option, LLDP, mDNS, SNMP Query, NMAP, etc. In addition, the terminal scanning task may also include a scanning interval duration, and the printing access device may scan the printing device connected thereto every scanning interval duration, thereby obtaining characteristic information corresponding to the printing device.

[0100] In this embodiment, the server may obtain the characteristic information of the printing device sent by the printing access device, and determine whether the printing device is an unregistered printing device according to the characteristic information of the printing device.

[0101] In this embodiment, if the printing device is an unregistered printing device, the location of the printing device is determined according to the characteristic information of the printing device and the printing access device, and the printing device is registered according to the characteristic information and the location of the printing device.

[0102] Optionally, the characteristic information may include the manufacturer, model, category, access device, access port, etc. of the printing device.

[0103] Optionally, the server may match the characteristic information of the printing device with the pre-stored characteristic information corresponding to the registered printing device to determine whether the printing device has been registered.

[0104] It can be understood that if the match is successful, it can be determined that the printing device has been registered, and if the match fails, it can be determined that the printing device has not been registered.

[0105] In this embodiment, if the printing device has not been registered, the server can determine the location of the printing device according to the printing access device corresponding to the printing device.

[0106] Optionally, if the printing access device corresponding to the printing device is a switch, the server can determine the location of the switch interface to which the printing device is connected as the location of the printing device; if the printing access device corresponding to the printing device is an AP device, the server can determine the location of the AP device as the location of the printing device.

[0107] Optionally, the server may generate registration information corresponding to the printing device according to the characteristic information and location of the printing device, and register the printing device by storing the registration information.

[0108] In one example, Figure 6 For a sample diagram of the registration information corresponding to the printing device, see Figure 6 ,The registration information includes manufacturer, device model, category, location, access device, and access port.

[0109] In this example, Figure 7 For a sample diagram of the registration process, see Figure 7 The printing device identification module in the shared printing system can send scanning tasks to the AP device and the switch. The AP device and the switch respectively collect the characteristic data of the printing device connected to them and report it to the printing device identification module. The printing device identification module determines whether the printing device is an unregistered printing device. If so, the printing device is registered and the registration information is sent to the printing device management module for management.

[0110] Optionally, in order to facilitate the subsequent activation of the printing device, the server may also download and install a printing driver corresponding to the printing device after registering the printing device.

[0111] In a possible implementation, the server may download a driver package from an official website corresponding to the printing device for installation according to information such as the model and manufacturer of the printing device.

[0112] Optionally, in order to facilitate access to user terminals, the server may also be communicatively connected to at least one terminal access device.

[0113] Optionally, see Figure 5 The terminal access device may include a switch and an AP (Access Point, wireless access node) device.

[0114] Optionally, the switch supports terminal access authentication, can communicate and connect with wired user terminals, and supports scanning and detecting wired user terminals under the switch; the AP device supports wireless user terminal access authentication, wireless user terminals can access the wired network through the AP device, and supports scanning and detecting wireless user terminals associated with the AP.

[0115] It can be understood that since user terminals are divided into fixed terminals (PC terminals) and mobile terminals (mobile phones, tablets), at least one switch and at least one AP device can be set to respectively realize the connection of fixed terminals and mobile terminals.

[0116] In this embodiment, in order to facilitate the server to centrally manage the user terminals in the park, the user terminals may be authenticated through the terminal access device.

[0117] Optionally, the server also stores the location of the terminal access device and access login information corresponding to the access user.

[0118] Optionally, if the terminal access device is a switch, the location of the terminal access device refers to the address corresponding to each switch interface; if the terminal access device is an AP device, the location of the terminal access device refers to the address where the AP device is located.

[0119] Optionally, the user terminal may send a network access application to the terminal access device using a preset protocol, such as 802.1x, portal authentication, etc. It is understandable that the network access application may include user identity information, such as user account, user password, etc.

[0120] Optionally, the terminal access device may send an access authentication request to the server based on the network access application sent by the user terminal.

[0121] In this embodiment, the server can obtain the access authentication request sent by the terminal access device, and determine whether the user is an access user based on the user's login information and access login information, and access the user terminal to be connected if the user is an access user.

[0122] It can be understood that the access authentication request is generated by the terminal access device according to the network access request sent by the user terminal to be connected to the network and sent to the server, and the access authentication request includes the user's login information and access information.

[0123] Optionally, the user's login information may include a user account, a user name, and a user password, and the access information may include an access device, an access interface, an access time, and the like.

[0124] Optionally, the server may match the login information of the user with the access login information of the access user to determine whether the user is the access user.

[0125] It can be understood that if the match is successful, the user can be determined to be an admitted user and the user terminal can be accessed. If the match fails, the user can be determined not to be an admitted user and the user terminal can be denied network access.

[0126] In this embodiment, the server may determine the location of the user terminal to be connected to the network according to the access information and the location of the terminal access device.

[0127] Optionally, if the terminal access device corresponding to the user terminal to be connected to the network is a switch, the server can determine the location of the access interface of the user terminal to be connected to the network as the location of the user terminal to be connected to the network; if the terminal access device corresponding to the user terminal to be connected to the network is an AP device, the server can determine the location of the AP device as the location of the user terminal to be connected to the network.

[0128] Optionally, in order to facilitate the management of online users, the server may also generate online user information corresponding to the user terminal to be connected to the network according to the location, login information and access information of the user terminal to be connected to the network.

[0129] In one example, Figure 8 For an example of online user information, see Figure 8 The online user information may include user account, user name, location, terminal IP, access device, access interface and access time.

[0130] Optionally, considering that the mobile terminal may move, resulting in the accessed AP device sending a roaming message, in this case, the server may update the online user information according to the moved AP device.

[0131] Continuing with the above example, Fig. 9 For another example of online user information, see Fig. 9 When an AP device roams, its location and access device will change.

[0132] In this example, each AP device may be in communication connection with an AP management device, and the AP management device may determine update information after the AP device roams, and report the update information to update the online user information.

[0133] In another example, Fig.10 For an example diagram of the network access process, see Fig.10 The user terminal can send a network access request to the terminal access device, and the terminal access device sends an access authentication request to the user management module in the shared printing system so that the user management module can access the access user, and the user management module can also generate online user information for storage.

[0134] In this example, when AP roaming occurs, the user management module can also update the online user information. It can be understood that the user can send a print task to the server after the user terminal to be connected to the network is connected to the network.

[0135] Optionally, in actual applications, a user may consider multiple factors when selecting a printing device, such as distance, printing time, etc., so the server may also perform a multi-factor evaluation on each printing device for the printing task.

[0136] In a possible implementation, the execution parameter may include distance, execution time, and comprehensive time.

[0137] Optionally, the distance refers to the shortest distance between the location of the user terminal and the location of the printing device, the execution time refers to the time that may be required if the printing device executes the printing task, and the comprehensive time refers to the time required from the user submitting the printing task to the completion of the printing task if the printing device executes the printing task.

[0138] Next, a possible implementation method is provided for calculating the execution parameters of each printing device for the printing task based on the user information corresponding to the user terminal, the task parameters of the printing task, the location of each printing device and the printing task queue, the location of the user terminal and the campus map.

[0139] Specifically, the server may calculate the distance between the user terminal and each printing device according to the location of each printing device, the location of the user terminal, and the campus map.

[0140] Optionally, the server may use the location of the user terminal as the starting address, and then use the location of each printing device as the destination address, determine the path from the user terminal to each printing device in combination with the campus map, and calculate the shortest distance based on the path.

[0141] Optionally, the execution parameter may further include navigation duration, and the server may further calculate the corresponding navigation duration according to the shortest distance corresponding to each printing device.

[0142] Optionally, the navigation duration refers to the travel time for the user to reach the location of the printing device from the current location of the user terminal.

[0143] In this embodiment, since the actual printing time and the specific queuing situation need to be considered when calculating the execution time, the server can also calculate the execution time of the printing task in each printing device based on user information, task parameters of the printing task and the printing task queue corresponding to each printing device.

[0144] It is understandable that the execution time is an estimate.

[0145] In this embodiment, the server can also calculate the navigation time from the user terminal to each printing device based on the distance between the user terminal and each printing device, and calculate the comprehensive time corresponding to each printing device based on the navigation time from the user terminal to each printing device and the corresponding execution time of each printing device.

[0146] Optionally, the comprehensive duration refers to the time required from when the user submits the print task to when the print task is completed, so the comprehensive duration can be determined by combining the navigation duration from the user terminal to the printing device and the execution duration.

[0147] Optionally, the navigation duration can be calculated by distance and preset speed. In this embodiment, the preset speed can be calculated based on the user's usual walking speed, such as an average walking speed.

[0148] It is understandable that the comprehensive duration is an estimate.

[0149] In one possible implementation, the server can simultaneously calculate the distance, execution time, and comprehensive time and feed them back to the user so that the user can make a choice.

[0150] In another possible implementation, the user may input some screening conditions, such as execution time, and the server may only calculate the execution time corresponding to each printing device and feed back to the user.

[0151] In one example, Fig.11 For distance diagrams, see Fig.11 ,When feeding back the corresponding execution parameters, it is necessary to include the serial number, printing device model, manufacturer, the corresponding position and distance of the printing device.

[0152] In this example, Fig.12 For a diagram of execution time, see Fig.12 ,When feeding back the corresponding execution parameters, it is necessary to include the serial number, the printing device model, the manufacturer, the corresponding location of the printing device, the number of queued tasks, and the execution time.

[0153] In this example, Fig.13 For a schematic diagram of the comprehensive duration, please see Fig.13 ,When feeding back the corresponding execution parameters, it is necessary to include the serial number, ,printing device model, manufacturer, the corresponding location of the printing device, ,number of queued tasks, distance, navigation time, execution time and ,comprehensive time.

[0154] In another example, Fig.14 For an example diagram of the parameter calculation process, see Fig.14The user terminal can send a printing task to the printing management module, which obtains the location of the printing device through the printing device management module and the location of the user terminal through the user management module, and calculates the distance in combination with the information in the campus map module. The printing management module can also calculate the execution time through the printing device management module. In addition, the printing management module can also calculate the comprehensive time in combination with the distance and execution time, and finally feedback the printing device list to the user terminal.

[0155] In one possible implementation, the task parameters of the printing task may include document type, paper type, paper material, printing mode, printing page number and printing content, and the user information may include user priority. The server can then calculate the execution time of the printing task based on the parameters combined with a preset formula.

[0156] Optionally, the task parameters of the printing task may also include printing direction, number of copies, printing color, etc.

[0157] Specifically, the server may calculate the printing time for each printing device to execute the printing task according to the preset printing constant, influencing factor parameter, current error coefficient and printing page number corresponding to the printing device.

[0158] Optionally, the printing duration refers to the duration from when the printing device starts printing the print content to when the printing ends.

[0159] Optionally, the server may calculate the printing time for each printing device to execute a printing task by using the following formula:

[0160]

[0161] Among them, y represents the duration of the tth printing, c represents the preset printing constant, Characterize the impact factor parameter, e i represents the current error coefficient, and n represents the printing page number.

[0162] Optionally, the preset printing constant is a single-page printing time baseline, which can be set according to the actual situation of the printing device.

[0163] In this embodiment, the influencing factor parameter can be based on multiple influencing parameters Specifically, the influencing factor parameter can be determined by multiple tests according to the document type, paper type, paper material and printing mode.

[0164] Optionally, the current error coefficient may be determined according to the average execution time of the printing device, the execution time per page, the current number of prints, and the error coefficient determined last time.

[0165] In this embodiment, the current error coefficient needs to be updated once per printing. It is understandable that different printing devices correspond to different current error coefficients.

[0166] Specifically, the current error coefficient can be calculated by the following formula:

[0167]

[0168] Among them, e i Characterizes the current error coefficient, x i Indicates the average printing time per page, y i represents the predicted printing time per page, n represents the number of prints per day, and e i-1 Characterizes the error coefficient determined last time.

[0169] Optionally,

[0170] Optionally, considering that the print queue of the printing device in the prior art is not flexible in processing print tasks, in order to improve the processing flexibility of the printing device, the server may also flexibly allocate the print tasks according to the priority.

[0171] In this embodiment, the server can determine the task priority of the print task based on the print content, and determine the waiting time required for the print task in the printing device based on the task priority, user priority and the print task queue corresponding to the printing device, thereby calculating the execution time of the print task in the printing device based on the waiting time and the printing time.

[0172] Optionally, the server may determine the position of the print task in the print task queue according to the user priority and task priority, as well as the priority of the pending print tasks in the print task queue, thereby determining the waiting time required for the print task in the printing device.

[0173] Optionally, considering that there may be a problem of mismatch between user priority and task priority, for example, the user priority is higher but the task priority is lower, in this case, the server can determine the position of the print task in the print task queue according to the priority sorting set by the user in advance.

[0174] For example, if the user sets that the user priority does not match the task priority, the user priority shall prevail, and the server may determine the position of the print task in the print task queue according to the user priority.

[0175] In addition, priority weights can be set in advance and the priority corresponding to the printing task can be calculated based on the priority weights. For example, the weight of user priority a is x, and the weight of task priority b is y, then the priority c corresponding to the printing task can be equal to ax+by.

[0176] In one possible implementation, the server can calculate the execution time using the following formula:

[0177]

[0178] Among them, T represents the execution time, y represents the printing time, and y m Indicates the printing time of the pending print task that precedes this print task.

[0179] Understandably, For the waiting time.

[0180] Optionally, in order to facilitate the server to control the corresponding printing devices, the server may also be provided with a driver module corresponding to each printing device.

[0181] In this embodiment, the server can add the print task to the print task queue corresponding to the selected printing device based on the task priority and user priority of the print task. Then, when it is determined that the print task needs to be processed, the driver module corresponding to the selected printing device is called to send the print task to the selected printing device for processing.

[0182] Optionally, the server may determine the position corresponding to the print task according to the task priority and user priority of the print task, and add the print task to the print task queue corresponding to the selected printing device.

[0183] Optionally, the server may determine the print task that should be executed currently according to the arrangement order of the print tasks to be processed in the print task queue.

[0184] In this embodiment, the server may call a driver module corresponding to the selected printing device, and send the printing task to the selected printing device for processing according to the network printing protocol.

[0185] Optionally, considering that the existing technology is often unable to identify the identity of the printer and audit the behavior, there are certain regulatory loopholes. Therefore, in order to solve this problem, the server can also generate a printing log corresponding to the printing task, and then audit and monitor the identity and printing behavior of the printer based on the printing log to improve printing security.

[0186] Optionally, during the processing, the server may determine the printing status of the printing device at preset intervals, and when determining that the printing task is completed based on the printing status, generate a printing log corresponding to the printing task, so as to audit the user's printing behavior through the printing log.

[0187] Optionally, the preset duration can be set by the user according to actual application conditions.

[0188] Optionally, the printing status may include printing success, printing in progress, printing failure, printing fault, etc. In this embodiment, if the printing status represents printing failure or printing fault, the server may process according to preset failure processing logic, fault processing logic, etc.

[0189] For example, the fault handling logic may include issuing an alarm message, and the failure handling logic may include printing again until the printing is successful or the number of failures reaches a preset number.

[0190] Optionally, printing success, printing failure, and printing fault may all indicate the completion of the printing task.

[0191] Optionally, the print log may include relevant information of the print task, relevant information of the user terminal, and relevant information generated during the printing process.

[0192] In one example, Fig.15 For a sample print log, see Fig.15 The printing log may include user account, user name, terminal IP, terminal location, printing device model, manufacturer, printing device location, printed document name, number of pages, printing time, and printing duration.

[0193] In this example, the printing log may also include printing results, that is, information such as whether the printing is successful.

[0194] In another example, Fig.16 For a sample print flow chart, see Fig.16 The user terminal can select a printing device, and the printing management module can add the printing task to the printing task queue of the selected printing device. When the printing device management module determines to process the printing task, it calls the driver module corresponding to the selected printing device, and sends the printing task to the selected printing device through the network printing protocol. When the selected printing device processes the printing task, it periodically queries the corresponding printing status.

[0195] In this example, if the printing status indicates that the printing task is completed, the audit module generates a printing log corresponding to the printing task.

[0196] In this embodiment, since the print log includes relevant information about the print task, relevant information about the user terminal, and relevant information generated during the printing process, the print log can reflect whether the user's printing behavior is standardized. The server can audit the user's printing behavior once each time a print log is obtained, or at a preset time interval, audit the user's printing behavior corresponding to all print logs generated within the preset time interval.

[0197] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a network printing device is provided below. Optionally, the network printing device may adopt the above Figure 2 For further information, see Fig.17 , Fig.17 A functional module diagram of a network printing device provided in an embodiment of the present application. It should be noted that the basic principle and technical effects of the network printing device provided in this embodiment are the same as those of the above-mentioned embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above-mentioned embodiments. The network printing device includes: an acquisition module 200, a calculation module 210, and a printing module 220.

[0198] The acquisition module 200 is used to acquire a print task sent by any user terminal.

[0199] It can be understood that the acquisition module 200 can also be used to execute the above step S20.

[0200] The calculation module 210 is used to calculate the execution parameters of each printing device for the printing task based on the user information corresponding to the user terminal, the task parameters of the printing task, the location of each printing device and the printing task queue, the location of the user terminal and the campus map.

[0201] It can be understood that the calculation module 210 can also be used to execute the above step S21.

[0202] The printing module 220 is used to receive a printing device selected by a user from a plurality of printing devices based on execution parameters, and add the printing task to a printing task queue corresponding to the selected printing device for processing.

[0203] It is understandable that the printing module 220 can also be used to execute the above step S22.

[0204] Optionally, the calculation module 210 is also used to calculate the distance between the user terminal and each printing device based on the location of each printing device, the location of the user terminal and the campus map; calculate the execution time of the printing task in each printing device based on the user information, the task parameters of the printing task and the printing task queue corresponding to each printing device; calculate the navigation time from the user terminal to each printing device based on the distance between the user terminal and each printing device, and calculate the comprehensive time corresponding to each printing device based on the navigation time from the user terminal to each printing device and the execution time corresponding to each printing device.

[0205] Optionally, the calculation module 210 is also used to calculate the printing time of the printing device to execute the printing task for each printing device respectively according to the preset printing constants, influencing factor parameters, current error coefficient and printing page number corresponding to the printing device; wherein the influencing factor parameters are determined according to the document type, paper type, paper material and printing mode, and the current error coefficient is determined according to the average execution time of the printing device, the execution time per page, the current number of prints and the error coefficient determined last time; the task priority of the printing task is determined according to the printing content, and the waiting time required for the printing task in the printing device is determined according to the task priority, user priority and the print task queue corresponding to the printing device; and the execution time of the printing task in the printing device is calculated according to the waiting time and the printing time.

[0206] Optionally, the printing module 220 is also used to add the printing task to the printing task queue corresponding to the selected printing device according to the task priority and user priority of the printing task; when it is determined to process the printing task, the driver module corresponding to the selected printing device is called to send the printing task to the selected printing device for processing.

[0207] Optionally, the printing module 220 is also used to determine the printing status of the printing device at preset time intervals; when it is determined that the printing task is completed according to the printing status, a printing log corresponding to the printing task is generated so that the user's printing behavior can be audited through the printing log.

[0208] Optionally, the network printing device also includes a registration module, which is used to obtain characteristic information of the printing device sent by the printing access device; determine whether the printing device is an unregistered printing device based on the characteristic information of the printing device; if the printing device is an unregistered printing device, determine the location of the printing device based on the characteristic information of the printing device and the printing access device, and register the printing device based on the characteristic information and location of the printing device.

[0209] Optionally, the network printing device also includes a network access module, which is used to obtain an access authentication request sent by a terminal access device; the access authentication request is generated by the terminal access device according to the access request sent by the user terminal to be connected to the network and sent to the server, and the access authentication request includes the user's login information and access information; based on the user's login information and access login information, it is determined whether the user is an access user, and if the user is an access user, the user terminal to be connected is accessed; based on the access information and the location of the terminal access device, the location of the user terminal to be connected is determined.

[0210] Optionally, the above modules can be stored in the form of software or firmware. Figure 2The memory shown in the figure or fixed in the operating system (OS) of the server, and can be Figure 2 Meanwhile, the data and program codes required for executing the above modules can be stored in the memory.

[0211] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the network printing method provided in the embodiment of the present application can be implemented.

[0212] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0213] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0214] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0215] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A network printing method, characterized in that: Applied to a server, the server is in communication connection with a plurality of printing devices and a plurality of user terminals, the server stores a campus map, the location of each of the printing devices and the location of each of the user terminals, the method comprising: Obtaining a print task sent by any of the user terminals; Calculate the execution parameters of each printing device for the printing task according to the user information corresponding to the user terminal, the task parameters of the printing task, the location and the printing task queue of each printing device, the location of the user terminal and the campus map; A printing device selected by a user from among the plurality of printing devices based on the execution parameters is received, and the printing task is added to a printing task queue corresponding to the selected printing device for processing.

2. The method according to claim 1, characterized in that The execution parameters include distance, execution time and comprehensive time; The calculating, according to the user information corresponding to the user terminal, the task parameters of the print task, the location and print task queue of each of the printing devices, the location of the user terminal and the campus map, the execution parameters of each of the printing devices for the print task includes: Calculating the distance between the user terminal and each of the printing devices according to the location of each of the printing devices, the location of the user terminal, and the campus map; Calculating the execution time of the printing task in each of the printing devices according to the user information, the task parameters of the printing task and the printing task queue corresponding to each of the printing devices; According to the distance between the user terminal and each of the printing devices, the navigation time from the user terminal to each of the printing devices is calculated, and according to the navigation time from the user terminal to each of the printing devices and the corresponding execution time of each of the printing devices, the comprehensive time corresponding to each of the printing devices is calculated.

3. The method according to claim 2, characterized in that The task parameters include document type, paper type, paper material, print mode, print page number and print content, and the user information includes user priority; The calculating the execution time of the print task in each of the printing devices according to the user information, the task parameters of the print task and the print task queue corresponding to each of the printing devices comprises: For each of the printing devices, respectively, according to the preset printing constant, the influencing factor parameter, the current error coefficient and the printing page number corresponding to the printing device, the printing time for the printing device to execute the printing task is calculated; The influencing factor parameter is determined according to the document type, the paper type, the paper material and the printing mode, and the current error coefficient is determined according to the average execution time of the printing device, the execution time per page, the current number of prints and the error coefficient determined last time; Determine the task priority of the printing task according to the printing content, and determine the waiting time required for the printing task in the printing device according to the task priority, the user priority and the printing task queue corresponding to the printing device; The execution duration of the printing task in the printing device is calculated according to the waiting duration and the printing duration.

4. The method according to claim 1, characterized in that: The server is also provided with a driver module corresponding to each of the printing devices, and the printing task is added to the printing task queue corresponding to the selected printing device for processing, including: Adding the print task to the print task queue corresponding to the selected printing device according to the task priority and user priority of the print task; When it is determined to process the print task, a driver module corresponding to the selected print device is called to send the print task to the selected print device for processing.

5. The method according to claim 1, characterized in that The method further comprises, Determining the printing status of the printing device at preset time intervals; When it is determined according to the printing status that the execution of the printing task is completed, a printing log corresponding to the printing task is generated so as to audit the printing behavior of the user through the printing log.

6. The method according to claim 1, characterized in that Before the step of obtaining the print task sent by any of the user terminals, the method further includes: Obtaining characteristic information of the printing device sent by the printing access device; determining whether the printing device is an unregistered printing device according to the characteristic information of the printing device; If the printing device is an unregistered printing device, the location of the printing device is determined according to the characteristic information of the printing device and the printing access device, and the printing device is registered according to the characteristic information and the location of the printing device.

7. The method according to claim 1, characterized in that The server is also in communication connection with at least one terminal access device, and the server also stores the location of the terminal access device and access login information corresponding to the access user, and the method further includes: Obtaining an access authentication request sent by the terminal access device; The access authentication request is generated by the terminal access device according to the access request sent by the user terminal to be connected to the network and sent to the server, and the access authentication request includes the user's login information and access information; Determine whether the user is an admitted user according to the user's login information and the admitted login information, and access the user terminal to be admitted if the user is an admitted user; The location of the user terminal to be connected to the network is determined according to the access information and the location of the terminal access device.

8. A network printing device, characterized in that: Applied to a server, the server is in communication connection with a plurality of printing devices and a plurality of user terminals, the server stores a campus map, the location of each of the printing devices and the location of each of the user terminals, the device comprises: An acquisition module, used for acquiring a print task sent by any of the user terminals; A calculation module, configured to calculate the execution parameters of each printing device for the printing task according to the user information corresponding to the user terminal, the task parameters of the printing task, the location of each printing device and the printing task queue, the location of the user terminal and the campus map; The printing module is used to receive a printing device selected by a user from the plurality of printing devices based on the execution parameters, and add the printing task to a printing task queue corresponding to the selected printing device for processing.

9. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.