CN114756181A - Cloud printing method, device, equipment and storage medium - Google Patents

Cloud printing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114756181A
CN114756181A CN202210452456.6A CN202210452456A CN114756181A CN 114756181 A CN114756181 A CN 114756181A CN 202210452456 A CN202210452456 A CN 202210452456A CN 114756181 A CN114756181 A CN 114756181A
Authority
CN
China
Prior art keywords
printing
target
data
wireless
protocol type
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.)
Pending
Application number
CN202210452456.6A
Other languages
Chinese (zh)
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.)
Shenzhen Qianhai Baidi Network Co ltd
Original Assignee
Shenzhen Qianhai Baidi Network 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 Shenzhen Qianhai Baidi Network Co ltd filed Critical Shenzhen Qianhai Baidi Network Co ltd
Priority to CN202210452456.6A priority Critical patent/CN114756181A/en
Publication of CN114756181A publication Critical patent/CN114756181A/en
Pending legal-status Critical Current

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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1209Improving or facilitating administration, e.g. print management resulting in adapted or bridged legacy communication protocols, e.g. emulation, protocol extension
    • 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
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • 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

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)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application discloses a cloud printing method, a cloud printing device, cloud printing equipment and a storage medium. The method comprises the following steps: acquiring printing data sent by a terminal through wireless communication; judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not; if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol; and sending the target printing data to a target printer for printing through the Internet. Through the target print data that can support internet transmission with print data conversion, can forward the print data that received arbitrary radio communication sent to the printer through the internet and print, solved the limitation of wireless printing, selectivity is low and the relatively poor problem of self-adaptation wireless network ability, can expand traditional printing method, deploy the printing service fast, improve cloud printing ability.

Description

Cloud printing method, device, equipment and storage medium
Technical Field
The invention relates to the field of wireless printing, in particular to a cloud printing method, a cloud printing device, cloud printing equipment and a storage medium.
Background
The cloud printing is based on the Internet and the Internet of things, and provides printing services for social groups by constructing a printing platform. In the prior art, printing is performed through bluetooth, that is, a bluetooth or low-power-consumption bluetooth technology is adopted, terminal equipment such as a mobile phone tablet personal computer and the like is wirelessly connected with printing equipment through bluetooth, so that the terminal transmits corresponding printing data to the printing equipment, and after the printing equipment receives the printing data, the printing equipment analyzes and outputs printing contents to complete printing output; however, the bluetooth wireless technology has a limited communication distance, requires one-to-one communication between different terminals, is not suitable for use in remote printing and remote printing, and has a transmission speed slower than that of internet network transmission. Meanwhile, the stability of the Bluetooth communication and the data transmission rate are greatly influenced by the communication establishment distance. In the prior art, the cloud printing equipment is connected to the internet through the internet technology, the terminal equipment is connected to the internet, then the terminal equipment is used for requesting the cloud server for printing data, the cloud server can push the requested printing data to the cloud printing equipment, and the cloud printing equipment analyzes and outputs the printing content to complete printing output. However, in the existing cloud printing, a complex network environment needs to be additionally configured, a dedicated network cable needs to be configured, the influence of the local area network environment is large, for example, wifi signal intensity is weak, a server is abnormal, the situations of printing errors and omissions are easily caused, and data reliability is low.
Disclosure of Invention
In view of this, the present invention provides a cloud printing method, apparatus, device and medium, which can expand the traditional printing method, rapidly deploy printing services, and improve the cloud printing capability. The specific scheme is as follows:
in a first aspect, the present application discloses a cloud printing method, including:
acquiring printing data sent by a terminal through wireless communication;
judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not;
if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol;
and sending the target printing data to a target printer for printing through the Internet.
Optionally, the converting the print data into target print data conforming to the target internet communication protocol type includes:
establishing a corresponding format conversion rule for each wireless communication mode according to the data format difference between the wireless protocol type corresponding to each wireless communication mode and the target Internet communication protocol type;
determining a target format conversion rule from all format conversion rules according to the wireless protocol type corresponding to the printing data;
and carrying out format conversion and reassembly and subpackage on the printing data by using the target format conversion rule so as to obtain the target printing data conforming to the target Internet communication protocol type.
Optionally, the target internet communication protocol types include IPv4 and IPv 6.
Optionally, the determining whether the wireless protocol type corresponding to the print data is a target internet communication protocol type includes:
performing protocol type analysis on the printing data to determine a wireless protocol type applied by the printing data in the wireless communication;
and judging whether the wireless protocol type is a target internet communication protocol type.
Optionally, after determining whether the wireless protocol type corresponding to the print data is the target internet communication protocol type, the method further includes:
and if the wireless protocol type corresponding to the printing data is the target internet communication protocol type, taking the printing data as the target printing data.
Optionally, the cloud printing method further includes:
receiving networking requests sent by the other cloud printing devices in a wireless broadcast mode, and forming cloud printing device networking with the other cloud printing devices according to the networking requests;
receiving wireless network access information broadcasted by target cloud printing equipment added to the Internet in the cloud printing equipment networking through network scanning; the wireless network access information is broadcast information after the target cloud printing equipment distribution network is accessed to the Internet;
and accessing the Internet according to the wireless network access information so as to realize network matching networking among different cloud printing devices.
Optionally, after the networking request and the other cloud printing devices form a cloud printing device networking, the method further includes:
sending the printing data to other cloud printing devices in the cloud printing device networking through a wireless communication technology so as to realize data sharing among the cloud printing devices in the cloud printing device networking;
after accessing the internet according to the wireless network access information to realize network matching networking among different cloud printing devices, the method further comprises the following steps:
and sending the printing data to other cloud printing devices in the network matching group network through the Internet so as to realize data sharing among the cloud printing devices in the network matching group network.
In a second aspect, the present application discloses a cloud printing apparatus, comprising:
the receiving module is used for acquiring the printing data sent by the terminal through wireless communication;
the protocol identification module is used for judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not;
the protocol conversion module is used for converting the printing data into target printing data which accords with the type of the target Internet communication protocol if the printing data does not accord with the type of the target Internet communication protocol;
and the sending module is used for sending the target printing data to a target printer for printing through the Internet.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the aforementioned cloud printing method.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements the aforementioned cloud printing method.
In the application, the printing data sent by the terminal through wireless communication is acquired; judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not; if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol; and sending the target printing data to a target printer for printing through the Internet. The method comprises the steps that after receiving printing data sent by a terminal through wireless communication, whether a wireless protocol type corresponding to the printing data is a target internet communication protocol type or not is judged, if the wireless protocol type corresponding to the printing data is not the target internet communication protocol type, the printing data is converted into target printing data meeting the target internet communication protocol type, and then the target printing data is sent to a target printer through the internet to be printed; therefore, the printing data are converted into the target printing data capable of supporting internet transmission, the received printing data sent by any wireless communication can be forwarded to the printer through the internet to be printed, the problems of limitation, low selectivity and poor self-adaptive wireless network capability of wireless printing are solved, the traditional printing method can be expanded, the printing service can be deployed quickly, and the cloud printing capability is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a cloud printing method provided in the present application;
fig. 2 is a structural diagram of a cloud printing system provided in the present application;
fig. 3 is a diagram of a network matching networking architecture provided in the present application;
fig. 4 is a schematic structural diagram of a cloud printing apparatus according to the present application;
fig. 5 is a block diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In the prior art, the cloud printing equipment is connected to the internet through the internet technology, the terminal equipment is connected to the internet, and then the terminal equipment is used for requesting the cloud server for printing data. In order to overcome the technical problems, the cloud printing method provided by the application can expand the traditional printing method, rapidly deploy printing services and improve the cloud printing capability.
The embodiment of the application discloses a cloud printing method, which is applied to cloud printing equipment, wherein the cloud printing equipment is used for carrying out data transmission with a terminal, generating target printing data which accord with a target protocol type, and then sending the target printing data to a printer through the Internet to finish a cloud printing process. Referring to fig. 1, the method may include the steps of:
step S11: print data transmitted by a terminal through wireless communication is acquired.
In this embodiment, first, print data sent by a terminal through wireless communication is obtained, where the terminal includes but is not limited to an intelligent terminal device such as a mobile phone, a tablet, and a computer, and the wireless communication includes but is not limited to bluetooth, wifi, thread, Zigbee, and Z-wave.
Step S12: and judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type.
In this embodiment, after receiving the print data, it is first determined whether a wireless protocol type adopted by the print data in wireless communication is a target internet communication protocol type, where the target internet communication protocol type includes IPv4 and IPv 6. That is, it is determined whether the type of the wireless protocol employed in the wireless communication of the print data is IPv4 or IPv 6.
In this embodiment, the determining whether the wireless protocol type corresponding to the print data is a target internet communication protocol type may include: carrying out protocol type analysis on the printing data to determine a wireless protocol type applied by the printing data in the wireless communication; and judging whether the wireless protocol type is a target internet communication protocol type. The method comprises the steps of analyzing the protocol type of the printing data to determine the wireless protocol type applied by the printing data in wireless communication, and then judging whether the wireless protocol type is a preset target internet communication protocol type.
In this embodiment, after determining whether the wireless protocol type corresponding to the print data is the target internet communication protocol type, the method may further include: and if the wireless protocol type corresponding to the printing data is the target internet communication protocol type, taking the printing data as the target printing data. That is, if the wireless protocol type corresponding to the print data is IPv4 or IPv6, the print data is directly used as the target print data.
Step S13: if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol.
In this embodiment, if the wireless protocol type corresponding to the print data is not the target internet communication protocol type, the print data is converted into target print data conforming to the target internet communication protocol type, that is, into IPv4 or IPv6 protocol data. It can be understood that, since the non-IPv 4/6 wireless protocol cannot directly perform data interaction on the MAC level with the IPv4/6 wireless protocol, in order to subsequently send print data to a cloud printer via the internet, after obtaining the print data, it is necessary to perform protocol type determination, and convert data that does not conform to the protocol type.
In this embodiment, the converting the print data into the target print data conforming to the target internet communication protocol type may include: establishing a corresponding format conversion rule for each wireless communication mode according to the data format difference between the wireless protocol type corresponding to each wireless communication mode and the target internet communication protocol type; determining a target format conversion rule from all format conversion rules according to the wireless protocol type corresponding to the printing data; and carrying out format conversion and reassembly and subpackage on the printing data by using the target format conversion rule so as to obtain the target printing data conforming to the target Internet communication protocol type. That is, a corresponding format conversion rule is created for each wireless communication manner so as to convert the print data into target print data compliant with IPv4 or IPv6 using the corresponding format conversion rule. Specifically, the conversion of the IP protocol mainly adds IP route forwarding to the non-IPv 4/6 protocol and uses 6LoWPAN to carry IPv4/6 data packets, while the Bluetooth uses IPv6 over technology to realize communication between node routes.
Step S14: and sending the target printing data to a target printer for printing through the Internet.
In this embodiment, after the target print data is obtained through conversion, the target print data is sent to a target printer through the internet to be printed, and cloud printing is completed. Therefore, the printer can be matched with various gateway devices on the market, such as a Bluetooth gateway, a zigbee and the like, for interconnection, and can expand the devices which only have non-IPv 4/6 communication on the market, such as an express code scanning gun, a Bluetooth electronic scale, an infrared identification gun, an nfc identification label and the like, so that interconnection printing is realized.
For example, in the cloud printing system shown in fig. 2, the cloud printing receiving module completes wireless data reassembly, sorting, packet transmission, and the like to the wireless communication protocol identification module, and the wireless communication protocol identification module is responsible for analyzing whether the wireless protocol is an IPv4/6 protocol family type; if the wireless protocol is of a non-IPv 4/6 type, the wireless data is sent to the network hub module for processing after being reassembled and packaged by the IP protocol conversion module. The network hub module is used for receiving wireless data conforming to an ipv4/6 protocol, can be communicated and interconnected with an internet server, receives server control feedback and the like, directly drives cloud printing output, transmits server cloud printing data to a local printer and completes cloud printing.
In this embodiment, the cloud printing method may further include: receiving networking requests sent by the other cloud printing devices in a wireless broadcast mode, and forming a cloud printing device networking with the other cloud printing devices according to the networking requests; receiving wireless network access information broadcasted by target cloud printing equipment added to the Internet in the cloud printing equipment networking through network scanning; the wireless network access information is broadcast information after the target cloud printing equipment distribution network is accessed to the Internet; and accessing the Internet according to the wireless network access information so as to realize network matching networking among different cloud printing devices. For example, a bluetooth networking can be formed among different cloud printing devices in a manner that bluetooth is used for distributing key information, and certainly, a networking can also be performed in a wireless broadcasting manner such as wifi, that is, a plurality of cloud printing devices perform networking by starting a local wifi function; preferably, the target cloud printing device may be a first internet-added device in a cloud printing device networking.
In this embodiment, after the networking request and the other cloud printing devices form a cloud printing device networking, the method further includes: sending the printing data to other cloud printing devices in the cloud printing device networking through a wireless communication technology so as to realize data sharing among the cloud printing devices in the cloud printing device networking; after accessing the internet according to the wireless network access information to realize network matching networking among different cloud printing devices, the method further comprises the following steps: and sending the printing data to other cloud printing devices in the network matching group network through the Internet so as to realize data sharing among the cloud printing devices in the network matching group network. After the networking of the cloud printing equipment is formed, the cloud printing equipment in the networking can actively realize data communication and data sharing in a wireless mode such as Bluetooth, and after the networking is matched through the network, the cloud printing equipment in the networking can also realize data sharing through the Internet. For example, as shown in the schematic diagram of a network matching networking structure shown in fig. 3, the intelligent cloud printing device provided in this embodiment may be connected to a plurality of user terminal devices through a network hub module at the same time or connected to perform internet communication to form a bluetooth networking, and may perform data transmission at the same time to complete printing of data. Moreover, the user terminal devices can share printing data through Bluetooth or the Internet. As shown in fig. 3, cloud printing device accessible data match shares, joins in the internet fast, and in the network deployment relation, arbitrary cloud printing device joins in the internet, and other cloud printing devices can join in the internet automatically, join in marriage the net and insert to wireless network if intelligent wireless printing device 1, can join in marriage net key information through the bluetooth broadcast, wifi broadcast information etc. treat simultaneously that networking intelligent wireless printing device 2 and 3 carries out the network discovery scanning, acquire the information of intelligent wireless printing device 1 broadcast, accomplish network matching networking.
As can be seen from the above, in this embodiment, print data sent by a terminal through wireless communication is acquired; judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not; if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol; and sending the target printing data to a target printer for printing through the Internet. The method comprises the steps that after receiving printing data sent by a terminal through wireless communication, whether a wireless protocol type corresponding to the printing data is a target internet communication protocol type or not is judged, if the wireless protocol type corresponding to the printing data is not the target internet communication protocol type, the printing data is converted into target printing data which accords with the target internet communication protocol type, and then the target printing data is sent to a target printer through the internet to be printed; therefore, the printing data are converted into the target printing data capable of supporting internet transmission, the received printing data sent by any wireless communication can be forwarded to the printer through the internet to be printed, the problems of limitation, low selectivity and poor self-adaptive wireless network capability of wireless printing are solved, the traditional printing method can be expanded, the printing service can be deployed quickly, and the cloud printing capability is improved.
Correspondingly, an embodiment of the present application further discloses a cloud printing apparatus, as shown in fig. 4, the apparatus includes:
a receiving module 11, configured to obtain print data sent by a terminal through wireless communication;
the protocol identification module 12 is configured to determine whether a wireless protocol type corresponding to the print data is a target internet communication protocol type;
a protocol conversion module 13, configured to, if no, convert the print data into target print data that conforms to the type of the target internet communication protocol;
and the sending module 14 is used for sending the target printing data to a target printer for printing through the internet.
As can be seen from the above, in this embodiment, print data sent by a terminal through wireless communication is acquired; judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not; if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol; and sending the target printing data to a target printer for printing through the Internet. The method comprises the steps that after receiving printing data sent by a terminal through wireless communication, whether a wireless protocol type corresponding to the printing data is a target internet communication protocol type or not is judged, if the wireless protocol type corresponding to the printing data is not the target internet communication protocol type, the printing data is converted into target printing data meeting the target internet communication protocol type, and then the target printing data is sent to a target printer through the internet to be printed; therefore, the printing data are converted into the target printing data capable of supporting internet transmission, the received printing data sent by any wireless communication can be forwarded to the printer through the internet to be printed, the problems of limitation, low selectivity and poor self-adaptive wireless network capability of wireless printing are solved, the traditional printing method can be expanded, the printing service can be deployed quickly, and the cloud printing capability is improved.
In some specific embodiments, the receiving module 11 may be specifically configured to acquire print data sent by a terminal through wireless communication; the wireless communication comprises Bluetooth, wifi, thread, Zigbee and Z-wave.
In some specific embodiments, the protocol identification module 12 may specifically include:
the protocol analysis unit is used for carrying out protocol type analysis on the printing data so as to determine a wireless protocol type applied by the printing data in the wireless communication;
and the type judging unit is used for judging whether the wireless protocol type is a target internet communication protocol type.
In some specific embodiments, the cloud printing apparatus may specifically include:
and the target printing data determining unit is used for taking the printing data as the target printing data if the wireless protocol type corresponding to the printing data is the target internet communication protocol type.
In some embodiments, the target internet communication protocol types include IPv4 and IPv 6.
In some specific embodiments, the protocol conversion module 13 may specifically include:
a format conversion rule creating unit, configured to create a corresponding format conversion rule for each wireless communication mode according to a data format difference between a wireless protocol type corresponding to each wireless communication mode and the target internet communication protocol type;
a target format conversion rule determining unit, configured to determine a target format conversion rule from all format conversion rules according to a wireless protocol type corresponding to the print data;
and the protocol conversion unit is used for carrying out format conversion and reassembly and subpackaging on the printing data by utilizing the target format conversion rule so as to obtain the target printing data conforming to the target Internet communication protocol type.
In some specific embodiments, the cloud printing apparatus may specifically include:
the networking request receiving unit is used for receiving networking requests sent by the other cloud printing devices in a wireless broadcasting mode, and forming a cloud printing device networking with the other cloud printing devices according to the networking requests;
the wireless network access information receiving unit is used for receiving wireless network access information broadcasted by a first target cloud printing device which is added to the Internet in the cloud printing device networking through network scanning; the wireless network access information is broadcast information after the target cloud printing equipment distribution network is accessed to the Internet;
and the network access unit is used for accessing the Internet according to the wireless network access information so as to realize network matching networking among different cloud printing devices.
In some specific embodiments, the cloud printing apparatus may specifically include:
the data sharing unit is used for sending the printing data to other cloud printing devices in the cloud printing device group network through a wireless communication technology so as to realize data sharing among the cloud printing devices in the cloud printing device group network; or,
and sending the printing data to other cloud printing devices in the network matching group through the Internet so as to realize data sharing among the cloud printing devices in the network matching group.
Further, the embodiment of the present application also discloses an electronic device, which is shown in fig. 5, and the content in the drawing cannot be considered as any limitation to the application scope.
Fig. 5 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the cloud printing method disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the memory 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon include an operating system 221, a computer program 222, data 223 including print data, etc., and the storage manner may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the cloud printing method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, an embodiment of the present application further discloses a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and when the computer-executable instructions are loaded and executed by a processor, the steps of the cloud printing method disclosed in any of the foregoing embodiments are implemented.
Further, an embodiment of the present application also discloses a computer program product, and when the computer program product is loaded and executed by a processor, the steps of the cloud printing method disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The cloud printing method, the cloud printing device, the cloud printing equipment and the cloud printing medium provided by the invention are described in detail, specific examples are applied in the description to explain the principle and the implementation mode of the invention, and the description of the examples is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A cloud printing method is applied to a cloud printing device and comprises the following steps:
acquiring printing data sent by a terminal through wireless communication;
judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not;
if not, converting the printing data into target printing data which accords with the type of the target Internet communication protocol;
and sending the target printing data to a target printer for printing through the Internet.
2. The cloud printing method of claim 1, wherein said converting said print data into target print data conforming to said target internet communication protocol type comprises:
establishing a corresponding format conversion rule for each wireless communication mode according to the data format difference between the wireless protocol type corresponding to each wireless communication mode and the target Internet communication protocol type;
determining a target format conversion rule from all format conversion rules according to the wireless protocol type corresponding to the printing data;
and carrying out format conversion and reassembly and subpackage on the printing data by using the target format conversion rule so as to obtain the target printing data conforming to the target Internet communication protocol type.
3. The cloud printing method according to claim 1, wherein the determining whether the wireless protocol type corresponding to the print data is a target internet communication protocol type includes:
carrying out protocol type analysis on the printing data to determine a wireless protocol type applied by the printing data in the wireless communication;
and judging whether the wireless protocol type is a target internet communication protocol type.
4. The cloud printing method according to claim 1, wherein after determining whether the wireless protocol type corresponding to the print data is a target internet communication protocol type, the method further comprises:
and if the wireless protocol type corresponding to the printing data is the target internet communication protocol type, taking the printing data as the target printing data.
5. The cloud printing method according to any one of claims 1 to 4, further comprising:
receiving networking requests sent by other cloud printing devices in a wireless broadcast mode, and forming cloud printing device networking with the other cloud printing devices according to the networking requests;
receiving wireless network access information broadcasted by target cloud printing equipment added to the Internet in the cloud printing equipment networking through network scanning; the wireless network access information is broadcast information after the target cloud printing equipment distribution network is accessed to the Internet;
and accessing the Internet according to the wireless network access information so as to realize network matching networking among different cloud printing devices.
6. The cloud printing method according to any one of claim 5, wherein after the networking with the other cloud printing devices is formed according to the networking request, the method further comprises:
sending the printing data to other cloud printing devices in the cloud printing device networking network through a wireless communication technology so as to realize data sharing among the cloud printing devices in the cloud printing device networking network;
after accessing the internet according to the wireless network access information to realize network matching networking among different cloud printing devices, the method further comprises the following steps:
and sending the printing data to other cloud printing devices in the network matching group network through the Internet so as to realize data sharing among the cloud printing devices in the network matching group network.
7. The cloud printing method of any of claims 1 to 4, wherein said target Internet communication protocol types include IPv4 and IPv 6.
8. A cloud printing apparatus, comprising:
the receiving module is used for acquiring printing data sent by the terminal through wireless communication;
the protocol identification module is used for judging whether the wireless protocol type corresponding to the printing data is a target internet communication protocol type or not;
the protocol conversion module is used for converting the printing data into target printing data which accords with the type of the target Internet communication protocol if the printing data does not accord with the type of the target Internet communication protocol;
and the sending module is used for sending the target printing data to a target printer for printing through the Internet.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the cloud printing method of any of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by the processor, implements the cloud printing method of any of claims 1 to 7.
CN202210452456.6A 2022-04-27 2022-04-27 Cloud printing method, device, equipment and storage medium Pending CN114756181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210452456.6A CN114756181A (en) 2022-04-27 2022-04-27 Cloud printing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210452456.6A CN114756181A (en) 2022-04-27 2022-04-27 Cloud printing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114756181A true CN114756181A (en) 2022-07-15

Family

ID=82333968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210452456.6A Pending CN114756181A (en) 2022-04-27 2022-04-27 Cloud printing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114756181A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104937534A (en) * 2013-01-21 2015-09-23 星精密株式会社 Data transmission system and data transmission program
US20180151033A1 (en) * 2015-05-18 2018-05-31 Ruoyun MARI Device, system and method for issuing electronic receipts
CN113885816A (en) * 2021-09-29 2022-01-04 广东天波信息技术股份有限公司 Method, system, device and storage medium for printing by virtual printing device
CN113986154A (en) * 2021-10-15 2022-01-28 深圳市印点点科技有限公司 Printer connection and file printing method, system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104937534A (en) * 2013-01-21 2015-09-23 星精密株式会社 Data transmission system and data transmission program
US20180151033A1 (en) * 2015-05-18 2018-05-31 Ruoyun MARI Device, system and method for issuing electronic receipts
CN113885816A (en) * 2021-09-29 2022-01-04 广东天波信息技术股份有限公司 Method, system, device and storage medium for printing by virtual printing device
CN113986154A (en) * 2021-10-15 2022-01-28 深圳市印点点科技有限公司 Printer connection and file printing method, system and storage medium

Similar Documents

Publication Publication Date Title
CN111867001B (en) Intelligent equipment batch network distribution method, system and storage medium
US9319945B2 (en) Electronic device and operating method thereof
KR101379150B1 (en) A method for joining one of the zigbee networks after choosing that and apparatuses therefor
CN111867007A (en) Automatic network distribution method and system for intelligent equipment and storage medium
US20060117174A1 (en) Method of auto-configuration and auto-prioritizing for wireless security domain
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
EP2166799A1 (en) Method and apparatus for implementing a virtual network
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN112448873B (en) Binding method and device for equipment and computer readable storage medium
CN112470543B (en) Apparatus and method for performing group communication
CN113572864B (en) Data processing method, network element equipment and readable storage medium
CN105357180A (en) Network system, attack message intercepting method, attack message intercepting apparatus, and device
CN113207095B (en) Apparatus and method for performing group communication
CN111147582B (en) Voice interaction method and device, computer equipment and storage medium
CN104754642A (en) Service query method, device and system and site
CN116566897A (en) Addressing routing method, device, equipment and medium
CN114756181A (en) Cloud printing method, device, equipment and storage medium
CN111050368A (en) Network transmission control method, device, terminal equipment and storage medium
CN114126085B (en) Industrial field bus communication method and device, electronic equipment and storage medium
KR102435756B1 (en) Device group control system and method for controlling the same
CN114501612A (en) Resource allocation method, terminal, network device and storage medium
CN114374649A (en) Hybrid routing method, device and network equipment
CN114793177A (en) Service login method and device and electronic equipment
CN117956545A (en) Wireless networking method, wireless networking device, electronic equipment, storage medium and vehicle
WO2018082691A1 (en) Communication method and apparatus

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