CN116403342B - Bluetooth-based pos terminal printing method - Google Patents

Bluetooth-based pos terminal printing method Download PDF

Info

Publication number
CN116403342B
CN116403342B CN202211590849.XA CN202211590849A CN116403342B CN 116403342 B CN116403342 B CN 116403342B CN 202211590849 A CN202211590849 A CN 202211590849A CN 116403342 B CN116403342 B CN 116403342B
Authority
CN
China
Prior art keywords
printing
information
printing information
app
pos terminal
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
CN202211590849.XA
Other languages
Chinese (zh)
Other versions
CN116403342A (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Xinye Electronic Technology Co Ltd
Original Assignee
Zhuhai Xinye Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Xinye Electronic Technology Co Ltd filed Critical Zhuhai Xinye Electronic Technology Co Ltd
Priority to CN202211590849.XA priority Critical patent/CN116403342B/en
Publication of CN116403342A publication Critical patent/CN116403342A/en
Application granted granted Critical
Publication of CN116403342B publication Critical patent/CN116403342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G5/00Receipt-giving machines
    • 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
    • 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/1222Increasing security of the print job
    • 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/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • 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/1253Configuration of print job parameters, e.g. using UI at the client
    • 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/1275Print workflow management, e.g. defining or changing a workflow, cross publishing
    • 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/1292Mobile client, e.g. wireless printing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a Bluetooth-based pos terminal printing method, which comprises the following steps: receiving a Bluetooth pairing instruction, acquiring corresponding intelligent terminal information in the Bluetooth pairing instruction, and performing identity authentication; after the identity authentication is passed, a data transmission path between the intelligent terminal and an APP in the intelligent terminal is established; collecting first printing information of the outside, encrypting to form second printing information, and transmitting the second printing information to the APP through the BT protocol; and receiving third printing information sent by the APP, decrypting the second printing information by the APP, editing the second printing information to obtain the third printing information, and printing according to the third printing information. Only after the identity authentication is passed, a data transmission path connected with an external intelligent terminal is established, printing is performed according to third printing information confirmed and fed back by the intelligent terminal, communication and an integrated display screen are not needed by the pos terminal through the printing method, printing control on the pos terminal is completed by means of the existing intelligent terminal, popularization efficiency is high, and use flexibility is high.

Description

Bluetooth-based pos terminal printing method
Technical Field
The invention belongs to the technical field of intelligent printing, and particularly relates to a Bluetooth-based pos terminal printing method.
Background
At present, a portable handheld intelligent printer integrating a large screen and printing is available on the market. The intelligent printer has the advantages of long development period, complex assembly, low system configuration, poor software running compatibility, high selling cost and the like, and can be sold only by requiring various complex hard software certificates.
However, when the intelligent printer is sold abroad, in order to be sold in different countries, electromagnetic compatibility authentication, google GMS authentication and the like in different countries are required, so that development difficulty and period are increased, the use flexibility is low, only control instructions of a display screen integrated with the printer can be received, and the popularization efficiency is low.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a Bluetooth-based pos terminal printing method, which is mainly used for solving the problems that an intelligent printer in the prior art is complex in authentication flow, low in popularization efficiency, not supporting to externally receive printing signals and the like.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
the invention provides a Bluetooth-based pos terminal printing method, which is characterized by comprising the following steps of:
receiving a Bluetooth pairing instruction, acquiring corresponding intelligent terminal information in the Bluetooth pairing instruction, and performing identity authentication;
after the identity authentication is passed, a data transmission path between the intelligent terminal and an APP in the intelligent terminal is established;
collecting first printing information of the outside, encrypting to form second printing information, and transmitting the second printing information to the APP through the BT protocol;
and receiving third printing information sent by the APP, wherein the third printing information is configured to be obtained by editing the second printing information after the second printing information is decrypted by the APP, and printing according to the third printing information.
In some embodiments, in collecting the external first print information and encrypting the external first print information to form the second print information, the method includes:
scanning and identifying external code scanning data, and storing generated code scanning printing information in an MCU unit;
and encrypting the code scanning printing information in the MCU unit to obtain second printing information.
In some embodiments, in collecting the external first print information and encrypting the external first print information to form the second print information, the method includes:
sensing and identifying external rfid tag data, and storing the generated NFC printing information in the MCU unit;
and encrypting the NFC printing information in the MCU unit to obtain second printing information.
In some embodiments, sensitive data is identified at the second print information, and encrypted using a symmetric encryption algorithm or an asymmetric encryption algorithm for the sensitive data.
In some embodiments, when transmitting the second print information to the APP application via the BT protocol, comprising:
packaging the second printing information into a first API data packet, and transmitting the first API data packet through an SDK interface;
the third printing information is configured into a second API data packet with an ESC instruction set, which is generated after the APP receives the first API data packet at the application layer and is subjected to secondary development and editing by an operator in the APP.
In some embodiments, after establishing a data transmission path with an APP application in the smart terminal, the method further includes:
and receiving fourth printing information sent by the APP, wherein the fourth printing information is configured to be printing data edited on the APP by an operator.
In some embodiments, when performing identity authentication, the method includes:
presetting a flag bit, wherein the flag bit can be 0 or 1;
the intelligent terminal information is configured to be sent to the cloud service end after the identification code of the pos terminal is input into the intelligent terminal, and the returned verification code is sent;
after receiving the verification code sent by the intelligent terminal, starting authentication;
when the verification code can be matched in a preset code library, the authentication is successful, the mark position is 1, and Bluetooth matching instructions sent by other intelligent terminals are not received any more;
when the verification code is not paired in a preset code library, authentication is unsuccessful, the mark position is 0, and Bluetooth pairing instructions sent by other intelligent terminals are developed and received.
In some embodiments, after the identity authentication is passed, acquiring device information of the intelligent terminal, and establishing a one-to-one data storage library according to the device information, wherein the data storage library is provided with a unique data transmission path, and the data transmission path is used for realizing data reading or writing of the intelligent terminal and the pos terminal to the data storage library.
In some embodiments, a manager access instruction is received, after authentication is passed, read or write rights of all built-in data stores are opened, and management actions on the data stores are accepted, wherein the management actions comprise adding or subtracting device lists and modifying print data.
In some embodiments, the first print information is a photographed image, and the third print information is an image obtained after editing processing by the APP application.
Compared with the prior art, the invention at least comprises the following beneficial effects:
the pos terminal performs identity authentication on the intelligent terminal to be connected in a Bluetooth pairing mode, a data transmission path connected with the external intelligent terminal is established only after the identity authentication is passed, printing is performed according to third printing information confirmed and fed back by the intelligent terminal, communication of the pos terminal is not required, a display screen is not required to be integrated on the pos terminal, printing control of the pos terminal can be completed by means of the intelligent terminal which is widely applied and comprises a smart phone, popularization efficiency is high, and use flexibility is high.
The invention is described in further detail below with reference to the drawings and the detailed description.
Drawings
The invention will be further described with reference to the accompanying drawings, in which embodiments do not constitute any limitation of the invention, and other drawings can be obtained by one of ordinary skill in the art without inventive effort from the following drawings.
Fig. 1 is a flowchart of a next bluetooth-based pos terminal printing method according to an embodiment.
Fig. 2 is a flowchart of another embodiment of a bluetooth-based pos terminal printing method.
Fig. 3 is a flowchart of another embodiment of a next bluetooth based pos terminal printing method.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, when it is described that a specific device is located between a first device and a second device, an intervening device may or may not be present between the specific device and the first device or the second device. When it is described that a particular device is connected to other devices, the particular device may be directly connected to the other devices without intervening devices, or may be directly connected to the other devices without intervening devices.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
The inventors found that:
the traditional handheld pos printer integrates a communication function and a touch screen function, and the two functions need to be subjected to corresponding authentication, such as electromagnetic compatibility authentication, google GMS authentication, network access authentication and the like, so that great difficulty is brought to product research and development, and popularization efficiency is seriously affected. In addition, the traditional handheld pos printer is inflexible to use, one-to-many access permission cannot be realized, and application scenes are limited.
In view of this, in order to solve the above existing problems, referring to fig. 1, the present invention provides a bluetooth-based pos terminal printing method, comprising:
receiving a Bluetooth pairing instruction, acquiring corresponding intelligent terminal information in the Bluetooth pairing instruction, and performing identity authentication;
after the identity authentication is passed, a data transmission path between the intelligent terminal and an APP in the intelligent terminal is established;
collecting first printing information of the outside, encrypting to form second printing information, and transmitting the second printing information to the APP through the BT protocol;
and receiving third printing information sent by the APP, wherein the third printing information is configured to be obtained by editing the second printing information after the second printing information is decrypted by the APP, and printing according to the third printing information.
It should be noted that, the printing method is applied to the pos terminal, because the pos terminal does not have an autonomous communication function and a touch screen function, the pos terminal only has a corresponding printing function, a CCD scanning function and an NFC recognition function, the hardware is simple, and the pos terminal only needs to be connected with an intelligent terminal through Bluetooth, wherein the intelligent terminal can be a smart phone, a tablet computer or other mobile equipment with Bluetooth connection function, the devices are widely applied in different areas, the problem of local internet communication is solved, GMS authentication is well adapted, the pos terminal has a large touch screen, the use is very convenient, no obstacle is caused, the intelligent terminal can be preloaded with a corresponding APP, an operator can click in the APP, and relevant actions such as pairing selection, editing confirmation and the like are completed on the interface of the APP.
After the identity authentication is completed, a data transmission path is established between the pos terminal and the APP in the intelligent terminal, the data transmission path belongs to a point-to-point data transmission path, and when the data transmission is carried out, a secret key can be used for encryption, so that confidentiality is improved.
After the data transmission path is established, the related functions of the pos terminal can be utilized to collect external first printing information, wherein the first printing information can be bar codes, two-dimensional codes, images, rfid labels and the like, the first printing information comprises certain printing information, after the data transmission path is established by the pos terminal, the first printing information is encrypted to form second printing information, then the second printing information is transmitted to the APP through the BT protocol, the corresponding printing information is displayed after decryption is carried out in the APP, an operator can edit and process the corresponding printing information on the basis, such as parameter modification, movement position, addition description and the like, a third printing information is formed after confirmation and is sent to the pos terminal, and the pos terminal executes final printing action according to the third printing information, and can be thermal printing or other printing modes.
Referring to fig. 2, as an embodiment, in collecting first print information of the outside world, and encrypting the first print information to form second print information, the method includes:
the pos terminal is provided with a CCD code scanning module, the CCD code scanning module can be used for scanning and identifying external code scanning data, the code scanning data can be image data, one-dimensional codes and two-dimensional codes, corresponding code scanning printing information is generated after the code scanning data are scanned and identified, and then the code scanning printing information is stored in the MCU unit;
encrypting the code scanning printing information in the MCU unit to obtain second printing information, and directly transmitting the second printing information to the APP through BT.
Referring to fig. 2, as another embodiment, in collecting first print information of the outside world, and encrypting to form second print information, it includes:
the pos terminal is provided with the NFC recognition module, and the NFC reader can recognize the rfid tag and acquire data only by approaching the NFC recognition module to the rfid tag, so that the NFC recognition module can be utilized to sense and recognize the external rfid tag data, namely corresponding recognition printing information is generated, and the recognition printing information is stored in the MCU unit;
encrypting the NFC printing information in the MCU unit to obtain second printing information, and directly transmitting the second printing information to the APP through the BT.
It should be noted that, when storing data, the data is stored in ram of the MCU, in the MCU, when encrypting, sensitive data is also identified from the second print information, for example, sensitive data such as product details, user information, etc. is additionally encrypted, preferably, the sensitive data is encrypted by using a symmetric encryption algorithm or an asymmetric encryption algorithm, for example, DES algorithm, 3DES algorithm, and an asymmetric encryption algorithm, for example, RSA algorithm, knapsack algorithm.
Referring to fig. 2, further, in order to implement more convenient secondary development processing when transmitting the second print information to the APP application through the BT protocol, it further includes:
packaging the second printing information into a first API data packet, and transmitting the first API data packet through an SDK interface; the second printing information comprises scanning code printing information scanned and identified by the CCD scanning code module or identification printing information sensed and identified by the NFC identification module, and the printing information is transmitted to the APP for secondary development and is not printed, so that the second printing information is more convenient to develop secondarily by being packaged into a first API data packet;
after the APP receives the first API data packet, an operator can perform secondary development and editing in the APP, for example, after reading print data, perform corresponding modification, adjust the print position and the like, after the editing confirmation, generate a second API data packet with an ESC instruction set, the second API data packet is equivalent to third print information, and after receiving the third print information, the pos terminal can execute the print action.
As another embodiment, in order to implement a more diversified intelligent printing mode, after establishing a data transmission path with an APP application in the intelligent terminal, the method further includes:
receiving fourth printing information sent by the APP, wherein the fourth printing information is configured as printing data edited by an operator on the APP, the printing mode does not need to use a CCD code scanning module or an NFC recognition module on the pos terminal, and all the edited printing data can be transmitted to the pos terminal in a Bluetooth communication mode by only inputting characters or patterns on the APP or directly calling a fixed template in the APP and adjusting corresponding contents on the fixed template, and the pos terminal receives the fourth printing information to realize printing. The mode is suitable for printing various self-defined small labels in schools or outdoor environments, so that the pos terminal can meet printing requirements wherever the pos terminal is matched with the intelligent terminal for use.
As another implementation mode, the first printing information is a shot image, an image of the outside, such as a photo of an article or a landscape, can be directly collected by utilizing the image recognition function of the CCD code scanning module on the pos terminal, after the image is transmitted to the APP, an operator edits the image on the basis of the image through the APP, and then third printing information is obtained, such as labeling a name on the first printing information or labeling time and the like, and after confirmation, the image is transmitted to the pos terminal for printing.
Referring to fig. 3, in this embodiment, when identity authentication is performed, the method includes:
presetting a flag bit, wherein the flag bit can be 0 or 1;
the intelligent terminal information is configured to be sent to the cloud service end after the identification code of the pos terminal is input into the intelligent terminal, and the returned verification code is sent;
after receiving the verification code sent by the intelligent terminal, starting authentication;
when the verification code can be matched in a preset code library, the authentication is successful, the mark position is 1, and Bluetooth matching instructions sent by other intelligent terminals are not received any more;
when the verification code is not paired in a preset code library, authentication is unsuccessful, the mark position is 0, and Bluetooth pairing instructions sent by other intelligent terminals are developed and received.
Because the pos terminal itself does not have communication networking capability, a code library can be preset at first when leaving a factory, a plurality of verification code information exists in the code library, unique identification codes are printed on a body, a specification or a packaging box of the pos terminal, when the intelligent terminal needs to be connected with the pos terminal, the intelligent terminal opens a Bluetooth connection function, inputs the identification codes in an APP application, clicks and sends the identification codes to a cloud service end, meanwhile, equipment information, login time and the like of the intelligent terminal are sent to the cloud service end, the cloud service end stores and records, a database is established for the pos terminal of the identification codes, logged-in equipment information and time are recorded, then a verification code is sent to the intelligent terminal, the intelligent terminal sends the verification code to the pos terminal in the APP application, the pos terminal can pair in the preset code library, and resets a flag bit according to a pairing authentication result, the pos terminal can only allow one intelligent terminal to be accessed at the same moment, and therefore whether the pos terminal sends other Bluetooth pairing instructions of the intelligent terminal or not is controlled through setting the flag bit.
After the identity authentication is passed, acquiring device information of the intelligent terminals, and establishing a one-to-one corresponding data storage library according to the device information, namely, locally establishing an independent data storage library for each intelligent terminal which is successfully paired, wherein each data storage library is provided with a unique data transmission path, the data transmission paths are used for realizing data reading or writing of the intelligent terminals and the pos terminals into the data storage libraries, and the pos terminals can be paired with different intelligent terminals successively to authenticate, so that confidentiality among data generated when the different intelligent terminals are connected is improved, and a data barrier is formed.
In addition, the pos terminal also supports a manager mode, a manager sends a manager access instruction to the pos terminal by using a special intelligent terminal and a special verification code, the pos terminal receives the manager access instruction and then performs authentication, and after the manager matches the special verification code and the equipment information stored in a preset code library, the manager can execute management actions on the data storage library through the special intelligent terminal by opening the read or write permission of all the built-in data storage libraries, wherein the management actions comprise adding or reducing equipment lists, modifying print data and the like, and the pos terminal opens a manager interface, so that the manager can conveniently manage the pos terminal, clear and modify the print data and adjust the equipment lists.
In summary, compared with the prior art, the bluetooth-based pos terminal printing method provided by the embodiment of the invention has the advantages that the pos terminal performs identity authentication on the intelligent terminal to be connected in a bluetooth pairing mode, establishes a data transmission path connected with an external intelligent terminal only after the identity authentication is passed, and prints according to the third printing information confirmed and fed back by the intelligent terminal, and by the printing method, the pos terminal does not need to communicate, and a display screen is not required to be integrated on the pos terminal, so that the printing control on the pos terminal can be finished by virtue of the intelligent terminal which is widely applied and comprises a smart phone, the popularization efficiency is high, and the use flexibility is high.
The above embodiments are only preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, but any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention are intended to be within the scope of the present invention as claimed.

Claims (8)

1. The Bluetooth-based pos terminal printing method is characterized by comprising the following steps of:
receiving a Bluetooth pairing instruction, acquiring corresponding intelligent terminal information in the Bluetooth pairing instruction, and performing identity authentication;
after the identity authentication is passed, a data transmission path between the intelligent terminal and an APP in the intelligent terminal is established;
collecting external first printing information, encrypting to form second printing information, and transmitting the second printing information to an APP (application) through a BT (web browser) protocol;
receiving third printing information sent by the APP, and printing according to the third printing information, wherein the third printing information is configured to be obtained by editing after the second printing information is decrypted by the APP;
when identity authentication is performed, the method comprises the following steps:
presetting a flag bit, wherein the flag bit is 0 or 1;
the intelligent terminal information is configured to be sent to the cloud server after the identification code of the pos terminal is input into the intelligent terminal, and the verification code is returned by the cloud server;
after receiving the verification code sent by the intelligent terminal, starting authentication;
when the verification code can be matched in a preset code library, the authentication is successful, the mark position is 1, and Bluetooth matching instructions sent by other intelligent terminals are not received any more;
when the verification code is not paired in a preset code library, authentication is unsuccessful, the mark position is 0, and Bluetooth pairing instructions sent by other intelligent terminals are continuously received;
after the identity authentication is passed, acquiring equipment information of the intelligent terminal, and establishing a one-to-one data storage library according to the equipment information, wherein the data storage library only uses the data transmission path to realize data reading or writing of the intelligent terminal and the pos terminal to the data storage library.
2. The bluetooth based pos terminal printing method as defined in claim 1, wherein in collecting first print information of the outside world, forming second print information by encryption, comprising:
scanning and identifying external code scanning data, and storing generated code scanning printing information in an MCU unit;
and encrypting the code scanning printing information in the MCU unit to obtain second printing information.
3. The bluetooth based pos terminal printing method as defined in claim 1, wherein in collecting first print information of the outside world, forming second print information by encryption, comprising:
sensing and identifying external rfid tag data, and storing the generated NFC printing information in the MCU unit;
and encrypting the NFC printing information in the MCU unit to obtain second printing information.
4. The bluetooth based pos terminal printing method as defined in claim 1, wherein the sensitive data is identified from the second print information, and is encrypted using a symmetric encryption algorithm or an asymmetric encryption algorithm with respect to the sensitive data.
5. The bluetooth based pos terminal printing method as defined in claim 1, wherein when transmitting the second printing information to the APP application through the BT protocol, comprising:
packaging the second printing information into a first API data packet, and transmitting the first API data packet through an SDK interface;
the third printing information is configured into a second API data packet with an ESC instruction set, which is generated after the APP receives the first API data packet at the application layer and is subjected to secondary development and editing by an operator in the APP.
6. The bluetooth based pos terminal printing method as defined in claim 1, further comprising, after establishing a data transmission path with an APP application in the smart terminal:
and receiving fourth printing information sent by the APP, wherein the fourth printing information is configured to be printing data edited on the APP by an operator.
7. The bluetooth based pos terminal printing method as defined in claim 1, wherein a manager access command is received, after authentication is passed, read or write rights of all built-in data repositories are opened, and management actions on the data repositories are accepted, including adding or subtracting device lists, modifying print data.
8. The bluetooth based pos terminal printing method as defined in claim 1, wherein the first printing information is a photographed image, and the third printing information is an image obtained after an APP application editing process.
CN202211590849.XA 2022-12-12 2022-12-12 Bluetooth-based pos terminal printing method Active CN116403342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211590849.XA CN116403342B (en) 2022-12-12 2022-12-12 Bluetooth-based pos terminal printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211590849.XA CN116403342B (en) 2022-12-12 2022-12-12 Bluetooth-based pos terminal printing method

Publications (2)

Publication Number Publication Date
CN116403342A CN116403342A (en) 2023-07-07
CN116403342B true CN116403342B (en) 2023-11-21

Family

ID=87009170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211590849.XA Active CN116403342B (en) 2022-12-12 2022-12-12 Bluetooth-based pos terminal printing method

Country Status (1)

Country Link
CN (1) CN116403342B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954530B (en) * 2023-09-19 2023-12-22 珠海芯烨电子科技有限公司 Printer data processing method and server

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002305521A (en) * 2001-04-04 2002-10-18 Seiko Epson Corp Device compatible with wireless communication, information terminal compatible with wireless communication, and communication control program
CN103257835A (en) * 2013-04-12 2013-08-21 博韩伟业(北京)科技有限公司 Printing system with Bluetooth function and working method of printing system with Bluetooth function
CN106126136A (en) * 2016-07-05 2016-11-16 孔尧 Method of printing and device
CN106250072A (en) * 2016-07-26 2016-12-21 北京明朝万达科技股份有限公司 A kind of mobile terminal safety Method of printing and system
CN106354448A (en) * 2016-09-23 2017-01-25 南京信息工程大学 Bluetooth wireless printing terminal, system and method based on Raspberry Pi
KR101725314B1 (en) * 2016-11-16 2017-04-10 망고슬래브 주식회사 Printer for printing a repositionable note and printer system thereof
CN107958276A (en) * 2017-11-28 2018-04-24 国家电网公司 Method of printing for the RFID tag in power communication cable-management
CN107977175A (en) * 2017-11-06 2018-05-01 厦门盈趣科技股份有限公司 A kind of wireless printer and its control method of information protection mechanism
CN109375883A (en) * 2018-08-15 2019-02-22 南京华讯方舟通信设备有限公司 A kind of safe printing method and system based on biological characteristic
CN109426460A (en) * 2017-09-05 2019-03-05 北京立思辰计算机技术有限公司 A kind of encrypting and decrypting method for the transmission of network printing data
CN110221789A (en) * 2019-04-30 2019-09-10 小濠(深圳)科技有限公司 A kind of Method of printing, device, user terminal and computer readable storage medium
CN110989945A (en) * 2019-12-02 2020-04-10 暨南大学 3D remote printing control system and control method based on Internet of things

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8274669B2 (en) * 2007-07-31 2012-09-25 Ricoh Company, Ltd. Image forming apparatus
KR20140079195A (en) * 2012-12-18 2014-06-26 삼성전자주식회사 Image forming apparatus supporting function of near field communication (NFC) and method for performing authentication of NFC device thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002305521A (en) * 2001-04-04 2002-10-18 Seiko Epson Corp Device compatible with wireless communication, information terminal compatible with wireless communication, and communication control program
CN103257835A (en) * 2013-04-12 2013-08-21 博韩伟业(北京)科技有限公司 Printing system with Bluetooth function and working method of printing system with Bluetooth function
CN106126136A (en) * 2016-07-05 2016-11-16 孔尧 Method of printing and device
CN106250072A (en) * 2016-07-26 2016-12-21 北京明朝万达科技股份有限公司 A kind of mobile terminal safety Method of printing and system
CN106354448A (en) * 2016-09-23 2017-01-25 南京信息工程大学 Bluetooth wireless printing terminal, system and method based on Raspberry Pi
KR101725314B1 (en) * 2016-11-16 2017-04-10 망고슬래브 주식회사 Printer for printing a repositionable note and printer system thereof
CN109426460A (en) * 2017-09-05 2019-03-05 北京立思辰计算机技术有限公司 A kind of encrypting and decrypting method for the transmission of network printing data
CN107977175A (en) * 2017-11-06 2018-05-01 厦门盈趣科技股份有限公司 A kind of wireless printer and its control method of information protection mechanism
CN107958276A (en) * 2017-11-28 2018-04-24 国家电网公司 Method of printing for the RFID tag in power communication cable-management
CN109375883A (en) * 2018-08-15 2019-02-22 南京华讯方舟通信设备有限公司 A kind of safe printing method and system based on biological characteristic
CN110221789A (en) * 2019-04-30 2019-09-10 小濠(深圳)科技有限公司 A kind of Method of printing, device, user terminal and computer readable storage medium
CN110989945A (en) * 2019-12-02 2020-04-10 暨南大学 3D remote printing control system and control method based on Internet of things

Also Published As

Publication number Publication date
CN116403342A (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN109548018B (en) Wireless network access method, device, equipment and system
CN102404025B (en) A kind of terminal and the method processing payment transaction
US6311042B1 (en) Apparatus and methods for imaging written information with a mobile telephone set
CN107483715A (en) The method and system of terminal and equipment communication, terminal, storage medium
EP1733581B1 (en) Subscriber identity module
CN106572279A (en) Image forming system and program
KR20140079195A (en) Image forming apparatus supporting function of near field communication (NFC) and method for performing authentication of NFC device thereof
JP2007213467A (en) Conference support apparatus
KR20140088734A (en) Image forming apparatus supporting function of near field communication (NFC) and method for performing setting of image job using NFC device thereof
CN107506635B (en) Online function opening method for identity card, mobile phone, trusted terminal and verification server
CN116403342B (en) Bluetooth-based pos terminal printing method
CA3120871A1 (en) Digital identity management device
CN108022349A (en) Information input method, equipment, smart lock and storage medium
CN108696361A (en) Configuration method, generation method and the device of smart card
CN106203556B (en) A kind of method and device reading electronic labeling information
KR101321875B1 (en) System of NFC secure print and method thereof
KR101867450B1 (en) Mobile terminal, server, payment systetm and method for payment based on identification code
KR100601854B1 (en) System for Providing of Exhibition Information Using RF-ID and Mobile Communication Terminal therefor
CN105490708A (en) Method and device for reading and writing smart card
KR20050111786A (en) Information processing system, information processing device, method, and program
JP6169868B2 (en) Wireless communication apparatus, communication system, and communication method
KR102172855B1 (en) Method for Providing Server Type One Time Code for Medium Separation by using User’s Handheld type Medium
KR20200016111A (en) Audio information collecting apparatus and control method thereof
KR100589961B1 (en) Radio Frequency Identification System
KR20120107043A (en) Method and system for providing non-facing certification by using camera, handheld 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