CN105246094B - Communication means and test method - Google Patents

Communication means and test method Download PDF

Info

Publication number
CN105246094B
CN105246094B CN201510736482.1A CN201510736482A CN105246094B CN 105246094 B CN105246094 B CN 105246094B CN 201510736482 A CN201510736482 A CN 201510736482A CN 105246094 B CN105246094 B CN 105246094B
Authority
CN
China
Prior art keywords
mobile terminal
title
machine
scanning device
wireless communication
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
CN201510736482.1A
Other languages
Chinese (zh)
Other versions
CN105246094A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510736482.1A priority Critical patent/CN105246094B/en
Publication of CN105246094A publication Critical patent/CN105246094A/en
Application granted granted Critical
Publication of CN105246094B publication Critical patent/CN105246094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention discloses a kind of communication means and test method, the communication means is used for realizing the communication of mobile terminal and PC machine, the method includes:The title of the wireless communication function of mobile terminal is set, converts the title to identification marking and includes on the screen of the mobile terminal;Scanning device scans the identification marking on the screen of the mobile terminal, obtains the title, and the title is transmitted to PC machine;The PC machine is established according to title mobile terminal corresponding with the title and is wirelessly connected, and the mobile terminal is communicated using the wireless connection with the PC machine.With the application of the invention, can realize that mobile terminal communicates and the mobile terminal test based on the wireless communication with the automated wireless of PC machine.

Description

Communication means and test method
Technical field
The invention belongs to technical field of telecommunications, specifically, being to be related to communication means and test method.
Background technology
During mobile terminal is manufactured, needs mobile terminal to be communicated with PC machine there are many station, realize letter Breath interaction, to be tested terminal, production monitoring etc..
In the prior art, mobile terminal and PC machine is generally used to carry out wired connection and communication by USB line, and USB line By manually being plugged.This mode not can be used in mobile terminal automation production process, because being generated in automation Cheng Zhong manually cannot participate in completely by automatic assembly line and manipulator operation.For this purpose, being used on partial movement terminal production line Mobile terminal is placed in module jig, utilizes by designing module jig and USB push-pull structures by USB automatic plug technologies PC machine is connect by the plug of USB push-pull structures with the mobile terminal in module jig, realizes the usb communication of mobile terminal and PC machine. But there are following defects for this mode:
First, the premise of USB automatic plugs be USB line and mobile terminal positioning relation it is accurate.But mobile terminal Shell sizes deviation be inevitable, the mismachining tolerance of USB push-pull structures is also inevitable, when can go out in deviation Existing USB, which plugs not in place, USB and casing interference, causes impaired, USB push-pull structures damage mobile terminal USB interface of casing etc. to be asked Topic.
Second, must all design before manufacture per money mobile terminal, make special module jig and USB push-pull structures, this A no small expenditure is manufactured as enterprise.And influenced by dimension deviation, USB push-pull structures before manufacture must Technician's debugging, which need be passed through, can just reach the standard grade, waste of manpower.
Invention content
An object of the present invention is to provide a kind of communication means, and the automated wireless to realize mobile terminal and PC machine is logical Letter.
For achieving the above object, communication means provided by the invention is realized using following technical proposals:
A kind of communication means, for realizing the communication of mobile terminal and PC machine, the method includes:
The title of the wireless communication function of mobile terminal is set, converts the title to identification marking and includes in the shifting On the screen of dynamic terminal;
Scanning device scans the identification marking on the screen of the mobile terminal, obtains the title, and will be described Title is transmitted to PC machine;
The PC machine is established according to title mobile terminal corresponding with the title and is wirelessly connected, the mobile terminal profit It is communicated with the PC machine with the wireless connection.
The second object of the present invention is to provide a kind of test method, communicated in fact with the automated wireless of PC machine by mobile terminal Now to the automatic test of mobile terminal.
For achieving the above object, test method provided by the invention is realized using following technical proposals:
A kind of test method, for realizing the test of mobile terminal, which is characterized in that the method includes:
Mobile terminal enters factory test mode, and the title of the wireless communication function of mobile terminal is arranged, by the title It is converted into identification marking and is shown on the screen of the mobile terminal;
Scanning device scans the identification marking on the screen of the mobile terminal, obtains the title, and will be described Title is transmitted to PC machine;
The PC machine is established according to title mobile terminal corresponding with the title and is wirelessly connected, and the PC machine utilizes institute Wireless connection and the communication of mobile terminal are stated, the test of the mobile terminal is executed.
Compared with prior art, the advantages and positive effects of the present invention are:Communication means provided by the invention passes through setting The title of the wireless communication function of mobile terminal shows identification mark corresponding with the title of wireless communication function on a terminal screen Know, and PC machine is transmitted to after the title using scanning device end of scan screen to get wireless communication function so that PC machine It can be established and be wirelessly connected with mobile terminal automatically according to the title of wireless communication function, realized PC machine based on being wirelessly connected and move The wireless communication of dynamic terminal, avoids a series of problems caused by wire communication;Moreover, being ready to wait for using mobile terminal Connection, PC machine actively discover mobile terminal and establish connection, realize between PC machine and mobile terminal it is one-to-one, quickly connect It connects, facilitates PC machine that the current mobile terminal for needing to establish communication is recognized accurately.Mobile terminal is carried out based on the communication means Test, can realize that automatic, the portable on production line are tested automatically.
After the specific implementation mode of the present invention is read in conjunction with the figure, the other features and advantages of the invention will become more clear Chu.
Description of the drawings
Fig. 1 is the flow chart of communication means one embodiment of the present invention;
Fig. 2 is test method one embodiment flow chart of the present invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below with reference to drawings and examples, Invention is further described in detail.
Fig. 1 is referred to, which show the flow chart of communication means one embodiment of the present invention, is to realize specifically The flow chart that mobile terminal is communicated with PC machine.
As shown in Figure 1, the embodiment realizes that the detailed process of the communication of mobile terminal and PC machine includes the following steps:
Step 11:The title of the wireless communication function of mobile terminal is set, by title be converted into identification marking and include On the screen of the mobile terminal.
In this embodiment, existing of high cost, accurate when automating connection to solve traditional wire connection communication mode The problems such as true property is poor, fragile connecting interface establishes Radio Link using mobile terminal and PC machine to be communicated and connect, realizes nothing The communication mode of line communication.Therefore, preset configuration has wireless communication function in mobile terminal, using the function, can with PC machine with agreement is established wireless connection and is communicated.
Moreover, the embodiment carries out connection preparation using mobile terminal, automatically identifies mobile end to be connected by PC machine Hold and actively gone by PC machine the mode of connection mobile terminal.Thereby, it is possible to realize the one-to-one company between PC machine and mobile terminal It connects, connected mobile terminal is identified convenient for PC machine, accurately and rapidly to be communicated with mobile terminal, avoid communicating Mistake.
To enable, PC machine is quick, the mobile terminal for waiting for and connecting, in this embodiment, mobile terminal is recognized accurately The title of its wireless communication function is set first, converts title to identification marking, and include in mobile terminal by identification marking On screen, mobile terminal is identified using automatic identification means to realize;Meanwhile the wireless communication function built in it is opened, make To wait for the preparation being wirelessly connected.Wherein, the title of wireless communication function is to identify the title of the mobile terminal, with mobile terminal It corresponds.
As preferred embodiment, the title of wireless communication function selects the ID number of mobile terminal, uniquely and convenient for mark Note, but it is not limited to mobile terminal ID number.If entitled mobile terminal ID number, in general, ID number is stored in movement eventually In the program at end, mobile terminal can easily be got.
The identification marking that title is converted can be diversified forms.Preferably, identification marking is one-dimensional bar code or two dimension Code.For example, it converts the title of mobile terminal wireless communication function to one-dimensional bar code, then, one-dimensional bar code is shown Show on mobile terminal screen.
For wireless communication function, it is equipped with Bluetooth function or hotspot function substantially in view of current mobile terminal, Such as Wi-Fi hotspot functions, wireless communication function is preferably hotspot function or function of Bluetooth communication.But not office It is limited to both wireless communication functions.
If wireless communication function is hotspot communication function, the title of the wireless communication function of mobile terminal is set, Specific method is:Mobile terminal creates hotspot, and sets title to the hot spot name of hotspot, with facilitate PC machine according to Hot spot name is connected to the hotspot.
If wireless communication function is function of Bluetooth communication, the title of the wireless communication function of mobile terminal is set, specifically Method is:Mobile terminal opens function of Bluetooth communication, and sets title to the bluetooth title of bluetooth, to facilitate PC machine according to indigo plant Tooth title finds mobile terminal and establishes bluetooth connection.
Step 12:Scanning device scans the identification marking on the screen of mobile terminal, obtains title, and title is transmitted to PC machine.
Using can scan and identify the scanning device of the identification marking on mobile terminal screen go scanning mobile terminal Screen, the title of mobile terminal wireless communication function will be got.Then, be transferred to title will be with shifting for control scanning device Dynamic terminal is established in the PC machine of communication connection.
For example, if identification marking is one-dimensional bar code, scanning device can be barcode scanner;If identification mark Knowledge is Quick Response Code, then scanning device is Quick Response Code identification equipment.
Step 13:PC machine is established with corresponding mobile terminal according to title and is wirelessly connected, and mobile terminal utilizes wireless connection It is communicated with PC machine.
PC machine gets the title of wireless communication function, will start the wireless communication in preconfigured and mobile terminal The wireless communication function of function match goes to identify and find corresponding mobile terminal according to title.Since mobile terminal has been opened Wireless communication function is opened, then PC machine can be established with mobile terminal and is wirelessly connected, and in turn, mobile terminal utilizes wireless connection It can be communicated with PC machine.
For example, the wireless communication function in mobile terminal is hotspot communication function.It is mobile whole as recorded in step 11 End is created to set the hotspot of name nominating.After PC machine gets title by scanning device, start in PC machine Wireless module searches for the hotspot of the title, and is actively connected to the hot spot after searching for successfully, thus with mobile terminal journey The IP address being configured in sequence establishes Socket links, to set up the wireless connection between mobile terminal.Hereafter, PC Machine can be communicated with mobile terminal using the wireless connection.
And if the wireless communication function in mobile terminal is function of Bluetooth communication, as recorded in step 11, mobile terminal Bluetooth title be setting title.After PC machine gets the title of mobile terminal by scanning device, start the indigo plant in PC machine Tooth module searches for the bluetooth of the title, and wireless blue tooth connection is actively set up after searching for successfully.Hereafter, PC machine can be with Mobile terminal is communicated using bluetooth wireless connection.
In above-mentioned realization wireless communication procedure, hardware device is other than mobile terminal and PC machine to be connected, it is only necessary to Want a scanning device, and scanning device automatically controls simplicity, technology maturation.Moreover, for mobile terminal, it is only necessary to pass through Certain instruction starts it and enters the pattern for establishing connection, is hereafter not necessarily to operate mobile terminal, convenient for carrying out in the production line Automatic connection and communication.Moreover, when establishing automatic connection, PC machine obtains the title of wireless communication function in mobile terminal in real time, Even if having multi-section mobile terminal-opening, but synchronization PC machine is only to obtain the title of a mobile terminal wireless communication function, Unique corresponding relation can be established with the mobile terminal scanned, screened out convenient for PC machine currently to be connected be any movement eventually End, and establish one-to-one connection.And entire connection procedure carries out repeatedly interacting confirmation without PC machine and mobile terminal, only with For the identification marking that mobile terminal is presented as unique mark, it is simple that process is established in connection.
The advantages of in view of above-mentioned mobile terminal and PC machine communication means, can be based on the communication means, realize on production line The automatic test of mobile terminal.Specific test method and its advantage, it is shown in Figure 2.
Such as Fig. 2, the figure shows the flow charts of test method one embodiment of the present invention, are based on Fig. 1 specifically Communication means realizes the one embodiment tested automatically mobile terminal on production line.
On automatic production line, mobile terminal circulates in automation wire body, and the carrying of mobile terminal is all by machinery Hand is completed, and is participated in without artificial, to improve production efficiency.And during the manufacturing, to ensure mobile terminal manufacture Function and quality need to test the property indices of mobile terminal there are many station, and test process is in PC machine Under master control, using test equipment come what is carried out, PC machine and communication of mobile terminal are needed in test process, realizes instruction and parameter The interactions such as input, the reading of mobile terminal test information.Fig. 2 embodiments be for mobile terminal on automatic production line Realize a kind of method of automatic test.
As shown in Fig. 2, the embodiment realizes that the test detailed process of mobile terminal includes the following steps:
Step 21:Mobile terminal enters factory test mode, and the title of the wireless communication function of mobile terminal is arranged, by name Title is converted into identification marking and is shown on the screen of the mobile terminal.
In this embodiment, if mobile terminal is tested, on certain position of automatic assembly line, control moves Dynamic starting up of terminal, and enter factory test mode.It is to start mobile terminal to carry out automatically into the purpose of factory test mode Wait for the preparation of PC machine wireless connection, reception PC instructions and parameter etc..Into after factory test mode, mobile terminal is set first The title for setting its wireless communication function converts title to identification marking, and includes on mobile terminal screen by identification marking. The purpose and concrete methods of realizing of the process, please refer to Fig.1 the description of embodiment corresponding process.Hereafter, the movement being ready Terminal continuation circulates in the production line, and circulates at scanning device.
Step 22:The identification marking on the screen of scanning device scanning mobile terminal is controlled, obtains title, and title is passed Transport to PC machine.
On automatic production line, it is provided with control module, such as PLC control modules, is used for control machinery hand, scanning device Equal components, and control module can be communicated with PC machine.After mobile terminal to be tested carries out the preparation for waiting for connection, it will pass through Production line circulates to scanning device, and the identification marking on the screen for scanning mobile terminal is obtained identification marking by scanning device The title of corresponding wireless communication function, and title is transmitted to PC machine.
Specifically, scanning device is connect with control module, and control module can read scanning device and scan and know The title for the mobile terminal not gone out, and record.Then, title is transferred to corresponding to the test equipment for executing test by control module PC machine.
For scanning device, it can be constantly in scanning mode, the screen in its scanning range is scanned at any time.? In the embodiment, as preferred implementation, scanning device is not constantly in working condition, is only just opened when needing scanning Dynamic scanning, and scanning device is controlled by control module.Specifically, sensor is set near scanning device, is utilized The detection information of sensor judges whether there is mobile terminal and enters invisible scanning position.Scanning position is entered there is mobile terminal After setting, control module controls scanning device and is scanned again.Scanning device scans mobile terminal screen, obtains the specific of title Realization process refers to the detailed description of Fig. 1 corresponding process.
Step 23:PC machine is established with corresponding mobile terminal according to title and is wirelessly connected, and with communication of mobile terminal, executes shifting The test of dynamic terminal.
In the production line, after scanning device scanning to the title of mobile terminal, control module should by control machinery hand Mobile terminal is placed into the test equipment of corresponding station, and the PC machine corresponding to the test equipment is notified after being in place. Before this, control module has been transferred to title in the PC machine.Hereafter, PC machine starts test, is established first with the mobile terminal It is wirelessly connected, is successfully established connection, PC machine and test equipment can will be utilized to execute the work with after mobile terminal normal communication The performance test of position mobile terminal.
PC machine establishes the process being wirelessly connected with mobile terminal, refers to the description of Fig. 1 corresponding process, does not answer herein It states.
The method of 2 embodiment of application drawing tests mobile terminal, only needs to add scanning device on hardware, scanning Existing equipment may be used in equipment, automatically controls simplicity, and technology maturation is at low cost, easy to implement, avoid because mobile terminal with PC machine establishes the hair of the problems such as existing of high cost, accuracy is poor, fragile connecting interface when communicating using wired connection mode Raw, automatic, the portable realized on production line is tested automatically.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than is limited;Although with reference to aforementioned reality Applying example, invention is explained in detail, for those of ordinary skill in the art, still can be to aforementioned implementation Technical solution recorded in example is modified or equivalent replacement of some of the technical features;And these are changed or replace It changes, the spirit and scope for claimed technical solution of the invention that it does not separate the essence of the corresponding technical solution.

Claims (5)

1. a kind of test method sets for realizing the test of mobile terminal on automatic production line on the automatic production line It is equipped with control module, scanning device, manipulator, PC machine, the scanning device is connect with the control module, the control module It is communicated with the PC machine, which is characterized in that the method includes:
Mobile terminal enters factory test mode, and the title of the wireless communication function of mobile terminal is arranged, and the title is converted For identification marking and it is shown on the screen of the mobile terminal;Then, mobile terminal by the automatic production line circulate to At the scanning device;
The control module control scanning device scans the identification marking on the screen of the mobile terminal, obtains the name Claim, the control module reads the title that the scanning device identifies, then the title is transmitted to by control module PC machine;
The control module controls the manipulator and is placed into the mobile terminal in the test equipment of corresponding station, is placing The PC machine, the PC machine is notified to be established and be wirelessly connected according to title mobile terminal corresponding with the title afterwards in place, institute PC machine is stated using the wireless connection and the communication of mobile terminal, executes the test of the mobile terminal.
2. test method according to claim 1, which is characterized in that the method further includes:
Judge whether the mobile terminal reaches invisible scanning position, the invisible scanning position is reached in the mobile terminal Afterwards, the control module controls the scanning device and scans the identification marking on the screen of the mobile terminal, obtains institute Title is stated, and the title is transmitted to PC machine;It the invisible scanning position can scanning area for the scanning device.
3. test method according to claim 1 or 2, which is characterized in that the wireless communication function is logical for hotspot Telecommunication function;
The mobile terminal enters factory test mode, and the title of the wireless communication function of mobile terminal is arranged, specifically includes:
Mobile terminal enters factory test mode, creates hotspot, and sets the title to the heat of the hotspot It calls the roll.
4. test method according to claim 1 or 2, which is characterized in that
The wireless communication function is function of Bluetooth communication;
The mobile terminal enters factory test mode, and the title of the wireless communication function of mobile terminal is arranged, specifically includes:
Mobile terminal enters factory test mode, opens function of Bluetooth communication, and sets the title to the indigo plant of the bluetooth Tooth title.
5. test method according to claim 1 or 2, which is characterized in that the identification marking is one-dimensional bar code or two Tie up code.
CN201510736482.1A 2015-11-03 2015-11-03 Communication means and test method Active CN105246094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510736482.1A CN105246094B (en) 2015-11-03 2015-11-03 Communication means and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510736482.1A CN105246094B (en) 2015-11-03 2015-11-03 Communication means and test method

Publications (2)

Publication Number Publication Date
CN105246094A CN105246094A (en) 2016-01-13
CN105246094B true CN105246094B (en) 2018-11-09

Family

ID=55043516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510736482.1A Active CN105246094B (en) 2015-11-03 2015-11-03 Communication means and test method

Country Status (1)

Country Link
CN (1) CN105246094B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573176A (en) * 2016-03-04 2016-05-11 上海未来伙伴机器人有限公司 Robot rapid connection method and robot
CN108306778A (en) * 2016-09-01 2018-07-20 深圳市中兴微电子技术有限公司 A kind of mobile terminal test method, device and system
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
CN108495326A (en) * 2018-04-26 2018-09-04 上海移远通信技术股份有限公司 The test method and test system of WIFI modules
CN109274807B (en) * 2018-11-21 2021-06-22 Oppo(重庆)智能科技有限公司 Test method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164524A (en) * 2013-03-25 2013-06-19 成都西可科技有限公司 Method of intelligent terminal to achieve hot spot rapid connection by utilizing bar code
CN104090964A (en) * 2014-07-15 2014-10-08 上海斐讯数据通信技术有限公司 Electronic device testing method and system
CN104794034A (en) * 2015-03-24 2015-07-22 青岛海尔智能家电科技有限公司 Acceptance check method and device for equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577923A (en) * 2008-05-08 2009-11-11 鸿富锦精密工业(深圳)有限公司 Mobile phone testing system and mobile phone testing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164524A (en) * 2013-03-25 2013-06-19 成都西可科技有限公司 Method of intelligent terminal to achieve hot spot rapid connection by utilizing bar code
CN104090964A (en) * 2014-07-15 2014-10-08 上海斐讯数据通信技术有限公司 Electronic device testing method and system
CN104794034A (en) * 2015-03-24 2015-07-22 青岛海尔智能家电科技有限公司 Acceptance check method and device for equipment

Also Published As

Publication number Publication date
CN105246094A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN105246094B (en) Communication means and test method
CN101656974A (en) SIM card compatibility automated test method and device
CN107135124B (en) Method and system for multi-Bluetooth communication parallel test
CN105392114A (en) NFC based rapid Bluetooth connection system and method
CN105847501B (en) A kind of full-automatic streamline mobile phone on-line testing method and its system
CN104794034A (en) Acceptance check method and device for equipment
CN101814964B (en) Simulation system of carrier concentrator
WO2011009308A1 (en) Field service test method, device and system
CN105607086B (en) A kind of automated detection method on GNSS receiver
CN109709915A (en) A kind of method and system of intelligent cooperating manufacture between multiple production line
CN105471677B (en) A kind of test macro
KR20090092972A (en) System and method for performing compatibility test of communication terminal of sim/usim card
CN104684015B (en) Plant maintenance method and apparatus
CN114414908A (en) Digital test system and test method for power protection control equipment
CN110708216B (en) Switch LLDP protocol test method and test system
CN111277303A (en) Production testing method and system based on universal asynchronous receiving and transmitting transmitter to Bluetooth
CN101005685A (en) Automatic detecting method and device for PHS communication system
CN110221943A (en) Configurable test method, test device and computer readable storage medium
CN105631615B (en) Detection system and detection method
CN115374490A (en) Device and method for writing equipment identifier, storage medium and terminal
CN109144861A (en) Multifunction automatic test method and system
CN108089986A (en) A kind of version updating test method and system based on robot
CN110493818B (en) Detection method and device of wireless fidelity module, storage medium and electronic device
KR101497896B1 (en) method for automatically setting wireless cmmunication testing equipment with multi port
CN108965047A (en) A kind of test method and test macro based on router device

Legal Events

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