CN107578583B - Setting method and system of payment terminal and terminal equipment - Google Patents

Setting method and system of payment terminal and terminal equipment Download PDF

Info

Publication number
CN107578583B
CN107578583B CN201710772984.9A CN201710772984A CN107578583B CN 107578583 B CN107578583 B CN 107578583B CN 201710772984 A CN201710772984 A CN 201710772984A CN 107578583 B CN107578583 B CN 107578583B
Authority
CN
China
Prior art keywords
bar code
setting
payment terminal
preset
decoding library
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
CN201710772984.9A
Other languages
Chinese (zh)
Other versions
CN107578583A (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.)
PAX Computer Technology Shenzhen Co Ltd
Original Assignee
PAX Computer Technology Shenzhen 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 PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN201710772984.9A priority Critical patent/CN107578583B/en
Publication of CN107578583A publication Critical patent/CN107578583A/en
Application granted granted Critical
Publication of CN107578583B publication Critical patent/CN107578583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention is suitable for the technical field of financial payment, and provides a setting method and a setting system of a payment terminal and terminal equipment, wherein the setting method comprises the following steps: acquiring bar code information, and judging whether the bar code information comes from a preset bar code or not; when the bar code information comes from the preset bar code, determining a setting type according to the bar code information, wherein the setting type comprises the following steps: switching a decoding library and setting parameters; and setting the payment terminal according to the determined setting type. When the payment terminal switches the decoding library or resets the parameters, the payment terminal can be directly set without quitting the payment application program and inputting the setting password after judging that the acquired bar code information comes from the preset bar code, the running state of the current application is not changed, and the setting process of the payment terminal is greatly simplified.

Description

Setting method and system of payment terminal and terminal equipment
Technical Field
The invention belongs to the field of financial payment, and particularly relates to a setting method and system of a payment terminal and terminal equipment.
Background
With the popularization of two-dimensional code payment in China, more and more payment terminals (POS) support a payment mode of two-dimensional code scanning. At present, when a POS machine scans bar codes such as two-dimensional codes, the bar codes can be scanned and further paid through a bar code decoding library and a camera. When scanning is completed using the barcode decoding library and the camera, the barcode library is usually set, that is, system settings are changed. The POS machine mostly sets a bar code library on a Terminal Manager (TM), the configuration TM needs to quit the application first, then inputs a Terminal management password and enters a menu for setting, if the current POS machine executes a code scanning payment task and needs to set a payment Terminal, the current POS machine needs to quit the currently executed code scanning task and enters the TM, and the POS machine can enter the setting menu after inputting the password to the TM, so that the setting process is completed. This process is cumbersome to operate, takes a lot of time and can affect the normal processing logic, which is not good for the user experience.
Disclosure of Invention
In view of this, embodiments of the present invention provide a setting method and system for a payment terminal, and a terminal device, so as to solve the problems that in the prior art, a POS machine is cumbersome to operate in a setting change process, and cannot change settings quickly.
The first aspect of the embodiments of the present invention provides a method for setting a payment terminal, where the method for setting a payment terminal includes:
Acquiring bar code information, and judging whether the bar code information comes from a preset bar code or not;
When the bar code information comes from the preset bar code, determining a setting type according to the bar code information, wherein the setting type comprises the following steps: switching a decoding library and setting parameters;
And setting the payment terminal according to the determined setting type.
A second aspect of an embodiment of the present invention provides a setting system of a payment terminal, where the setting system of the payment terminal includes:
The acquisition unit is used for acquiring bar code information and judging whether the bar code information is from a preset bar code or not;
A setting type determining unit, configured to determine a setting type according to the barcode information when the barcode information is from the preset barcode, where the setting type includes: switching a decoding library and setting parameters;
And the setting unit is used for setting the payment terminal according to the determined setting type.
A third aspect of embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the steps of the method according to any one of the setting methods of the payment terminal.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of any one of the methods of setting up a payment terminal.
In the embodiment provided by the application, the payment terminal can directly acquire the bar code information and judge whether the bar code information is from a preset bar code; and when the bar code information is from the preset bar code, determining a setting type according to the bar code information, and then setting a payment terminal according to the determined setting type. When the payment terminal switches the decoding library or resets the parameters, the payment terminal can be directly set without quitting the payment application program and inputting the setting password after judging that the acquired bar code information comes from the preset bar code, the running state of the current application is not changed, and the setting process of the payment terminal is greatly simplified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a setting method of a payment terminal according to an embodiment of the present invention;
Fig. 2 is a block diagram of a configuration system of a payment terminal according to a second embodiment of the present invention;
Fig. 3 is a schematic diagram of a terminal device according to a third embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
Fig. 1 shows a schematic implementation process diagram of a setting method of a payment terminal provided in an embodiment of the present application, which is detailed as follows:
Step S11, acquiring bar code information, and judging whether the bar code information is from a preset bar code;
In the embodiment provided by the application, the payment terminal generally and directly enters the application program after starting up, the started application program is in a state of waiting for inputting a to-be-processed event most of the time, that is, generally waiting for executing a normal payment task, at this time, if bar code parameters of the payment terminal need to be set (for example, setting a bar code type which the payment terminal supports scanning, switching parameters of different decoding libraries, and the like), the application program of the payment terminal executes a code scanning program to acquire bar code information in the scanned bar code; wherein the barcode comprises a two-dimensional code.
The payment terminal analyzes and judges the acquired bar code information to determine whether the bar code information is from a preset bar code, wherein the preset bar code is used for starting a setting function of the payment terminal and determining a setting type when the payment terminal is set.
Preferably, the acquiring the barcode information and determining whether the barcode information is from a preset barcode includes:
Analyzing and acquiring a character string prefix in the bar code information;
And when the prefix of the character string is consistent with a switching function in the preset bar code, judging that the bar code information comes from the preset bar code.
Specifically, the preset bar code includes a switching function, and the switching function is used for distinguishing whether the bar code scanned by the payment terminal is a bar code for executing a payment program or a bar code for starting a setting function of the payment terminal.
After acquiring bar code information, the payment terminal analyzes and acquires a character string contained in the bar code information, calls a prefix of the character string, matches the prefix of the character string with a switching function in a preset bar code, and if the prefix of the character string is consistent with the switching function in the preset bar code, judges that the bar code information comes from the preset bar code.
For example, a switching function is set in the preset barcode, a character string of the function includes "# # pax-technology-limited-barcode _ cipher _ chip", the payment terminal matches a prefix of the character string in the acquired barcode information with "# # pax-technology-limited-barcode _ cipher _ chip", and when the prefix of the character string matches the prefix of the character string in the acquired barcode information, it is determined that the barcode information is from the preset barcode, and the payment terminal needs to turn on a setting function.
Optionally, when the prefix of the character string in the barcode information is inconsistent with the switching function, it is determined that the payment terminal does not need to be reset, and at this time, the payment terminal directly executes a payment program according to the barcode information.
Step S12, when the bar code information comes from the preset bar code, determining a setting type according to the bar code information, wherein the setting type comprises: switching a decoding library and setting parameters;
Preferably, when the barcode information is from the preset barcode, determining a setting type according to the barcode information includes:
When the bar code information comes from the preset bar code, acquiring a value of a character string in the bar code information;
And determining the setting type according to the value of the character string.
In the embodiment provided by the application, when the bar code information is determined to come from the preset bar code, the setting type to be carried out by the payment terminal is determined according to the bar code information, if the payment terminal needs to switch a decoding library or needs to carry out parameter setting, update original parameters of a system and the like, when the setting type is obtained, the character string in the bar code information can be called to determine the subsequent value of the character string, different character string values represent different setting types, and the value size of the character string and the corresponding setting type can be set in advance by a user without limitation.
For example, when the prefix of the character string in the barcode information is consistent with "# # pax-technology-limited-barcode _ cipher _ chip", analyzing a subsequent value of "barcode _ cipher _ chip", and according to a preset setting of a user, if the subsequent value of "barcode _ cipher _ chip" is "00", indicating that the payment terminal needs to perform setting of a decoding library, and if the subsequent value of "00" is "# #", indicating that the payment terminal only needs to perform switching of the decoding library, and does not need to set related parameters. If the subsequent value of "barcode _ cipher _ chip" is "00-code" 01 ", it indicates that the payment terminal needs to set the barcode type numbered" 01 "in the decoding library numbered" 00 ".
Preferably, before the determining the setting type according to the barcode information, the method includes:
And acquiring an application scene of the bar code corresponding to the bar code information, and determining the type of the bar code corresponding to the application scene.
Specifically, an opposite relationship exists between the decoding time of the decoding library corresponding to the payment terminal and the number of types supported by the decoding library, and the more types are supported, the longer the decoding time is, and the worse the user experience is; similarly, if only the decoding time is concerned and the barcode types supported by the payment terminal are limited, the user experience may be poor. Therefore, different application scenes generally have a determined barcode type, before a setting type is determined according to the barcode information, a current application scene can be determined according to the barcode information (for example, the current application scene can be determined according to a value of a character string in the barcode information, and the like), and then the barcode type in the application scene is determined according to the application scene, so as to determine a decoding library corresponding to the barcode type.
And step S13, setting the payment terminal according to the determined setting type.
In the embodiment provided by the application, the payment terminal can perform system setting according to the determined setting type, and if the determined setting type is decoding library switching, the payment terminal is switched to a corresponding decoding library; and when the determined setting type is parameter setting, updating the parameters of the payment terminal according to a preset setting rule.
Preferably, the setting of the payment terminal according to the determined setting type includes:
When the setting type is decoding library switching, acquiring a decoding library corresponding to the preset bar code, and switching the current decoding library to the decoding library corresponding to the preset bar code;
And when the setting type is parameter setting, acquiring parameters corresponding to the preset bar code, and updating the parameters of the payment terminal according to the acquired parameters.
Specifically, when the payment terminal is judged to be switched to the decoding library according to the determined setting type, a subsequent value of the character string corresponding to the switching function of the preset bar code is obtained, the corresponding decoding library is determined according to the subsequent value of the character string, then the decoding library of the payment terminal is switched to the decoding library corresponding to the subsequent value of the character string, and the switching of the decoding library of the payment terminal is completed.
And when the parameter setting of the payment terminal is judged to be carried out according to the determined setting type, acquiring a decoding library corresponding to the character string in the switching function of the preset bar code at present, determining the parameter to be reset according to the subsequent value of the character string, and updating the parameter of the corresponding decoding library of the payment terminal according to the parameter.
Preferably, after the setting of the payment terminal according to the determined setting type, the method includes:
And after the payment terminal is successfully set, sending a successful setting prompt in a short ringing mode.
Specifically, after resetting the payment terminal according to the determined setting type, if the setting is successful, the buzzer of the payment terminal transmits a successful setting signal in the form of a short beep, which may last twice, each for 100 ms.
Optionally, after the payment terminal is successfully set, the system information of the set payment terminal is saved, so that the payment terminal can be set again later.
Alternatively, if the setting is not successful at the time of setting the payment terminal, the buzzer sounds for two seconds once with a long sound, and all the system parameters in the payment terminal are kept unchanged before the setting.
In the embodiment provided by the application, the payment terminal can directly acquire the bar code information and judge whether the bar code information is from a preset bar code; and when the bar code information is from the preset bar code, determining a setting type according to the bar code information, and then setting a payment terminal according to the determined setting type. When the payment terminal switches the decoding library or resets the parameters, the payment terminal does not need to quit the payment application program and input the setting password, when the acquired bar code information is judged to come from the preset bar code, the payment terminal can be directly set, the running state of the current application is not changed, and the setting process of the payment terminal is greatly simplified.
Example two:
Corresponding to the setting method of the payment terminal described in the above embodiment, fig. 2 shows a structural block diagram of a setting system of the payment terminal provided in the embodiment of the present invention, and for convenience of explanation, only the part related to the embodiment of the present invention is shown.
Referring to fig. 2, the setup system of the payment terminal includes: an obtaining unit 21, a setting type determining unit 22, a setting unit 23, wherein:
The acquiring unit 21 is configured to acquire barcode information and determine whether the barcode information is from a preset barcode;
In the embodiment provided by the application, the payment terminal generally and directly enters the application program after starting up, the started application program is in a state of waiting for inputting a to-be-processed event most of the time, that is, generally waiting for executing a normal payment task, at this time, if bar code parameters of the payment terminal need to be set (for example, setting a bar code type which the payment terminal supports scanning, switching parameters of different decoding libraries, and the like), the application program of the payment terminal executes a code scanning program to acquire bar code information in the scanned bar code; wherein the barcode comprises a two-dimensional code.
The payment terminal analyzes and judges the acquired bar code information to determine whether the bar code information is from a preset bar code, wherein the preset bar code is used for starting a setting function of the payment terminal and determining a setting type when the payment terminal is set.
Preferably, the obtaining unit 21 includes:
The analysis module is used for analyzing and acquiring the character string prefix in the bar code information;
And the judging module is used for judging that the bar code information comes from the preset bar code when the prefix of the character string is consistent with the switching function in the preset bar code.
Specifically, the preset bar code includes a switching function, and the switching function is used for distinguishing whether the bar code scanned by the payment terminal is a bar code for executing a payment program or a bar code for starting a setting function of the payment terminal.
After acquiring bar code information, the payment terminal analyzes and acquires a character string contained in the bar code information, calls a prefix of the character string, matches the prefix of the character string with a switching function in a preset bar code, and if the prefix of the character string is consistent with the switching function in the preset bar code, judges that the bar code information comes from the preset bar code.
A setting type determining unit 22, configured to determine a setting type according to the barcode information when the barcode information is from the preset barcode, where the setting type includes: switching a decoding library and setting parameters;
The setting type determination unit 22 includes:
The value obtaining module is used for obtaining the value of the character string in the bar code information when the bar code information comes from the preset bar code;
And the determining module is used for determining the setting type according to the value of the character string.
In the embodiment provided by the application, when the bar code information is determined to come from the preset bar code, the setting type to be carried out by the payment terminal is determined according to the bar code information, if the payment terminal needs to switch a decoding library or needs to carry out parameter setting, update original parameters of a system and the like, when the setting type is obtained, the character string in the bar code information can be called to determine the subsequent value of the character string, different character string values represent different setting types, and the value size of the character string and the corresponding setting type can be set in advance by a user without limitation.
Preferably, the setting system of the payment terminal further includes:
And the application scene acquisition unit is used for acquiring the application scene of the bar code corresponding to the bar code information and determining the type of the bar code corresponding to the application scene.
Specifically, an opposite relationship exists between the decoding time of the decoding library corresponding to the payment terminal and the number of types supported by the decoding library, and the more types are supported, the longer the decoding time is, and the worse the user experience is; similarly, if only the decoding time is concerned and the barcode types supported by the payment terminal are limited, the user experience may be poor. Therefore, different application scenes generally have a determined barcode type, before a setting type is determined according to the barcode information, a current application scene can be determined according to the barcode information (for example, the current application scene can be determined according to a value of a character string in the barcode information, and the like), and then the barcode type in the application scene is determined according to the application scene, so as to determine a decoding library corresponding to the barcode type.
A setting unit 23 for setting the payment terminal according to the determined setting type.
In the embodiment provided by the application, the payment terminal can perform system setting according to the determined setting type, and if the determined setting type is decoding library switching, the payment terminal is switched to a corresponding decoding library; and when the determined setting type is parameter setting, updating the parameters of the payment terminal according to a preset setting rule.
Preferably, the setting unit 23 includes:
The first setting module is used for acquiring a decoding library corresponding to the preset bar code and switching the current decoding library to the decoding library corresponding to the preset bar code when the setting type is decoding library switching;
And the second setting module is used for acquiring the parameters corresponding to the preset bar codes when the setting type is parameter setting, and updating the parameters of the payment terminal according to the acquired parameters.
Specifically, when the payment terminal is judged to be switched to the decoding library according to the determined setting type, a subsequent value of the character string corresponding to the switching function of the preset bar code is obtained, the corresponding decoding library is determined according to the subsequent value of the character string, then the decoding library of the payment terminal is switched to the decoding library corresponding to the subsequent value of the character string, and the switching of the decoding library of the payment terminal is completed.
And when the parameter setting of the payment terminal is judged to be carried out according to the determined setting type, acquiring a decoding library corresponding to the character string in the switching function of the preset bar code at present, determining the parameter to be reset according to the subsequent value of the character string, and updating the parameter of the corresponding decoding library of the payment terminal according to the parameter.
Preferably, the setting system of the payment terminal further includes:
And the prompt unit is used for sending a successful setting prompt in a short ringing form after the payment terminal is successfully set.
Specifically, after resetting the payment terminal according to the determined setting type, if the setting is successful, the buzzer of the payment terminal transmits a successful setting signal in the form of a short beep, which may last twice, each for 100 ms.
Optionally, after the payment terminal is successfully set, the system information of the set payment terminal is saved, so that the payment terminal can be set again later.
Alternatively, if the setting is not successful at the time of setting the payment terminal, the buzzer sounds for two seconds once with a long sound, and all the system parameters in the payment terminal are kept unchanged before the setting.
In the embodiment provided by the application, the payment terminal can directly acquire the bar code information and judge whether the bar code information is from a preset bar code; and when the bar code information is from the preset bar code, determining a setting type according to the bar code information, and then setting a payment terminal according to the determined setting type. When the payment terminal switches the decoding library or resets the parameters, the payment terminal does not need to quit the payment application program and input the setting password, when the acquired bar code information is judged to come from the preset bar code, the payment terminal can be directly set, the running state of the current application is not changed, and the setting process of the payment terminal is greatly simplified.
Example three:
Fig. 3 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 3, the terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the above-described respective payment terminal setup method embodiments, such as the steps S11 to S13 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 21 to 23 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into an acquisition unit, a setting type determination unit, and a setting unit, and the specific functions of each unit are as follows:
The acquisition unit is used for acquiring bar code information and judging whether the bar code information is from a preset bar code or not;
A setting type determining unit, configured to determine a setting type according to the barcode information when the barcode information is from the preset barcode, where the setting type includes: switching a decoding library and setting parameters;
And the setting unit is used for setting the payment terminal according to the determined setting type.
Further, the acquiring unit includes:
The analysis module is used for analyzing and acquiring the character string prefix in the bar code information;
And the judging module is used for judging that the bar code information comes from the preset bar code when the prefix of the character string is consistent with the switching function in the preset bar code.
Further, the setting type determination unit includes:
The value obtaining module is used for obtaining the value of the character string in the bar code information when the bar code information comes from the preset bar code;
And the determining module is used for determining the setting type according to the value of the character string.
Further, the setting unit includes:
The first setting module is used for acquiring a decoding library corresponding to the preset bar code and switching the current decoding library to the decoding library corresponding to the preset bar code when the setting type is decoding library switching;
And the second setting module is used for acquiring the parameters corresponding to the preset bar codes when the setting type is parameter setting, and updating the parameters of the payment terminal according to the acquired parameters.
Further, the setting system of the payment terminal further includes:
And the application scene acquisition unit is used for acquiring the application scene of the bar code corresponding to the bar code information and determining the type of the bar code corresponding to the application scene.
Further, the setting system of the payment terminal further includes:
And the prompt unit is used for sending a successful setting prompt in a short ringing form after the payment terminal is successfully set.
The terminal device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 30, a memory 31. It will be understood by those skilled in the art that fig. 3 is only an example of the terminal device 3, and does not constitute a limitation to the terminal device 3, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing the computer program and other programs and data required by the terminal device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A setting method of a payment terminal is characterized in that the setting method of the payment terminal comprises the following steps:
Acquiring bar code information, and judging whether the bar code information comes from a preset bar code or not;
When the bar code information comes from the preset bar code, determining a setting type according to the bar code information, wherein the setting type comprises the following steps: switching a decoding library and setting parameters;
Setting a payment terminal according to the determined setting type;
Before the setting type is determined according to the bar code information, the method comprises the following steps:
Acquiring an application scene of a bar code corresponding to the bar code information, and determining a bar code type corresponding to the application scene so as to determine a decoding library corresponding to the bar code type according to the bar code type;
The setting of the payment terminal according to the determined setting type includes:
When the setting type is decoding library switching, acquiring a decoding library corresponding to the preset bar code, and switching the current decoding library to the decoding library corresponding to the preset bar code, specifically comprising: and acquiring subsequent values of the corresponding character strings in the switching function of the preset bar code, determining a corresponding decoding library according to the subsequent values of the character strings, and switching the decoding library of the payment terminal to the decoding library corresponding to the subsequent values of the character strings.
2. The setting method of the payment terminal according to claim 1, wherein the obtaining the barcode information and determining whether the barcode information is from a preset barcode comprises:
Analyzing and acquiring a character string prefix in the bar code information;
And when the prefix of the character string is consistent with a switching function in the preset bar code, judging that the bar code information comes from the preset bar code.
3. The setting method of the payment terminal according to claim 1, wherein the determining the setting type according to the barcode information when the barcode information is from the preset barcode comprises:
When the bar code information comes from the preset bar code, acquiring a value of a character string in the bar code information;
And determining the setting type according to the value of the character string.
4. The setting method of a payment terminal according to claim 1, wherein the setting of the payment terminal according to the determined setting type includes:
And when the setting type is parameter setting, acquiring parameters corresponding to the preset bar code, and updating the parameters of the payment terminal according to the acquired parameters.
5. A setting system of a payment terminal, the setting system of the payment terminal comprising:
The acquisition unit is used for acquiring bar code information and judging whether the bar code information is from a preset bar code or not;
A setting type determining unit, configured to determine a setting type according to the barcode information when the barcode information is from the preset barcode, where the setting type includes: switching a decoding library and setting parameters;
The setting unit is used for setting the payment terminal according to the determined setting type;
The application scene acquisition unit is used for acquiring an application scene of a bar code corresponding to the bar code information and determining a bar code type corresponding to the application scene so as to determine a decoding library corresponding to the bar code type according to the bar code type;
Wherein, the setting of the payment terminal according to the determined setting type includes:
When the setting type is decoding library switching, acquiring a decoding library corresponding to the preset bar code, and switching the current decoding library to the decoding library corresponding to the preset bar code, specifically comprising: and acquiring subsequent values of the corresponding character strings in the switching function of the preset bar code, determining a corresponding decoding library according to the subsequent values of the character strings, and switching the decoding library of the payment terminal to the decoding library corresponding to the subsequent values of the character strings.
6. The setting system of a payment terminal as recited in claim 5, wherein the obtaining unit includes:
The analysis module is used for analyzing and acquiring the character string prefix in the bar code information;
And the judging module is used for judging that the bar code information comes from the preset bar code when the prefix of the character string is consistent with the switching function in the preset bar code.
7. The setting system of a payment terminal as claimed in claim 5, wherein the setting type determination unit includes:
The value obtaining module is used for obtaining the value of the character string in the bar code information when the bar code information comes from the preset bar code;
And the determining module is used for determining the setting type according to the value of the character string.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201710772984.9A 2017-08-31 2017-08-31 Setting method and system of payment terminal and terminal equipment Active CN107578583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710772984.9A CN107578583B (en) 2017-08-31 2017-08-31 Setting method and system of payment terminal and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710772984.9A CN107578583B (en) 2017-08-31 2017-08-31 Setting method and system of payment terminal and terminal equipment

Publications (2)

Publication Number Publication Date
CN107578583A CN107578583A (en) 2018-01-12
CN107578583B true CN107578583B (en) 2020-07-28

Family

ID=61030886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710772984.9A Active CN107578583B (en) 2017-08-31 2017-08-31 Setting method and system of payment terminal and terminal equipment

Country Status (1)

Country Link
CN (1) CN107578583B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587529A (en) * 2008-05-20 2009-11-25 上海先达企业发展有限公司 Method for setting state of bar code equipment by using bar code as instruction information
CN102968609A (en) * 2012-11-22 2013-03-13 福建鑫诺通讯技术有限公司 Bar code reading equipment setting device based on one-dimensional Code 128 bar codes
CN103440714A (en) * 2013-07-11 2013-12-11 福建联迪商用设备有限公司 POS terminal and method and system for network configuration of POS terminal
CN104376296A (en) * 2014-12-03 2015-02-25 福建鑫诺通讯技术有限公司 Barcode reader setting method and barcode reader setting device
US9367726B1 (en) * 2015-04-28 2016-06-14 The Code Corporation Barcode reader
CN106203218A (en) * 2016-07-11 2016-12-07 深圳市兴通物联科技有限公司 Laser bar code scanning platform method to set up and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140231524A1 (en) * 2013-02-15 2014-08-21 Kenneth Liou Barcode scanner having laser alignment indication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587529A (en) * 2008-05-20 2009-11-25 上海先达企业发展有限公司 Method for setting state of bar code equipment by using bar code as instruction information
CN102968609A (en) * 2012-11-22 2013-03-13 福建鑫诺通讯技术有限公司 Bar code reading equipment setting device based on one-dimensional Code 128 bar codes
CN103440714A (en) * 2013-07-11 2013-12-11 福建联迪商用设备有限公司 POS terminal and method and system for network configuration of POS terminal
CN104376296A (en) * 2014-12-03 2015-02-25 福建鑫诺通讯技术有限公司 Barcode reader setting method and barcode reader setting device
US9367726B1 (en) * 2015-04-28 2016-06-14 The Code Corporation Barcode reader
CN106203218A (en) * 2016-07-11 2016-12-07 深圳市兴通物联科技有限公司 Laser bar code scanning platform method to set up and device

Also Published As

Publication number Publication date
CN107578583A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US10469488B2 (en) Security verification method, apparatus, and system
EP3148225A1 (en) Bluetooth connection-based audio playback method and apparatus
US20160210632A1 (en) Secured payment method and relevant device and system
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN108650671B (en) Method, device, mobile terminal, storage medium and system for establishing Bluetooth connection
EP3828696A1 (en) Method invoke chain tracing method, electronic apparatus, and computer-readable storage medium
CN112434278A (en) Bare computer authentication method, apparatus, device and medium
CN112671878B (en) Block chain information subscription method, device, server and storage medium
CN111130828A (en) Intelligent network distribution method and device and terminal equipment
CN116614453B (en) Image transmission bandwidth selection method and device based on cloud interconnection
CN107578583B (en) Setting method and system of payment terminal and terminal equipment
CN109034808B (en) Operation method and device of payment application program and terminal equipment
US10740218B2 (en) Method and device for determining usage log
CN113051149A (en) Case parameter generation method and device
CN111031233A (en) Digital image processing frame rate control method and device
WO2016015401A1 (en) Initialization method and apparatus, mobile terminal and computer storage medium
CN113485855B (en) Memory sharing method and device, electronic equipment and readable storage medium
CN110875895A (en) Method, system, equipment and vehicle for realizing intelligent terminal software login
CN115037654A (en) Flow statistical method and device, electronic equipment and readable storage medium
CN113596835A (en) Network connection method, device, storage medium and electronic device
CN108650716B (en) Terminal device control method, terminal device and storage medium
CN112650763A (en) Configuration method of product quota, related equipment and storage medium
CN113361220A (en) Verification environment construction method and device for automatically cutting integrated circuit design
CN109583453B (en) Image identification method and device, data identification method and terminal
CN112631694A (en) API (application programming interface) packaging calling method and system

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