CN113946500B - Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment - Google Patents

Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment Download PDF

Info

Publication number
CN113946500B
CN113946500B CN202110482989.4A CN202110482989A CN113946500B CN 113946500 B CN113946500 B CN 113946500B CN 202110482989 A CN202110482989 A CN 202110482989A CN 113946500 B CN113946500 B CN 113946500B
Authority
CN
China
Prior art keywords
tracking
message
decoding
memory
file
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
CN202110482989.4A
Other languages
Chinese (zh)
Other versions
CN113946500A (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.)
Chongqing College of Electronic Engineering
Original Assignee
Chongqing College of Electronic Engineering
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 Chongqing College of Electronic Engineering filed Critical Chongqing College of Electronic Engineering
Priority to CN202110482989.4A priority Critical patent/CN113946500B/en
Publication of CN113946500A publication Critical patent/CN113946500A/en
Application granted granted Critical
Publication of CN113946500B publication Critical patent/CN113946500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to the technical field of tracking test, and discloses a method, a system, a storage medium and equipment for tracking test of a multimode mobile terminal, wherein the method comprises the following steps: receiving tracking information output by mobile terminal equipment through com or usb communication mode, writing into hard disk in memory mapping mode when size of stored file is larger than preset file size; decoding frames according to the tracking message frame format agreed by both parties, and putting the decoded contents into a specific array; distributing the trace type in the trace message data to different window displays, decoding the content part in the frame into a visible character string for display, and displaying the signaling structure and the content or drawing and displaying the statistical result in a tree shape; according to the input inquiry content, quickly inquiring and displaying the fixed-point information; exporting the content of the decoding tracking information to a text format for storage; and playing back the locally stored tracking file by adopting a memory file mapping method. The invention has fast speed of decoding, displaying and inquiring the trace information.

Description

Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment
Technical Field
The invention belongs to the technical field of tracking test, and particularly relates to a method, a system, a storage medium and equipment for tracking test of a multimode mobile terminal.
Background
At present, testing is an indispensable link in the whole period of mobile terminal baseband software development, and the testing mode directly influences the software development efficiency and quality. One important test mode is trace debugging, which can monitor system variables, memory, state machines, function execution conditions or task scheduling conditions and the like by inserting trace points into software in advance, packaging trace information and outputting trace information. In order to facilitate the developer to locate the problem according to the tracking information, the WINDOWS platform side needs to set up a device for tracking test, receive decoding and display the tracking content. Because of the particularity of the mobile terminal, especially in the network access test process, the output speed of the tracking information is quite high, so that the tracking test device is required to have enough capability of processing the tracking information, the speed of decoding and displaying the tracking information is increased, and the tracking information is ensured not to be lost. Besides real-time tracking, the tracking test device also needs to provide a function of playing back tracking files for a base band software developer to locate problems.
The drive test is to test the whole course along a specific route in an area by means of test software, test mobile phones, test vehicles and other tools, simulate the terminal user to feel the network service quality, and evaluate the call quality by obtaining wireless environment parameters, call connection conditions and testers. The method provides necessary network coverage, call quality information and the like for departments such as planning, engineering, operation and maintenance of the network, and provides references for network optimization and subsequent establishment.
A 4G multimode (multi mode) mobile communication terminal supporting GSM (Global System for Mobile communication, global system for mobile communications), UMTS (Universal Mobile Telecommunication System, universal mobile telecommunications system) and LTE (Long Term Evolution ) simultaneously.
Through the above analysis, the problems and defects existing in the prior art are as follows: the existing tracking test method is easy to lose tracking information, meanwhile, the speed of testing and processing the tracking information is low, and meanwhile, the development period of new requirements of a test system is long.
The difficulty of solving the problems and the defects is as follows: once the development tester determines the computer for tracking test, the computing processing and storage capacity of the computer are limited, but the tracking test system can shorten the reading and writing time of the tracking message file and improve the speed of decoding and displaying the tracking message. The read-write time of the trace message file is shortened mainly by a memory mapping read-write mode. Although the read-write speed of the large file is greatly improved compared with that of the traditional hard disk by adopting a memory mapping mode, the time is still required to be occupied, so that the tracking test system in the invention adopts a double-memory mapping mode, the memory mapping file 1 is used for receiving tracking data, when the received data file is larger than the preset size, the data is copied to the memory mapping file 2, and the memory mapping file 2 writes the disk according to the preset tracking file size, so that the aim is to ensure that one tracking message is not missed. The speed of decoding positioning tracking information is improved through a specific array recording method. The fast check point bit message includes: and the storage address quick-speed query point message of a certain tracking message is obtained by calculating the memory base address obtained based on the ID (ID, record number) in the specific array and the memory offset by utilizing the characteristic of quick traversal query speed of the array data structure storage. The device is found to consume the most computer resources and take the longest time after a large number of tests, so when the tracking message is decoded by receiving data, only the content information in the tracking message is decoded and displayed in all message display main windows. Such as layer 3 message, only layer 3 signaling names are displayed, and no specific content is displayed. When a developer needs to analyze a certain important trace message, all contents of the trace message are decoded again, and detailed contents and values of each field are displayed in a tree structure. The message display module distributes the message to different sub-windows according to the tracking type in the tracking message data, but whether the sub-windows are displayed or not is controlled by the external configuration file of the device, so that a test developer can control the display of the different windows by modifying the related parameters in the external configuration file of the device. The purpose is to improve the decoding display speed of the device.
The meaning of solving the problems and the defects is as follows: the method ensures that one trace message is not missed, any trace message provides information for the analysis problem of development testers, particularly key trace messages, if one trace message is missed, misjudgment is caused, and the analysis and positioning problem of the development testers is seriously influenced. The system decodes and displays the tracking information, and improves the efficiency of analyzing and solving the problems by development and testing personnel. Especially in the real-time tracking test process, a tester needs to initiate a service, such as a call, a data downloading service and the like, after a certain specific tracking message, so that it is more important to improve the speed of decoding and displaying the tracking message.
The invention has high expansion performance, and can realize other related functions only by the fact that the two parties are about the tracking frame header information for the mobile terminals working in different modes to output the tracking information.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a multi-mode mobile terminal tracking test method, a system, a storage medium and equipment.
The invention is realized in such a way that the multi-mode mobile terminal tracking test method comprises the following steps:
receiving a tracking message output by a mobile terminal according to a frame format agreed in advance by both parties; reading and decoding the trace message; and judging the type of the tracking message according to the decoding, and distributing the tracking message to different display windows to display the tracking message.
Further, the multi-mode mobile terminal tracking test method comprises the following steps:
Step one, receiving tracking information output by mobile terminal equipment through com or usb communication mode, adopting double memory mapping technology to process tracking file, wherein the memory mapping file 1 is used for continuously receiving the tracking information, and the memory mapping file 2 is used for writing the tracking file into a disc in segments (preset file size) to ensure that one tracking information is not missed; writing the received file into the hard disk in a memory mapping mode when the size of the received file is larger than the preset file size;
And secondly, decoding the frame according to the tracking message frame format agreed by the two parties, and putting the decoded content into a specific array. Each member object in a specific array index set includes, in addition to each element in the frame structure set forth in the present invention, a memory offset location, a record number, etc. to determine important positioning information. The invention adopts array structure storage, because the computer traverses and inquires the array data structure with the fastest speed, the invention is convenient for improving the speed of positioning and tracking information;
In decoding the trace message, only part of the information of the content (frame content part in the frame structure) in the trace message is decoded. Such as layer 3 message, only layer 3 signaling names are displayed, and no specific content is displayed. When a developer needs to analyze a certain important trace message, all contents of the trace message are decoded again, and detailed contents and values of each field are displayed in a tree structure. The purpose of adopting the mode is that the layer three tracking signaling output by the baseband software adopts ASN.1 coding, if each piece of information of the layer three of the device is decoded by the ASN.1, more computer resources and time are consumed, in addition, the IPC communication information contains a lot of contents, namely, a plurality of layers of structures are circularly nested in the structure body, and if each piece of IPC tracking information is decoded by the device, more time is consumed.
And step three, displaying the tracking message. Displaying all tracking messages in a main window, distributing the tracking messages to different sub-window displays according to the tracking types in the tracking message data, and decoding content parts in frames into visible character string displays, tree-shaped display signaling structures and contents or displaying statistical results in a drawing mode;
the message display module distributes the message to different sub-windows according to the tracking type in the tracking message data, but whether the sub-windows are displayed or not is controlled by an external configuration file of the device, so that a test developer can control the display of different windows by modifying relevant parameters in the configuration file. The display speed of the device is improved.
Step four, according to the input inquiry content, quickly inquiring and displaying the fixed-point information; the fast positioning mode is to find the memory offset through the unique record number in the tracking message array to locate the tracking message position. Exporting the content of the decoding tracking information to a text format for storage; and playing back the locally stored tracking file by adopting a memory file mapping method.
Further, in the first step, the writing to the hard disk in a memory mapped manner includes:
(1) Establishing memory mapping and returning a pointer pointing to a process logic address;
(2) Converting the logical address into a physical address by an MMU (memory management unit);
(3) When the MMU does not find the physical address corresponding to ptr in the address mapping table, searching a corresponding page in the swap by using an interrupt response function, and reading the file from the hard disk to a physical memory through the relation established by memory mapping;
(4) And performing virtual memory replacement, and when the physical memory is insufficient, switching the temporarily unused physical pages to the hard disk through a virtual memory mechanism.
Further, the decoding the frame according to the trace message frame format agreed by both parties includes: the trace message frame header data is analyzed and the trace message frame content portion is not fully decoded.
Further, in the fourth step, the fast check point bit message includes: and calculating to obtain the storage address quick check point position message of a certain tracking message based on the obtained memory base address and the memory offset.
Another object of the present invention is to provide a multimode mobile terminal tracking test system for implementing the multimode mobile terminal tracking test method, the multimode mobile terminal tracking test system comprising:
The tracking message receiving module is used for receiving the tracking message output by the mobile terminal equipment in a com or usb communication mode and informing the tracking decoding module of working in a signal quantity mode; simultaneously, the method is used for writing the file into the hard disk in a memory mapping mode when the size of the stored file is larger than the preset file size;
the tracking message decoding module is used for decoding frames according to the tracking message frame format agreed by the two parties and placing the decoded contents into a specific array; simultaneously notifying a tracking message display module;
The trace message distribution display module is used for distributing all trace messages to different sub-window displays according to trace types in trace message data and decoding content parts in frames into visible character string display, tree-shaped display signaling structure and content or displaying statistical results in a drawing mode;
The tracking message query module is used for rapidly searching and displaying the bit message according to the input query content;
The trace message decoding and deriving module is used for deriving the content of decoding the trace message to be stored in a text format, and comprises the decoding result of ASN.1 of the signaling information of the baseband software layer 3, the signaling IPC information structure body content communicated with the DSP processor and the like in ARM processing in the baseband architecture;
And the tracking message playback module is used for playing back the locally stored tracking file.
Further, the multimode mobile terminal tracking test system further includes:
In the real-time tracking process, the message receiving module, the message decoding module and the message distributing and displaying module poll the CPU of the computer, and the message receiving module and the message decoding module have higher priority than other modules.
By combining all the technical schemes, the invention has the advantages and positive effects that: the invention adopts the memory file mapping technology to process the disk writing of the tracking file; processing the tracking file by adopting a double-memory mapping technology, wherein one memory mapping file is used for continuously receiving the tracking information, and one memory mapping file is used for writing the tracking segmented file into a disk; when the stored tracking file is played back, the file is read in a memory mapping mode, so that the speed of decoding, displaying and inquiring the tracking information is increased. Compared with the traditional read/write file read-write mode, the speed is improved by 5-6 times.
The invention has high expansion performance, and can realize other related functions only by the fact that the two parties are about the tracking frame header information for the mobile terminals working in different modes to output the tracking information. The message display module displays all tracking messages in addition to the main window, and distributes the tracking messages to different sub-windows for display according to the tracking types in the tracking message data; decoding the content part in the frame into visible character string display, tree-shaped display signaling structure and content or displaying statistical results in a drawing mode;
the present invention supports complete air interface information display and decoding. And supporting to open a plurality of message windows simultaneously, and realizing simultaneous display of different types of signaling and decoding thereof. The locking and searching function of the signaling is supported, the filtering and displaying of the decoding signaling is supported, and the rapid positioning of the user on the signaling flow layer is facilitated.
The tracking information received by the invention is identified by adopting a unique record number (ID) mode and is stored in an array by a specific data structure, so that other modules in the device can quickly position the tracking information. The specific data structure comprises various parts of the frame structure of the trace message, such as a TAG mark and a frame number, and also adds information which is convenient for positioning the present invention, including a memory offset, a record number and the like.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a multi-mode mobile terminal tracking test method provided by an embodiment of the present invention.
Fig. 2 is a diagram of a memory mapping method according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a location tracking message according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a multimode mobile terminal tracking test system according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of a multimode mobile terminal tracking test system according to an embodiment of the present invention;
In the figure: 1. a tracking message receiving module; 2. a trace message decoding module; 3. a tracking message distribution display module; 4. a tracking message query module; 5. a trace message decoding export module; 6. and a tracking message playback module.
Fig. 6 is a schematic diagram of a frame structure of a trace message according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a display module according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the following examples in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Aiming at the problems existing in the prior art, the invention provides a multi-mode mobile terminal tracking test method, a multi-mode mobile terminal tracking test system, a multi-mode mobile terminal tracking test storage medium and multi-mode mobile terminal tracking test equipment, and the invention is described in detail below with reference to the accompanying drawings.
The multimode mobile terminal tracking test method provided by the embodiment of the invention comprises the following steps: receiving a tracking message output by a mobile terminal according to a frame format agreed in advance by both parties; reading and decoding the trace message; and judging the type of the tracking message according to the decoding, and distributing the tracking message to different display windows to display the tracking message.
As shown in fig. 1, the multimode mobile terminal tracking test method provided by the embodiment of the invention comprises the following steps:
s101, receiving tracking information output by mobile terminal equipment through a com or usb communication mode, and writing the tracking information into a hard disk in a memory mapping mode when the size of a storage file is larger than the preset file size;
s102, decoding frames according to the tracking message frame format agreed by both sides, and putting the decoded contents into a specific array;
S103, distributing the trace type in the trace message data to different sub-window displays, and displaying visible character strings of the content part decoding visible character strings in the frames, displaying the signaling structure and the content in a tree form or displaying the statistical result in a drawing mode;
S104, according to the input query content, rapidly searching the bit message and displaying the bit message; exporting the content of the decoding tracking information to a text format for storage; and playing back the locally stored tracking file by adopting a memory file mapping method.
As shown in fig. 2, in step S101, writing to a hard disk in a memory mapping manner according to an embodiment of the present invention includes:
(1) Establishing memory mapping and returning a pointer pointing to a process logic address;
(2) Converting the logical address into a physical address by an MMU (memory management unit);
(3) When the MMU does not find the physical address corresponding to ptr in the address mapping table, searching a corresponding page in the swap by using a broken response function, and reading the file from the hard disk to a physical memory through the relation established by memory mapping;
(4) And performing virtual memory replacement, and when the physical memory is insufficient, switching the temporarily unused physical pages to the hard disk through a virtual memory mechanism.
The embodiment of the invention provides a method for decoding frames according to the tracking message frame format agreed by both parties, which comprises the following steps: the trace message frame header data is analyzed and the trace message frame content portion is not decoded.
As shown in fig. 3, in step S104, the fast check-point bit message provided in the embodiment of the present invention includes: and calculating to obtain the storage address quick check point position message of a certain tracking message based on the obtained memory base address and the memory offset.
As shown in fig. 4 to 5, in step S104, the multimode mobile terminal tracking test system provided by the embodiment of the invention includes:
The tracking message receiving module 1 is used for receiving the tracking message output by the mobile terminal equipment in a com or usb communication mode and informing the tracking decoding module to work in a signal quantity mode; simultaneously, the method is used for writing the file into the hard disk in a memory mapping mode when the size of the stored file is larger than the preset file size;
The trace message decoding module 2 is used for decoding frames according to the trace message frame format agreed by the two parties and placing the decoded contents into a specific array; simultaneously notifying a tracking message display module;
The trace message distribution display module 3 is used for distributing the trace message data to different window displays according to the trace types in the trace message data, and decoding the content part in the frame into visible character string display, tree-shaped display signaling structure and content or displaying the statistical result in a drawing mode;
the tracking message query module 4 is used for quickly searching and displaying the bit message according to the input query content;
The trace message decoding export module 5 is used for exporting the content of decoding the trace message to a text format for storage;
A trace message playback module 6 for playing back the trace file that has been saved locally.
The multimode mobile terminal tracking test system provided by the embodiment of the invention further comprises:
In the real-time tracking process, the message receiving module, the message decoding module and the message distributing and displaying module poll the CPU of the computer, and the message receiving module and the message decoding module have higher priority than other modules.
The technical effects of the present invention will be further described with reference to specific examples.
Example 1:
The multimode mobile terminal has very high output speed of tracking information in the real-time tracking test process, so the device adopts the memory file mapping technology to process the disk writing of the tracking file; when the stored tracking file is played back, the file is read in the mode, so that the speed of decoding, displaying and inquiring the tracking information is increased. Compared with the traditional read/write file read-write mode, the speed is improved by 5-6 times.
The memory mapping refers to that the positions of files on a hard disk are in one-to-one correspondence with areas with the same size as a block in a process logic address space, and when one piece of data in a memory is to be accessed, the memory mapping is converted into one piece of data of the accessed file. This correspondence is purely a logical concept and physically nonexistent, since the logical address space of the process itself is nonexistent. The purpose of this approach is to reduce the copying of data between user space and kernel space, which is suitable for large data processing. When the memory mapping file is used for processing the file stored on the disk, I/O operation on the file is not needed, which means that the file is not needed to be applied and the buffer memory is not needed to be allocated when the file is processed, all file buffer memory operations are directly managed by the system, and the steps of loading file data into a memory, writing back the data from the memory to the file, releasing memory blocks and the like are eliminated, so that the efficiency of processing the file with large data volume by using the memory mapping file is very high.
The memory mapping procedure is as shown in fig. 2:
step 1: establishing memory mapping and returning a pointer pointing to a process logic address;
Step 2: converting the logical address to a physical address by an MMU (Memory Management Unit );
Step 3: the MMU fails because the MMU cannot find the physical address corresponding to ptr in the address mapping table, a page fault interrupt is generated, a corresponding page is found in the swap by the interrupt response function, and if the corresponding page cannot be found, the file is read from the hard disk into the physical memory through the relation established by the memory mapping;
Step 4: and finishing virtual memory replacement. If the physical memory is found to be insufficient when copying the data, the temporarily unused physical pages are exchanged to the hard disk through a virtual memory mechanism (swap);
The tracking information received by the device is identified by adopting a unique record number (ID) mode and is stored in an array in a specific data structure, so that other modules in the device can conveniently and quickly locate the tracking information. The specific data structure comprises various parts of the tracking message frame structure, such as a TAG mark and a frame number, and also adds information which is convenient for the tracking device to position, including a memory offset, a record number and the like;
The specific mode of the positioning tracking message is as follows: the memory base address obtained from 2 is added with the memory offset obtained from 2 to calculate the storage address of a certain trace message. As shown in fig. 3.
In the real-time tracking process, a mode of polling the CPU of the computer is adopted by the message receiving module, the message decoding module and the message distributing and displaying module, and the message receiving module and the message decoding module are ensured to have higher priority than other modules.
The message decoding module only analyzes the frame header data of the tracking message in the decoding process, does not decode the frame content part of the tracking message, ensures that the message receiving module has enough CPU time slices to receive the data, improves the decoding speed and prevents the tracking message from being lost.
The device has high expansion performance, and for the mobile terminals working in different modes to output tracking information, other related functions can be realized only by the two parties about the tracking frame header information.
The message display module distributes the trace types in the trace message data to different window displays, decodes the content parts in the frames into visible character strings to display the visible character strings, tree-shaped display signaling structures and contents or displays statistical results in a drawing mode.
The message display module distributes the message to different sub-windows according to the tracking type in the tracking message data, but whether the sub-windows are displayed or not is controlled by an external configuration file of the device, so that a test developer can control the display of different windows by modifying relevant parameters in the configuration file. The purpose is to improve the decoding display speed of the device.
The message display module does not completely decode the content part of the message frame, especially the trace message with complicated structures such as layer three, EL1, measurement, etc., and only when a development tester needs detailed information for a certain trace message, the device rapidly locates trace data, decodes and displays the content part of the trace message in detail in a tree structure, and aims to improve the decoding display speed of the device.
The third layer is a baseband protocol stack software RRC layer signaling, and the coding format is ASN.1; IPC is signaling communicated between ARM microprocessor and DSP processor in hardware architecture of baseband chip; the measurement is signaling of the mobile communication terminal for measurement in the wireless mobile environment;
the apparatus supports complete air interface information display and decoding. And supporting to open a plurality of message windows simultaneously, and realizing simultaneous display of different types of signaling and decoding thereof. The locking and searching function of the signaling is supported, the filtering and displaying of the decoding signaling is supported, and the rapid positioning of the user on the signaling flow layer is facilitated.
Example 2:
As shown in FIG. 1, the device runs on the WINDOWS platform side and mainly comprises a tracking message receiving module, a tracking message decoding module, a tracking message display module, a tracking message query module, a tracking message decoding and deriving module and a tracking message playback module, wherein the functions of the modules are as follows:
1) Tracking message receiving module: and receiving the tracking information output by the mobile terminal equipment through a com or usb communication mode, informing the tracking decoding module to work in a signal quantity mode, and writing the tracking information into a hard disk in a memory mapping mode when the size of the stored file is larger than the preset file size.
2) A trace message decoding module: the frames are decoded according to the trace message frame format agreed by both parties, and the decoded content is put into the specific array described in method 6. And simultaneously notifying the tracking message display module to display the message content.
3) Tracking message display module: distributing the trace type in the trace message data to different window displays, and decoding the content part in the frame into a visible character string display or displaying the decoding result in a tree structure.
4) Tracking message query module: and quickly searching and displaying the bit information according to the inquiry content input by the tester.
5) Tracking message decoding and deriving module: and exporting the content of the decoding tracking message of the device into a text format and storing the content.
6) A tracking message playback module: playback of the track file already stored locally.
The device tracks the structure description of the message frame:
The frame structure of the trace message is shown in fig. 4 and includes a frame header, frame data content, and a frame trailer.
1. Frame header: important information for marking the frame content, including the following:
1) TAG flag: marking the current tracking information as the frame data output by the multimode mobile terminal under which network system is, so as to conveniently locate the starting position of the frame data;
2) Sn No.: frame number of embedded platform side tracking module package;
3) GSM frame number
4) TD-SCDMA frame number
5) TD_LTE frame number
6) Tracking type: indicating which module of the baseband software the trace content belongs to for output;
7) Length: a frame content data length;
2. Frame content: outputting the specific content of the trace message.
3. End of frame: the end of a complete trace message.
The invention adopts a simulation test method in the development stage, and the specific simulation test mode is as follows: the method comprises the steps of inserting a DB9 serial port adapter connector into a serial port interface of a host computer, welding two pins of TXD and RXD read-write data of the serial port adapter connector together, enabling a local serial port to automatically receive data, constructing tracking frame data which are already agreed by a tracking module on the embedded platform side through software of the device during development and self-receiving, and checking whether the device meets various requirements. The method can be simultaneously developed with the embedded platform side tracking module, and shortens the development period.
And the simulation test is completed, so that the test under the real environment can be performed, namely, the drive test performed under the real mobile network environment by using the multimode mobile terminal is performed. As the simulation test is passed, the device has basically stable functions when being provided for users, and only needs to be noted that the discharge speed of the tracking data in the real environment is much faster than that in the simulation test, so that the stage focuses on whether the decoding display speed of the device meets the requirement or not and whether the tracking frame is lost or not.
In addition, the switching between the simulation test and the real use can be performed by modifying parameters through configuration files outside the device, and the code is not required to be modified.
In addition to testing the hardware (including CPU, memory, hard disk configuration, etc.) configuration of the host, the window decoding display speed related factors of the present device also include:
1. The window refreshing selects whether to refresh line by line or page by page (2000 pieces of tracking data per page), and the decoding display speed of page by page refreshing is far higher than that of line by line refreshing;
2. whether other sub-windows are displayed or not is except the main window for displaying all the messages, only the main window is displayed for displaying all the messages, and the other sub-windows are closed and the displaying speed is the fastest;
3. The main window of all message display displays the content of the tracking frame, whether all the content in the frame is displayed or partially displayed, and the data of the display frame is minimum and the speed is faster;
The following test result data are all from the test under the real network environment, and the device only displays all the main windows of the messages when in the test, closes other sub-windows, and displays all the contents in the frame structure of fig. 6. The test PC host is configured as i5-7500 x643.41G Hz dual-core, 8G memory processor, and can refresh up to 2743 trace message displays per second per page, and refresh up to 771 trace message displays per second per row. And the received tracking data decodes the sn number in the frame header continuously, and the tracking loss-free condition is indicated.
It should be noted that the embodiments of the present invention can be realized in hardware, software, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or special purpose design hardware. Those of ordinary skill in the art will appreciate that the apparatus and methods described above may be implemented using computer executable instructions and/or embodied in processor control code, such as provided on a carrier medium such as a magnetic disk, CD or DVD-ROM, a programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The device of the present invention and its modules may be implemented by hardware circuitry, such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., as well as software executed by various types of processors, or by a combination of the above hardware circuitry and software, such as firmware.
The foregoing is merely illustrative of specific embodiments of the present invention, and the scope of the invention is not limited thereto, but any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention will be apparent to those skilled in the art within the scope of the present invention.

Claims (6)

1. The multi-mode mobile terminal tracking test method is characterized by comprising the following steps of: receiving a tracking message output by a mobile terminal according to a frame format agreed in advance by both parties; reading and decoding the trace message; according to the type of the tracking information judged by decoding, distributing the tracking information to different display windows to display the tracking information;
The multi-mode mobile terminal tracking test method specifically comprises the following steps:
Step one, receiving tracking information output by mobile terminal equipment through a com or usb communication mode, and writing the tracking information into a hard disk in a memory mapping mode when the size of a storage file is larger than the preset file size;
decoding the frame header and storing the offset position according to the frame format of the tracking message agreed by both parties, only partially decoding the frame content part, and putting the decoded content into a specific array;
step three, displaying all the decoded contents in the step two by all the trace information display main window, distributing the trace information to different window displays according to trace types in trace information data, and displaying the decoded contents in frames in visible character strings, tree-shaped display signaling structures and contents or displaying statistical results in a drawing;
Step four, according to the input inquiry content, quickly inquiring and displaying the fixed-point information; exporting the content of the decoding tracking information to a text format for storage; playing back the locally stored tracking file by adopting a memory file mapping method;
in the first step, the writing to the hard disk in a memory mapping manner includes:
(1) Establishing memory mapping and returning a pointer pointing to a process logic address;
(2) Converting the logical address into a physical address by an MMU (memory management unit);
(3) When the MMU does not find the physical address corresponding to ptr in the address mapping table, searching a corresponding page in the swap by using an interrupt response function, and reading the file from the hard disk to a physical memory through the relation established by memory mapping;
(4) Virtual memory replacement is carried out, and when the physical memory is insufficient, temporarily unused physical pages are exchanged to the hard disk through a virtual memory mechanism;
Writing the tracking file into a hard disk in a double-memory mapping mode, and processing the tracking file by adopting a double-memory mapping technology, wherein one memory mapping file is used for continuously receiving the tracking message, and one memory mapping file is used for writing the tracking file into a segmented disk;
in the second step, the decoding the frame according to the tracking message frame format agreed by both parties includes: analyzing the trace message frame header data and memorizing the memory offset location, not decoding all of the contents of the trace message frame content portion;
in the second step, each member object in the specific array index group comprises each element in the frame structure, and a memory offset position is added to record important positioning information such as numbers;
In the third step, all the trace information displays the main window to display all the decoded contents in the second step, and the trace types in trace information data distribute different sub-window display frame decoding results or drawing display statistical results; when a development tester needs to analyze an important trace message, decoding all contents of the trace message, and displaying the structure and the contents of the frame in a tree structure; the decoding of the frame content at this time includes: based on the ID (record number) in the specific array, adding the memory base address obtained by the ID to the memory offset to calculate the storage address of a certain trace message, and decoding all contents of the content part of the located frame;
In the fourth step, the fast check point bit message includes: and calculating the storage address of a certain trace message by adding the memory offset to the memory base address obtained based on the ID (ID, record number) in the specific array.
2. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the multimode mobile terminal tracking test method of claim 1.
3. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the multimode mobile terminal tracking test method of claim 1.
4. An information data processing terminal, characterized in that the information data processing terminal is used for implementing the multimode mobile terminal tracking test method according to claim 1.
5. A multimode mobile terminal tracking test system for implementing the multimode mobile terminal tracking test method of claim 1, characterized in that the multimode mobile terminal tracking test system comprises:
The tracking message receiving module is used for receiving the tracking message output by the mobile terminal equipment in a com or usb communication mode and informing the tracking decoding module of working in a signal quantity mode; simultaneously, the method is used for writing the file into the hard disk in a memory mapping mode when the size of the stored file is larger than the preset file size;
the tracking message decoding module is used for decoding frames according to the tracking message frame format agreed by the two parties and placing the decoded contents into a specific array; simultaneously notifying a tracking message display module;
the trace message distribution display module is used for distributing trace types in trace message data to different window displays, and decoding content parts in frames into visible character string displays, tree-shaped display signaling structures and content or drawing display statistical results;
The tracking message query module is used for rapidly searching and displaying the bit message according to the input query content;
the trace message decoding export module is used for exporting the content of decoding the trace message to be a text format for storage;
And the tracking message playback module is used for playing back the locally stored tracking file.
6. The multi-mode mobile terminal tracking test system of claim 5, further comprising: in the real-time tracking process, the message receiving module, the message decoding module and the message distributing and displaying module poll the CPU of the computer, and the message receiving module and the message decoding module have higher priority than other modules; and the modules are in communication control through signal quantity.
CN202110482989.4A 2021-04-30 2021-04-30 Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment Active CN113946500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110482989.4A CN113946500B (en) 2021-04-30 2021-04-30 Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110482989.4A CN113946500B (en) 2021-04-30 2021-04-30 Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment

Publications (2)

Publication Number Publication Date
CN113946500A CN113946500A (en) 2022-01-18
CN113946500B true CN113946500B (en) 2024-06-18

Family

ID=79327389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110482989.4A Active CN113946500B (en) 2021-04-30 2021-04-30 Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment

Country Status (1)

Country Link
CN (1) CN113946500B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533093A (en) * 2003-03-19 2004-09-29 华为技术有限公司 Method for analysing signalling
CN102891875A (en) * 2011-07-21 2013-01-23 中兴通讯股份有限公司 Signaling trace method, WEB client, service end and signaling trace system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263440B1 (en) * 1998-07-10 2001-07-17 International Business Machines Corporation Tracking and protection of display monitors by reporting their identity
US6738083B2 (en) * 2000-12-20 2004-05-18 Siemens Information And Communication Networks, Inc. Method and system of displaying telecommunication trace diagnostic information
CN101170437A (en) * 2007-11-21 2008-04-30 中兴通讯股份有限公司 A method for signaling tracking client to display signaling message
US7984337B2 (en) * 2009-02-19 2011-07-19 Freescale Semiconductor, Inc. Address translation trace message generation for debug
CN106897083A (en) * 2015-12-24 2017-06-27 北京奇虎科技有限公司 A kind of method and device of security sweep
US9990281B1 (en) * 2016-11-29 2018-06-05 Sap Se Multi-level memory mapping

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533093A (en) * 2003-03-19 2004-09-29 华为技术有限公司 Method for analysing signalling
CN102891875A (en) * 2011-07-21 2013-01-23 中兴通讯股份有限公司 Signaling trace method, WEB client, service end and signaling trace system

Also Published As

Publication number Publication date
CN113946500A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN107273280B (en) Log processing method and device, electronic equipment and storage medium
CN107506300B (en) User interface testing method, device, server and storage medium
JP6867066B1 (en) Memory analysis methods and equipment based on dynamic stain analysis
US8402446B2 (en) Associating probes with test cases
CN1248116C (en) General purpose testing arrangement for embedded module and subsystem based on host machine platform
WO2023092942A1 (en) Data storage method and apparatus, and electronic device and readable storage medium
CN114765051A (en) Memory test method and device, readable storage medium and electronic equipment
CN112579382A (en) NVMe solid state disk bad block analysis method, device, terminal and storage medium
CN113946500B (en) Multimode mobile terminal tracking test method, multimode mobile terminal tracking test system, storage medium and multimode mobile terminal tracking test equipment
CN114817114A (en) MIPI interface, control method, device and medium thereof
CN107977318A (en) A kind of energy consumption and performance test methods of Android application programs
CN111127223B (en) Insurance product testing method, insurance product testing device and storage medium
CN115617819B (en) Data storage method, system, computer device and storage medium
CN117149550A (en) Solid state disk performance detection method and device and electronic equipment
CN109344083A (en) A kind of program debugging method, device, equipment and readable storage medium storing program for executing
CN102918508A (en) Replaying architectural execution with a probeless trace capture
CN115292147A (en) Convenient and efficient memory pressure testing method and system and readable storage medium
CN115629929B (en) Memory error detection method, system and equipment
CN111290743A (en) Computer software technology development and debugging system
CN115485668A (en) Memory page marking as a logging hint for processor-based execution tracing
US20190310800A1 (en) Method for accessing code sram and electronic device
CN115808612B (en) Chip physical IP test system, method and electronic equipment
CN101976219A (en) Method and system for debugging automatic testing script and agent device
CN102520337A (en) Method for accessing register, device and automatic testing machine
CN113377677B (en) Unit testing method and device

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
GR01 Patent grant
GR01 Patent grant