CN107577595A - Communication apparatus software detecting method, electronic equipment and the device with store function - Google Patents
Communication apparatus software detecting method, electronic equipment and the device with store function Download PDFInfo
- Publication number
- CN107577595A CN107577595A CN201710574635.6A CN201710574635A CN107577595A CN 107577595 A CN107577595 A CN 107577595A CN 201710574635 A CN201710574635 A CN 201710574635A CN 107577595 A CN107577595 A CN 107577595A
- Authority
- CN
- China
- Prior art keywords
- communication apparatus
- text
- running state
- state information
- detection device
- 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
Links
Abstract
The invention discloses a kind of communication apparatus software detecting method, this method includes:Running state information during communication apparatus start is obtained, and is stored as the first text;The preset configuration information text stored is transferred to be contrasted with the first text;If the first text mismatches with preset configuration information text, abnormal prompt is carried out.The present invention also provides a kind of communication apparatus software detecting method, and this method includes:Receive the demand order of detection device;Running state information is transmitted to detection device.Above scheme point inspection process is completed by detection device, and one one points of technician for substituting modules in the prior art examines one time, but only checks oneself that improved a part of mode, the efficiency of the point inspection greatly improved.The present invention also provides a kind of electronic equipment for being able to carry out above method.The present invention also provides a kind of device with store function simultaneously, and its data that have program stored therein, the routine data realizes method as described above when being performed.
Description
Technical field
The present invention relates to equipment point-detecting technical field, is set more particularly to a kind of communication apparatus software detecting method, electronics
Device standby and with store function.
Background technology
Quickly, a software includes the exploitation and improvement of disparate modules to current mobile terminal software development iteration speed.
The technicians of modules is integrated after completing to improve the writing of code by integration engineering Shi Jinhang, is then write by each
The technician of code boots up an inspection, to test the properties of mobile terminal, so as to confirm whether software quality accords with
Close and require.In integrating process, due to integration engineering teacher error or it is careless the problems such as easily trigger configuration information arrangement abnormalities
Potential problems.Due to during an inspection, being to carry out an inspection again after different improved functional modules are combined together,
The technician of disparate modules each puts inspection each improved part, will for each technician of software after integrated
Point examines one time, expends the energy of most of personnel, and efficiency is low.
The content of the invention
The present invention solves the technical problem of provide a kind of communication apparatus software detecting method, electronic equipment and have
The device of store function, an inspection process can be simplified, improve point inspection efficiency.
In order to solve the above technical problems, one aspect of the present invention is:A kind of communication apparatus software point is provided
Detecting method, methods described include:
Running state information during communication apparatus start is obtained, and is stored as the first text;
The preset configuration information text stored is transferred to be contrasted with first text;
If first text mismatches with the preset configuration information text, abnormal prompt is carried out.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of communication apparatus software is provided
Detecting method, methods described include:
Communication apparatus receives the demand order of detection device;
The communication apparatus records running state information during its start, and transmits the operation shape to the detection device
State information.
In order to solve the above technical problems, another technical scheme that the present invention uses is:A kind of electronic equipment is provided, including
Processor and interface circuit, the processor couple the interface circuit, and the processor coordinates the interface circuit working
When execute instruction to realize method as mentioned.
In order to solve the above technical problems, another technical scheme that the present invention uses is:There is provided one kind has store function
Device, it is characterised in that have program stored therein data, and described program data realize method as described above when being performed.
Above scheme, detection device are stored as the first text after obtaining the running state information of communication apparatus, then adjusted
The preset configuration information text stored is taken to be contrasted with the first text, if the first text and preset configuration information text are not
Matching carries out abnormal prompt, and normal point inspection is carried out if matching.Above procedure is completed by detection device, substitutes existing skill
One one points of the technician of modules examines one time but only checks oneself that improved a part of mode in art, greatly
The big efficiency for improving point inspection.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of communication apparatus software detecting method one of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of communication apparatus software detecting method of the present invention;
Fig. 3 is the schematic flow sheet of the another embodiment of communication apparatus software detecting method of the present invention;
Fig. 4 is the structural representation of the embodiment of electronic equipment one of the present invention;
Fig. 5 is the structural representation for the embodiment of device one that the present invention has store function.
Embodiment
The present invention is described in detail with embodiment below in conjunction with the accompanying drawings.
Referring to Fig. 1, Fig. 1 is the flow chart of the embodiment of communication apparatus software detecting method one of the present invention.It is noted that
If there is substantially the same result, method of the invention is not limited with the flow order shown in Fig. 1.As shown in figure 1, this method
Comprise the following steps:
S101:Running state information during communication apparatus start is obtained, and is stored as the first text.
Specific communication apparatus can be mobile phone, Ipad and wearable device etc., and the present embodiment is carried out by taking mobile phone as an example
Explanation.The improvement of the software of mobile phone is often made up of several modules, and the improvement of each module is completed by each technician, multidigit
Technician will improve write code and corresponding parameter configuration table gives integration engineering teacher, by integration engineering Shi Jinhang collection
Into, and each parameter is set according to the requirement of parameter configuration table, then carry out an inspection job.Communication apparatus in this method is soft
Establish and connect with detection device after part is integrated, the fortune of communication apparatus when starting point is examined after detection device acquisition Integrated Simulation
Row status information, and the first text is stored as, prepared for subsequent contrast.In the present embodiment, point inspection equipments are computer.At other
In embodiment, point inspection equipments can also can establish to connect with communication apparatus, and the equipment for performing relative program.
S102:The preset configuration information text stored is transferred to be contrasted with the first text.
The preset configuration information text is provided by the improved technician of modules, is stored in advance in detection device
In, the preset configuration information text is taken out and contrasted with the first text in step S101 by step S102.
S103:If the first text mismatches with preset configuration information text, abnormal prompt is carried out.
Because the first text is the running state information of communication apparatus, the running state information depends primarily on integration engineering
The parameters that the configuration information table that teacher provides according to the improved technician of each module is filled in.So if integration engineering
Teacher carries out the configuration of relevant parameter fully according to configuration information table, then point inspection result is normal, as a result for caused by step S101
First text matches with the preset configuration information text stored in detection device.If the parameter that integration engineering teacher is configured does not have
Configured according to the requirement of configuration information table, then result is that the first text mismatches with preset configuration information text, detection device
Abnormal prompt can be carried out.
For the disparity items demand of global different operators, it is often necessary to which the parameter value for adding disparity items goes to carry out not
With the difference and customization of demand, if there is parameter configuration problem during Integrated Simulation being present, it can not in time exclude, part be present
Abnormal version can not be positioned in time, and follow-up production and sales etc. are had an immense impact on.The technical staff of prior art modules
Most of software after Cheng Shijun will be integrated puts inspection one time from the beginning to the end, but only point examines oneself improved module, expend
The energy of personnel, efficiency are low.Difference and prior art, the present invention, can be disposably complete by detection device by above method
Point into multiple modules examines work, the efficiency of the point inspection greatly improved.
Specifically, the shell script that above step is stored in detection device by performing is completed, in an embodiment, obtain
The running state information for taking communication apparatus is obtained by performing getprop orders and/or ps orders.Further, run
Status information includes:Version information, property value and configuration file etc..In other embodiment, running state information can also wrap
Other information is included, such as:Process status information.The process status information is used for the progress for showing point inspection, and is examined for anchor point
Abnormal position.
Explained below by taking the property value in running state information as an example.
Such as version number is in property value:[ro.tct.sys.ver]:[Y2F2ZZT0CE20].Wherein property value is by title
Formed with value, entitled ro.tct.sys.ver values are Y2F2ZZT0CE20 in example above.Specifically, the value in property value can
Think character string sum combinatorics on words as implied above, may also be only numeral.With money software for global different operators
Disparity items demand, it is different numerals that the value in property value, which corresponds to different projects,.If integration engineering teacher configuration when
Wait and an inspection results abnormity occurs without configuration parameter as requested.
In the present embodiment, it is attached between detection device and communication apparatus by adb instruments, to realize the biography of data
It is defeated.It can also be realized in other embodiments by modes such as bluetooth or wireless networks.
Referring to Fig. 2, in another embodiment, this method also includes output abnormality reporting step.It is specific as follows:
S201:Running state information during communication apparatus start is obtained, and is stored as the first text.
S202:The preset configuration information text stored is transferred to be contrasted with the first text.
S203:If the first text mismatches with the preset configuration information text, abnormal prompt is carried out.
S204:Output abnormality is reported.
Wherein step S201, S202, S203 corresponds with step S101, S102, S103 in a upper embodiment respectively,
This is not repeated.The abnormal conditions present in modules, which can be set out, for the report of step S204 output abnormalities comes, for integrating work
Cheng Shi positions anomaly parameter in time, to carry out corrigendum and again point inspection.In the present embodiment, the form of output abnormality report includes
Electronic version is formed, or is printed as hard-copies.
Method described by above example is performed by detection device, the present invention also provide it is a kind of by communication apparatus perform
Method, with the step performed by matching detection equipment.Referring to Fig. 3, the communication apparatus software point of an embodiment of the present invention is examined
Method comprises the following steps:
S301:Communication apparatus receives the demand order of detection device.
Detection device sends demand order to communication apparatus first in Run Script program, and communication apparatus is receiving inspection
Step S302 is performed after the demand order of measurement equipment.
S302:Communication apparatus records running state information during its start, and transmits running state information to detection device.
Communication apparatus records running state information during its start according to the demand order received, and to detection device
Transmit running state information.
Communication apparatus and detection device in the present embodiment is consistent with above example, and this is not repeated.
Specifically, communication apparatus, by adb instruments, either bluetooth or wireless network transmit operation shape to detection device
State information.Optionally, the running state information is consistent with above example, including at least version information, property value and
Configuration file etc..Specifically, according to the received demand order from detection device, other correlation letters can also be provided
Breath, such as process status information, the process status information are used for the progress for showing point inspection, and the position abnormal for anchor point inspection
Put.
Referring to Fig. 4, the present invention also provides a kind of electronic equipment.In the present embodiment, the electronic equipment 40 is above-mentioned implementation
Detection device or communication apparatus in example, the electronic equipment 40 include processor 41, and the interface coupled with processor 41
Circuit 42, the processor 41 can be instructed to realize above-described embodiment institute caused by the perform script program of mating interface circuit 42
The method of description.Specifically, interface circuit 42 can be USB interface, or wireless transmission interface, or other and processor
41 miscellaneous parts coordinated.Need what is explained, the electronic equipment 41 both can be in the method performed by examinations equipment, can also
Perform the method performed by communication apparatus.
Referring to Fig. 5, the present invention also provides a kind of device 50 with store function, and have program stored therein data, the program number
According to the method realized when being performed described by embodiment of above.Specifically, the above-mentioned device with store function can be
People's computer, server, the network equipment, or the one kind therein such as USB flash disk.Need what is explained, it is real when the routine data is performed
Existing method includes the method performed by the detection device described in above example, or the method performed by communication apparatus.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, it is included within the scope of the present invention.
Claims (10)
1. a kind of communication apparatus software detecting method, it is characterised in that methods described includes:
Running state information during communication apparatus start is obtained, and is stored as the first text;
The preset configuration information text stored is transferred to be contrasted with first text;
If first text mismatches with the preset configuration information text, abnormal prompt is carried out.
2. according to the method for claim 1, it is characterised in that also include after described the step of carrying out abnormal prompt following
Step:Output abnormality is reported.
3. according to the method for claim 1, it is characterised in that it is described obtain communication apparatus running state information the step of
Including:Execution getprop orders and/or ps orders obtain the running state information during communication apparatus start.
4. according to the method for claim 1, it is characterised in that the communication apparatus is the dress after software development integrates
Put, the running state information is that the communication apparatus after software development integrates carries out an every terms of information caused by inspection.
5. according to the method for claim 1, it is characterised in that the running state information comprises at least:Version information, category
Property value and configuration file.
6. a kind of communication apparatus software detecting method, it is characterised in that methods described includes:
Communication apparatus receives the demand order of detection device;
The communication apparatus records running state information during its start, and transmits the running status to the detection device and believe
Breath.
7. according to the method for claim 6, it is characterised in that described to transmit running state information to the detection device
Step includes:
By adb instruments, either bluetooth or wireless network transmit the running state information to the detection device.
8. according to the method for claim 6, it is characterised in that the running state information comprises at least:Version information, category
Property value and configuration file.
9. a kind of electronic equipment, it is characterised in that including processor and interface circuit, the processor couples the interface electricity
Road, the processor coordinate the process circuit at work execute instruction to realize as described in any one of claim 1~8
Method.
10. a kind of device with store function, it is characterised in that have program stored therein data, when described program data are performed
Realize the method as described in any one of claim 1~8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574635.6A CN107577595A (en) | 2017-07-14 | 2017-07-14 | Communication apparatus software detecting method, electronic equipment and the device with store function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574635.6A CN107577595A (en) | 2017-07-14 | 2017-07-14 | Communication apparatus software detecting method, electronic equipment and the device with store function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107577595A true CN107577595A (en) | 2018-01-12 |
Family
ID=61049785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710574635.6A Pending CN107577595A (en) | 2017-07-14 | 2017-07-14 | Communication apparatus software detecting method, electronic equipment and the device with store function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107577595A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337124A (en) * | 2018-03-21 | 2018-07-27 | 北京天融信网络安全技术有限公司 | Configuration information management method, device, equipment and readable storage medium storing program for executing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533369A (en) * | 2008-03-14 | 2009-09-16 | 英业达股份有限公司 | Method for checking start-up procedure and device thereof |
CN104899139A (en) * | 2015-05-27 | 2015-09-09 | 浪潮电子信息产业股份有限公司 | Automatic test method used for testing basic function of server |
CN105119767A (en) * | 2015-06-29 | 2015-12-02 | 北京宇航时代科技发展有限公司 | Data self-check and self-cleaning software operation state monitoring method and system |
JP2016045921A (en) * | 2014-08-27 | 2016-04-04 | 日本電気株式会社 | Multiplex apparatus, and method of starting the same |
CN105631312A (en) * | 2015-12-25 | 2016-06-01 | 北京奇虎科技有限公司 | Method and system for processing rogue programs |
CN105738723A (en) * | 2016-01-29 | 2016-07-06 | 苏州佳世达电通有限公司 | Production line automatic detection method and detection device |
-
2017
- 2017-07-14 CN CN201710574635.6A patent/CN107577595A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533369A (en) * | 2008-03-14 | 2009-09-16 | 英业达股份有限公司 | Method for checking start-up procedure and device thereof |
JP2016045921A (en) * | 2014-08-27 | 2016-04-04 | 日本電気株式会社 | Multiplex apparatus, and method of starting the same |
CN104899139A (en) * | 2015-05-27 | 2015-09-09 | 浪潮电子信息产业股份有限公司 | Automatic test method used for testing basic function of server |
CN105119767A (en) * | 2015-06-29 | 2015-12-02 | 北京宇航时代科技发展有限公司 | Data self-check and self-cleaning software operation state monitoring method and system |
CN105631312A (en) * | 2015-12-25 | 2016-06-01 | 北京奇虎科技有限公司 | Method and system for processing rogue programs |
CN105738723A (en) * | 2016-01-29 | 2016-07-06 | 苏州佳世达电通有限公司 | Production line automatic detection method and detection device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337124A (en) * | 2018-03-21 | 2018-07-27 | 北京天融信网络安全技术有限公司 | Configuration information management method, device, equipment and readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107592238B (en) | Automatic test method and system of interface, service terminal and memory | |
CN105302732B (en) | A kind of automatic test approach and device of mobile terminal | |
CN104615534A (en) | Interface test method and device | |
CN105528297A (en) | Method and device for testing web page | |
CN109740222B (en) | Testing device and system for automobile networking scene | |
CN107861862A (en) | UI automated testing methods, device and computer-readable recording medium | |
CN105354118B (en) | Automatic test approach, the apparatus and system of intelligent terminal | |
CN105491140A (en) | Remote testing method and system for terminal | |
CN103177096B (en) | Page elements localization method and equipment based on text attribute | |
CN106775911A (en) | A kind of method of testing and device for application and development | |
CN108491321A (en) | test case range determining method, device and storage medium | |
CN104579748A (en) | SCD (substation configuration description) online checking network analysis method and system | |
CN112000566B (en) | Method and device for generating test cases | |
CN103838664B (en) | A kind of method for testing pressure and device | |
CN110853325A (en) | Automobile wireless debugger, automobile wireless debugging system and method | |
CN107577595A (en) | Communication apparatus software detecting method, electronic equipment and the device with store function | |
CN106612215A (en) | Integrated remote detection device and method based on Ethernet | |
CN107509215A (en) | A kind of wireless authentication automated testing method and system | |
CN109634856B (en) | IOS intelligent terminal remote real machine debugging system and method based on cloud service | |
CN108984375B (en) | Content capture method, device and system and storage medium | |
CN103729283A (en) | System log output method and device and terminal device | |
CN110446191A (en) | A kind of setting method of data radio station, mobile terminal device, storage medium | |
CN101714995A (en) | Method for completely testing iSCSI target and generating report | |
CN107390658A (en) | The management-control method and system of intelligent terminal production process | |
CN108363609B (en) | Method, device and storage medium for simulating sensor |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180112 |
|
RJ01 | Rejection of invention patent application after publication |