Job allocation processing method, apparatus and device
By constructing wireless Mesh networking and selecting the target printing device according to the number of tasks and signal intensity, the problem of insufficient signal coverage of wireless access points is solved, and the smooth implementation of operating tasks and the flexible and convenient use of printing equipment.
Patent Information
- Application Number
- CN202411314286.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-28
AI Technical Summary
The signal coverage of wireless access points is limited, making it difficult to cover printing equipment with far distances, resulting in unsmooth operational tasks.
Establish a wireless MESH networking, expand the signal coverage through the connection between the wireless access points, and determine the target printing equipment based on the task size of the operating task and the signal strength of the wireless access point.
Ensure that all printing devices can be connected to the wireless network, improve the implementation efficiency of operating tasks, avoid crowded printing equipment operations, and enhance the user's office experience.
Smart Images

Figure CN119383270A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image forming technology, and in particular to a method, device and equipment for processing job allocation. Background Art
[0002] Nowadays, printing devices are usually placed in public areas. Users can send job tasks to printing devices through wired or wireless means to perform corresponding printing operations. For example, in a mobile printing scenario, in order to facilitate users to print files, multiple printing devices are usually placed in different locations, and all printing devices are connected to the wireless network through the same wireless access point. When a user sends a job, the job can be transmitted to the printing device through the wireless network, so that the printing device can print the output.
[0003] However, the coverage of wireless access points in wireless networks is limited, and the signal strength of wireless access points decreases as the distance from the wireless access points increases. If the printing device is far away from the wireless access point, it is difficult to ensure the smooth execution of the task, affecting the normal work of the user. Summary of the invention
[0004] In view of this, the present application provides a method, device and equipment for processing job allocation, so as to solve the problem in the prior art that the signal of the wireless access point cannot cover the printing device at a long distance.
[0005] In a first aspect, an embodiment of the present application provides a method for processing job allocation, including:
[0006] Receive job tasks sent by the client;
[0007] Determining a target printing device matching the job task from a plurality of printing devices covered by a current wireless mesh network based on the task amount of the job task, wherein the wireless mesh network includes a plurality of wireless access points, and each wireless access point is connected to at least one printing device;
[0008] The job task is sent to the target printing device so that the target printing device processes the job task.
[0009] In an optional embodiment, determining a target printing device matching the job task from among a plurality of printing devices covered by the current wireless mesh networking based on the task amount of the job task includes:
[0010] Acquire the signal strength of each wireless access point and the status information of the printing device connected to each wireless access point, wherein the status information includes an idle state or a working state;
[0011] The target printing device is determined from a plurality of printing devices covered by the current wireless mesh network based on the task size of the job task, the signal strength of each wireless access point, and the status information of each printing device.
[0012] In an optional embodiment, the acquiring the signal strength of each wireless access point and the status information of the printing device connected to each wireless access point includes:
[0013] Determining the signal strength of each wireless access point according to the connection structure of each wireless access point in the wireless mesh network, wherein the wireless mesh network includes a root wireless access point and N leaf wireless access points directly or indirectly connected to the root wireless access point;
[0014] The status information of each printing device is obtained through the root wireless access point.
[0015] In an optional embodiment, the step of determining the target printing device from among multiple printing devices covered by the current wireless mesh network based on the task size of the job task, the signal strength of each wireless access point, and the status information of each printing device includes:
[0016] Determine an optional wireless access point capable of processing the current task according to the task amount of the task and the signal strength of each wireless access point, wherein the wireless access point with a greater signal strength can process a greater task amount of the task;
[0017] A printing device in an idle state is selected from the printing devices connected to the optional wireless access point as the target printing device.
[0018] In an optional embodiment, the step of selecting a printing device in an idle state from among the printing devices connected to the optional wireless access point as the target printing device includes:
[0019] Traversing the optional wireless access points in descending order of signal strength, and when traversing to any wireless access point, detecting whether there is an idle printing device among the printing devices connected to the current wireless access point;
[0020] If it is determined that there is an idle printing device among the printing devices connected to the current wireless access point, any idle printing device is selected as the target printing device;
[0021] If it is determined that all the printing devices connected to the current wireless access point are in working state, the next optional wireless access point is traversed.
[0022] In an optional embodiment, the step of selecting a printing device in an idle state from among the printing devices connected to the optional wireless access point as the target printing device includes:
[0023] When no idle printing device is found after traversing the optional wireless access points, the operation of traversing the optional wireless access points in descending order of signal strength is performed again.
[0024] In an optional embodiment, before receiving the job task sent by the client, the method further includes:
[0025] Receive the login information sent by the client, and determine whether the current user has the operation authority according to the login information;
[0026] If it is determined that the current user has the operation authority, the corresponding task operation page is generated;
[0027] The task operation page is sent to the client for display, and the task operation page is used to configure relevant parameters of the job task.
[0028] In a second aspect, an embodiment of the present application provides a job allocation processing device, including:
[0029] The receiving module is used to receive the job tasks sent by the client;
[0030] A determination module, configured to determine a target printing device matching the job task from among a plurality of printing devices covered by a current wireless mesh network based on the task amount of the job task, wherein the wireless mesh network includes a plurality of wireless access points, each of which is connected to at least one printing device;
[0031] The sending module is used to send the job task to the target printing device so that the target printing device processes the job task.
[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute any one of the methods described in the first aspect above.
[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any method described in the first aspect.
[0034] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes any method described in the first aspect.
[0035] Adopt the scheme provided in the embodiment of the present application, receive the job task sent by the client; determine the target printing device that matches the job task among the multiple printing devices covered by the current wireless mesh network based on the task volume of the job task, the wireless mesh network includes multiple wireless access points, and each wireless access point is connected to at least one printing device; send the job task to the target printing device so that the target printing device processes the job task. By constructing a wireless mesh network, each wireless access point can achieve signal coverage in a larger range, making the placement of printing devices more flexible and convenient, and when the user issues a job task, more and farther printing devices can be provided for the user to choose, thereby ensuring that the job task can be executed sequentially. In addition, by selecting the printing device connected to the wireless access point with suitable signal strength according to the size of the job task, the problem of job congestion in a certain printing device can be avoided, and the transmission speed of jobs with large task volumes can be improved to a certain extent, thereby improving printing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 An exemplary schematic diagram of a method for processing job assignment provided in an embodiment of the present application;
[0038] Figure 2 A flowchart of a method for processing job assignment provided in an embodiment of the present application;
[0039] Figure 3 A flowchart of another method for processing job assignment provided in an embodiment of the present application;
[0040] Figure 4 A flowchart of another method for processing job assignment provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of the structure of a job allocation processing device provided in an embodiment of the present application;
[0042] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0044] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0045] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0046] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0047] In order to address the problem that the signal of the wireless access point (AP) in the public area is difficult to cover all printing devices, the embodiment of the present application can construct a wireless mesh network. Through each wireless access point in the wireless mesh network, a larger range of signal coverage can be achieved to ensure that all printing devices in the actual scenario can be connected to the wireless network.
[0048] Reference Figure 1 The wireless mesh network includes 4 wireless access points, namely, Node A, Node B, Node C and Node D, which are connected to each other through a wireless network. Node A is the root node (i.e., the root wireless access point), Node B, Node C and Node D are leaf nodes (i.e., leaf wireless access points), Node B and Node D are directly connected to Node A, and Node C is indirectly connected to Node A through Node B. On this basis, the signal of each wireless access point can cover the printing devices in the corresponding area and establish a wireless network connection with the printing devices. Figure 1As shown, taking wireless connection as an example, node A is connected to printing device A1 and printing device A2, node B is connected to printing device B1 and printing device B2, node C is connected to printing device C1 and printing device C2, and node D is connected to printing device D1 and printing device D2. The client 10, server 20 and root wireless access point (node A) are wirelessly connected in sequence. The user can issue a job task through the client 10, and the server 20 will use node A as a transfer to send the job task to any printing device connected to the current wireless mesh network to perform the corresponding operation.
[0049] In an optional embodiment, the specific connection mode between the devices can be adaptively adjusted. For example, the wireless access points can also be connected through a wired network connection or a mixed wired network and wireless network, and the client 10 and the server 20 can also be connected through a wireless network or a wired network. In addition, the wireless access point can refer to a network device that can realize device interconnection, such as a router. The client can include: mobile phones, laptops, computers, tablets and other devices that can send print jobs, and the server can include: a cloud server.
[0050] In the embodiment of the present application, the signal coverage of a single wireless access point is limited, and it is difficult to establish a connection with all printing devices. For example, node A cannot cover printing device C1 or printing device D2, etc. After building a wireless mesh network, the coverage of the wireless network can be increased with the root wireless access point as the source and the leaf wireless access point as the extension, so that all printing devices in the current environment can be connected to the wireless network.
[0051] Figure 2 A flowchart of a method for processing job allocation provided in an embodiment of the present application is provided. The method can be applied to a server and specifically includes:
[0052] Step 201: receiving a job task sent by a client.
[0053] Step 202 : determining a target printing device that matches the job task from among multiple printing devices covered by the current wireless mesh networking based on the task size of the job task.
[0054] Step 203: Send the job task to the target printing device so that the target printing device processes the job task.
[0055] In a wireless mesh network, a root wireless access point refers to a wireless access point in a wireless mesh network that transmits data with a network outside the wireless mesh network, and a leaf wireless access point refers to a wireless access point that is directly or indirectly connected to the root wireless access point. The root wireless access point is a signal source and has the strongest signal strength. The signal strengths of other leaf wireless access points are determined by the structure of the current wireless mesh network. For example, the signal strength of a leaf wireless access point may be determined by the distance between each leaf wireless access point and the root wireless access point. Generally, the greater the distance from the root wireless access point, the weaker the signal strength. Conversely, the closer to the root wireless access point, the stronger the signal strength. Alternatively, the signal strength of a leaf wireless access point may be determined by the connection mode between each leaf wireless access point and the root wireless access point. The signal strength of a leaf wireless access point that is directly connected to the root wireless access point is stronger, and the signal strength of a leaf wireless access point that is indirectly connected to the root wireless access point through other leaf wireless access points is weaker. That is, the longer the connection path between a leaf wireless access point and the root wireless access point, the weaker the signal strength. It should be noted that the weaker the signal strength of the leaf wireless access point, the slower the transmission rate of the job task from the root wireless access point to the leaf wireless access point. On the contrary, the stronger the signal strength of the leaf wireless access point, the faster the transmission rate of the job task from the root wireless access point to the leaf wireless access point. Therefore, in order to ensure the execution efficiency of the job task, the server can select a relatively matching printing device from multiple printing devices covered by the wireless mesh network as the target printing device according to the task size of the job task. After that, the server can send the job task to the target printing device, and the target printing device will process the job task.
[0056] In an optional embodiment, the server can select a printing device that matches the job task volume from multiple printing devices covered by the wireless mesh network as the target printing device based on the task volume of the job task and the signal strength of each wireless access point in the wireless mesh network. The multiple printing devices covered by the wireless mesh network refer to the printing devices connected to each wireless access point in the wireless mesh network.
[0057] In an optional embodiment, the specific steps of the server determining the target printing device based on the task size of the job task may include: (1) obtaining the signal strength of each wireless access point and the status information of the printing device connected to each wireless access point, wherein the status information may include: idle state or working state, paper quantity, and toner remaining amount. (2) determining the target printing device from multiple printing devices covered by the current wireless mesh network based on the task size of the job task, the signal strength of each wireless access point, and the status information of each printing device. It can be understood that the stronger the signal strength of the wireless access point, the faster the data transmission speed and the higher the stability. If the data volume of the job task is large, the server should try to select the printing device connected to the wireless access point with a strong signal strength to ensure that the job task can be executed smoothly. If the data volume of the job task is small, the server can relax the screening of the printing device, and the printing device connected to the wireless access point with a weak signal strength can also execute the job task. In this way, the problem of slow job printing rate caused by assigning a job task with a large job volume to a wireless access point with a slow transmission rate can be avoided. Correspondingly, assigning a job task with a large job volume to a wireless access point with a fast transmission rate can improve the job printing rate.
[0058] In the embodiment of the present application, after receiving the job task, the server can parse the job task to determine the task size of the job task. According to the signal strength of the wireless access point and the task size of the current job task, a suitable printing device can be selected to process the job task, ensuring that the job task can be completed quickly and efficiently.
[0059] In an optional embodiment, the specific steps of the server determining the target printing device based on the signal strength, the task size of the job task, and the status information of the printing device may include: (1) determining an optional wireless access point capable of processing the current job task according to the task size of the job task and the signal strength of each wireless access point; and (2) selecting a printing device in an idle state from the printing devices connected to the optional wireless access point as the target printing device.
[0060] Specifically, the server may set a task volume threshold for each wireless access point according to the signal strength of each wireless access point, and the task volume threshold is used to indicate the upper limit of the task volume that the wireless access point can handle. For any wireless access point, if the task volume of the current job task exceeds its own task volume threshold, the printing device connected to it does not have the conditions to execute the current job task. For those wireless access points whose task volume threshold exceeds the task volume of the current job task, the server may select an idle printing device from the printing devices connected to these wireless access points to process the current job task.
[0061] by Figure 1For example, node A as the root wireless access point may not set the task volume threshold. Assume that the task volume thresholds of node B and node D are 25M and 20M respectively, and the task volume threshold of node C is 10M. If the task volume size of the job task is 15M, the server 20 may determine that the printing devices connected to nodes A, B and D are qualified to process the current job task. The server 20 may select an idle printing device from printing device A1, printing device A2, printing device B1, printing device B2, printing device D1 and printing device D2 as the target printing device. The task volume threshold of node C is less than 15M, and printing devices C1 and C2 are not suitable for processing the current job task.
[0062] In the embodiment of the present application, the signal strength of the wireless access point can be used to determine the task volume threshold of the job task that can be processed by the printing device connected to it, and a suitable printing device can be selected based on the actual task volume of the job task. This not only expands the coverage of the wireless network signal, but also ensures that the job task can be executed stably and quickly.
[0063] In an optional embodiment, the specific step of the server selecting a target printing device from the printing devices connected to the optional wireless access point may be as follows: Figure 3 As shown, the specific steps include:
[0064] Step 301: The server traverses the selectable wireless access points in descending order of signal strength.
[0065] Step 302 , when traversing to any optional wireless access point, it is determined whether there is an idle printing device among the printing devices connected to the current optional wireless access point. If there is, it proceeds to step 303 , otherwise it proceeds to step 304 .
[0066] Step 303: If it is determined that there is an idle printing device among the printing devices connected to the currently selectable wireless access point, the server selects any idle printing device to process the job task.
[0067] Step 304: If it is determined that all the printing devices connected to the current selectable wireless access point are in working state, traverse the next selectable wireless access point.
[0068] Applying the conditions of the above embodiment, when the task volume of the job task is 15M, node A, node B and node D are optional wireless access points. Server 20 first detects whether there is an idle device in printing device A1 and printing device A2. If at least one of printing device A1 and printing device A2 is idle, server 20 can select printing device A1 or printing device A2 to process the current job task. If printing device A1 and printing device A2 are both in working state, in order not to affect the normal execution of the current job task, server 20 can further detect the status information of printing device B1 and printing device B2. Traverse according to the above rules until a printing device that meets the conditions is selected.
[0069] In an optional embodiment, if the server still does not find a printing device in an idle state after traversing all optional wireless access points, the server will traverse the optional wireless access points again in descending order of signal strength. Since all optional printing devices are in working state, the job task will temporarily wait until any printing device becomes idle.
[0070] In the embodiment of the present application, the server smoothly traverses the optional wireless access points in descending order of signal strength, and can try to select a printing device with a stronger signal strength to process the current job task, so as to improve the processing speed of the current job task.
[0071] In an optional embodiment, when a user issues a job task through a client, a certain printing device may be designated for processing at the same time. When the server receives the job task, it must first detect whether there is a designated printing device for the current job task. If not, the server may determine the target printing device based on the above steps. If there is a designated printing device, the server must determine whether the printing device designated by the user has the conditions to process the job task based on the task size and signal strength. If the processing conditions are met, the server sends the current job task to the designated printing device for processing. If the processing conditions are not met, the server must determine another target printing device based on the above steps. The server may send the current job task to the target printing device for processing, and send relevant information to the client, prompting the user that the current job task is processed by another printing device.
[0072] In the embodiment of the present application, the server executes different steps based on whether the user specifies a printing device, flexibly selects a target printing device, meets different needs of users, and improves user experience.
[0073] In an optional embodiment, before the user issues a job task, he / she needs to enter login information (account number and password) on the client to verify his / her identity. After receiving the login information sent by the client, the server detects whether the current user has the operation authority according to the login information. If the user has the operation authority, the corresponding task operation page is generated and sent to the client for display. The user can select relevant parameters through the task operation page, such as setting the printing paper type or size, specifying the printing device, the number of copies, single-sided / double-sided printing, etc.
[0074] Correspondingly, after the user logs in, the server can select a suitable printing device for the user based on the user's history. Applying the conditions of the above embodiment, when the task volume of the job task is 15M, node A, node B and node D are optional wireless access points. If the server detects that the user has specified node D as the target printing device multiple times before, the server can first determine whether printing device D1 and printing device D2 are in an idle state. If either of them is in an idle state, the server can directly select printing device D1 or printing device D2 as the target printing device. If both are in a working state, the server can traverse other optional wireless access points.
[0075] It is understandable that in an office area, users usually choose a printing device that is closer to them to process job tasks. If a user forgets to specify a task, the server can still select a commonly used printing device for the user based on historical records.
[0076] Figure 4 A flowchart of another method for processing job assignment provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the method may include:
[0077] Step 401: The server receives a job task sent by the client.
[0078] Step 402: The server analyzes the job task and determines the task amount of the current job task.
[0079] Step 403: The server traverses each wireless access point of the wireless mesh network in descending order of signal strength.
[0080] Step 404 , determining whether the task volume threshold of the current wireless access point is greater than the actual task volume of the current operation task, if so, proceeding to step 405 , otherwise returning to step 403 .
[0081] Step 405 , determining whether the current wireless access point is connected to an idle printing device, if there is an idle printing device, proceeding to step 406 , otherwise returning to step 403 .
[0082] Step 406, determine the target printing device and issue the job task.
[0083] In the embodiment of the present application, the server can directly traverse each wireless access point, and when traversing to a wireless access point, it detects whether the task volume threshold of the current wireless access point is greater than the actual task volume of the job task. Alternatively, the server can also first determine the optional wireless access point as in the above embodiment, and then determine whether there is an idle printing device in turn.
[0084] By building a wireless mesh network and applying the above-mentioned process, the job allocation processing method of the embodiment of the present application can effectively expand the coverage of the wireless network. At the same time, it can select a suitable printing device to process the job task, ensuring that the job task can be executed smoothly, thereby improving the user's office efficiency and user experience.
[0085] Figure 5 The structure diagram of a job allocation processing device provided in an embodiment of the present application is shown in FIG. The device can be deployed in an electronic device, such as Figure 4 As shown, the device may include: a receiving module 510, a determining module 520 and a sending module 530.
[0086] The receiving module 510 is used to receive the job task sent by the client.
[0087] The determination module 520 is used to determine a target printing device that matches the job task among multiple printing devices covered by the current wireless mesh network based on the task size of the job task. The wireless mesh network includes multiple wireless access points, and each wireless access point is connected to at least one printing device.
[0088] The sending module 530 is used to send the job task to the target printing device so that the target printing device processes the job task.
[0089] For the specific process, please refer to the description in the above method flowchart.
[0090] Corresponding to the above embodiment, the present application also provides an electronic device, which is used to implement the above server. Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 600 may include: a processor 601, a memory 602 and a communication unit 603. These components communicate through one or more buses, and those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present application, it can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
[0091] The communication unit 603 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0092] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 602, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 601 can only include a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.
[0093] The memory 602 is used to store the execution instructions of the processor 601. The memory 602 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0094] When the execution instructions in the memory 602 are executed by the processor 601, the electronic device 600 can execute Figure 2 Some or all of the steps in the illustrated embodiments.
[0095] In a specific implementation, the present application also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the job allocation processing method provided in the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0096] In a specific implementation, the present application also provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the job allocation processing method provided in the present application.
[0097] The embodiment of the present application also provides a non-temporary computer-readable storage medium, which stores computer instructions. The computer instructions enable the computer to execute the job allocation processing method provided by the embodiment of the present application.
[0098] The above-mentioned non-temporary computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (Read Only Memory; hereinafter referred to as: ROM), an erasable programmable read-only memory (ErasableProgrammable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0099] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0100] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0101] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0102] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for processing job assignment, characterized in that: include: Receive job tasks sent by the client; Determining a target printing device matching the job task from a plurality of printing devices covered by a current wireless mesh network based on the task amount of the job task, wherein the wireless mesh network includes a plurality of wireless access points, and each wireless access point is connected to at least one printing device; The job task is sent to the target printing device so that the target printing device processes the job task.
2. The method according to claim 1, characterized in that The step of determining a target printing device matching the job task from among a plurality of printing devices covered by the current wireless mesh networking based on the task amount of the job task includes: Acquire the signal strength of each wireless access point and the status information of the printing device connected to each wireless access point, wherein the status information includes an idle state or a working state; The target printing device is determined from a plurality of printing devices covered by the current wireless mesh network based on the task size of the job task, the signal strength of each wireless access point, and the status information of each printing device.
3. The method according to claim 2, characterized in that The obtaining of the signal strength of each wireless access point and the status information of the printing device connected to each wireless access point includes: Determining the signal strength of each wireless access point according to the connection structure of each wireless access point in the wireless mesh network, wherein the wireless mesh network includes a root wireless access point and N leaf wireless access points directly or indirectly connected to the root wireless access point; The status information of each printing device is obtained through the root wireless access point.
4. The method according to claim 2, characterized in that: The step of determining the target printing device from among a plurality of printing devices covered by the current wireless mesh network based on the task amount of the job task, the signal strength of each wireless access point, and the status information of each printing device includes: Determine an optional wireless access point capable of processing the current task according to the task amount of the task and the signal strength of each wireless access point, wherein the wireless access point with a greater signal strength can process a greater task amount of the task; A printing device in an idle state is selected from the printing devices connected to the optional wireless access point as the target printing device.
5. The method according to claim 4, characterized in that The step of selecting a printing device in an idle state from among the printing devices connected to the optional wireless access point as the target printing device comprises: Traversing the optional wireless access points in descending order of signal strength, and when traversing to any optional wireless access point, detecting whether there is an idle printing device among the printing devices connected to the current optional wireless access point; If it is determined that there is an idle printing device among the printing devices connected to the currently selectable wireless access point, any idle printing device is selected as the target printing device; If it is determined that all the printing devices connected to the current optional wireless access point are in working state, the next optional wireless access point is traversed.
6. The method according to claim 5, characterized in that The step of selecting a printing device in an idle state from among the printing devices connected to the optional wireless access point as the target printing device comprises: If no idle printing device is found after traversing the optional wireless access points, the operation of traversing the optional wireless access points in descending order of signal strength is performed again.
7. The method according to claim 1, characterized in that Before receiving the job task sent by the client, the method further includes: Receive the login information sent by the client, and determine whether the current user has the operation authority according to the login information; If it is determined that the current user has the operation authority, the corresponding task operation page is generated; The task operation page is sent to the client for display, and the task operation page is used to configure relevant parameters of the job task.
8. A job allocation processing device, characterized in that: include: The receiving module is used to receive the job tasks sent by the client; A determination module, configured to determine a target printing device matching the job task from among a plurality of printing devices covered by a current wireless mesh network based on the task amount of the job task, wherein the wireless mesh network includes a plurality of wireless access points, each of which is connected to at least one printing device; The sending module is used to send the job task to the target printing device so that the target printing device processes the job task.
9. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.