CN107689900A - Automatic testing mobile phone and the method and system of mPOS machines compatibility - Google Patents

Automatic testing mobile phone and the method and system of mPOS machines compatibility Download PDF

Info

Publication number
CN107689900A
CN107689900A CN201710785128.7A CN201710785128A CN107689900A CN 107689900 A CN107689900 A CN 107689900A CN 201710785128 A CN201710785128 A CN 201710785128A CN 107689900 A CN107689900 A CN 107689900A
Authority
CN
China
Prior art keywords
mobile phone
mpos
bluetooth
test
compatibility
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710785128.7A
Other languages
Chinese (zh)
Inventor
陈镇江
林丹
贺丽柏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUJIAN NEWLAND PAYMENT TECHNOLOGY Co Ltd
Original Assignee
FUJIAN NEWLAND PAYMENT 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 FUJIAN NEWLAND PAYMENT TECHNOLOGY Co Ltd filed Critical FUJIAN NEWLAND PAYMENT TECHNOLOGY Co Ltd
Priority to CN201710785128.7A priority Critical patent/CN107689900A/en
Publication of CN107689900A publication Critical patent/CN107689900A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of automatic testing mobile phone and the method and system of mPOS compatibility, including:Computer terminal instrument issues bluetooth parameters option to be measured to mobile phone terminal testing tool;After mobile phone and mPOS carry out bluetooth connection, according to bluetooth parameters option to be measured, mobile phone carries out compatibility test with mPOS, and obtains test data;And the test data is sent to computer;Computer terminal tool analysis test data, analysis result is generated, and generate testing journal sheet.By the above-mentioned means, the present invention automatic test compatibility method it is simple, it is easily operated, at the same can automatic report generation, be easy to analyze, operating personnel need to only be tested according to flow, and testing efficiency greatly promotes, and flexibility is strong.

Description

Automatic testing mobile phone and the method and system of mPOS machines compatibility
Technical field
The present invention relates to POS technical field of measurement and test, more particularly, to a kind of automatic testing mobile phone and mPOS compatibility Method and system.
Background technology
Under the background of Internet of Things industry rapid development, pos fields are also evolving new communication mode and are traded, Such as now largely prevalence mPOS.A kind of mode that mPOS compares main flow at present is exactly to be connected by bluetooth with mobile phone, Then gathering order is sent to mPOS using mobile phone apk, swiped the card in mPOS and data are passed back by bluetooth by mobile phone, and then complete to hand over Easily.But present mobile phone model on the market is innumerable, then how efficiently to verify mPOS Bluetooth of mobile phone compatibility Task just seems especially important.
As shown in figure 1, traditional handset compatibility verification mode be by mobile phone install transaction apk, then manually with MPOS carries out matching connection and transaction test etc. to realize and count manually output report.This mode of one personal use is tested Probably 200 hours are needed if 400 handset compatibilities and output report.This processing mode tester will not only weigh always Multiple correlation works, and artificial error logging may also occur in its statistics to test result, time-consuming big and ineffective, To the countermeasure analysis of mobile phone of problems also than less favorable.
The content of the invention
The technical problems to be solved by the invention are:A kind of method of automatic testing mobile phone and mPOS compatibility is provided and is System, testing efficiency, lifting test effect can be lifted, and generate the testing journal sheet of standardization.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:There is provided a kind of automatic testing mobile phone with The method of mPOS compatibility, including at least following steps:
S1:Computer terminal instrument issues bluetooth parameters option to be measured to mobile phone terminal testing tool;
S2:Mobile phone carries out bluetooth connection with mPOS, and forwards bluetooth parameters option to be measured by mobile phone terminal testing tool;
S3:According to bluetooth parameters option to be measured, mobile phone carries out compatibility test with mPOS, and obtains test data;
S4:The test data is sent to computer by mobile phone by mobile phone terminal testing tool;
S5:Computer terminal tool analysis test data, analysis result is generated, and generate testing journal sheet.
Wherein, before step S1, also comprise the following steps:
S01:Computer terminal instrument is performed, and configures bluetooth parameters option to be measured;
S02:Mobile phone connects WiFi, and performs mobile phone terminal testing tool, the tested mPOS of scanning connection;
S03:Mobile phone terminal testing tool sets the IP and port corresponding to computer terminal instrument.
Wherein, the bluetooth parameters option to be measured includes:Bluetooth of mobile phone switch number of repetition, bluetooth connection number of repetition, Transmit Data duplication number, transmit data length, reading and writing data pressure test, firmware renewal test, simulation gathering transaction every time Test, tested pairing mode, allow the maximum bluetooth discovery time, allow maximum bluetooth connection time, acceptable application most Low transmitting-receiving speed and acceptable apply minimum downloading rate.
In order to solve the above-mentioned technical problem, the present invention also provides a kind of automatic testing mobile phone and the system of mPOS compatibility, Including computer, mobile phone and mPOS, in addition to:The computer terminal instrument for being built in computer and the mobile phone terminal for being built in mobile phone are surveyed Trial work has;Wherein
Computer terminal instrument issues bluetooth parameters option to be measured to mobile phone terminal testing tool;
Mobile phone carries out bluetooth connection with mPOS, and forwards bluetooth parameters option to be measured by mobile phone terminal testing tool;
According to bluetooth parameters option to be measured, mobile phone carries out compatibility test with mPOS, and obtains test data;
The test data is sent to computer by mobile phone by mobile phone terminal testing tool;
Computer terminal tool analysis test data, analysis result is generated, and generate testing journal sheet.
Wherein, computer performs computer terminal instrument, and configures bluetooth parameters option to be measured;
Mobile phone connects WiFi, and performs mobile phone terminal testing tool, the tested mPOS of scanning connection;
Mobile phone terminal testing tool sets the IP and port corresponding to computer terminal instrument.
Wherein, the bluetooth parameters option to be measured includes:Bluetooth of mobile phone switch number of repetition, bluetooth connection number of repetition, Transmit Data duplication number, transmit data length, reading and writing data pressure test, firmware renewal test, simulation gathering transaction every time Test, tested pairing mode, allow the maximum bluetooth discovery time, allow maximum bluetooth connection time, acceptable application most Low transmitting-receiving speed and acceptable apply minimum downloading rate.
The beneficial effects of the present invention are:Prior art is different from, computer terminal instrument of the present invention tests work to mobile phone terminal Tool issues bluetooth parameters option to be measured;After mobile phone and mPOS carry out bluetooth connection, according to bluetooth parameters option to be measured, mobile phone with MPOS carries out compatibility test, and obtains test data;And the test data is sent to computer;Computer terminal instrument point Test data is analysed, generates analysis result, and generate testing journal sheet.As described above, the method for the automatic test compatibility of the present invention Simply, it is easily operated, at the same can automatic report generation, be easy to analyze, operating personnel need to only be tested according to flow, test effect Rate greatly promotes, and flexibility is strong.
Brief description of the drawings
Fig. 1 is mobile phone in the prior art and mPOS compatibility test pattern schematic block diagrams;
Fig. 2 is the mobile phone and mPOS compatibility test pattern schematic block diagrams of the present invention;
Fig. 3 is the mobile phone B T_ATS of the embodiment of the present invention one to mPOS auto test flow figures;
Fig. 4 is the flow chart of the automatic test compatibility and generation form of the embodiment of the present invention two.
Embodiment
To describe the technology contents of the present invention, the objects and the effects in detail, below in conjunction with embodiment and coordinate attached Figure is explained.
Fig. 2~Fig. 4 is refer to, in a specific embodiment, the present invention needs to develop special PC ending tools BlueTooth.exe, and matched mobile phone ending tool BT_ATS (Bluetooth_Auto_Test_System), pass through this Two instrument is tested mPOS handset compatibility.
The present invention issues test option using PC by BlueTooth.exe and gives mobile phone terminal automated test tool BT_ ATS, by BT_ATS transmitting order to lower levels to mPOS, test terminates rear BT_ATS and result is uploaded into PC automatically again, and by BlueTooth.exe is automatically performed report output.
The handset compatibility test pattern that presently, there are, therefore can not be real as shown in figure 1, its report generation is isolated with test Now automatic purpose, it needs substantial amounts of manual operation, fills in form intricate operation, and not only cost is high, and efficiency is low.
And application model of the present invention is as shown in Fig. 2 PC instruments BlueTooth.exe is used to carry out test configurations and form life Into BT_ATS downloads corresponding configuration by wifi connection PC instruments, then starts to carry out automatic test to mPOS.Test terminates The related datas such as corresponding test data and cellphone information are sent to PC afterwards, PC again automatically converges the test data of all mobile phones Total generation excel forms.It should be noted that the present invention can test the compatibility of tens or even hundreds of sections of mobile phones, efficiency simultaneously Far above manually testing.
In embodiment one, the testable Bluetooth function option of the present invention is specific as follows, wherein, PC ends are needed according to reality Need the bluetooth parameters optionally to be tested:
Bluetooth of mobile phone switch number of repetition, bluetooth connection number of repetition, every time transmission Data duplication number, transmission data length Degree, reading and writing data pressure test whether is carried out, firmware renewal test whether is carried out, whether simulates gathering transaction test, optional quilt Pairing mode is surveyed, such as Just Work, PinCode, Numeric Comparison, Passkey Entry, permission are maximum blue Tooth search time (ms), allow maximum bluetooth connection time (ms), acceptable using minimum transmitting-receiving speed (KB/s), can be with The minimum downloading rate of application (KB/s) of receiving.
Specifically, the auto test flow that BT_ATS controls mobile phone to initiate mPOS is as shown in Figure 3:It is mobile phone open first Bluetooth connection mPOS, and pairing mode is selected, and after successful matching, mobile phone disconnects bluetooth, cancels binding, and select other to match somebody with somebody To pattern, so after circulation several times, the test to a variety of pairing modes can be achieved;Under each mobile phone and mPOS pairings, enter Row mobile phone connects with mPOS, and both sides carry out reading and writing data pressure test (circulating until completing transmission Data duplication number), then It can carry out carrying out firmware renewal test and simulation gathering transaction test;Then, mobile phone and mPOS are disconnected, and are re-started Reading and writing data pressure test, circulate until completing the test of bluetooth connection number of repetition;Mobile phone sets next matched dies to mPOS Formula, circulation perform step, until the test of all pairing modes terminates;In the last of test, mobile phone restarts bluetooth, and circulate until Bluetooth switch number of repetition test needed for completing.
Wherein, it is to send specific format to mPOS by mobile phone to test acceptable using minimum transmitting-receiving speed (KB/s) Data, mPOS returns as former state after receiving data, and mobile phone terminal is once received and dispatched the required time with data volume divided by complete and is somebody's turn to do Speed;And it is to send renewal particular size to mPOS by mobile phone to test acceptable using minimum downloading rate (KB/s) Application program, mPOS are received and are replied completion after writing flash, and mobile phone terminal is once applied with the size divided by completion of more new procedures Time needed for downloading obtains the speed.
After completion above-mentioned steps are performed, you can be considered as the process for completing test compatibility, but the present invention needs automatically Testing journal sheet is generated, therefore mobile phone terminal sends test data to PC ends, is responsible for automatically generating excel forms by PC ends.
In the embodiment two that one includes automatic report generation, mobile phone B T_ATS is to mPOS auto test flows such as Fig. 4 It is shown:
PC performs BlueTooth.exe, and configures the bluetooth option to be tested (being same as above) at PC ends, in PC instruments (BlueTooth.exe) click on and start to test;
Mobile phone to be measured connects wifi, and installs BT_ATS, clicks on BT_ATS and is scanned, and selects tested mPOS title (connecting mPOS), BT_ATS set ip and port corresponding to PC instruments;
MPOS starts shooting and plugs the bank card with ic cards, and preparation starts to test;BT_ATS clicks on PC standard testings, then PC works The mobile phone model that tool display is being tested;
BT_ATS is tested mPOS automatically, with specific reference to embodiment one and Fig. 3, wherein at the end of every mobile phone test PC instruments have corresponding prompting, stop after waiting all mobile phone tests and exit PC instruments, PC instruments are according to configuration parameter And the test data comparative analysis of mobile phone feedback is tested whether by and test data and analysis result being automatically converted into the lump Excel documents.
Prior art is different from, of the invention at least possesses following beneficial effect:
1st, method of testing is easily understood, it is not necessary to relevant speciality technology newly enter employee can learn dependence test quickly;And Manual test mode of the prior art needs to carry out mock trading, report output and every Bluetooth Special knowledge learning etc. phase This work can just be carried out by closing training.
2nd, the form test result that automatically generates is accurate, uniform format, data are easy to analyze, and developer sees unified lattice The form of formula can more efficient carry out countermeasure analysis;And existing manual test mode form is difficult to unified and easily produced artificial Situations such as error causes test result inaccurate or needs are resurveyed etc..
3rd, testing efficiency is substantially improved, after new paragon tester only need to open test by flow to all mobile phones, i.e., It can be placed in and wait test result over there, also can voluntarily complete to test even if evening and weekend PC and mobile phone;And existing test One people can only once test a mobile phone, and pilot process needs ceaselessly to operate, and corresponding test note is also carried out in test process Record, complete more than tens times that same workload (such as 400 handset compatibilities) required time is new method.In addition, test Parameter can select quick test, comprehensively test, Hi-pot test and specific aim test etc. with flexible configuration according to different demands Deng so that the invention more can be flexibly using performance maximum efficiency.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalents that bright specification and accompanying drawing content are made, or the technical field of correlation is directly or indirectly used in, similarly include In the scope of patent protection of the present invention.

Claims (6)

1. a kind of automatic testing mobile phone and the method for mPOS compatibility, it is characterised in that including at least following steps:
S1:Computer terminal instrument issues bluetooth parameters option to be measured to mobile phone terminal testing tool;
S2:Mobile phone carries out bluetooth connection with mPOS, and forwards bluetooth parameters option to be measured by mobile phone terminal testing tool;
S3:According to bluetooth parameters option to be measured, mobile phone carries out compatibility test with mPOS, and obtains test data;
S4:The test data is sent to computer by mobile phone by mobile phone terminal testing tool;
S5:Computer terminal tool analysis test data, analysis result is generated, and generate testing journal sheet.
2. the method for automatic testing mobile phone and mPOS compatibility according to claim 1, it is characterised in that step S1 it Before, also comprise the following steps:
S01:Computer terminal instrument is performed, and configures bluetooth parameters option to be measured;
S02:Mobile phone connects WiFi, and performs mobile phone terminal testing tool, the tested mPOS of scanning connection;
S03:Mobile phone terminal testing tool sets the IP and port corresponding to computer terminal instrument.
3. automatic testing mobile phone according to claim 1 or claim 2 and the method for mPOS compatibility, it is characterised in that described to be measured Bluetooth parameters option includes:Bluetooth of mobile phone switch number of repetition, bluetooth connection number of repetition, transmit Data duplication number, be each Transmission data length, reading and writing data pressure test, firmware renewal are tested, simulate gathering transaction test, be tested pairing mode, allow The maximum bluetooth discovery time, allow maximum bluetooth connection time, acceptable using minimum transmitting-receiving speed and acceptable Using minimum downloading rate.
4. a kind of automatic testing mobile phone and the system of mPOS compatibility, including computer, mobile phone and mPOS, it is characterised in that also Including:It is built in the computer terminal instrument of computer and is built in the mobile phone terminal testing tool of mobile phone;Wherein
Computer terminal instrument issues bluetooth parameters option to be measured to mobile phone terminal testing tool;
Mobile phone carries out bluetooth connection with mPOS, and forwards bluetooth parameters option to be measured by mobile phone terminal testing tool;
According to bluetooth parameters option to be measured, mobile phone carries out compatibility test with mPOS, and obtains test data;
The test data is sent to computer by mobile phone by mobile phone terminal testing tool;
Computer terminal tool analysis test data, analysis result is generated, and generate testing journal sheet.
5. automatic testing mobile phone and the system of mPOS compatibility according to claim 4, it is characterised in that
Computer performs computer terminal instrument, and configures bluetooth parameters option to be measured;
Mobile phone connects WiFi, and performs mobile phone terminal testing tool, the tested mPOS of scanning connection;
Mobile phone terminal testing tool sets the IP and port corresponding to computer terminal instrument.
6. according to the automatic testing mobile phone of claim 4 or 5 and the system of mPOS compatibility, it is characterised in that described to be measured Bluetooth parameters option includes:Bluetooth of mobile phone switch number of repetition, bluetooth connection number of repetition, transmit Data duplication number, be each Transmission data length, reading and writing data pressure test, firmware renewal are tested, simulate gathering transaction test, be tested pairing mode, allow The maximum bluetooth discovery time, allow maximum bluetooth connection time, acceptable using minimum transmitting-receiving speed and acceptable Using minimum downloading rate.
CN201710785128.7A 2017-09-04 2017-09-04 Automatic testing mobile phone and the method and system of mPOS machines compatibility Pending CN107689900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710785128.7A CN107689900A (en) 2017-09-04 2017-09-04 Automatic testing mobile phone and the method and system of mPOS machines compatibility

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710785128.7A CN107689900A (en) 2017-09-04 2017-09-04 Automatic testing mobile phone and the method and system of mPOS machines compatibility

Publications (1)

Publication Number Publication Date
CN107689900A true CN107689900A (en) 2018-02-13

Family

ID=61156054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710785128.7A Pending CN107689900A (en) 2017-09-04 2017-09-04 Automatic testing mobile phone and the method and system of mPOS machines compatibility

Country Status (1)

Country Link
CN (1) CN107689900A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383911A (en) * 2020-12-24 2021-02-19 福建新大陆支付技术有限公司 POS Bluetooth automatic test method, system and storage medium
CN112996020A (en) * 2021-03-30 2021-06-18 深圳市优必选科技股份有限公司 Bluetooth-based automatic testing method and device and Bluetooth testing terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052020A (en) * 2007-05-21 2007-10-10 中兴通讯股份有限公司 Monitor method and system for automatically measuring executing process
CN101635599A (en) * 2008-07-21 2010-01-27 深圳富泰宏精密工业有限公司 Bluetooth test system and method
CN102523052A (en) * 2011-12-01 2012-06-27 无锡中星微电子有限公司 Testing method and testing device
CN105680960A (en) * 2015-12-29 2016-06-15 深圳市金溢科技股份有限公司 Automatic test method for Bluetooth card reader, test upper computer and test system
CN106255141A (en) * 2016-08-03 2016-12-21 珠海市魅族科技有限公司 A kind of method of testing and test device
CN106375947A (en) * 2016-11-21 2017-02-01 深圳市丰禾原电子科技有限公司 Test system for Bluetooth function test and NFC information reading-writing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052020A (en) * 2007-05-21 2007-10-10 中兴通讯股份有限公司 Monitor method and system for automatically measuring executing process
CN101635599A (en) * 2008-07-21 2010-01-27 深圳富泰宏精密工业有限公司 Bluetooth test system and method
CN102523052A (en) * 2011-12-01 2012-06-27 无锡中星微电子有限公司 Testing method and testing device
CN105680960A (en) * 2015-12-29 2016-06-15 深圳市金溢科技股份有限公司 Automatic test method for Bluetooth card reader, test upper computer and test system
CN106255141A (en) * 2016-08-03 2016-12-21 珠海市魅族科技有限公司 A kind of method of testing and test device
CN106375947A (en) * 2016-11-21 2017-02-01 深圳市丰禾原电子科技有限公司 Test system for Bluetooth function test and NFC information reading-writing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383911A (en) * 2020-12-24 2021-02-19 福建新大陆支付技术有限公司 POS Bluetooth automatic test method, system and storage medium
CN112383911B (en) * 2020-12-24 2023-09-29 福建新大陆支付技术有限公司 POS Bluetooth automatic test method, system and storage medium
CN112996020A (en) * 2021-03-30 2021-06-18 深圳市优必选科技股份有限公司 Bluetooth-based automatic testing method and device and Bluetooth testing terminal

Similar Documents

Publication Publication Date Title
CN103744784B (en) Mobile phone application automated testing method and system
CN106776294B (en) Automatic android mobile phone testing method and system
CN107562635A (en) Embedded software test accessory system
CN108446221A (en) System detection method, device, computer equipment and storage medium
CN105338110A (en) Remote debugging method, platform and server
CN106528395A (en) Test case generation method and apparatus
CN104516798B (en) Wireless one-to-many test system
CN108228407A (en) Apparatus function test method, apparatus and readable storage medium storing program for executing
Zhang et al. Crowdsourced testing services for mobile apps
CN107305234B (en) Measuring device
CN104007957A (en) Graphical user interface editor that displays live data during editing
CN107357727A (en) APP testing results method, apparatus, readable storage medium storing program for executing and computer equipment
CN111711494B (en) Automatic test method, system, equipment and medium for wireless communication module current consumption
CN109472496A (en) Workflow construction method and device based on visualization guidance and automatic Verification
CN110535494A (en) A kind of bluetooth equipment Auto-Test System and method
CN107689900A (en) Automatic testing mobile phone and the method and system of mPOS machines compatibility
CN105224430A (en) A kind of test macro and method of testing
CN103530209A (en) Automated testing method for code keyboard
CN106528429A (en) UI testing method and device
CN106201864A (en) A kind of application programming interface API method of testing, device and mobile device
CN106557419A (en) The method of testing and device of program
CN109032956A (en) A kind of interface test method and device
CN103856277A (en) Automatic testing system and method for measuring ZigBee radio frequency performance
CN106933712A (en) Networking remote test system and method based on B/S frameworks
CN110149241A (en) A kind of automated testing method and storage medium based on IMS equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180213