CN104955091B - The method and device of test - Google Patents

The method and device of test Download PDF

Info

Publication number
CN104955091B
CN104955091B CN201510213814.8A CN201510213814A CN104955091B CN 104955091 B CN104955091 B CN 104955091B CN 201510213814 A CN201510213814 A CN 201510213814A CN 104955091 B CN104955091 B CN 104955091B
Authority
CN
China
Prior art keywords
note data
air interface
interface transmission
encrypted
test
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
CN201510213814.8A
Other languages
Chinese (zh)
Other versions
CN104955091A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510213814.8A priority Critical patent/CN104955091B/en
Publication of CN104955091A publication Critical patent/CN104955091A/en
Application granted granted Critical
Publication of CN104955091B publication Critical patent/CN104955091B/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
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/10Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

The invention discloses the method and device of a kind of test, the method for described test includes: after SMS encryption function is opened, and captures air interface transmission note data, is encrypted test according to described air interface transmission note data;Obtain the note data before encryption and be encrypted, being encrypted test according to the note data after encryption and described air interface transmission note data.The present invention provides a kind of general test mode, it is possible to test the SMS encryption function of terminal from multi-angle, it is possible to effectively find that terminal, not enough present on SMS encryption function, strengthened the safety of Encrypted short message, thus improved product quality.

Description

The method and device of test
Technical field
The present invention relates to terminal test technical field, particularly relate to the method and device of a kind of test.
Background technology
Along with popularizing of intelligent terminal, increasing user proposes further requirement to SMS encryption (particularly enterprise customer, Government agency users), to strengthen the security management of information, prevents information from letting out Dew.
At present, it is possible to realize the manufacturer or seldom of the SMS encryption function of terminal, and owing to each manufacturer adopts Encryption implementation method and the index etc. of realization all have certain difference, in view of this present situation, for The test of the terminal with SMS encryption function there is also different modes, measuring technology still disunity, makes The quality becoming the terminal with SMS encryption function is uneven, it is impossible to effectively by existing test side Method finds that terminal is not enough present on SMS encryption function.
Foregoing is only used for auxiliary and understands technical scheme, does not represent and recognizes that foregoing is Prior art.
Summary of the invention
Present invention is primarily targeted at the method and device that a kind of test is provided, it is intended to solve SMS encryption The measuring technology disunity of function and cannot be effectively tested and find not enough technical problem.
For achieving the above object, the present invention provides a kind of method of test, the method for described test to include:
S101, after SMS encryption function is opened, captures air interface transmission note data, eats dishes without rice or wine according to described Transmission note data is encrypted test;
S102, obtains the note data before encryption and is encrypted, according to the note data after encryption and institute State air interface transmission note data and be encrypted test.
Preferably,
Described S101 step includes: after SMS encryption function is opened, and captures air interface transmission note data; Described air interface transmission note data is attempted decoding, tests described air interface transmission note number according to decoded result According to the most encrypting;Or
Described S101 step includes: after SMS encryption function is opened, and utilizes the application of third party's note to read Taking described air interface transmission note data, testing described air interface transmission note data according to described reading result is No encrypt.
Preferably, described S102 step includes:
Obtain original note data and encryption key, described original note data is encoded, and according to Note data after coding is encrypted by described encryption key;
Note data after encryption is contrasted, according to comparing result with described air interface transmission note data Test described air interface transmission note data the most to encrypt.
Preferably, the method for described test also includes:
S103, to having the first terminal of SMS encryption function and not having the second end of SMS encryption function End sends Encrypted short message, with by showing on first terminal and the second terminal that the display of described Encrypted short message is tied Fruit is encrypted test.
Preferably, the method for described test also includes:
S104, is encrypted test according to the note data of the storage in memory space.
Preferably, the method for described test also includes:
S105, sends Encrypted short message under different communication scenes, captures and sends under different communication scenes Air interface transmission note data corresponding to Encrypted short message and be encrypted test.
Additionally, for achieving the above object, the present invention also provides for the device of a kind of test, the dress of described test Put and include:
First test module, after opening when SMS encryption function, captures air interface transmission note data, It is encrypted test according to described air interface transmission note data;
Second test module, is used for the note data before obtaining encryption and is encrypted, after encryption Note data and described air interface transmission note data are encrypted test.
Preferably,
Described first test module, specifically for after SMS encryption function is opened, captures air interface transmission note Data;Described air interface transmission note data is attempted decoding, tests described air interface transmission according to decoded result Note data is encrypted the most;Or
Described first test module, specifically for after SMS encryption function is opened, utilizes third party's note to answer With reading described air interface transmission note data, test described air interface transmission note number according to described reading result According to the most encrypting.
Preferably, described second test module is specifically for obtaining original note data and encryption key, right Described original note data encodes, and carries out the note data after coding according to described encryption key Encryption;Note data after encryption is contrasted with described air interface transmission note data, according to contrast knot Fruit is tested described air interface transmission note data and the most encrypts.
Preferably, the device of described test also includes: sending module, for having SMS encryption function First terminal and not there is the second terminal of SMS encryption function send Encrypted short message, with by first eventually Show that the display result of described Encrypted short message is encrypted test on end and the second terminal.
Preferably, the device of described test also includes: storage test module, for according in memory space The note data of storage be encrypted test.
Preferably, the device of described test also includes: scrnario testing module, in different communication field Send Encrypted short message under scape, capture the air interface transmission that the Encrypted short message sent under different communication scenes is corresponding Note data is also encrypted test.
The method and device of a kind of test of the present invention, after the SMS encryption function of terminal is opened, from encryption After angle set out, by according in real time or the air interface transmission note data that captures of timing is encrypted survey Examination, the also angle before encryption, by by the note data re-encrypted before encryption, then by weight The note data of new encryption compares to be encrypted test, by this with air interface transmission note data Mode, it is possible to the SMS encryption function of terminal is tested from multi-angle, and this test mode is suitable For all terminals with SMS encryption function, it is a kind of general test mode, it is possible to effectively send out Existing terminal, not enough present on SMS encryption function, strengthened the safety of Encrypted short message, thus is improved product Quality.
Accompanying drawing explanation
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of the method first embodiment that the present invention tests;
Fig. 4 is the schematic flow sheet of method the second embodiment that the present invention tests;
Fig. 5 is the schematic flow sheet of method the 3rd embodiment that the present invention tests;
Fig. 6 is the schematic flow sheet of method the 4th embodiment that the present invention tests;
Fig. 7 is the high-level schematic functional block diagram of device one embodiment that the present invention tests.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description In, use the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to this The explanation of invention, itself does not has specific meaning.Therefore, " module " and " parts " can be mixedly Use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include (individual digital helps for such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA Reason), PAD (panel computer), PMP (portable media player), the mobile end of guider etc. The fixed terminal of end and such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile whole End.However, it will be understood by those skilled in the art that, in addition to being used in particular for the element of mobile purpose, Structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, User input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, Controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but should It is understood by, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of group Part.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 with wireless Radio communication between communication system or network.Such as, wireless communication unit can include broadcast reception Module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and position At least one in information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receive broadcast singal and/ Or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast control services Device can be to generate and send broadcast singal and/or the server of broadcast related information or the previous existence of reception The broadcast singal become and/or broadcast related information and send it to the server of terminal.Broadcast singal can To include TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal May further include the broadcast singal combined with TV or radio signals.Broadcast related information also may be used To provide via mobile communications network, and in this case, broadcast related information can be by mobile communication Module 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be with digital multimedia The broadcast electronic program guides (EPG) of (DMB), the electronic service of digital video broadcast-handheld (DVB-H) refer to The form in south (ESG) etc. and exist.Broadcast reception module 111 can be by using various types of broadcast System receives signal broadcast.Especially, broadcast reception module 111 can be by using such as multimedia broadcasting -ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), the Radio Data System of forward link media (MediaFLO), received terrestrial digital broadcasting are comprehensive The digit broadcasting system of service (ISDB-T) etc. receives digital broadcasting.Broadcast reception module 111 can be by structure Make the various broadcast systems for being adapted to provide for broadcast singal and above-mentioned digit broadcasting system.Connect via broadcast Receive broadcast singal that module 111 receives and/or broadcast related information can be stored in memorizer 160 (or its The storage medium of its type) in.
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.), In exterior terminal and server at least one and/or receive from it radio signal.Such radio Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message The various types of data sent and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internal or Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA be (high Speed downlink packets accesses) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology Including bluetoothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position is believed The typical case of breath module is GPS (global positioning system).According to current technology, GPS module 115 is counted Calculating should from the range information of three or more satellites and correct time information and the information for calculating With triangulation, thus according to longitude, latitude with highly accurately calculate three-dimensional current location information. Currently, for calculating method three satellites of use of position and temporal information and by using other one Position that the correction of satellite calculates and the error of temporal information.Additionally, GPS module 115 can be by real Time ground Continuous plus current location information calculate velocity information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase Machine 121 and mike 1220, camera 121 is caught by image in Video Capture pattern or image capture mode The view data of the static images or video that obtain device acquisition processes.Picture frame after process can show Show on display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or its Its storage medium) in or be transmitted via wireless communication unit 110, can be according to the structure of mobile terminal Two or more cameras 121 of offer are provided.Mike 122 can be at telephone calling model, logging mode, language Sound recognition mode etc. operational mode receives sound (voice data) via mike, and can be by this The acoustic processing of sample is voice data.Audio frequency (voice) data after process can be at telephone calling model In the case of be converted to can via mobile communication module 112 be sent to mobile communication base station form output.Mike Wind 122 can be implemented various types of noise and eliminate (or suppression) algorithm and receiving to eliminate (or suppression) and sending out The noise produced during sending audio signal or interference.
It is mobile to control that user input unit 130 can generate key input data according to the order of user's input The various operations of terminal.User input unit 130 allows user to input various types of information, and permissible Including keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electricity The sensitive component of change held etc.), roller, rocking bar etc..Especially, when touch pad as a layer When being superimposed upon on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, the opening of mobile terminal 100 Or closed mode), the position of mobile terminal 100, user for mobile terminal 100 contact (that is, touch Input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc. Deng, and generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, mobile terminal is worked as 100 when being embodied as sliding-type mobile phone, and it is to open also that sensing unit 140 can sense this sliding-type phone It is to close.It addition, sensing unit 140 can detect whether power subsystem 190 provides electric power or interface list Whether unit 170 couples with external device (ED).Sensing unit 140 can include that proximity transducer 1410 will below In conjunction with touch screen, this is described.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100 Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery Charger) port, wired or wireless FPDP, memory card port, for connect there is identification module The port of device, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identify Module can be to store for verifying that user uses the various information of mobile terminal 100 and can include using Family identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..Separately Outward, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, Identify that device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 can And will receive from the input (such as, data message, electric power etc.) of external device (ED) for reception One or more elements of being transferred in mobile terminal 100 of input or may be used at mobile terminal and Data are transmitted between external device (ED).
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to lead to Cross it provide the path of mobile terminal 100 by electric power from base or can serve as allowing to input from base Various command signals be transferred to the path of mobile terminal by it.Various command signals from base input Or electric power may serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output is single Unit 150 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal, Video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151, Dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, mobile terminal is worked as 100 when being in telephone calling model, display unit 151 can show and call or other communicate (such as, civilian This information receiving and transmitting, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 The image of capture and/or the image of reception can be shown, the UI of video or image and correlation function is shown Or GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexibility At least one in display, three-dimensional (3D) display etc..Some in these display can be by structure Making as transparence to allow user to watch from outside, this is properly termed as transparent display, typical transparent aobvious Show that device can for example, TOLED (transparent organic light emitting diode) display etc..Want according to specific Embodiment, mobile terminal 100 can include two or more display units (or other display device), example As, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch Screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, by wireless communication unit 110 Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.And And, the audio frequency that dio Output Modules 152 can provide relevant to the specific function of mobile terminal 100 execution is defeated Go out (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can wrap Include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typically Event can include calling reception, message sink, key signals input, touch input etc..Except audio frequency Or outside video frequency output, alarm unit 153 can provide in a different manner and export sending out with notification event Raw.Such as, alarm unit 153 can with vibration form provide output, when receive calling, message or During some other entrance communication (incoming communication), alarm unit 153 can provide sense of touch defeated Go out (that is, vibration) to notify to user.By providing such sense of touch to export, even if user's When mobile phone is in the pocket of user, user also is able to identify the generation of various event.Alarm list Unit 153 can also provide generation defeated of notification event via display unit 151 or dio Output Modules 152 Go out.
Memorizer 160 can store the process performed by controller 180 and control the software program etc. of operation Deng, or can temporarily store oneself through output maybe will export data (such as, telephone directory, message, Still image, video etc.).And, memorizer 160 can store and be applied to touch screen about when touch Time the vibration of various modes of output and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory, Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), electrically erasable Read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, light Dish etc..And, mobile terminal 100 can be connected the storage function performing memorizer 160 with by network Network storage device cooperation.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice Control that call, data communication, video calling etc. are relevant and process.It addition, controller 180 can wrap Including the multi-media module 1810 for reproducing (or playback) multi-medium data, multi-media module 1810 can be with structure Make in controller 180, or it is so structured that separate with controller 180.Controller 180 can perform mould Formula identifying processing, to be identified as character by the handwriting input performed on the touchscreen or picture drafting input Or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any group The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through Use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, control Device processed, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein At least one is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implement, the embodiment of such as process or function can with allow perform at least one function or The single software module of operation is implemented.Software code can be write by with any suitable programming language Software application (or program) implement, software code can be stored in memorizer 160 and by controlling Device 180 processed performs.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe Various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. In slide type mobile terminal as example.Therefore, the present invention can be applied to any kind of mobile whole End, and it is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that and utilizes via frame or packet transmission data The most wired and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, by communication system The air interface that system uses includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) move lead to UMTS (UMTS) (especially, Long Term Evolution (LTE)), the whole world Communication system (GSM) etc..As non-limiting example, explained below relates to cdma communication system, But such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to Interface is formed with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and can be via returning Journey circuit is couple to the BSC275 of base station 270 and forms interface.If back haul link can be according to connecing that Ganji knows Any one in Kou constructs, and described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750。
Each BS270 can service one or more subregion (or region), by multidirectional antenna or sensing certain party To antenna cover each subregion radially away from BS270.Or, each subregion can be by being used for Two or more antennas of diversity reception cover.Each BS270 may be constructed such that the multiple frequencies of support are divided Join, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base Station transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " is permissible For broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ". Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system the shifting operated by broadcsting transmitter (BT) 295 Dynamic terminal 100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences reception as shown in Figure 1 The broadcast singal sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300. Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of defend Star obtains useful location information.GPS module 115 is generally configured to and satellite 300 as shown in Figure 1 Coordinate the location information wanted with acquisition.Substitute GPS tracking technique or outside GPS tracking technique, Other technology of the position that can follow the tracks of mobile terminal can be used.It addition, at least one gps satellite 300 Can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives from various mobile terminals 100 Reverse link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of. Each reverse link signal that certain base station 270 receives is processed in specific BS270.Obtain Data are forwarded to the BSC275 being correlated with.BSC provides call resource distribution and includes between BS270 The mobile management function of the coordination of soft switching process.The data received also are routed to by BSC275 MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 Yu MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 Correspondingly control BS270 forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
With reference to Fig. 3, in one embodiment, the method for this test includes:
Step S101, after SMS encryption function is opened, captures air interface transmission note data, according to described Air interface transmission note data is encrypted test;
In the present embodiment, after the SMS encryption function of terminal is opened, user uses the note that terminal carries Application editing short message, this note is the note of encryption, is then transmitted after terminal coding.The present embodiment By timing or random crawl air interface transmission note data, (i.e. terminal is ultimately sent to the note number of base station According to), and extract the coded data in air interface transmission note data frame by frame, finally to the coded data extracted It is encrypted test, tests its note whether encrypted.
Wherein, for the data frame structure in the air interface transmission note data that captured, it is correlated with according to note PDU agreement, the coded data of note can be found out by flag bit, all short message encoding data are entered Row extracts frame by frame, is extracted the frame data obtained and is the note data of actual transmissions after encryption.
In the present embodiment, it is encrypted test according to described air interface transmission note data and there is various ways, Such as can attempt being decoded, if decoded data are word, then regard this air interface transmission note number According to unencryption, whereas if decoded data are mess code, then this air interface transmission note data is encrypted; And for example, it is possible to use the application of third party's note is tested, owing to the application of third party's note can only be read general Logical note, therefore, utilizes the application of third party's note to read crawl air interface transmission note data and is encrypted Test, etc..
S102, obtains the note data before encryption and is encrypted, according to the note data after encryption and institute State air interface transmission note data and be encrypted test.
In the present embodiment, the note data before encryption can be obtained, then use same AES (i.e. Encryption key) re-start encryption, by short with the air interface transmission captured for the note data of re-encrypted Letter data carries out contrasting and realizes adding density test, if both keep consistent substantially, then this air interface transmission is short Letter data is encrypted, whereas if both exist obvious difference, then regards this air interface transmission note data Unencryption.
In the present embodiment, it is encrypted test according to air interface transmission note data, i.e. angle after encryption Set out and test;It is encrypted test according to the note data after encryption and air interface transmission note data, I.e. angle before encryption is tested, and therefore, the present embodiment can be encrypted survey from multi-angle Examination.
Compared with prior art, the present embodiment is after the SMS encryption function of terminal is opened, after encryption Angle is set out, by being encrypted test according to the air interface transmission note data captured in real time or regularly, The also angle before encryption, by by the note data re-encrypted before encryption, then will again add Close note data and air interface transmission note data compare to be encrypted test, in this way, From multi-angle, the SMS encryption function of terminal can be tested, and this test mode is applicable to institute There is the terminal with SMS encryption function, be a kind of general test mode, it is possible to effectively find terminal Not enough present on SMS encryption function, strengthen the safety of Encrypted short message, thus improve product quality.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 3, above-mentioned S101 step Including: after SMS encryption function is opened, capture air interface transmission note data;Short to described air interface transmission Letter data attempts decoding, tests described air interface transmission note data according to decoded result and the most encrypts.
In the present embodiment, after the SMS encryption function of terminal is opened, the note sent is Encrypted short message, After the air interface transmission note data i.e. captured should be encryption.
The present embodiment captures air interface transmission note data and extracts useful information.When terminal sends Encrypted short message Time, capture air interface transmission note data, and each frame data are extracted thus obtains completely encrypt short Letter data.Because short message encoding is all to use 7bit coding rule to carry out encoding and decoding, so being compiled by 7bit The code rule data to extracting attempt being decoded.Because air interface transmission note data not being deciphered, so If it is mess code that decoded binary stream is converted to word, then regards this air interface transmission note data and encrypt, Note can be encrypted after opening by the i.e. SMS encryption function of terminal, adds density test and passes through;If decoding After binary stream be converted to word without mess code, then regard this air interface transmission note data unencryption, i.e. terminal SMS encryption function open after fail note is encrypted, add density test and do not pass through.
In the present embodiment, adding the terminal that density test passes through is qualified products, and adds density test unsanctioned end End is substandard product, thus effectively finds that terminal, not enough present on SMS encryption function, is strengthened The safety of Encrypted short message, improves product quality.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 3, above-mentioned S101 step Including: after SMS encryption function is opened, utilize the application of third party's note to read described air interface transmission note Data, test described air interface transmission note data according to described reading result and the most encrypt.
In the present embodiment, the application of third party's note cannot use the encryption that in terminal, note encryption function is corresponding Key carrys out Encrypted short message, the most also cannot be decrypted the note of the encryption using this encryption key.
In the present embodiment, after SMS encryption function is opened, the note sent is Encrypted short message, i.e. institute After the air interface transmission note data captured should be encryption.Then, the application of third party's note is utilized to read Air interface transmission note data, if the Encrypted short message read is mess code, then note is Encrypted short message, adds Density test passes through;If the Encrypted short message read is word, then note is unencryption note, and encryption is surveyed Examination is not passed through.
In view of and can there is the application of multiple note in the present embodiment, by according to the 3rd in existing terminal Side's note application is read air interface transmission note data and is encrypted test, it is possible to from another angle to short Letter encryption function is tested, and discovery terminal is not enough present on SMS encryption function effectively, thus Strengthen the safety of Encrypted short message.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 3, above-mentioned S102 step Including:
Obtain original note data and encryption key, described original note data is encoded, and according to Note data after coding is encrypted by described encryption key;
Note data after encryption is contrasted, according to comparing result with described air interface transmission note data Test described air interface transmission note data the most to encrypt.
In the present embodiment, original note data i.e. unencrypted note data, obtain from particular memory space Encryption key, carries out 7bit coding by original note data, obtains data during normal short message transmission.Make With encryption key, these data are encrypted, the note data after being encrypted in theory.Finally by theory Note data after upper encryption contrasts with air interface transmission note data, if both keep unanimously, thinking Air interface transmission note data has been encrypted, and adds density test and passes through, and otherwise adds density test and does not passes through.
Wherein, first original note data is converted to binary stream, according to 7bit coding rule, this two is entered Stream encryption processed obtains data during normal short message transmission.
The present embodiment is encrypted test, i.e. according to the note data after encryption and air interface transmission note data From encryption before angle test, effectively find terminal present on SMS encryption function not Foot, thus strengthen the safety of Encrypted short message.
In a preferred embodiment, as shown in Figure 4, on the basis of the embodiment of above-mentioned Fig. 3, institute The method stating test also includes:
S103, to having the first terminal of SMS encryption function and not having the second end of SMS encryption function End sends Encrypted short message, with by showing on first terminal and the second terminal that the display of described Encrypted short message is tied Fruit is encrypted test.
In the present embodiment, such as terminal A and terminal B have SMS encryption function, and terminal C is common Terminal, its key that this SMS encryption function cannot be used corresponding is encrypted, and also cannot be carried out deciphering.
Terminal A is opened after SMS encryption function, mass-send one Encrypted short message to terminal B and terminal C, Terminal B and terminal C receive Encrypted short message, show, because of terminal B energy in terminal B with terminal C Enough Encrypted short message is decrypted, the word that therefore terminal B display Encrypted short message is corresponding, and terminal C without Encrypted short message is decrypted by method, and therefore terminal C is shown as mess code.
The present embodiment combines having SMS encryption function and not having the terminal pair of SMS encryption function of other The SMS encryption function of the terminal of the present embodiment is encrypted test, it is possible to add note from another angle Close function is tested, and effectively further discovery terminal is not enough present on SMS encryption function, and Strengthen the safety of Encrypted short message.
In a preferred embodiment, as it is shown in figure 5, on the basis of the embodiment of above-mentioned Fig. 3, institute The method stating test also includes:
S104, is encrypted test according to the note data of the storage in memory space.
In the present embodiment, about the storage position of Encrypted short message, there is no any difference with normal short message, but Be necessary to ensure that terminal only preserve note encrypted after note data, and do not preserve the note data before encryption, For note note data after encrypted, need to carry out memory space and data base especially checking confirmation, I.e. check the note data after the most only storage note is encrypted in memory space and data base;And encrypt Key is only stored in single hardware memory space, and it is short that this hardware memory space only allows that terminal carries Letter application conducts interviews and uses.
In the present embodiment, check the note after the most only storage note is encrypted in memory space and data base Data, can obtain note data from memory space, whether encrypt it referring next to above-mentioned mode Test.
The present embodiment is encrypted test according to the note data of the storage in memory space, from another angle SMS encryption function is tested by degree, effectively further finds that terminal functionally exists at SMS encryption Deficiency, and strengthen the safety of Encrypted short message.
In a preferred embodiment, as shown in Figure 6, on the basis of the embodiment of above-mentioned Fig. 3, institute The method stating test also includes:
S105, sends Encrypted short message under different communication scenes, captures and sends under different communication scenes Air interface transmission note data corresponding to Encrypted short message and be encrypted test.
The present embodiment, after SMS encryption function is opened, sends Encrypted short message under different communication scenes, Communication scenes include various network formats, communication process send note, simultaneously open multiple different should Used time sends short messages, bulk SMS, long SMS etc., multiple combination that may be present is all carried out during test Testing, and every kind of communication scenes carries out a number of Encrypted short message functional test, every kind of communication scenes is entered 50 tests of row.It addition, the most encrypt sending note data every time, refer to above-mentioned encryption and survey Examination mode, as detected decoded note data whether encryption etc..If under various different communication scenes, The probability that passes through of test can reach certain value, such as level off to 100% time, then the note of this terminal Encryption function is enough reliable, for qualified products.
The present embodiment sends Encrypted short message under different communication scenes and is encrypted test, from another SMS encryption function is tested by angle, effectively further finds that terminal is functionally deposited at SMS encryption Deficiency, and strengthen the safety of Encrypted short message.
The present invention also provides for the device of a kind of test, as it is shown in fig. 7, in one embodiment, and described test Device include:
First test module 101, after opening when SMS encryption function, captures air interface transmission note number According to, it is encrypted test according to described air interface transmission note data;
In the present embodiment, after the SMS encryption function of terminal is opened, user uses the note that terminal carries Application editing short message, this note is the note of encryption, is then transmitted after terminal coding.The present embodiment By timing or random crawl air interface transmission note data, (i.e. terminal is ultimately sent to the note number of base station According to), and extract the coded data in air interface transmission note data frame by frame, finally to the coded data extracted It is encrypted test, tests its note whether encrypted.
Wherein, for the data frame structure in the air interface transmission note data that captured, it is correlated with according to note PDU agreement, the coded data of note can be found out by flag bit, all short message encoding data are entered Row extracts frame by frame, is extracted the frame data obtained and is the note data of actual transmissions after encryption.
In the present embodiment, it is encrypted test according to described air interface transmission note data and there is various ways, Such as can attempt being decoded, if decoded data are word, then regard this air interface transmission note number According to unencryption, whereas if decoded data are mess code, then this air interface transmission note data is encrypted; And for example, it is possible to use the application of third party's note is tested, owing to the application of third party's note can only be read general Logical note, therefore, utilizes the application of third party's note to read crawl air interface transmission note data and is encrypted Test, etc..
Second test module 102, is used for the note data before obtaining encryption and is encrypted, according to encryption After note data and described air interface transmission note data be encrypted test.
In the present embodiment, the note data before encryption can be obtained, then use same AES (i.e. Encryption key) re-start encryption, by short with the air interface transmission captured for the note data of re-encrypted Letter data carries out contrasting and realizes adding density test, if both keep consistent substantially, then this air interface transmission is short Letter data is encrypted, whereas if both exist obvious difference, then regards this air interface transmission note data Unencryption.
In the present embodiment, it is encrypted test according to air interface transmission note data, i.e. angle after encryption Set out and test;It is encrypted test according to the note data after encryption and air interface transmission note data, I.e. angle before encryption is tested, and therefore, the present embodiment can be encrypted survey from multi-angle Examination.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 7, described first test mould Block 101, specifically for after SMS encryption function is opened, captures air interface transmission note data;To described sky Port transmission note data attempts decoding, has tested described air interface transmission note data the most according to decoded result Encryption.
In the present embodiment, after the SMS encryption function of terminal is opened, the note sent is Encrypted short message, After the air interface transmission note data i.e. captured should be encryption.
The present embodiment captures air interface transmission note data and extracts useful information.When terminal sends Encrypted short message Time, capture air interface transmission note data, and each frame data are extracted thus obtains completely encrypt short Letter data.Because short message encoding is all to use 7bit coding rule to carry out encoding and decoding, so being compiled by 7bit The code rule data to extracting attempt being decoded.Because air interface transmission note data not being deciphered, so If it is mess code that decoded binary stream is converted to word, then regards this air interface transmission note data and encrypt, Note can be encrypted after opening by the i.e. SMS encryption function of terminal, adds density test and passes through;If decoding After binary stream be converted to word without mess code, then regard this air interface transmission note data unencryption, i.e. terminal SMS encryption function open after fail note is encrypted, add density test and do not pass through.
In the present embodiment, adding the terminal that density test passes through is qualified products, and adds density test unsanctioned end End is substandard product, thus effectively finds that terminal, not enough present on SMS encryption function, is strengthened The safety of Encrypted short message, improves product quality.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 7, described first test mould Block 101, specifically for after SMS encryption function is opened, utilizes and eats dishes without rice or wine described in the application reading of third party's note Transmission note data, tests described air interface transmission note data according to described reading result and the most encrypts.
In the present embodiment, the application of third party's note cannot use the encryption that in terminal, note encryption function is corresponding Key carrys out Encrypted short message, the most also cannot be decrypted the note of the encryption using this encryption key.
In the present embodiment, after SMS encryption function is opened, the note sent is Encrypted short message, i.e. institute After the air interface transmission note data captured should be encryption.Then, the application of third party's note is utilized to read Air interface transmission note data, if the Encrypted short message read is mess code, then note is Encrypted short message, adds Density test passes through;If the Encrypted short message read is word, then note is unencryption note, and encryption is surveyed Examination is not passed through.
In view of and can there is the application of multiple note in the present embodiment, by according to the 3rd in existing terminal Side's note application is read air interface transmission note data and is encrypted test, it is possible to from another angle to short Letter encryption function is tested, and discovery terminal is not enough present on SMS encryption function effectively, thus Strengthen the safety of Encrypted short message.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 7, described second test mould Described original note data, specifically for obtaining original note data and encryption key, is compiled by block 102 Code, and according to described encryption key, the note data after coding is encrypted;By the note number after encryption Contrast according to described air interface transmission note data, test described air interface transmission note according to comparing result Data are encrypted the most.
In the present embodiment, original note data i.e. unencrypted note data, obtain from particular memory space Encryption key, carries out 7bit coding by original note data, obtains data during normal short message transmission.Make With encryption key, these data are encrypted, the note data after being encrypted in theory.Finally by theory Note data after upper encryption contrasts with air interface transmission note data, if both keep unanimously, thinking Air interface transmission note data has been encrypted, and adds density test and passes through, and otherwise adds density test and does not passes through.
Wherein, first original note data is converted to binary stream, according to 7bit coding rule, this two is entered Stream encryption processed obtains data during normal short message transmission.
The present embodiment is encrypted test, i.e. according to the note data after encryption and air interface transmission note data From encryption before angle test, effectively find terminal present on SMS encryption function not Foot, thus strengthen the safety of Encrypted short message.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 7, the device of described test Also include: sending module, for there is the first terminal of SMS encryption function and not there is SMS encryption Second terminal of function sends Encrypted short message, with by showing described encryption on first terminal and the second terminal The display result of note is encrypted test.
In the present embodiment, such as terminal A and terminal B have SMS encryption function, and terminal C is common Terminal, its key that this SMS encryption function cannot be used corresponding is encrypted, and also cannot be carried out deciphering.
Terminal A is opened after SMS encryption function, mass-send one Encrypted short message to terminal B and terminal C, Terminal B and terminal C receive Encrypted short message, show, because of terminal B energy in terminal B with terminal C Enough Encrypted short message is decrypted, the word that therefore terminal B display Encrypted short message is corresponding, and terminal C without Encrypted short message is decrypted by method, and therefore terminal C is shown as mess code.
The present embodiment combines having SMS encryption function and not having the terminal pair of SMS encryption function of other The SMS encryption function of the terminal of the present embodiment is encrypted test, it is possible to add note from another angle Close function is tested, and effectively further discovery terminal is not enough present on SMS encryption function, and Strengthen the safety of Encrypted short message.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 7, the device of described test Also include: storage test module, for being encrypted survey according to the note data of the storage in memory space Examination.
In the present embodiment, about the storage position of Encrypted short message, there is no any difference with normal short message, but Be necessary to ensure that terminal only preserve note encrypted after note data, and do not preserve the note data before encryption, For note note data after encrypted, need to carry out memory space and data base especially checking confirmation, I.e. check the note data after the most only storage note is encrypted in memory space and data base;And encrypt Key is only stored in single hardware memory space, and it is short that this hardware memory space only allows that terminal carries Letter application conducts interviews and uses.
In the present embodiment, check the note after the most only storage note is encrypted in memory space and data base Data, can obtain note data from memory space, whether encrypt it referring next to above-mentioned mode Test.
The present embodiment is encrypted test according to the note data of the storage in memory space, from another angle SMS encryption function is tested by degree, effectively further finds that terminal functionally exists at SMS encryption Deficiency, and strengthen the safety of Encrypted short message.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 7, the device of described test Also include: scrnario testing module, for sending Encrypted short message under different communication scenes, capture difference Communication scenes under air interface transmission note data corresponding to Encrypted short message that send be encrypted test.
The present embodiment, after SMS encryption function is opened, sends Encrypted short message under different communication scenes, Communication scenes include various network formats, communication process send note, simultaneously open multiple different should Used time sends short messages, bulk SMS, long SMS etc., multiple combination that may be present is all carried out during test Testing, and every kind of communication scenes carries out a number of Encrypted short message functional test, every kind of communication scenes is entered 50 tests of row.It addition, the most encrypt sending note data every time, refer to above-mentioned encryption and survey Examination mode, as detected decoded note data whether encryption etc..If under various different communication scenes, The probability that passes through of test can reach certain value, such as level off to 100% time, then the note of this terminal Encryption function is enough reliable, for qualified products.
The present embodiment sends Encrypted short message under different communication scenes and is encrypted test, from another SMS encryption function is tested by angle, effectively further finds that terminal is functionally deposited at SMS encryption Deficiency, and strengthen the safety of Encrypted short message.
It should be noted that in this article, term " include ", " comprising " or its any other variant Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction Under condition, statement " including ... " key element limited, it is not excluded that include this key element process, Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (8)

1. the method for a test, it is characterised in that the method for described test includes:
S101, after SMS encryption function is opened, captures air interface transmission note data, eats dishes without rice or wine according to described Transmission note data is encrypted test;
S102, obtain encryption before note data and be encrypted, according to encryption after note data and enter Described air interface transmission note data after row adds density test is encrypted test;Wherein,
Described S101 step includes: after SMS encryption function is opened, and captures air interface transmission note data; Described air interface transmission note data is decoded, tests described air interface transmission note number according to decoded result According to the most encrypting;Wherein, after described air interface transmission note data is decoded, if decoded number According to for word, the most described air interface transmission note data unencryption;If decoded data are mess code, then institute State air interface transmission note data to encrypt;Or,
Described S101 step includes: after SMS encryption function is opened, and utilizes the application of third party's note to read Taking described air interface transmission note data, testing described air interface transmission note data according to described reading result is No encrypt;Wherein, when utilizing the application of third party's note to read described air interface transmission note data, if reading The data got are mess code, and the most described air interface transmission note data is encrypted;If the data read are literary composition Word, the most described air interface transmission note data unencryption;
Described S102 step includes:
Obtain original note data and encryption key, described original note data is encoded, and according to Note data after coding is encrypted by described encryption key;
Note data after encryption is contrasted, according to comparing result with described air interface transmission note data Test described air interface transmission note data the most to encrypt;Wherein, if the note data after Jia Mi is with described Air interface transmission note data keeps consistent, and the most described air interface transmission note data is encrypted, if after Jia Mi Note data there are differences with described air interface transmission note data, and the most described air interface transmission note data does not adds Close.
2. the method for test as claimed in claim 1, it is characterised in that the method for described test is also wrapped Include:
S103, to having the first terminal of SMS encryption function and not having the second end of SMS encryption function End sends Encrypted short message, with by showing on first terminal and the second terminal that the display of described Encrypted short message is tied Fruit is encrypted test;Wherein, described encryption is received at described first terminal and described second terminal short After letter, respectively described Encrypted short message is shown, if described first terminal display word, and described the Two terminal demonstration mess codes, the most described Encrypted short message is encrypted;If described first terminal and described second terminal All show word, the most described Encrypted short message unencryption;
Described S103 step performs after described step S102.
3. the method for test as claimed in claim 1 or 2, it is characterised in that the method for described test Also include:
S104, is encrypted test according to the note data of the storage in memory space;Wherein, by described Note data contrasts with air interface transmission note data, if the note data after Jia Mi passes with described eating dishes without rice or wine Defeated note data keeps consistent, and the most described air interface transmission note data is encrypted, if the note number after Jia Mi There are differences according to described air interface transmission note data, the most described air interface transmission note data unencryption;
Described S104 step performs after described step S102.
4. the method for test as claimed in claim 3, it is characterised in that the method for described test is also wrapped Include:
S105, sends Encrypted short message under different communication scenes, captures and sends under different communication scenes Air interface transmission note data corresponding to Encrypted short message and be encrypted test;Wherein, by short for described encryption Letter contrasts with described air interface transmission note data, if described Encrypted short message and described air interface transmission note Data keep consistent, and the most described air interface transmission note data is encrypted, if described Encrypted short message and described sky Port transmission note data there are differences, the most described air interface transmission note data unencryption;
Described S105 step performs after described step S104.
5. the device of a test, it is characterised in that the device of described test includes:
First test module, after opening when SMS encryption function, captures air interface transmission note data, It is encrypted test according to described air interface transmission note data;
Second test module, is used for the note data before obtaining encryption and is encrypted, after encryption Note data and the described air interface transmission note data after being encrypted test are encrypted test;Wherein,
Described first test module, specifically for after SMS encryption function is opened, captures air interface transmission note Data;Described air interface transmission note data is decoded, tests described air interface transmission according to decoded result Note data is encrypted the most;Wherein, after described air interface transmission note data is decoded, if decoding After data be word, the most described air interface transmission note data unencryption;If decoded data are mess code, The most described air interface transmission note data is encrypted;Or,
Described first test module, specifically for after SMS encryption function is opened, utilizes third party's note to answer With reading described air interface transmission note data, test described air interface transmission note number according to described reading result According to the most encrypting;Wherein, when utilizing the application of third party's note to read described air interface transmission note data, If the data read are mess code, the most described air interface transmission note data is encrypted;If the data read For word, the most described air interface transmission note data unencryption;
Described second test module is specifically for obtaining original note data and encryption key, to described original Note data encodes, and is encrypted the note data after coding according to described encryption key;Will Note data after encryption contrasts with described air interface transmission note data, tests institute according to comparing result State air interface transmission note data the most to encrypt;
Wherein, if the note data after Jia Mi keeps consistent with described air interface transmission note data, then described Air interface transmission note data is encrypted, if the note data after Jia Mi is deposited with described air interface transmission note data In difference, the most described air interface transmission note data unencryption.
6. the device of test as claimed in claim 5, it is characterised in that the device of described test also wraps Include: sending module, for there is the first terminal of SMS encryption function and not there is SMS encryption function Second terminal send Encrypted short message, with by showing described Encrypted short message on first terminal and the second terminal Display result be encrypted test;Wherein, institute is received at described first terminal and described second terminal After stating Encrypted short message, respectively described Encrypted short message is shown, if described first terminal display word, And described second terminal demonstration mess code, the most described Encrypted short message is encrypted;If described first terminal is with described Second terminal all shows word, the most described Encrypted short message unencryption.
7. the device of the test as described in claim 5 or 6, it is characterised in that the device of described test Also include: storage test module, for being encrypted survey according to the note data of the storage in memory space Examination;Wherein, described note data is contrasted with air interface transmission note data, if the note after Jia Mi Data keep consistent with described air interface transmission note data, and the most described air interface transmission note data is encrypted, If the note data after Jia Mi there are differences with described air interface transmission note data, the most described air interface transmission is short Letter data unencryption.
8. the device of test as claimed in claim 7, it is characterised in that the device of described test also wraps Include: scrnario testing module, for sending Encrypted short message under different communication scenes, capture different leading to Air interface transmission note data corresponding to Encrypted short message that send under letter scene is also encrypted test;Wherein, Described Encrypted short message is contrasted with described air interface transmission note data, if described Encrypted short message is with described Air interface transmission note data keeps consistent, and the most described air interface transmission note data is encrypted, if described encryption Note there are differences with described air interface transmission note data, the most described air interface transmission note data unencryption.
CN201510213814.8A 2015-04-29 2015-04-29 The method and device of test Active CN104955091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510213814.8A CN104955091B (en) 2015-04-29 2015-04-29 The method and device of test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510213814.8A CN104955091B (en) 2015-04-29 2015-04-29 The method and device of test

Publications (2)

Publication Number Publication Date
CN104955091A CN104955091A (en) 2015-09-30
CN104955091B true CN104955091B (en) 2016-10-19

Family

ID=54169357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510213814.8A Active CN104955091B (en) 2015-04-29 2015-04-29 The method and device of test

Country Status (1)

Country Link
CN (1) CN104955091B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209344A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 The method of testing of a kind of voice encryption and test equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703108A (en) * 2005-06-01 2005-11-30 海信集团有限公司 Encryption method for short message of mobile telephone
CN101001183A (en) * 2007-01-10 2007-07-18 网之易信息技术(北京)有限公司 Test method and system for network application software
CN101783753A (en) * 2010-02-09 2010-07-21 工业和信息化部电信传输研究所 Method and system for analyzing wireless local area network authentication and privacy infrastructure protocol
CN102045669A (en) * 2010-12-01 2011-05-04 中兴通讯股份有限公司 Implementation method and system for encrypting short message services
CN104009889A (en) * 2014-06-10 2014-08-27 西安西电捷通无线网络通信股份有限公司 Communication protocol testing method and tested equipment and testing platform of communication protocol testing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703108A (en) * 2005-06-01 2005-11-30 海信集团有限公司 Encryption method for short message of mobile telephone
CN101001183A (en) * 2007-01-10 2007-07-18 网之易信息技术(北京)有限公司 Test method and system for network application software
CN101783753A (en) * 2010-02-09 2010-07-21 工业和信息化部电信传输研究所 Method and system for analyzing wireless local area network authentication and privacy infrastructure protocol
CN102045669A (en) * 2010-12-01 2011-05-04 中兴通讯股份有限公司 Implementation method and system for encrypting short message services
CN104009889A (en) * 2014-06-10 2014-08-27 西安西电捷通无线网络通信股份有限公司 Communication protocol testing method and tested equipment and testing platform of communication protocol testing method

Also Published As

Publication number Publication date
CN104955091A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN105206260B (en) A kind of terminal speech broadcasting method, device and terminal speech operational approach
CN105099669B (en) Recording encipher-decipher method and device
CN105095708B (en) A kind of unlocking method and device of mobile terminal
CN106027804A (en) Unlocking method and unlocking apparatus of mobile terminal
CN106304086A (en) Pseudo-base station recognition methods and device
CN106817377A (en) A kind of data encryption device, decryption device and method
CN106453056A (en) Mobile terminal and method for safely sharing picture
CN106453652A (en) Log file uploading method and system
CN105898703A (en) Method and device for managing identified pseudo base stations
CN106095464B (en) A kind of method and device of the seamless operation of application program
CN104618382B (en) A kind of method and device realizing the seamless access of information
CN106255114A (en) A kind of terminal and the method identifying pseudo-base station thereof
CN105872997A (en) Short message merging method and terminal equipment
CN105117751B (en) Two-dimentional decoding transmission method and device
CN105991293A (en) Verification method and verification device
CN105095705B (en) A kind of information processing method and device
CN106507343A (en) A kind of information processing method, mobile terminal and server
CN106327338A (en) Data processing method and device
CN106131318A (en) A kind of incoming information hidden method and device
CN104732218B (en) The method and device that image is shown
CN104955091B (en) The method and device of test
CN106650347A (en) Synchronous unblocking method, device and terminals
CN104702781A (en) Information encryption method and information encryption device
CN104794052B (en) The method and device of encryption display test
CN104965663B (en) Unlocking method and tripper

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant