CN109976685B - Printing method, apparatus and storage medium - Google Patents

Printing method, apparatus and storage medium Download PDF

Info

Publication number
CN109976685B
CN109976685B CN201910218027.0A CN201910218027A CN109976685B CN 109976685 B CN109976685 B CN 109976685B CN 201910218027 A CN201910218027 A CN 201910218027A CN 109976685 B CN109976685 B CN 109976685B
Authority
CN
China
Prior art keywords
terminal
printing
printing device
target
target cell
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910218027.0A
Other languages
Chinese (zh)
Other versions
CN109976685A (en
Inventor
黄笑磊
邴建
杜杏兰
叶阳
朱子园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910218027.0A priority Critical patent/CN109976685B/en
Publication of CN109976685A publication Critical patent/CN109976685A/en
Application granted granted Critical
Publication of CN109976685B publication Critical patent/CN109976685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1287Remote printer device, e.g. being remote from client or server via internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a printing method, a printing device and a storage medium, wherein the method comprises the following steps: receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed; acquiring a target cell to which the terminal belongs according to the identifier of the terminal; and according to the identification of the target cell, the position of the target printing equipment is sent to the terminal, and the object to be printed is sent to the target printing equipment in the target cell, so that the target printing equipment can print the object to be printed. The printing method provided by the invention can realize the printing requirement of the user in the moving process and improve the working efficiency of the user.

Description

Printing method, apparatus and storage medium
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a printing method, an apparatus, and a storage medium.
Background
A printer is a device that prints text or graphics onto a medium; along with the rapid development of economic level, the floor area of office areas is gradually increased, for example, a plurality of printers can be arranged in one-layer office area, so as to avoid the problem that users take printed materials from a long distance.
When the user moves in the office area, if the user prints with the help of the printer set at the initial position of the user, the user needs to return to the original printer to take the print data, and the area of the office area is large, so that the user does not know the setting position of the printer around the current position, which results in low working efficiency.
Disclosure of Invention
The invention provides a printing method, a printing device and a storage medium, which can meet the printing requirement of a user in the moving process and improve the working efficiency of the user.
A first aspect of the present invention provides a printing method, including:
receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed;
acquiring a target cell to which the terminal belongs according to the identifier of the terminal;
and according to the identification of the target cell, sending the position of the target printing equipment to the terminal, and sending the object to be printed to the target printing equipment in the target cell, so that the target printing equipment prints the object to be printed.
Optionally, the obtaining the target cell to which the terminal belongs according to the identifier of the terminal includes: acquiring the position of the terminal according to the identifier of the terminal;
and acquiring a target cell to which the terminal belongs according to the position of the terminal.
Optionally, the print request includes an identifier of a target cell to which the terminal belongs.
Optionally, at least one printing device is disposed in each cell;
the sending the object to be printed to the target printing device in the target cell according to the identifier of the target cell includes:
and sending the object to be printed to target printing equipment in the target cell according to the identification of the target cell and the working state of at least one printing equipment in the target cell.
Optionally, the sending the object to be printed to the target printing device in the target cell according to the identifier of the target cell and the working state of at least one printing device in the target cell includes:
and if at least one printing device in the target cell is in an idle state, taking any one of the at least one printing device in the idle state as the target printing device, and sending the object to be printed to the target printing device.
Optionally, the sending the object to be printed to the target printing device in the target cell according to the identifier of the target cell and the working state of at least one printing device in the target cell includes:
and if all the printing devices in the target cell are in the occupied state, determining the printing device with the minimum queuing task amount as the target printing device, and sending the object to be printed to the printing device with the minimum queuing task amount.
Optionally, the obtaining the target cell to which the terminal belongs according to the identifier of the terminal includes:
and according to the identifier of the terminal, if the terminal is determined to be in an overlapping area covered by two adjacent cells, taking any one of the two adjacent cells as a target cell to which the terminal belongs.
A second aspect of the present invention provides a printing apparatus comprising:
the printing request receiving module is used for receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed;
a target cell obtaining module, configured to obtain, according to the identifier of the terminal, a target cell to which the terminal belongs;
and the sending module is used for sending the position of the target printing equipment to the terminal according to the identification of the target cell and sending the object to be printed to the target printing equipment in the target cell so as to enable the target printing equipment to print the object to be printed.
Optionally, the target cell obtaining module is specifically configured to obtain a location of the terminal according to the identifier of the terminal; and acquiring a target cell to which the terminal belongs according to the position of the terminal.
Optionally, the print request includes an identifier of a target cell to which the terminal belongs.
Optionally, at least one printing device is disposed in each of the cells.
Optionally, the sending module is specifically configured to send the object to be printed to a target printing device in the target cell according to the identifier of the target cell and a working state of at least one printing device in the target cell.
Optionally, the sending module is specifically configured to, if at least one printing device in the target cell is in an idle state, take any one of the at least one printing device in the idle state as the target printing device, and send the object to be printed to the target printing device.
Optionally, the sending module is specifically configured to, if all the printing devices in the target cell are in an occupied state, determine the printing device with the minimum amount of queued tasks as the target printing device, and send the object to be printed to the printing device with the minimum amount of queued tasks.
Optionally, the target cell obtaining module is specifically configured to, according to the identifier of the terminal, if it is determined that the terminal is located in an overlapping area covered by two adjacent cells, use any one of the two adjacent cells as the target cell to which the terminal belongs.
A third aspect of the present invention provides a printing apparatus comprising: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the printing apparatus to perform the printing method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the above-described printing method.
The invention provides a printing method, a printing device and a storage medium, wherein the method comprises the following steps: receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed; acquiring a target cell to which the terminal belongs according to the identifier of the terminal; and according to the identification of the target cell, the position of the target printing equipment is sent to the terminal, and the object to be printed is sent to the target printing equipment in the target cell, so that the target printing equipment can print the object to be printed. According to the printing method provided by the invention, the printing equipment in the cell can print the object to be printed sent by the terminal according to the cell to which the terminal belongs, so that the printing requirement of the user in the moving process can be realized, and the working efficiency of the user is improved.
Drawings
FIG. 1 is a diagram illustrating a prior art printing method;
FIG. 2 is a first schematic view of a scenario in which the printing method provided by the present invention is applicable;
FIG. 3 is a first schematic flow chart of a printing method according to the present invention;
FIG. 4 is a second flowchart illustrating a printing method according to the present invention;
FIG. 5 is a diagram illustrating a second scenario in which the printing method provided by the present invention is applicable;
FIG. 6 is a third schematic flow chart illustrating a printing method according to the present invention;
FIG. 7 is a first schematic structural diagram of a printing apparatus according to the present invention;
fig. 8 is a schematic structural diagram of a printing apparatus according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic diagram of a prior art printing method; as shown in fig. 1, fig. 1 is an office area, which may be a factory floor; a plurality of printing apparatuses are provided in an office area. The printing device may be a 2D printing device, for example, printing paper is used to print an object to be printed, and the object to be printed may include contents such as a word, an excel, and the like; the printing apparatus may be a 3D printing apparatus that prints an object to be printed using a printing medium such as metal powder or plastic, and the object to be printed may be data of an object having three-dimensional information or an object having three-dimensional model data.
When a user has a printing requirement, the object to be printed can be sent to the printing equipment, and the printing equipment prints the object to be printed. With the rapid development of economy, the office areas of more and more enterprises are gradually increased, and the number of users who use printing equipment is also gradually increased; therefore, a plurality of printing devices are arranged in the office area, so that the users around the office area can print conveniently. FIG. 1 is an exemplary illustration of a distribution of printing devices in an office area, with user A's workstation at location A, which may use surrounding printing devices; however, when the user a moves to the position B and there is a printing demand, the user a needs to return to the position a for printing because the user a does not know the position and the identification of the printer around; this reduces the efficiency of the user.
FIG. 2 is a first schematic view of a scenario in which the printing method provided by the present invention is applicable; as shown in fig. 2, in order to solve the above problem, the present invention provides a printing method, wherein a scene to which the printing method is applied may be as shown in fig. 2, an office area includes a plurality of cells; the cell is covered by a 5G network, the 5G network is a network with a higher frequency band, and the higher the frequency band is, the smaller the coverage area of the network is; the office area in the invention can be provided with a plurality of high-frequency-band 5G base stations, and a network corresponding to each 5G base station can cover a part of the office area, namely the office area can comprise a plurality of cells; or a plurality of high-frequency band 5G base stations are arranged at other positions as long as a plurality of cells are included in the office area.
At least one printing device may be disposed in each cell, and the location of the at least one printing device may not be limited, and fig. 2 exemplarily shows that one printing device is disposed in each cell and is disposed at a central location of the cell.
Specifically, the scene to which the printing method provided by the invention is applicable comprises a plurality of printing devices and printing devices; in the practical application process, one printing device can be arranged in an office area, and a plurality of printing devices are arranged on each layer of the office area, and the printing device and the plurality of printing devices on each layer are interacted to realize printing; or a printing device and a plurality of printing devices can be arranged on each layer, and the printing device on each layer can be interacted with the plurality of printing devices on the layer to realize printing; the printing apparatus is exemplarily shown in fig. 2 as a server.
The printing method provided by the invention can be applied to an indoor area taking an office area as an example and can also be applied to an outdoor area as long as the indoor area and the outdoor area comprise a plurality of cells.
Fig. 3 is a first schematic flow chart of the printing method provided by the present invention, and an execution main body of the method flow shown in fig. 3 may be a printing apparatus, and the printing apparatus may be implemented by any software and/or hardware. As shown in fig. 3, the printing method provided by the present embodiment may include:
s301, receiving a printing request sent by a terminal, wherein the printing request comprises the identifier of the terminal and an object to be printed.
In this embodiment, when a user has a printing requirement, the terminal may be triggered to send a printing request to the printing apparatus; optionally, an interface interacting with the printing device is arranged on the terminal interface, for example, a printing control is displayed on the terminal interface, and a user can select the printing control by clicking or other operation modes, so as to trigger the terminal interface to jump to an interface for adding an object to be printed; the user can add the object to be printed in the interface in a manner of adding a local file, or can download the object to be printed on line through a network and add the object to be printed.
The printing request can include the identifier of the terminal and the object to be printed; optionally, the identifier of the terminal may be a mobile phone number, a terminal name registered by the terminal before the terminal interacts with the printing apparatus, or a Subscriber Identity Module (SIM) card number corresponding to the terminal. The printing device can receive printing requests sent by a plurality of terminals and distinguish different terminals according to the identification of the terminals.
Optionally, the object to be printed in this embodiment may be a document such as word, excel, and the like, and the user may select a range and a number of copies of the printed document on the interface where the object to be printed is added, for example, may select to print the 3 rd page of the word document, print two copies, or may select to print the first two segments of the 3 rd page of the word document, and print five copies. The object to be printed may be, for example, data of an object having three-dimensional information or an object having three-dimensional model data, and when the printing device acquires the object to be printed, the printing device prints the object to be printed according to a printing rule, where if the printing device is a 3D printing device, a user may select a material, a speed, and the like to be printed on an interface of the object to be printed.
In this embodiment, a public network IP address of the printing apparatus may be configured for each terminal in advance, and when a user has a printing requirement, the user may send a printing request to the printing apparatus having the public network IP address through the public network.
S302, according to the identification of the terminal, the target cell to which the terminal belongs is obtained.
In this embodiment, the print request may include an identifier of a target cell to which the terminal belongs, and the identifier of the target cell to which the terminal belongs may be an ID number of the target cell; the printing device may determine the target cell to which the different terminal belongs according to the identifier of the terminal in the print request. After entering different cells, the terminal resides in the cell, the current position of the terminal is within the coverage range of the target cell to which the terminal belongs, the terminal can reside in the target cell, the ID number of the target cell can be acquired, and the printing request carries the ID number of the target cell.
Optionally, in this embodiment, the printing apparatus may obtain an identifier of each terminal according to the received print request, and obtain a position of the terminal according to the identifier of the terminal; specifically, a base station Positioning method in the prior art or a Global Positioning System (GPS) Positioning method may be adopted according to the identifier of the terminal to obtain the position of the terminal, where the position may be a three-dimensional coordinate of the terminal in a terrestrial coordinate System.
Further, the printing apparatus stores a coverage area of each cell, specifically including location information of the coverage area of each cell. And determining a target cell to which the terminal belongs according to the position of the terminal, namely determining the position of the terminal in the coverage area of the target cell.
Optionally, a positioning module is disposed in the terminal in this embodiment, and the position of the terminal can be obtained according to the positioning module, and the terminal can carry the position of the terminal in the print request; the printing device can acquire the positions of different terminals according to the received printing request, and further determine the target cell to which the terminal belongs according to the pre-stored coverage area of each cell.
And S303, sending the position of the target printing equipment in the target cell to the terminal, and sending the object to be printed to the target printing equipment so that the target printing equipment prints the object to be printed.
In this embodiment, at least one printing device is provided in each cell, and the printing apparatus stores therein an IP address of the printing device provided in each cell, which may be a private network IP address of a cell in which the printing device is located; when a printing device is arranged in the target cell, the printing device is the target printing device of the target cell; when a plurality of printing devices are set in the target cell, the printing apparatus may determine the target printing device according to a preset rule, where the preset rule may be: the target printing device may be a printing device in an idle state among the plurality of printing devices, or may be a printing device with the highest performance among the plurality of printing devices, for example, the printing device has the highest printing speed, or may be a printing device with the smallest amount of print jobs among the plurality of printing devices.
Further, the printing device also sends the object to be printed to the target printing equipment, and the target printing equipment carries out a printing task after receiving the object to be printed; it is conceivable that the print job queuing may be performed if the target printing apparatus is in an operating state, and the target printing apparatus prints the object to be printed while waiting for the print job of the object to be printed to be performed.
Specifically, the printing apparatus stores the position of each printing device in each cell in advance, and after acquiring the target printing device in the target cell to which the terminal belongs, the position of the target printing device can be sent to the terminal, so that the user can acquire the position of the target printing device and retrieve the printed object to be printed.
The printing method provided by the embodiment comprises the following steps: receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed; acquiring a target cell to which the terminal belongs according to the identifier of the terminal; and according to the identification of the target cell, the position of the target printing equipment is sent to the terminal, and the object to be printed is sent to the target printing equipment in the target cell, so that the target printing equipment can print the object to be printed. According to the printing method provided by the embodiment, the printing device in the cell can print the object to be printed sent by the terminal according to the cell to which the terminal belongs, so that the printing requirement of the user in the moving process can be met, and the working efficiency of the user is improved.
When the coverage area of one cell is small, one printing device may be set in one cell, and when the coverage area of one cell is large, a plurality of printing devices may be set in one cell. The following embodiments describe a printing method provided by the present invention in the case where one or more printing apparatuses are provided in one cell.
The printing method provided by the present invention is further explained with reference to fig. 4, wherein each cell is provided with a printing device; fig. 4 is a schematic flow chart of a printing method provided by the present invention, and as shown in fig. 4, the printing method provided by this embodiment may include:
s401, receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed.
S402, acquiring the position of the terminal according to the identifier of the terminal.
In this embodiment, the printing apparatus may obtain the identifier of each terminal according to the received print request, and obtain the location of the terminal according to the identifier of the terminal; specifically, the location of the terminal may be obtained by using a base station positioning method or a global positioning method according to the identifier of the terminal.
Optionally, a positioning module is disposed in the terminal in this embodiment, and the position of the terminal can be obtained according to the positioning module, and the terminal can carry the position of the terminal in the print request; the printing apparatus may acquire the positions of the different terminals according to the received print request.
And S403, acquiring the target cell to which the terminal belongs according to the position of the terminal.
The printing device stores the coverage area of each cell, specifically including the position information of the coverage area of each cell. And determining a target cell to which the terminal belongs according to the position of the terminal acquired by the printing device according to the identifier of each terminal, namely determining the position of the terminal in the coverage area of the target cell.
Optionally, one printing device is disposed in each cell in the present embodiment, and in order to improve printing efficiency, the printing device may be disposed at a central position of each cell. When the printing device acquires that the position of the terminal is in the overlapping area of the coverage areas of two adjacent cells according to the identifier of the terminal, namely the terminal is determined to be in the overlapping area covered by the two adjacent cells; and determining that the positions of the terminal from the printing equipment in each cell are the same, and taking any one of two adjacent cells as a target cell to which the terminal belongs.
S404, the position of the target printing device in the target cell is sent to the terminal, and the object to be printed is sent to the target printing device, so that the target printing device prints the object to be printed.
S405, receiving a route acquisition request sent by the terminal.
In this embodiment, after the printing apparatus sends the position of the target printing device to the terminal, the position of the target printing device, such as a position link, may be displayed on the terminal interface; a user can trigger the terminal to send a route acquisition request to the printing equipment by clicking or other operation modes; optionally, the route acquisition request may include an identifier of the terminal and a location of the target printing device.
And S406, acquiring a route according to the position of the terminal and the set position of the target printing equipment, and sending the route to the terminal.
After receiving the route acquisition request, the printing apparatus may acquire a route from the position of the terminal to the set position of the target printing device, using the position of the terminal acquired in the above S402 and the set position of the target printing device stored in the printing apparatus; after the route is acquired, the route is sent to the terminal; after receiving the route, the terminal can display the route by adopting an electronic map on the terminal.
Optionally, the route acquisition request may include an identifier of the terminal, the location of the terminal may be acquired according to the above-mentioned embodiment in S402, and if the location of the terminal is in the target cell and is not the same as the location where the print request is sent, the printing apparatus may acquire the route according to the location where the terminal sends the route acquisition request.
It is to be noted that if the location of the terminal obtained from the identifier of the terminal and the location of sending the print request are not in the same cell, S402-S406 are repeatedly executed so that the terminal finds the target printing apparatus according to the route.
The implementation manners in S401 and S404 in this embodiment may refer to the related descriptions in S201 and S203 in the above embodiments, and are not described herein again.
In this embodiment, the position of the terminal is obtained according to the identifier of the terminal, and the target cell to which the terminal belongs is obtained according to the position of the terminal, where a printing device is arranged in the target cell, and the printing device is a target printing device; the embodiment can also send a route from the terminal to the target printing device to the terminal, so that the user can find the target printing device according to the route and acquire the printing object.
A case where a plurality of printing apparatuses are set in the target area is described below with reference to fig. 5 to 6.
FIG. 5 is a schematic view of a second scenario in which the printing method provided by the present invention is applicable; as shown in fig. 5, when the coverage of each cell is large, a plurality of printing apparatuses may be provided in each cell, and fig. 5 exemplarily shows that two printing apparatuses are provided in each cell.
Fig. 6 further illustrates the printing method provided by the present invention, wherein a plurality of printing devices are provided in each cell; fig. 6 is a third schematic flowchart of a printing method provided by the present invention, and as shown in fig. 6, the printing method provided in this embodiment may include:
s601, receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed.
S602, acquiring the position of the terminal according to the identifier of the terminal.
S603, according to the position of the terminal, obtaining the target cell to which the terminal belongs.
S604, the position of the target printing device in the target cell is sent to the terminal, and the object to be printed is sent to the target printing device in the target cell according to the identification of the target cell and the working state of at least one printing device in the target cell, so that the target printing device prints the object to be printed.
In this embodiment, each cell is provided with at least one printing device, wherein the target cell is also provided with at least one printing device; the printing device stores therein an IP address of the printing apparatus set in each cell, which may be a private network IP address of a cell in which the printing apparatus is located, and stores therein each cell; the printing apparatus may obtain the identifier of the target cell according to the above manner, and optionally, the print request includes the identifier of the target cell to which the terminal belongs.
Further, the printing apparatus may acquire the IP address of the printing device set in the target cell according to the identifier of the target cell. The printing device may obtain the operating status of each printing device in the target cell according to the IP address of the printing device, and obtain the target printing device according to the operating status of each printing device in the target cell.
Specifically, if at least one printing device is in an idle state in the target cell, any one printing device of the at least one printing device in the idle state is used as the target printing device, and the object to be printed is sent to the target printing device.
Optionally, the printing device closest to the terminal may also be used as the target printing device according to the setting position of the at least one printing device in the idle state and the position of the terminal; alternatively, the printing apparatus that performs best among the at least one printing apparatus in the idle state may be set as the target printing apparatus.
If all printing devices in the target cell are in the occupied state, the printing device with the minimum queuing task amount is determined as the target printing device, and the object to be printed is sent to the printing device with the minimum queuing task amount.
It is conceivable that, if one printing apparatus in the target cell is in the idle state, the printing apparatus in the idle state is taken as the target printing apparatus.
After the printing device determines the target printing equipment in the target cell, the object to be printed is sent to the target printing equipment, and the position of the target printing equipment is sent to the terminal.
And S605, receiving a route acquisition request sent by the terminal.
And S606, acquiring a route according to the position of the terminal and the setting position of the target printing equipment, and sending the route to the terminal.
The implementation manners in S601-S603 and S605-S606 in this embodiment may refer to the related descriptions in S401-S403 and S405-S406 in the above embodiments, which are not described herein again.
In this embodiment, at least one printing device is provided in each cell; according to the identification of the target cell and the working state of at least one printing device in the target cell, sending the object to be printed to the target printing device in the target cell; if at least one printing device in the idle state exists in the target cell, taking any one printing device in the at least one printing device in the idle state as a target printing device, and sending the object to be printed to the target printing device; or if all the printing devices in the target cell are in the occupied state, determining the printing device with the minimum queuing task amount as the target printing device, and sending the object to be printed to the printing device with the minimum queuing task amount. The printing method provided by the embodiment can improve the printing efficiency of the user in the moving process, optimize the printing mode of the printing equipment and improve the printing efficiency.
Fig. 7 is a schematic structural diagram of a printing apparatus according to the first embodiment of the present invention, and as shown in fig. 7, the printing apparatus 700 includes: a printing request receiving module 701, a target cell acquiring module 702, and a sending module 703.
A print request receiving module 701, configured to receive a print request sent by a terminal, where the print request includes an identifier of the terminal and an object to be printed.
A target cell obtaining module 702, configured to obtain a target cell to which the terminal belongs according to the identifier of the terminal.
A sending module 703, configured to send the location of the target printing device to the terminal according to the identifier of the target cell, and send the object to be printed to the target printing device in the target cell, so that the target printing device prints the object to be printed.
The printing apparatus provided in this embodiment is similar to the principle and technical effect achieved by the above printing method, and is not described herein again.
Optionally, the target cell obtaining module 702 is specifically configured to obtain a location of the terminal according to the identifier of the terminal; and acquiring a target cell to which the terminal belongs according to the position of the terminal.
Optionally, the print request includes an identifier of a target cell to which the terminal belongs.
Optionally, at least one printing device is provided in each cell.
Optionally, the sending module 703 is specifically configured to send the object to be printed to the target printing device in the target cell according to the identifier of the target cell and the working state of at least one printing device in the target cell.
Optionally, the sending module 703 is specifically configured to, if at least one printing device in the target cell is in an idle state, take any one of the at least one printing device in the idle state as the target printing device, and send the object to be printed to the target printing device.
Optionally, the sending module 703 is specifically configured to determine, if all the printing devices in the target cell are in an occupied state, the printing device with the smallest amount of queued tasks as the target printing device, and send the object to be printed to the printing device with the smallest amount of queued tasks.
Optionally, the target cell obtaining module 702 is specifically configured to, according to the identifier of the terminal, if it is determined that the terminal is located in an overlapping area covered by two adjacent cells, use any one of the two adjacent cells as the target cell to which the terminal belongs.
Fig. 8 is a schematic structural diagram of a second printing apparatus according to the present invention, where the printing apparatus may be, for example, a terminal device or a server, and the terminal device may be, for example, a smart phone, a tablet computer, a computer, or the like. As shown in fig. 8, the printing apparatus 800 includes: a memory 801 and at least one processor 802.
A memory 801 for storing program instructions.
The processor 802 is configured to implement the printing method in this embodiment when the program instructions are executed, and for a specific implementation principle, reference may be made to the foregoing embodiments, which are not described herein again.
The printing apparatus 800 may further include an input/output interface 803.
The input/output interface 803 may include a separate output interface and input interface, or may be an integrated interface that integrates input and output. The output interface is used for outputting data, and the input interface is used for acquiring input data.
The present invention also provides a readable storage medium, in which execution instructions are stored, and when the execution instructions are executed by at least one processor of the printing apparatus, the computer execution instructions, when executed by the processor, implement the printing method in the above-mentioned embodiment.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the printing apparatus may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the printing apparatus to implement the printing method provided by the various embodiments described above.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a mode of hardware and a software functional module.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the foregoing embodiments of the network device or the terminal device, it should be understood that the Processor may be a Central Processing Unit (CPU), or may be other general-purpose processors, digital Signal Processors (DSP), application Specific Integrated Circuits (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (5)

1. A printing method applied to a printing device is characterized by comprising the following steps:
receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed; each terminal is configured with a public network IP address of the printing device;
acquiring a target cell to which the terminal belongs according to the identifier of the terminal;
sending the position of target printing equipment in the target cell to the terminal, and sending the object to be printed to the target printing equipment so that the target printing equipment prints the object to be printed;
the obtaining the target cell to which the terminal belongs according to the identifier of the terminal includes:
acquiring the position of the terminal according to the identifier of the terminal;
acquiring a target cell to which the terminal belongs according to the position of the terminal;
the printing request comprises an identifier of a target cell to which the terminal belongs;
at least one printing device is arranged in the target cell;
the sending the object to be printed to the target printing device includes:
if at least one printing device in the target cell is in an idle state, taking any one printing device in the at least one printing device in the idle state as the target printing device, and sending the object to be printed to the target printing device;
and if all the printing devices in the target cell are in the occupied state, determining the printing device with the minimum queuing task amount as the target printing device, and sending the object to be printed to the printing device with the minimum queuing task amount.
2. The method of claim 1, wherein the obtaining a target cell to which the terminal belongs according to the identifier of the terminal comprises:
and according to the identifier of the terminal, if the terminal is determined to be in an overlapping area covered by two adjacent cells, taking any one of the two adjacent cells as a target cell to which the terminal belongs.
3. A printing apparatus, comprising:
the printing request receiving module is used for receiving a printing request sent by a terminal, wherein the printing request comprises an identifier of the terminal and an object to be printed; each terminal is configured with a public network IP address of the printing device;
a target cell obtaining module, configured to obtain, according to the identifier of the terminal, a target cell to which the terminal belongs;
a sending module, configured to send the location of a target printing device to the terminal according to the identifier of the target cell, and send the object to be printed to the target printing device in the target cell, so that the target printing device prints the object to be printed;
a target cell acquiring module, configured to specifically acquire a location of the terminal according to the identifier of the terminal; acquiring a target cell to which the terminal belongs according to the position of the terminal;
the printing request comprises an identifier of a target cell to which the terminal belongs;
at least one printing device is arranged in the target cell;
the sending module is specifically configured to, if at least one printing device in the target cell is in an idle state, take any one printing device of the at least one printing device in the idle state as a target printing device, and send the object to be printed to the target printing device;
the sending module is further specifically configured to determine, if all the printing devices in the target cell are in an occupied state, the printing device with the minimum amount of queued tasks as the target printing device, and send the object to be printed to the printing device with the minimum amount of queued tasks.
4. A printing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the printing device to perform the method of claim 1 or 2.
5. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of claim 1 or 2.
CN201910218027.0A 2019-03-21 2019-03-21 Printing method, apparatus and storage medium Active CN109976685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910218027.0A CN109976685B (en) 2019-03-21 2019-03-21 Printing method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910218027.0A CN109976685B (en) 2019-03-21 2019-03-21 Printing method, apparatus and storage medium

Publications (2)

Publication Number Publication Date
CN109976685A CN109976685A (en) 2019-07-05
CN109976685B true CN109976685B (en) 2023-01-24

Family

ID=67079765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910218027.0A Active CN109976685B (en) 2019-03-21 2019-03-21 Printing method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN109976685B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665103A (en) * 2017-11-13 2018-02-06 成都创慧科达科技有限公司 A kind of Reserve Print method and system based on printer sharing
CN107678713A (en) * 2017-11-13 2018-02-09 成都创慧科达科技有限公司 A kind of shared print request equipment
CN107943432A (en) * 2017-11-13 2018-04-20 成都创慧科达科技有限公司 The management method and printer management system of a kind of printer
CN108062209A (en) * 2017-11-13 2018-05-22 成都创慧科达科技有限公司 A kind of printer sharing based on terminal positioning recommends method and system
CN108073369A (en) * 2017-11-13 2018-05-25 成都创慧科达科技有限公司 The Reserve Print method and print control system of a kind of printer
CN109189351A (en) * 2018-08-21 2019-01-11 平安科技(深圳)有限公司 A kind of cloud Method of printing, storage medium and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665103A (en) * 2017-11-13 2018-02-06 成都创慧科达科技有限公司 A kind of Reserve Print method and system based on printer sharing
CN107678713A (en) * 2017-11-13 2018-02-09 成都创慧科达科技有限公司 A kind of shared print request equipment
CN107943432A (en) * 2017-11-13 2018-04-20 成都创慧科达科技有限公司 The management method and printer management system of a kind of printer
CN108062209A (en) * 2017-11-13 2018-05-22 成都创慧科达科技有限公司 A kind of printer sharing based on terminal positioning recommends method and system
CN108073369A (en) * 2017-11-13 2018-05-25 成都创慧科达科技有限公司 The Reserve Print method and print control system of a kind of printer
CN109189351A (en) * 2018-08-21 2019-01-11 平安科技(深圳)有限公司 A kind of cloud Method of printing, storage medium and server

Also Published As

Publication number Publication date
CN109976685A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
JP4062012B2 (en) Mobile phone, advertisement distribution method used therefor, and program thereof
CN103222319B (en) A kind of method for mobile computing device and mobile computing device
CN101132293B (en) Individual information processing method, system and device
CN104537752A (en) Queuing method, cloud server and system
EP3076727A1 (en) Location method and user equipment
CN101902687B (en) Using the method and apparatus to carry out position informing for the location context information
EP2613574A1 (en) System and method of providing a service using a near field communication tag
CN110198530B (en) Flow-free service scheduling processing method, device, equipment and storage medium
US9311039B2 (en) Cloud printing system and method using image forming apparatus
EP1727086A1 (en) Information presentation system
CN103813267A (en) Sign in method and system
CN102801788A (en) Method, device and system for realizing augmented reality information sharing
CN104867097A (en) Method and device for generating watermark picture
CN109831494A (en) User data management and equipment
CN104680463A (en) Information processing method and information processing terminal
CN109976685B (en) Printing method, apparatus and storage medium
CN113946299A (en) Print control apparatus, control method, and storage medium communicating with cloud print service
CN105335110A (en) Printing method and system based on NFC
CN105118011A (en) Commercial affair registration place positioning method of industry and commerce service transaction and apparatus thereof
CN105933869B (en) Method of locating terminal, device and terminal server
CN112104680B (en) Method, device and equipment for determining edge application and storage medium
CN104737559A (en) Method, mobile terminal and system for exchanging electronic business cards
CN114422236A (en) Intelligent device access method and device and electronic device
US20180173686A1 (en) System and method for displaying graphic-based web vector map
CN107241437B (en) Data processing method and device

Legal Events

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