Background technology
Communication equipment has many rigid standards aspect radio-frequency (RF) index, and there is relevant national standard in country, and industry also has the standard of industry, and some companies even also have oneself independently stricter company standard for more remarkable quality requirements.So in the production process of mobile device, the importance of the calibration relevant to radio frequency, survey eventually, coupling is also just apparent.Wherein, the control of the line loss of these erect-positions is again the most important thing.
Prior art China, production system line loss control method mainly contains following several:
(1) make a golden machine, adopt the radio-frequency information of label record gold machine, and label is affixed on to Jin Jishang.When actual production is used, the radio-frequency information of measurement of comparison and the radio-frequency information on label, then revise line loss according to the difference of the two.Wherein, golden machine refers to that an indices and parameter all reach best machine.If the golden machine in mobile phone is exactly a test machine that performance is more stable for detection system error.Yet the method can not realize automation, need operating personnel to calculate current practical line loss value in conjunction with actual measurement information, operability is poor.
(2) golden machine radio-frequency information is kept in the data storage of mobile phone.When actual production is used, can read radio-frequency information by instrument, and automatically calculate current station line loss.If publication number is that CN201985871U, denomination of invention are to disclose a kind of RF line loss calibrating device in the Chinese utility model patent of a < < RF line loss calibrating device > >, comprise computer and control software, comprehensive tester, testboard, with reference to machine, coaxial radio frequency cable; Described computer and control software connect comprehensive tester by coaxial radio frequency cable; Affiliated comprehensive tester is by coaxial radio frequency cable connecting test platform; Described with reference to machine by welding radio frequency line be connected with described comprehensive tester.During concrete enforcement, using the normal mobile phone with data storage area as with reference to machine.Magnitude of power with reference to machine is recorded in data storage area, and while calculating line loss, the difference of the magnitude of power of measurement and the magnitude of power of record is the line loss of testboard.But the method seems simply, but is not easy to realize.This is that these data areas need self-defined and oneself develop because mainly a, platform producer do not open the data modification interface of all storage areas, and the excessive performance difficulty that causes of exploitation amount; B, platform poor compatibility, even each sub-platform compatibility under same producer is also more difficult, and different manufacturers, if the platform of MTK, high pass is impossible compatible; C, in the place that does not connect mobile phone, just cannot use, such as just realizing the automatic detecting of line loss at coupling station.
(3) golden machine radio-frequency information is kept in database server, when actual production is used, can from database server, be read by instrument the radio-frequency information of golden machine, and automatically calculate current station line loss.Yet the resource that the method needs is huger, need to have the support of background data base, and service condition is also harsher, use station to network.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of line loss automatic detecting method and system thereof of mobile device test macro, it utilizes product ID (the erial Number of mobile device, SN) as information carrier, realize the line loss automatic detecting of mobile device test macro, and do not need too many exploitation amount, only need normalized definition and utilize No. SN.
For achieving the above object and other relevant objects, the invention provides a kind of line loss automatic detecting method of mobile device test macro, at least comprise the following steps: step S1: will after the radio-frequency information coding of golden machine, deposit in the SN code of golden machine; Step S2: during spot check line loss, obtain the SN code of golden machine; Step S3: the SN code to golden machine is decoded, and obtains the radio-frequency information of golden machine; Step S4: measure the current line loss of the current radio-frequency information of golden machine and mobile device test macro, the golden machine radio-frequency information obtaining in conjunction with decoding, calculate the current practical line loss of mobile device test macro.
According to the line loss automatic detecting method of above-mentioned mobile device test macro, wherein: in described step S1, SN code is write to golden machine and/or the SN code printing is attached to Jin Jishang; If spot check is used in station, all connect mobile device, SN code must be write to Jin Jizhong, the SN code printing need not be sticked on to Jin Jishang; If actual spot check is used in station, do not connect mobile device, the SN code printing must be sticked on to Jin Jishang, SN code need not be write to golden machine; In described step S2, if SN code writes golden machine, by instrument, read the SN code of golden machine; If the SN code printing is sticked on to Jin Jishang, by scanning means, sweep the SN code of gold painting machine.
According to the line loss automatic detecting method of above-mentioned mobile device test macro, wherein: in described step S1, the radio-frequency information of gold machine adopts ASCII character coding, use radio-frequency power value of two character definition, wherein, the integer part that the ASCII character value of first character is power, the fractional part that the ASCII character value of second character is power.
According to the line loss automatic detecting method of above-mentioned mobile device test macro, wherein: in described step S4, current line loss-(the golden machine radio-frequency information that the current radio-frequency information-decoding of golden machine measuring obtains) of the mobile device test macro of the current practical line loss of mobile device test macro=measure.
According to the line loss automatic detecting method of above-mentioned arbitrary described mobile device test macro, wherein: the SN code of described golden machine is replaced by IMEI code or the MAC Address of golden machine.
Simultaneously, the present invention also provides a kind of line loss automatic detecting system of mobile device test macro, at least comprises golden machine radio-frequency information coding module, golden machine SN code generation module, golden machine SN code read module, golden machine SN code decoder module, radio-frequency information measurement module, mobile device test macro line loss measurement module and line loss computing module; Described golden machine radio-frequency information coding module is for encoding to the radio-frequency information of golden machine; Described golden machine SN code generation module is connected with described golden machine radio-frequency information coding module, for the golden machine radio-frequency information after coding being deposited in to the SN code of golden machine; Described golden machine SN code read module is connected with described golden machine SN code generation module, for reading the SN code of Jin Jishang; Described golden machine SN code decoder module is connected with described golden machine SN code read module, decodes, to obtain the radio-frequency information of golden machine for the SN code to golden machine; Described radio-frequency information measurement module is for measuring the radio-frequency information of mobile device; Described mobile device test macro line loss measurement module is for measuring the current line loss of mobile device test macro; Described line loss computing module is connected with described golden machine SN code decoder module, described radio-frequency information measurement module and described mobile device test macro line loss measurement module, for the current line loss of the current radio-frequency information of the golden machine radio-frequency information obtaining according to decoding, the golden machine measuring and the mobile device test macro that measures, obtains the current practical line loss of mobile device test macro.
According to the line loss automatic detecting system of above-mentioned mobile device test macro, wherein: described golden machine radio-frequency information coding module adopts ASCII character to encode to the radio-frequency information of golden machine, use radio-frequency power value of two character definition, wherein, the integer part that the ASCII character value of first character is power, the fractional part that the ASCII character value of second character is power.
According to the line loss automatic detecting system of above-mentioned mobile device test macro, wherein: described golden machine SN code generation module writes SN code golden machine and/or the SN code printing is attached to Jin Jishang; If spot check is used in station, all connect mobile device, SN code must be write to Jin Jizhong, the SN code printing need not be sticked on to Jin Jishang; If actual spot check is used in station, do not connect mobile device, the SN code printing must be sticked on to Jin Jishang, SN code need not be write to golden machine; If SN code writes golden machine, described golden machine SN code read module reads the SN code of golden machine by instrument; If the SN code printing is sticked on to Jin Jishang, described golden machine SN code read module is swept the SN code of gold painting machine by scanning means.
According to the line loss automatic detecting system of above-mentioned mobile device test macro, wherein: calculate the current practical line loss of mobile device test macro according to following formula in described line loss computing module:
Current line loss-(the golden machine radio-frequency information that the current radio-frequency information-decoding of golden machine measuring obtains) of the mobile device test macro of the current practical line loss of mobile device test macro=measure.
Line loss automatic detecting system according to above-mentioned arbitrary described mobile device test macro, is characterized in that: the SN code of described golden machine is replaced by IMEI code or the MAC Address of golden machine.
As mentioned above, line loss automatic detecting method and the system thereof of mobile device test macro of the present invention, have following beneficial effect:
(1) golden machine radio-frequency information is kept in No. SN, in the place that can get No. SN, just can parse the radio-frequency information of golden machine;
(2) each platform has special SN read-write interface, is easy to obtain the radio-frequency information of golden machine while connecting mobile phone; While not connecting mobile phone, can scan SN by barcode scanner, also be easy to just can parse radio-frequency information;
(3) No. SN is that mobile device is intrinsic, and corresponding SN read-write interface is also existing, very easy to use certainly, and exploitation amount is very little, only need to redefine and utilize, and the scope of application is wider.
Embodiment
Below, by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the disclosed content of this specification.The present invention can also be implemented or be applied by other different embodiment, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications or change not deviating under spirit of the present invention.
It should be noted that, the diagram providing in the present embodiment only illustrates basic conception of the present invention in a schematic way, satisfy and only show with assembly relevant in the present invention in graphic but not component count, shape and size drafting while implementing according to reality, during its actual enforcement, kenel, quantity and the ratio of each assembly can be a kind of random change, and its assembly layout kenel also may be more complicated.
The concept that the SN code of mobile device is introduced in order to verify " legal identity of product ", it enjoys legal service for ensureing user's legal rights and interests.Legal product is corresponding one group of SN code only.
It should be noted that, mobile device comprises and is not limited to smart mobile phone, panel computer, PDA, and other have the equipment of data processing function.Conventionally, mobile device refers to have independently operating system, can be by user's program that the third party service provider such as mounting software, game provides voluntarily, by this class method, constantly the function of handheld device is expanded, and can realize by mobile communication network such kind equipment of wireless network access.
With reference to Fig. 1, the line loss automatic detecting method of moving device test system of the present invention comprises the following steps:
Step S1: will deposit in the SN code of golden machine after the radio-frequency information coding of golden machine.
Particularly, the golden machine radio-frequency information after coding deposits the memory space place of the SN code of golden machine in.Golden machine radio-frequency information after guaranteeing coding can the prerequisite of complete documentation under, the SN code of golden machine itself can be according to the size of the physical memory space, whole or simplify after be recorded in the memory space place of SN code.
After the radio-frequency information coding of gold machine, deposit in after the SN code of golden machine, SN code can be write to golden machine, also the SN code printing can be sticked on to Jin Jishang.If spot check is used in station, all connect mobile device, SN code must be write to Jin Jizhong, can omit the step that the SN code printing is sticked on to Jin Jishang; If actual spot check is used in station, do not connect mobile device, the SN code printing must be sticked on to Jin Jishang, can omit the step that SN code is write to golden machine.
Preferably, the radio-frequency information coding method of golden machine is as follows: use radio-frequency power value of two character definition, the integer part that wherein the ASCII character value of first character is power, the fractional part that the ASCII character value of second character is power.The power information that needs are preserved is recorded on the position of SN code correspondence, just can read and write by SN code the power information of golden machine.
It should be noted that, the radio-frequency information coded system of golden machine is not only confined to above-mentioned ASCII character coded system, also comprises that other anyly can be encoded into the radio-frequency information of golden machine the coded system consistent with SN code form of presentation.
Step S2: during spot check line loss, obtain the SN code of golden machine.
Particularly, by instrument, read the SN code of golden machine or by scanning means, sweep the SN code of gold painting machine.
Step S3: the SN code to golden machine is decoded, and obtains the radio-frequency information of golden machine.
When the radio-frequency information of golden machine adopts ASCII character coding, corresponding coding/decoding method is as follows: radio-frequency power value of two character representations.The ASCII character value of first character is decoded as the integer part of power, and the ASCII character value of second character is decoded as the fractional part of power, can obtain the radio-frequency information of corresponding golden machine.
Step S4: measure the current line loss of the current radio-frequency information of golden machine and mobile device test macro, the golden machine radio-frequency information obtaining in conjunction with decoding, calculate the current practical line loss of mobile device test macro.
Particularly, current line loss-(the golden machine radio-frequency information that the current radio-frequency information-decoding of golden machine measuring obtains) of the mobile device test macro of the current practical line loss of mobile device test macro=measure.
With reference to Fig. 2, the line loss automatic detecting system of mobile device test macro of the present invention comprises golden machine radio-frequency information coding module 1, golden machine SN code generation module 2, golden machine SN code read module 3, golden machine SN code decoder module 4, radio-frequency information measurement module 5, mobile device test macro line loss measurement module 6 and line loss computing module 7.
Wherein, golden machine radio-frequency information coding module 1 is encoded for the radio-frequency information to golden machine.
Preferably, the radio-frequency information coding method of golden machine is as follows: use radio-frequency power value of two character definition, the integer part that wherein the ASCII character value of first character is power, the fractional part that the ASCII character value of second character is power.The power information that needs are preserved is recorded on the position of SN code correspondence, just can read and write by SN code the power information of golden machine.
It should be noted that, the radio-frequency information coded system of golden machine is not only confined to above-mentioned ASCII character coded system, also comprises that other anyly can be encoded into the radio-frequency information of golden machine the coded system consistent with SN code form of presentation.
Gold machine SN code generation module 2, is connected with golden machine radio-frequency information coding module 1, for the golden machine radio-frequency information after coding being deposited in to the SN code of golden machine.
Particularly, the golden machine radio-frequency information after coding deposits the memory space place of the SN code of golden machine in.Golden machine radio-frequency information after guaranteeing coding can the prerequisite of complete documentation under, the SN code of golden machine itself can be according to the size of the physical memory space, whole or simplify after be recorded in the memory space place of SN code.
After the radio-frequency information coding of gold machine, deposit in after the SN code of golden machine, SN code can write golden machine, also the SN code printing can be sticked on to Jin Jishang.If spot check is used in station, all connect mobile device, SN code must be write to Jin Jizhong, the SN code printing need not be sticked on to Jin Jishang; If actual spot check is used in station, do not connect mobile device, the SN code printing must be sticked on to Jin Jishang, SN code need not be write to golden machine.
Gold machine SN code read module 3, is connected with golden machine SN code generation module 2, for reading the SN code of Jin Jishang.
Particularly, can read by instrument the SN code of golden machine, or can scan the SN code that sticks on Jin Jishang by scanning means.
Gold machine SN code decoder module 4, is connected with golden machine SN code read module 3, decodes, to obtain the radio-frequency information of golden machine for the SN code to golden machine.
Preferably, when the radio-frequency information of golden machine adopts ASCII character coding, corresponding coding/decoding method is as follows: radio-frequency power value of two character representations.The ASCII character value of first character is decoded as the integer part of power, and the ASCII character value of second character is decoded as the fractional part of power, can obtain the radio-frequency information of corresponding golden machine.
Radio-frequency information measurement module 5, for measuring the radio-frequency information of mobile device.
Mobile device test macro line loss measurement module 6, for measuring the current line loss of mobile device test macro.
Line loss computing module 7, be connected with golden machine SN code decoder module 4, radio-frequency information measurement module 5 and mobile device test macro line loss measurement module 6, for the current line loss of the current radio-frequency information of the golden machine radio-frequency information obtaining according to decoding, the golden machine measuring and the mobile device test macro that measures, obtain the current practical line loss of mobile device test macro.
Particularly, current line loss-(the golden machine radio-frequency information that the current radio-frequency information-decoding of golden machine measuring obtains) of the mobile device test macro of the current practical line loss of mobile device test macro=measure.
It should be noted that, technique scheme is that the intrinsic SN code of employing mobile device is the radio-frequency information that carrier carries golden machine.And in actual use, other mobile devices intrinsic code as IMEI code, MAC Address etc. also can be used as the radio-frequency information that carrier carries golden machine, also can complete the line loss automatic detecting of mobile device test macro.Therefore, corresponding technical scheme also belongs to the row of protection scope of the present invention.
In sum, the line loss automatic detecting method of mobile device test macro of the present invention and system thereof are kept at golden machine radio-frequency information in No. SN, in the place that can get No. SN, just can parse the radio-frequency information of golden machine; Be for No. SN that mobile device is intrinsic, corresponding SN read-write interface is also existing, thereby very easy to use, and exploitation amount is very little, only need to redefine and utilize, and the scope of application is wider.So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.