CN112506764A - Method, system, equipment and medium for automatically testing RDS function - Google Patents

Method, system, equipment and medium for automatically testing RDS function Download PDF

Info

Publication number
CN112506764A
CN112506764A CN202011372804.6A CN202011372804A CN112506764A CN 112506764 A CN112506764 A CN 112506764A CN 202011372804 A CN202011372804 A CN 202011372804A CN 112506764 A CN112506764 A CN 112506764A
Authority
CN
China
Prior art keywords
rds
information
rds information
test
function
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.)
Granted
Application number
CN202011372804.6A
Other languages
Chinese (zh)
Other versions
CN112506764B (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.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu 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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202011372804.6A priority Critical patent/CN112506764B/en
Publication of CN112506764A publication Critical patent/CN112506764A/en
Application granted granted Critical
Publication of CN112506764B publication Critical patent/CN112506764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/3684Test management for test design, e.g. generating new test cases
    • 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)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The invention discloses a method, a system, equipment and a medium for automatically testing RDS (remote data service) functions. The method comprises the following steps: controlling a transmitter to transmit first RDS information according to the test case; receiving second RDS information sent by a testing machine, wherein the second RDS information is generated by the testing machine receiving the first RDS information; and judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information. The invention can test according to the preset test content at any time and any place based on the setting of the test case and the introduction of the transmitter, so that the test on the RDS function of the test machine is not restricted by a local broadcasting station with the RDS function, and the whole test process does not need manual intervention, can automatically realize the test on the RDS function of the test machine, and improves the test efficiency.

Description

Method, system, equipment and medium for automatically testing RDS function
Technical Field
The invention relates to the technical field of communication, in particular to a method, a system, equipment and a medium for automatically testing an RDS function.
Background
An RDS (Radio Data System, broadcast Data System) is a Data service, which is proposed by the European Broadcasting Union (EBU), and its purpose is to provide display and control information for stations in the 87.5 to 108.0FM (frequency modulation) band to improve the function of an FM receiver, so that the operation of the FM station is more friendly, that is, compared with the common FM station which can only send out "listen" information, the RDS station can also send out "see" information, or the RDS station adds additional information to the common FM station.
The transmission of the RDS information has the characteristics of grouping and time sharing, and the block transmission of the RDS information makes the receiver need to reconstruct the data stream of the RDS information by using an opposite technique, but there are various reasons in the transmission process, so that data errors occur to further cause unavailability of the received information, or data loss to further affect the integrity of the received information, and therefore, the RDS function of the receiver needs to be tested to ensure the RDS information receiving capability of the receiver.
At present, the RDS function of the testing machine is tested by searching a local broadcasting station with the RDS function of the testing machine, recording the frequency information of the broadcasting station, and recording the RDS information condition and the playing time of the broadcasting station for a long time.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method, a system, equipment and a medium for automatically testing the RDS function, aiming at overcoming the defects that the RDS function testing freedom degree is poor and the testing content is severely restricted in the prior art.
The invention solves the technical problems through the following technical scheme:
a method for automated testing of RDS functionality, comprising:
controlling a transmitter to transmit first RDS information according to the test case;
acquiring second RDS information received by a testing machine, wherein the second RDS information is generated by the first RDS information received by the testing machine;
and judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information.
Preferably, before the step of determining whether the RDS function of the tester fails according to the second RDS information and the first RDS information, the method further includes:
obtaining third RDS information received by a comparison machine, wherein the third RDS information is generated by receiving the first RDS information by the comparison machine;
the step of judging whether the RDS function of the test machine fails according to the second RDS information and the first RDS information comprises the following steps:
judging whether the second RDS information is consistent with the first RDS information or not;
if the second RDS information is inconsistent with the first RDS information, judging whether the third RDS information is consistent with the first RDS information;
and if the third RDS information is consistent with the first RDS information, determining that the RDS function of the test machine fails.
Preferably, when the third RDS information is not identical to the first RDS information, the method further comprises:
restarting the transmitter and executing the step of controlling the transmitter to transmit the first RDS information according to the test case;
and/or the presence of a gas in the gas,
when the RDS function of the tester fails, the method further comprises the following steps:
creating a fault file, wherein the fault file comprises the serial number and/or fault information of the test case;
and/or the presence of a gas in the gas,
when the RDS function of the tester fails, the method further comprises the following steps:
exporting a LOG file from the testing machine;
and/or the presence of a gas in the gas,
the test case comprises at least one of transmitting frequency, transmitting power, display frequency, PS information and RT information, wherein the PS information comprises a plurality of PS sub-information arranged according to a display sequence.
A system for automated testing of RDS functionality, comprising:
the transmission control module is used for controlling the transmitter to transmit the first RDS information according to the test case;
the first acquisition module is used for acquiring second RDS information received by the testing machine, and the second RDS information is generated by receiving the first RDS information by the testing machine;
and the judging module is used for judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information.
Preferably, the system further comprises:
the second acquisition module is used for acquiring third RDS information received by the comparison machine, and the third RDS information is generated by receiving the first RDS information by the comparison machine;
the judging module comprises:
the first judgment unit is used for judging whether the second RDS information is consistent with the first RDS information;
the second judging unit is used for judging whether the third RDS information is consistent with the first RDS information or not when the first judging unit judges that the third RDS information is not consistent with the first RDS information;
and the determining unit is used for determining that the RDS function of the tester fails when the second judging unit judges that the RDS function of the tester is yes.
Preferably, the judging module further comprises:
a restarting unit, configured to restart the transmitter and call the transmission control module when the second determination unit determines that the transmitter is not the transmitter;
and/or the presence of a gas in the gas,
the system further comprises:
the creating module is used for creating a fault file when the RDS function of the test machine fails, wherein the fault file comprises the serial number and/or fault information of the test case;
and/or the presence of a gas in the gas,
the system further comprises:
the export module is used for exporting the LOG file from the tester when the RDS function of the tester fails;
and/or the presence of a gas in the gas,
the test case comprises at least one of transmitting frequency, transmitting power, display frequency, PS information and RT information, wherein the PS information comprises a plurality of PS sub-information arranged according to a display sequence.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements any one of the above methods for automatically testing RDS functionality when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the above-mentioned methods for automatically testing RDS functionality.
A device for automatically testing RDS function comprises a transmitter, a tester and the electronic equipment; wherein:
the electronic equipment is respectively in communication connection with the transmitter and the tester;
the transmitter is used for transmitting first RDS information outwards;
the tester is used for receiving the first RDS information and generating second RDS information.
Preferably, the device further comprises a comparison machine in communication connection with the electronic equipment;
and the comparison machine is used for receiving the first RDS information and generating third RDS information.
The positive progress effects of the invention are as follows: the invention can test according to the preset test content at any time and any place based on the setting of the test case and the introduction of the transmitter, so that the test on the RDS function of the test machine is not restricted by a local broadcasting station with the RDS function, and the whole test process does not need manual intervention, can automatically realize the test on the RDS function of the test machine, and improves the test efficiency.
Drawings
Fig. 1 is a flowchart of a method for automatically testing RDS functions according to embodiment 1 of the present invention.
Fig. 2 is a partial flowchart of step S3 in the method for automatically testing RDS functions according to embodiment 1 of the present invention.
Fig. 3 is a block diagram of a system for automatically testing RDS function according to embodiment 2 of the present invention.
Fig. 4 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention.
Fig. 5 is a block diagram of an apparatus for automatically testing RDS function according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, the method of this embodiment includes:
s1, controlling the transmitter to transmit first RDS information according to the test case;
s2, acquiring second RDS information received by the tester;
and S3, judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information.
In this embodiment, the tester is used for receiving the first RDS information transmitted by the transmitter and generating the second RDS information, and the tester receives the first RDS information and generates the second RDS information. In this embodiment, it may be specifically determined whether the second RDS information received by the testing machine conforms to an expected result according to whether the first RDS information transmitted by the transmitter is consistent with the second RDS information received by the testing machine, so as to determine whether the RDS function of the testing machine fails, that is, whether the function receiving the RDS information fails.
In this embodiment, when it is determined that the RDS function of the tester has not failed, the next cycle of the test case may be entered, or a cycle of another test case may be entered; when the RDS function of the tester is determined to have a fault, a fault file for recording the fault may be created while exporting a LOG file from the tester to a designated folder, where the fault file preferably includes the test case number and fault information.
In this embodiment, the fault information may include, for example, a time when the fault occurs, a transmission parameter of the first RDS information, a content of the second RDS information, a comparison result of the first RDS information and the second RDS information, and the like. The time of the fault preferably comprises the time of starting execution of the corresponding test case and the time of judging the fault of the RDS function of the test machine, and the time of the fault is extended forwards to be beneficial to analysis of the fault occurrence reason; the record of the comparison result can reflect the fault occurrence reason, particularly can reflect the fault occurrence reason which has low occurrence probability or is difficult to distinguish manually, and compared with the mode of manually distinguishing the fault occurrence reason, the efficiency is high and the accuracy is high. Further, in this embodiment, the tester may be controlled to perform screen capturing at the time when the RDS function of the tester is determined to be faulty, and the time when the RDS function of the tester is determined to be faulty and the content of the second RDS information may be specifically acquired based on the screen captured by the tester.
Specifically, in this embodiment, the test case may include the transmission frequency and the transmission power of the transmitter, and may also include the display frequency of the first RDS information. In addition, in this embodiment, the test case may further include PS (Program Service, which is used to provide station name display of 8 characters) information in the first RDS information, and the tester may normally display the received PS information within 5 seconds, and further, when the PS information includes a plurality of PS sub information arranged in the display order, the tester may normally display the received PS sub information one by one according to the display order defined in the test case. In addition, in this embodiment, the test case may further include RT (Radio Text, broadcast Text display information for providing 64 characters at most) information in the first RDS information, and the tester may normally display the received RT information within 30 seconds.
Therefore, in this embodiment, based on the setting of the test case, the transmitter may set the RT information, the PS sub information, the number of pieces thereof, the display order, and the like in the transmitted first RDS information according to the setting program, and then verify whether the RT information, the PS sub information, the number of pieces thereof, and the display order in the second RDS information are consistent with the setting in the test case by comparing the second RDS information received by the test machine and the first RDS information transmitted by the transmitter, so as to test the receiving capability of the RDS information of the test machine.
Compared with the test realized by the broadcasting station which is based on fixed frequency display of the RDS information, fixed PS information and fixed RT information and can not display a plurality of pieces of PS information in sequence, the embodiment overcomes the defect that the RDS function of the test machine is difficult to test when the PS information or the RT information changes, and the embodiment can realize more comprehensive test of the RDS function of the test machine without frequently configuring test parameters manually, thereby improving the reliability of the test.
The embodiment may further include, before step S3, a step of obtaining third RDS information received by the comparator, where the comparator is configured to receive the first RDS information transmitted by the transmitter and generate the third RDS information, and the tester receives the first RDS information to generate the third RDS information, where the RDS function of the comparator is complete, and the RDS information can be accurately received.
Referring to fig. 2, step S3 in this embodiment may specifically include:
s31, judging whether the second RDS information is consistent with the first RDS information;
if not, go to step S32;
s32, judging whether the third RDS information is consistent with the first RDS information or not;
if yes, go to step S33; if not, go to step S34;
s33, determining the RDS function fault of the tester;
s34, the transmitter is restarted, and step S1 is performed.
In this embodiment, when it is determined that the second RDS information received by the test machine is inconsistent with the first RDS information transmitted by the transmitter, it is further determined whether the third RDS information received by the comparator is consistent with the first RDS information transmitted by the transmitter, so as to eliminate inconsistency between the second RDS information and the first RDS information caused by reasons of the test environment, thereby improving accuracy and reliability of the test result.
The embodiment is based on the setting of the test case and the introduction of the transmitter, and can test according to the preset test content at any time and any place, so that the test on the RDS function of the test machine is free from the restriction of a local broadcasting station with the RDS function, manual intervention is not needed in the whole test process, the test on the RDS function of the test machine can be automatically realized, and the test efficiency is improved.
Example 2
Referring to fig. 3, the system of this embodiment includes:
the transmission control module 1 is used for controlling the transmitter to transmit first RDS information according to the test case;
the first acquisition module 2 is used for acquiring the second RDS information received by the tester;
and the judging module 3 is used for judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information.
In this embodiment, the tester is used for receiving the first RDS information transmitted by the transmitter and generating the second RDS information, and the tester receives the first RDS information and generates the second RDS information. In this embodiment, it may be specifically determined whether the second RDS information received by the testing machine conforms to an expected result according to whether the first RDS information transmitted by the transmitter is consistent with the second RDS information received by the testing machine, so as to determine whether the RDS function of the testing machine fails, that is, whether the function receiving the RDS information fails.
In this embodiment, when it is determined that the RDS function of the tester has not failed, the next cycle of the test case may be entered, or a cycle of another test case may be entered; when the RDS function of the tester is judged to have a fault, the creating module may be called to create a fault file for recording the fault while the exporting module is called to export a LOG file from the tester to the specified folder, where the fault file preferably includes the number of the test case and fault information.
In this embodiment, the fault information may include, for example, a time when the fault occurs, a transmission parameter of the first RDS information, a content of the second RDS information, a comparison result of the first RDS information and the second RDS information, and the like. The time of the fault preferably comprises the time of starting execution of the corresponding test case and the time of judging the fault of the RDS function of the test machine, and the time of the fault is extended forwards to be beneficial to analysis of the fault occurrence reason; the record of the comparison result can reflect the fault occurrence reason, particularly can reflect the fault occurrence reason which has low occurrence probability or is difficult to distinguish manually, and compared with the mode of manually distinguishing the fault occurrence reason, the efficiency is high and the accuracy is high. Further, in this embodiment, the tester may be controlled to perform screen capturing at the time when the RDS function of the tester is determined to be faulty, and the time when the RDS function of the tester is determined to be faulty and the content of the second RDS information may be specifically acquired based on the screen captured by the tester.
Specifically, in this embodiment, the test case may include the transmission frequency and the transmission power of the transmitter, and may also include the display frequency of the first RDS information. In addition, in this embodiment, the test case may further include PS (Program Service, which is used to provide station name display of 8 characters) information in the first RDS information, and the tester may normally display the received PS information within 5 seconds, and further, when the PS information includes a plurality of PS sub information arranged in the display order, the tester may normally display the received PS sub information one by one according to the display order defined in the test case. In addition, in this embodiment, the test case may further include RT (Radio Text, broadcast Text display information for providing 64 characters at most) information in the first RDS information, and the tester may normally display the received RT information within 30 seconds.
Therefore, in this embodiment, based on the setting of the test case, the transmitter may set the RT information, the PS sub information, the number of pieces thereof, the display order, and the like in the transmitted first RDS information according to the setting program, and then verify whether the RT information, the PS sub information, the number of pieces thereof, and the display order in the second RDS information are consistent with the setting in the test case by comparing the second RDS information received by the test machine and the first RDS information transmitted by the transmitter, so as to test the receiving capability of the RDS information of the test machine.
Compared with the test realized by the broadcasting station which is based on fixed frequency display of the RDS information, fixed PS information and fixed RT information and can not display a plurality of pieces of PS information in sequence, the embodiment overcomes the defect that the RDS function of the test machine is difficult to test when the PS information or the RT information changes, and the embodiment can realize more comprehensive test of the RDS function of the test machine without frequently configuring test parameters manually, thereby improving the reliability of the test.
Referring to fig. 3, the system of this embodiment may further include a second obtaining module 4 configured to obtain third RDS information received by the comparator, where the comparator is configured to receive the first RDS information transmitted by the transmitter and generate the third RDS information, and the tester receives the first RDS information to generate the third RDS information, where the RDS function of the comparator is complete, and the RDS information can be accurately received.
Referring to fig. 3, the determining module 3 in this embodiment may specifically include:
the first judging unit 31 is configured to judge whether the second RDS information is consistent with the first RDS information;
the second judging unit 32 is configured to judge whether the third RDS information is consistent with the first RDS information when the first judging unit 31 judges that the third RDS information is not consistent with the first RDS information;
a determining unit 33, configured to determine that the RDS function of the tester fails when the second determining unit 32 determines that the test is yes;
and a restarting unit 34, configured to restart the transmitter and invoke the transmission control module 1 when the second determining unit 32 determines that the transmitter is not the transmitter.
In this embodiment, when it is determined that the second RDS information received by the test machine is inconsistent with the first RDS information transmitted by the transmitter, it is further determined whether the third RDS information received by the comparator is consistent with the first RDS information transmitted by the transmitter, so as to eliminate inconsistency between the second RDS information and the first RDS information caused by reasons of the test environment, thereby improving accuracy and reliability of the test result.
The embodiment is based on the setting of the test case and the introduction of the transmitter, and can test according to the preset test content at any time and any place, so that the test on the RDS function of the test machine is free from the restriction of a local broadcasting station with the RDS function, manual intervention is not needed in the whole test process, the test on the RDS function of the test machine can be automatically realized, and the test efficiency is improved.
Example 3
The present embodiment provides an electronic device, which may be represented by a computing device (for example, may be a server device), including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor may implement the method for automatically testing the RDS function provided in embodiment 1 when executing the computer program.
Fig. 4 shows a schematic diagram of a hardware structure of the present embodiment, and as shown in fig. 4, the electronic device 9 specifically includes:
at least one processor 91, at least one memory 92, and a bus 93 for connecting the various system components (including the processor 91 and the memory 92), wherein:
the bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 includes volatile memory, such as Random Access Memory (RAM)921 and/or cache memory 922, and can further include Read Only Memory (ROM) 923.
Memory 92 also includes a program/utility 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 91 executes various functional applications and data processing, such as a method for automatically testing RDS functionality provided in embodiment 1 of the present invention, by running a computer program stored in the memory 92.
The electronic device 9 may further communicate with one or more external devices 94 (e.g., a keyboard, a pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 9 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 9 via the bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 9, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for automated testing of RDS functionality as provided in embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation, the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps of a method for implementing the automated testing of RDS functionality as described in embodiment 1, when said program product is run on said terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
Example 5
Referring to fig. 5, the apparatus of this embodiment includes a transmitter 8, a tester 7, a comparator 6, and an electronic device 9 provided in embodiment 3.
Specifically, in the present embodiment, the electronic device 9 is communicatively connected to the transmitter 8, the tester 7, and the comparator 6, respectively. Wherein, the transmitter 8 is used for transmitting the first RDS information outwards; the tester 7 is used for receiving the first RDS information and generating second RDS information; the comparator 6 is used for receiving the first RDS information and generating third RDS information.
The device of the embodiment constructs a test environment for testing the RDS function of the tester 7. In this embodiment, the electronic device 9 may be implemented as a computer, and the electronic device 9 may be implemented by a Universal Serial Bus (USB) to be in communication with the transmitter 8, the tester 7, and the comparator 6. In this embodiment, the test machine 7 and the comparison machine 6 may be specifically implemented as mobile phones supporting receiving and displaying RDS information, and the test machine 7 and the comparison machine 6 may move on the interface to display the RDS information when receiving the RDS information, and in addition, in this embodiment, both the test machine 7 and the comparison machine 6 may enter a developer mode, and may install an uiautomation 2 (an automation framework).
The device for automatically testing the RDS function provided by the embodiment can test according to preset test contents at any time and any place, so that the test on the RDS function of the test machine is free from the restriction of a local broadcasting station with the RDS function, manual intervention is not needed in the whole test process, the RDS function of the test machine can be automatically tested, and the test efficiency is improved.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A method for automatically testing RDS function is characterized by comprising the following steps:
controlling a transmitter to transmit first RDS information according to the test case;
acquiring second RDS information received by a testing machine, wherein the second RDS information is generated by the first RDS information received by the testing machine;
and judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information.
2. The method of automatically testing RDS functionality of claim 1, wherein before the step of determining whether RDS functionality of the tester is malfunctioning based on the second RDS information and the first RDS information, further comprising:
obtaining third RDS information received by a comparison machine, wherein the third RDS information is generated by receiving the first RDS information by the comparison machine;
the step of judging whether the RDS function of the test machine fails according to the second RDS information and the first RDS information comprises the following steps:
judging whether the second RDS information is consistent with the first RDS information or not;
if the second RDS information is inconsistent with the first RDS information, judging whether the third RDS information is consistent with the first RDS information;
and if the third RDS information is consistent with the first RDS information, determining that the RDS function of the test machine fails.
3. The method of automatically testing RDS functionality of claim 2, wherein when the third RDS information is inconsistent with the first RDS information, the method further comprises:
restarting the transmitter and executing the step of controlling the transmitter to transmit the first RDS information according to the test case;
and/or the presence of a gas in the gas,
when the RDS function of the tester fails, the method further comprises the following steps:
creating a fault file, wherein the fault file comprises the serial number and/or fault information of the test case;
and/or the presence of a gas in the gas,
when the RDS function of the tester fails, the method further comprises the following steps:
exporting a LOG file from the testing machine;
and/or the presence of a gas in the gas,
the test case comprises at least one of transmitting frequency, transmitting power, display frequency, PS information and RT information, wherein the PS information comprises a plurality of PS sub-information arranged according to a display sequence.
4. A system for automated testing of RDS functionality, comprising:
the transmission control module is used for controlling the transmitter to transmit the first RDS information according to the test case;
the first acquisition module is used for acquiring second RDS information received by the testing machine, and the second RDS information is generated by receiving the first RDS information by the testing machine;
and the judging module is used for judging whether the RDS function of the tester fails according to the second RDS information and the first RDS information.
5. The system for automated testing of RDS functionality according to claim 4, wherein said system further comprises:
the second acquisition module is used for acquiring third RDS information received by the comparison machine, and the third RDS information is generated by receiving the first RDS information by the comparison machine;
the judging module comprises:
the first judgment unit is used for judging whether the second RDS information is consistent with the first RDS information;
the second judging unit is used for judging whether the third RDS information is consistent with the first RDS information or not when the first judging unit judges that the third RDS information is not consistent with the first RDS information;
and the determining unit is used for determining that the RDS function of the tester fails when the second judging unit judges that the RDS function of the tester is yes.
6. The system for automated testing of RDS functionality according to claim 5, wherein said determining module further comprises:
a restarting unit, configured to restart the transmitter and call the transmission control module when the second determination unit determines that the transmitter is not the transmitter;
and/or the presence of a gas in the gas,
the system further comprises:
the creating module is used for creating a fault file when the RDS function of the test machine fails, wherein the fault file comprises the serial number and/or fault information of the test case;
and/or the presence of a gas in the gas,
the system further comprises:
the export module is used for exporting the LOG file from the tester when the RDS function of the tester fails;
and/or the presence of a gas in the gas,
the test case comprises at least one of transmitting frequency, transmitting power, display frequency, PS information and RT information, wherein the PS information comprises a plurality of PS sub-information arranged according to a display sequence.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of automatically testing RDS functionality according to any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of automatically testing RDS functionality according to any one of claims 1 to 3.
9. An apparatus for automated testing of RDS functionality, comprising a transmitter, a tester and an electronic device according to claim 7; wherein:
the electronic equipment is respectively in communication connection with the transmitter and the tester;
the transmitter is used for transmitting first RDS information outwards;
the tester is used for receiving the first RDS information and generating second RDS information.
10. The apparatus for automated testing of RDS functionality according to claim 9, wherein said apparatus further comprises a comparator communicatively coupled to said electronic device;
and the comparison machine is used for receiving the first RDS information and generating third RDS information.
CN202011372804.6A 2020-11-30 2020-11-30 Method, system, equipment and medium for automatically testing RDS function Active CN112506764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011372804.6A CN112506764B (en) 2020-11-30 2020-11-30 Method, system, equipment and medium for automatically testing RDS function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011372804.6A CN112506764B (en) 2020-11-30 2020-11-30 Method, system, equipment and medium for automatically testing RDS function

Publications (2)

Publication Number Publication Date
CN112506764A true CN112506764A (en) 2021-03-16
CN112506764B CN112506764B (en) 2022-11-22

Family

ID=74968022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011372804.6A Active CN112506764B (en) 2020-11-30 2020-11-30 Method, system, equipment and medium for automatically testing RDS function

Country Status (1)

Country Link
CN (1) CN112506764B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101210958A (en) * 2006-12-29 2008-07-02 环隆电气股份有限公司 Wireless navigation test method
US20100100871A1 (en) * 2008-10-22 2010-04-22 International Business Machines Corporation Method and system for evaluating software quality
US20110051787A1 (en) * 2009-08-28 2011-03-03 Apple Inc. Electronic device instructions provided using radio signals
CN203251302U (en) * 2013-05-17 2013-10-23 四川鑫鹏远广通科技有限公司 Portable RDS frequency modulation broadcast tester
CN106134452B (en) * 2010-09-15 2014-05-28 北京遥测技术研究所 The test macro that comprises High Power Active controllable load and method of testing
CN106685556A (en) * 2016-12-16 2017-05-17 惠州市德赛西威汽车电子股份有限公司 Detection apparatus of FM-RDS/DAB signal receiver and detection method of such apparatus
CN106817204A (en) * 2015-11-30 2017-06-09 西安天任软件科技有限责任公司 A kind of 3M data communication code error testers based on Internet of Things
CN107832208A (en) * 2017-10-20 2018-03-23 深圳怡化电脑股份有限公司 The automatic test approach and terminal device of software
CN110460906A (en) * 2019-08-27 2019-11-15 晶晨半导体(上海)股份有限公司 A kind of data test method
CN111459814A (en) * 2020-03-30 2020-07-28 上海依图网络科技有限公司 Automatic test case generation method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101210958A (en) * 2006-12-29 2008-07-02 环隆电气股份有限公司 Wireless navigation test method
US20100100871A1 (en) * 2008-10-22 2010-04-22 International Business Machines Corporation Method and system for evaluating software quality
US20110051787A1 (en) * 2009-08-28 2011-03-03 Apple Inc. Electronic device instructions provided using radio signals
US20130130629A1 (en) * 2009-08-28 2013-05-23 Apple Inc. Electronic Device Testing Using Radio Signals
CN106134452B (en) * 2010-09-15 2014-05-28 北京遥测技术研究所 The test macro that comprises High Power Active controllable load and method of testing
CN203251302U (en) * 2013-05-17 2013-10-23 四川鑫鹏远广通科技有限公司 Portable RDS frequency modulation broadcast tester
CN106817204A (en) * 2015-11-30 2017-06-09 西安天任软件科技有限责任公司 A kind of 3M data communication code error testers based on Internet of Things
CN106685556A (en) * 2016-12-16 2017-05-17 惠州市德赛西威汽车电子股份有限公司 Detection apparatus of FM-RDS/DAB signal receiver and detection method of such apparatus
CN107832208A (en) * 2017-10-20 2018-03-23 深圳怡化电脑股份有限公司 The automatic test approach and terminal device of software
CN110460906A (en) * 2019-08-27 2019-11-15 晶晨半导体(上海)股份有限公司 A kind of data test method
CN111459814A (en) * 2020-03-30 2020-07-28 上海依图网络科技有限公司 Automatic test case generation method and device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HANGUE PARK等: "Wireless Communication of Intraoral Devices and Its Optimal Frequency Selection", 《IEEE TRANSACTIONS ON MICROWAVE THEORY AND TECHNIQUES》 *
赵静等: "广播电视接收机声性能测试标准换版解析", 《电声技术》 *

Also Published As

Publication number Publication date
CN112506764B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
CN112650685B (en) Automatic test method, device, electronic equipment and computer storage medium
CN101324860B (en) Mainboard test system and test method
CN103428333B (en) Mobile terminal, server and errors repair method
CN108459951B (en) Test method and device
US20070124367A1 (en) Integrated Mobile Diagnostics and Electronic Customer Care Test Script with Browser
CN107193699A (en) One kind tests the wide time-delay method of HCA cassette tapes automatically by RDMA modes
CN116107893A (en) Heterogeneous platform embedded software test verification system and method
CN113872704B (en) General Bluetooth module production test system and method based on small program
KR20080087918A (en) Test method for automatically testing target device and apparatus there-for
CN112506764B (en) Method, system, equipment and medium for automatically testing RDS function
CN111949537A (en) Interface test method, device, equipment and medium
CN111930625A (en) Log obtaining method, device and system based on cloud service platform
CN116545891A (en) Automatic distribution network testing method based on intelligent equipment
CN113660139B (en) V2X protocol consistency detection method based on multiple message layer communication
CN113538725B (en) Method for testing hardware products and related equipment
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
CN114328180A (en) Interface automation test method, system, electronic equipment and storage medium
CN111190822A (en) Method and device for automatically testing distributed system software
CN107438259B (en) Method for positioning network management system performance module fault
CN115543795A (en) Testing method and device of edge support system, storage medium and computer equipment
CN110609786B (en) Software testing method, device, computer equipment and storage medium
CN113691419B (en) Extension unit testing method and system
CN115825704B (en) Method, device, system, equipment and medium for testing projection mainboard
CN113326183A (en) UI test method, electronic device and storage medium
CN118051426A (en) Test method, test device and related equipment

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