CN114826439A - User experience testing method, device and system of communication module and electronic equipment - Google Patents

User experience testing method, device and system of communication module and electronic equipment Download PDF

Info

Publication number
CN114826439A
CN114826439A CN202210443821.7A CN202210443821A CN114826439A CN 114826439 A CN114826439 A CN 114826439A CN 202210443821 A CN202210443821 A CN 202210443821A CN 114826439 A CN114826439 A CN 114826439A
Authority
CN
China
Prior art keywords
tested
test
user
scene
communication module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210443821.7A
Other languages
Chinese (zh)
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 CN202210443821.7A priority Critical patent/CN114826439A/en
Publication of CN114826439A publication Critical patent/CN114826439A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a user experience testing method, a device and a system based on a communication module and electronic equipment, wherein the method comprises the following steps: obtaining test requirement information, wherein the test requirement information comprises first requirement information which is used for indicating a user scene to be tested; determining a target test case according to the test requirement information and the preset test cases; configuring the scene simulation equipment according to the target test case so that the scene simulation equipment simulates the user scene to be tested; and when the scene simulation equipment simulates the user scene to be tested, testing at least one communication module in the equipment to be tested according to the target test case. The method realizes the full automation of the user experience test of the communication module in the equipment to be tested, can simulate the real user environment and improves the accuracy of the test result.

Description

User experience testing method, device and system of communication module and electronic equipment
[ technical field ] A method for producing a semiconductor device
The embodiment of the application relates to the technical field of automatic testing, in particular to a user experience testing method, device and system based on a communication module and electronic equipment.
[ background of the invention ]
The life of people is becoming more convenient and efficient by intelligent terminal equipment such as mobile phones and tablets, and users spend more and more time on the intelligent equipment. With the development of wireless communication networks, communication technologies such as Bluetooth BT, wireless fidelity Wi-Fi, frequency modulation Radio FM Radio, global navigation satellite system GNSS and the like become indispensable functions on intelligent terminal equipment, and aiming at user experience of a communication module on the intelligent terminal equipment, a manual testing method is mainly used for testing at present, and when the manual testing is carried out, the subjectivity of a testing result is high, the time cost is high, and the testing efficiency is low.
Therefore, it is an urgent need to provide an automatic testing method that can be executed for a long time and can truly simulate the usage habits of users.
[ summary of the invention ]
The embodiment of the application provides a user experience testing method based on a communication module, so that the user experience of the communication module is automatically tested, the testing efficiency is improved, and the testing cost is reduced.
In a first aspect, the present application provides a user experience testing method based on a communication module, which is applied to an electronic device, where the electronic device is connected to at least one device to be tested and at least one scene simulation device, the device to be tested includes at least one communication module, the electronic device is preset with a plurality of test cases, and the method includes: obtaining test requirement information, wherein the test requirement information comprises first requirement information which is used for indicating a user scene to be tested; determining a target test case according to the test requirement information and the preset test cases; configuring the scene simulation equipment according to the target test case so that the scene simulation equipment simulates the user scene to be tested; and when the scene simulation equipment simulates the user scene to be tested, testing at least one communication module in the equipment to be tested according to the target test case.
The beneficial effects of the first aspect are that the full automation of the user experience test of the communication module of the device to be tested is realized, the real user environment can be simulated, and the accuracy of the test result is improved.
In a possible implementation manner, the test requirement information further includes second requirement information, and the second requirement information is used for indicating a communication module to be tested; the testing at least one communication module in the device to be tested according to the target test case comprises: and testing the communication module to be tested in the equipment to be tested according to the target test case.
In one possible implementation, the electronic device is further connected to at least one auxiliary testing device, and the method further includes: configuring the auxiliary test equipment according to the target test case; testing the communication module to be tested in the equipment to be tested according to the target test case, comprising: and testing the to-be-tested equipment based on the communication between the to-be-tested communication module and at least one auxiliary test equipment according to the target test case.
In a possible implementation manner, the target test case includes a first configuration parameter, a second configuration parameter, and a third configuration parameter, the scene simulation device includes a noise playing device, a wireless interference device, and a jitter device, the device to be tested is disposed on the jitter device, and the scene simulation device is configured according to the test case, so that the scene simulation device simulates the user scene to be tested, including: configuring the noise playing device according to the first configuration parameter so that the noise playing device simulates the environmental noise of the user to be tested under the scene; configuring the wireless interference device according to the second configuration parameter so that the wireless interference device simulates wireless interference under the scene of the user to be tested; and configuring the jitter device according to the third configuration parameter so that the jitter device simulates the jitter state of the equipment to be tested in the scene of the user to be tested.
In a possible implementation manner, when one test case corresponds to a user scenario to be tested next to a communication module to be tested, the determining a target test case according to the test requirement information and the preset multiple test cases includes: when the test requirement information comprises a communication module to be tested next user scene to be tested, taking a test case determined according to the communication module to be tested and the user scene to be tested as a target test case; and when the test requirement information comprises a plurality of user scenes to be tested under one communication module to be tested, or the same user scene to be tested under a plurality of communication modules to be tested, or a plurality of user scenes to be tested under a plurality of communication modules to be tested, determining a test case corresponding to each user scene to be tested under each communication module to be tested, and combining the plurality of determined test cases to serve as a target test case.
In a possible implementation manner, each test case is provided with a first parameter value, where the first parameter value is used to indicate a frequency at which the test case is executed, and when the target test case is composed of a plurality of test cases and the first requirement information indicates a random execution user scenario, the testing at least one communication module in the device under test according to the target test case includes: determining the execution times of each test case according to the first parameter value of each test case in the target test case; and testing at least one communication module in the equipment to be tested according to the execution times of each test case.
In a possible implementation manner, the method for generating the preset multiple test cases includes: acquiring user use data of the communication module, wherein the user use data is used for indicating that users with different professions and different ages use data of various communication modules on various devices; analyzing the user use data to obtain user scene information and user operation information corresponding to the communication module; and generating a test case by combining the user scene information and the user operation information.
In a second aspect, the present application provides a user experience testing apparatus based on a communication module, which is applied to an electronic device, the electronic device is respectively connected to at least one device to be tested and at least one scene simulation device, the device to be tested includes at least one communication module, the electronic device has a plurality of test cases in advance, and the apparatus includes: the system comprises a demand acquisition module, a demand analysis module and a demand analysis module, wherein the demand acquisition module is used for acquiring test demand information, the test demand information comprises first demand information, and the first demand information is used for indicating a user scene to be tested; the case determining module is used for determining a target test case according to the test requirement information and the preset test cases; the scene configuration module is used for configuring the scene simulation equipment according to the target test case so as to enable the scene simulation equipment to simulate the user scene to be tested; and the test execution module is used for testing at least one communication module in the equipment to be tested according to the target test case when the scene simulation equipment simulates the user scene to be tested.
In a possible implementation manner, the test requirement information further includes second requirement information, and the second requirement information is used for indicating a communication module to be tested; the test execution module is specifically configured to test the communication module to be tested in the device to be tested according to the target test case.
In a possible implementation manner, the electronic device is further connected to at least one auxiliary testing device, and the apparatus further includes: the test configuration module is used for configuring the auxiliary test equipment according to the target test case; the test execution module is specifically configured to perform, according to the target test case, a test on the device to be tested based on communication between the communication module to be tested and the at least one auxiliary test device.
In a possible implementation manner, the target test case includes a first configuration parameter, a second configuration parameter, and a third configuration parameter, the scene simulation device includes a noise playing device, a wireless interference device, and a jitter device, the device to be tested is disposed on the jitter device, and the scene configuration module includes: the first configuration unit is used for configuring the noise playing device according to the first configuration parameter so that the noise playing device simulates the environmental noise in the scene of the user to be tested; a second configuration unit, configured to configure the wireless interference device according to the second configuration parameter, so that the wireless interference device simulates wireless interference in the scenario of the user to be tested; and the third configuration unit is used for configuring the jitter device according to the third configuration parameters so that the jitter device simulates the jitter state of the equipment to be tested in the scene of the user to be tested.
In a possible implementation manner, when one test case corresponds to a user scenario to be tested next to a communication module to be tested, the case determining module includes: the single-case determining unit is used for taking the test case determined according to the communication module to be tested and the user scene to be tested as a target test case when the test requirement information comprises the next user scene to be tested of the communication module to be tested; and the multiple-use case determining unit is used for determining a test case corresponding to each user scene to be tested under each communication module to be tested when the test requirement information comprises a plurality of user scenes to be tested under one communication module to be tested, or the same user scene to be tested under a plurality of communication modules to be tested, or a plurality of user scenes to be tested under a plurality of communication modules to be tested, and combining the plurality of determined test cases to be used as a target test case.
In a possible implementation manner, each test case is provided with a first parameter value, where the first parameter value is used to indicate a frequency value at which the test case is executed, and when the target test case is combined by multiple test cases and the first requirement information indicates a random execution user scenario, the test execution module includes: the frequency determining unit is used for determining the execution frequency of each test case according to the first parameter value of each test case in the target test case; and the test execution unit is used for testing at least one communication module in the equipment to be tested according to the execution times of each test case.
In one possible implementation, the apparatus further includes: the case generating module is used for generating the preset multiple test cases; the use case generation module comprises: the data acquisition unit is used for acquiring user use data of the communication module, wherein the user use data is used for indicating that users with different professions and different ages use data of various communication modules on various devices; the data analysis unit is used for analyzing the user use data to obtain user scene information and user operation information corresponding to the communication module; and the case generating unit is used for generating a test case by combining the user scene information and the user operation information.
In a third aspect, the present application provides an electronic device, comprising: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor calling the program instructions to be able to perform the method provided by the first aspect.
In a fourth aspect, the present application provides a user experience testing system based on a communication module, including: the electronic device provided by the third aspect, and at least one device under test and at least one scene simulation device connected to the electronic device, wherein the device under test comprises at least one communication module.
In a possible implementation manner, the scene simulation device includes a noise playing device, a wireless interference device, and a shaking device, and the device to be tested is placed on the shaking device.
In one possible implementation, the system further includes at least one auxiliary test device connected to the electronic device.
In one possible implementation, the at least one communication module of the device under test includes at least one of a Wi-Fi module, a bluetooth module, a fm radio module, and a global navigation satellite system module.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions, which cause the computer to execute the method provided in the first aspect.
It should be understood that the second to fifth aspects of the embodiment of the present application are consistent with the technical solution of the first aspect of the embodiment of the present application, and beneficial effects obtained by each aspect and a corresponding possible implementation manner are similar, and are not described again.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present specification, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a user experience testing method based on a communication module according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another user experience testing method based on a communication module according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a test case module according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another user experience testing method based on a communication module according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a user experience testing system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a user experience testing apparatus based on a communication module according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions in the present specification, the following detailed description of the embodiments of the present application is provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only a few embodiments of the present specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the present specification.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the specification. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
To facilitate understanding of the technical solutions of the present application by those skilled in the art, technical terms related to the present application will be described below.
(1) Wi-Fi: wireless fidelity, wireless fidelity.
(2) BT, Bluetooth.
(3) FM: frequency Modulation, fm radio.
(4) GNSS: global Navigation Satellite System, Global Navigation Satellite System.
(5) DUT Device Under Test, Device Under Test.
(6) PC Personal Computer.
(7) APP: application, Application program.
In the prior art, a manual testing method is mainly used for testing aiming at the user experience of a communication module on intelligent terminal equipment. The manual testing method has the disadvantages of high subjectivity of testing results, high time cost and low testing efficiency.
Based on the above problems, the embodiment of the application provides a user experience testing method based on a communication module, which can simulate a user scene according to a testing requirement to perform a user experience automatic test, thereby reducing the testing cost and having high testing efficiency.
Fig. 1 is a schematic flowchart of a user experience testing method based on a communication module according to an embodiment of the present application, and is applied to an electronic device, where the electronic device is connected to at least one device to be tested and at least one scene simulation device, the device to be tested includes at least one communication module, the electronic device has a plurality of test cases preset therein, where the device to be tested may be a mobile phone, a tablet or other types of devices, the device to be tested may include one or more communication modules, for example, one or more communication modules may include one or more of a wireless fidelity Wi-Fi module, a bluetooth BT module, an FM frequency modulation radio module, and a GNSS global navigation satellite system module, and the scene simulation device is configured to simulate a state of a user scene. As shown in fig. 1, the user experience testing method may include:
step 101: the method comprises the steps of obtaining test requirement information, wherein the test requirement information comprises first requirement information, and the first requirement information is used for indicating a user scene to be tested.
It should be noted that the method for obtaining the test requirement information by the electronic device may be obtained by inputting the test requirement information by a tester or selecting the test requirement information on the UI user interface by the tester, or may be obtained by receiving the test requirement information transmitted by another interface, and the like.
It can be understood that the user scenario that can be tested may include a plurality of user scenarios, such as a call scenario, a song listening scenario, a video viewing scenario, and the like, so that the user scenario that needs to be used in the test may be determined by inputting or selecting the user scenario to be tested, and the specific selected user scenario is not limited herein.
Step 102: and determining a target test case according to the test requirement information and the preset test cases.
It should be noted that, methods for determining a corresponding target test case according to test requirement information are many, for example, each test case prestored in the electronic device has a corresponding user scenario, so that the corresponding test case can be directly selected as the target test case according to the first requirement information in the test requirement information, a corresponding test case number can also be obtained according to the test requirement information, a target test case is determined according to the test case number, and the like.
Step 103: and configuring the scene simulation equipment according to the target test case so that the scene simulation equipment simulates the user scene to be tested.
It should be noted that, there are many methods for configuring the scene simulation device according to the target test case, for example, when the scene simulation device includes a noise playing device, the target test case may include information about the type and intensity of playing noise, and the noise playing device is automatically configured according to the information about the type and intensity of playing noise, so that the environmental noise in the scene corresponding to the user to be tested can be simulated.
Step 104: and when the scene simulation equipment simulates the user scene to be tested, testing at least one communication module in the equipment to be tested according to the target test case.
It should be noted that, after the configuration scene simulation device simulates a user scene to be tested, a plurality of user experience test modes are performed on the communication module of the device to be tested according to the target test case, for example, when the test requirement is to test a song listening scene of a user, the scene simulation device simulates an environment state of the song listening scene, the target test case calls one communication module in the device to be tested, for example, the bluetooth module starts to test, and during the test, various parameters such as the connection speed, the transmission rate, the sound effect and the like of the bluetooth module are tested by simulating operation steps of the user during use; for example, testing the FM Radio module, turning on the FM Radio function, and testing whether the sound is stuck; similarly, when testing another communication module, a similar method is also used, so the method for testing at least one communication module in the device to be tested by using the target test case is not limited in the embodiment of the present application.
By the communication module-based user experience testing method, full automation of user experience testing is realized, a real user environment can be simulated, and the accuracy of a testing result is improved.
In some embodiments, a device under test may include multiple communication modules, and only one or a few of the communication modules need to be tested. In order to further determine which communication module or communication modules are to be tested, the test requirement information further includes second requirement information, where the second requirement information is used to indicate a communication module to be tested, and after the communication module to be tested is determined, the testing at least one communication module in the device to be tested according to the target test case may include: and testing the communication module to be tested in the equipment to be tested according to the target test case. For example, the testable communication module may include a plurality of communication modules, such as a wireless fidelity Wi-Fi module, a bluetooth BT module, an FM frequency modulation radio module, a GNSS module, and the like, so that the communication module to be tested in the test may be determined by inputting or selecting the communication module to be tested, where the specific selected communication module to be tested is not limited.
In some embodiments, in order to test the short-range communication module in the device under test, the auxiliary test device needs to be configured so that the short-range communication module can communicate with the auxiliary test device to perform the test. Thus, the electronic device is also connected with at least one auxiliary test device. The test method may further include: and configuring the auxiliary test equipment according to the target test case. The testing the communication module to be tested in the device to be tested according to the target test case may include: and testing the to-be-tested equipment based on the communication between the to-be-tested communication module and at least one auxiliary test equipment according to the target test case.
Fig. 2 is a schematic flowchart of another user experience testing method based on a communication module according to an embodiment of the present application. As shown in fig. 2, the user experience testing method may include:
step 201: obtaining test requirement information, wherein the test requirement information comprises first requirement information and second requirement information, the first requirement information is used for indicating a user scene to be tested, and the second requirement information is used for indicating a communication module to be tested;
step 202: determining a target test case according to the test requirement information and the preset test cases;
step 203: configuring the scene simulation equipment according to the target test case so that the scene simulation equipment simulates the user scene to be tested; configuring the auxiliary test equipment according to the target test case;
step 204: and when the scene simulation equipment simulates the scene of the user to be tested, testing the communication between the communication module to be tested and at least one auxiliary test equipment according to the target test case.
It should be noted that, step 201 and step 202 may refer to corresponding content in the embodiment shown in fig. 1, and are not described herein again. In step 203 and step 204, the auxiliary test device is used to assist the test case to test the communication module, for example, when the module to be tested is a bluetooth module and the test scene is a user listening to a song, the auxiliary test device may be a bluetooth headset, and is used to establish a connection with the bluetooth module and receive bluetooth data sent by the bluetooth module for testing, and may further include a sound detection device to detect sound quality. When testing is performed on different communication modules to be tested, auxiliary test equipment may or may not be provided, and the type and the number of the auxiliary test equipment are also set according to the test requirements, so the type and the number of the auxiliary test equipment are not limited in the embodiments of the present application.
In some embodiments, in order to simulate a user scene to be tested that is closer to a user usage scene as much as possible, various scene simulation devices may be used, which may include: noise playing device, wireless interference device and jitter device. Wherein, noise play device can be used for the simulation noise under various service environment, can use bluetooth speaker to continuously play various noises including the voice of people, vehicle sound etc. in this application embodiment in each position in laboratory, the noise in the simulated environment. The wireless interference device can be used for simulating wireless interference under various use environments, and in the embodiment of the application, different wireless interferers can be arranged at various directions of a laboratory to simulate the interference in the environments. The jitter device can be used for simulating jitter under various use environments, and in the embodiment of the application, the Device Under Test (DUT) can be placed on a jitterable platform, and the platform shakes the DUT in various ways to simulate jitter of the DUT during use by a user.
Further, in order to configure the noise playing device, the wireless jamming device, and the shaking device, the test case provided in the embodiment of the present application includes a first configuration parameter, a second configuration parameter, and a third configuration parameter, and is used to perform corresponding configuration on the noise playing device, the wireless jamming device, and the shaking device. For example, the configuring the scene simulation device according to the test case in step 103 or step 203 may include:
step 301: configuring the noise playing device according to the first configuration parameter so that the noise playing device simulates the environmental noise of the user to be tested under the scene;
step 302: configuring the wireless interference device according to the second configuration parameter so that the wireless interference device simulates wireless interference under the scene of the user to be tested;
step 303: and configuring the jitter device according to the third configuration parameter so that the jitter device simulates the jitter state of the equipment to be tested in the scene of the user to be tested. The scene simulation equipment simulates a real user environment, so that the accuracy of a test result can be greatly improved.
In some embodiments, the device to be tested may include one or more communication modules, a tester may need to perform user experience testing on the one or more communication modules in the device to be tested, a plurality of test cases are preset in the electronic device, each test case corresponds to one type of user scenario to be tested of a communication module, the plurality of test cases include test cases for a plurality of types of communication modules in a plurality of user scenarios, and when the test requirement information is received, the electronic device may determine a corresponding target test case according to the types and the number of the communication modules to be tested and the user scenarios to be tested in the test requirement information.
Illustratively, when the test requirement information only includes a next user scenario to be tested of one communication module to be tested, a test case determined according to the communication module to be tested and the user scenario to be tested is taken as a target test case.
When the test requirement information corresponds to more than one test case, for example, when the test requirement information includes multiple user scenarios to be tested under one communication module to be tested, or the same user scenario to be tested under multiple communication modules to be tested, or multiple user scenarios to be tested under multiple communication modules to be tested, the test case corresponding to each user scenario to be tested under each communication module to be tested is determined, and then the determined multiple test cases are combined to serve as the target test case.
Fig. 3 is a schematic diagram of a test case module according to an embodiment of the present disclosure, as shown in fig. 3, a plurality of test cases preset in the electronic device may be stored in the form of a plurality of test case modules, where each of the test case modules includes a BT test module, a Wi-Fi test module, an FM test module, a GNSS test module, and a combined test module, one frame under each of the test modules represents one test case, in the diagram, the BT test module, the Wi-Fi test module, the FM test module, and the GNSS test module all include single test cases corresponding to different scenes, and the combined test module includes test cases formed by combining several test cases selected from the single test cases, where 2, 3, or more of the test cases are included. During testing, if only 1 test case needs to be called, the corresponding 1 test case can be called directly according to the communication module to be tested and the user scene to be tested, if several communication modules or several user scenes need to be tested simultaneously, for example, the BT module scene 1 and the Wi-Fi module scene 1 need to be tested simultaneously, the test case corresponding to the BT module scene 1 and the test case corresponding to the Wi-Fi module scene 1 are obtained and combined to form the BT scene 1+ Wi-Fi scene 1 test case, and the test case is placed into a combined test module for testing.
In an actual test scene, single test cases can be randomly combined to form a combined test case, the combined test case can be placed in a combined test module in advance for calling conveniently, the combined test case can be directly called during calling, the test cases can also be combined according to requirements after test requirement information is obtained without combining the test cases in advance based on the consideration of saving storage space, and the two modes are possible and can be set according to the test requirements.
In some embodiments, a tester may need to perform a long-term user experience test on a communication module, and various user scenarios under the communication module need to be executed during the test. For example, the test requirement information set by the tester may be continuous testing for 7 days, the first requirement information is a random execution user scenario, the second requirement information is a BT module, and the test cases corresponding to each user scenario under the BT module are randomly executed after the random execution user scenario is selected. In this case, how to randomly arrange the test times of each test case under the BT module directly affects the test result. A better way is to run the test cases corresponding to each user scenario under the BT module according to the use frequency of the user.
Fig. 4 is a flowchart illustrating another user experience testing method based on a communication module according to an embodiment of the present application. In order to reasonably arrange the execution times of each test case in a random execution user scenario mode, each test case may be provided with a first parameter value, where the first parameter value is used to indicate a frequency at which the test case is executed, and when the target test case is combined by a plurality of test cases and the first requirement information indicates a random execution user scenario, as shown in fig. 4, on the basis of the embodiment shown in fig. 1, the performing, in step 104, a user experience test on at least one communication module in the device under test according to the target test case may include:
step 401: determining the execution times of each test case according to the first parameter value of each test case in the target test case;
step 402: and testing at least one communication module in the equipment to be tested according to the execution times of each test case.
It should be noted that the first parameter value of each test case is set according to the occurrence frequency corresponding to each user scenario in the user usage habits, when a tester selects a random execution user scenario, the electronic device calculates the execution times of each test case according to the first parameter value of each test case in the target test case, and then executes each test case according to the calculated execution times, so that each user scenario can be randomly executed by simulating the user habits, the test times can be increased for a scenario with a high usage frequency, and such a random execution user scenario can be closer to the actual user scenario of the user. Of course, the random execution user scenario is a mode in which the electronic device automatically sets the test duration and the test frequency of each test case, and if a tester wants to perform a test according to the requirements of the tester, the tester can also freely set the test duration or the test frequency of each user scenario to simulate the use scenario in the habit of the user.
Illustratively, it is assumed that a Wi-Fi module under the test case module includes a jittering scene (frequency 0.2), a song listening scene (frequency 0.3), a video watching scene (frequency 0.2), a game playing scene (frequency 0.1), and a call making scene (frequency 0.2), when a user experience test of a random execution user scene for 2 hours needs to be performed on the Wi-Fi module, the above 5 user scenes are repeatedly executed, when the test duration is enough to execute 10 scenes, wherein the jittering scene is executed 2 times, the song listening scene is executed 3 times, the video watching scene is executed 2 times, the game playing scene is executed 1 time, the call making scene is executed 2 times, and a user experience test is performed on the communication module to be tested according to the execution times of each user scene.
Further, the test method of the test case directly affects the test result, and in order to better simulate the user experience test of the communication module by the user using state, the plurality of test cases preset in the electronic device may be generated by the following method:
step 501: acquiring user use data of the communication module, wherein the user use data is used for indicating that users with different professions and different ages use data of various communication modules on various devices;
step 502: analyzing the user use data to obtain user scene information and user operation information corresponding to the communication module;
step 503: and generating a test case by combining the user scene information and the user operation information.
It should be noted that, in order to generate a test case corresponding to each user scenario, user usage scenario information is acquired first, people of different professions and different ages can be selected, an APP capable of acquiring the use condition of the user communication module is installed on a commonly used intelligent terminal device, after the APP is used for a period of time, data is exported, the commonly used scenarios and the use frequency of the user are sorted, and the test case is developed into a user experience test case for each scenario.
For example, the step of generating the test case may include: step 1: snatch user's log through APP, then transmit user's log to backend server, the tester analyzes user's log, and main analysis mode is as follows: (1) the Bluetooth device type connected by the user can be obtained through the Bluetooth name information in the Bluetooth log, and the Bluetooth operation used by the user, such as listening to songs, making calls and the like, can be obtained through analyzing the protocol information in the Bluetooth log. (2) By analyzing the information in the Wi-Fi log, the Wi-Fi service types used by the user, such as Wi-Fi station, hot spot, P2P and the like, can be obtained; (3) by analyzing the log of the application layer, the user's operations, such as playing games, watching videos, etc., can be obtained. Combining the upper log and the bottom log, combining the short-distance communication service with the specific use scene of the user, and analyzing the use information of the user; (4) through the position information, what operation the user often performs at a certain place can be acquired. This information can be used for user environment simulation; step 2: arranging the user use scene information into a test case according to the analysis; and 3, step 3: after the test cases are arranged, the cases can be compiled into an automatic script.
By adopting the method for generating the test case, people of different occupations and ages are selected, the user scene data is collected and analyzed to generate the test case, and the method can help accurately test the common scenes of the user.
In order to introduce an application scenario of the communication module-based user experience testing method provided in the embodiment of the present application, a user experience testing system of a communication module, which is composed of an electronic device, a device to be tested, a scenario simulation device, and an auxiliary testing device, is introduced below.
Fig. 5 is a schematic structural diagram of a user experience testing system according to an embodiment of the present application, and as shown in fig. 5, a device to be tested includes multiple smart phones, and an electronic device may perform a user experience test on a single device to be tested or communication modules in multiple devices to be tested at the same time, so as to save testing time; the electronic equipment adopts a Personal Computer (PC), and an automatic script module is installed on the PC, namely the test case module shown in figure 3 can be adopted; the scene simulation equipment comprises a wireless interference device, a noise playing device and a jitter device arranged under each piece of equipment to be tested. In order to enable the device to be tested to be closer to the state used by the user, the device to be tested is provided with application programs APP commonly used by the user, such as music, videos, games, conversations and the like. The auxiliary test equipment comprises Wi-Fi auxiliary equipment, BT auxiliary equipment, FM auxiliary equipment and the like; the Wi-Fi auxiliary equipment can comprise a router, an auxiliary machine, a television and the like and is used for assisting in testing the Wi-Fi module; the BT auxiliary equipment can comprise a Bluetooth headset, a Bluetooth sound box, a vehicle-mounted device and the like and is used for assisting in testing the BT module; the FM auxiliary equipment can comprise a wired earphone and is used for auxiliary testing of the FM module, the GNSS module does not need auxiliary testing equipment, and a navigation app is installed on the equipment to be tested to perform testing. The PC is connected with a plurality of Bluetooth auxiliary devices through the concentrator, the PC is respectively connected with the Wi-Fi auxiliary devices through the connector, the PC can control the devices, and the PC is also connected with a plurality of devices to be tested through the USB deconcentrator and controls the devices to be tested.
It can be understood that the common scenarios for users may vary for different modalities of devices under test. Such as: for a mobile phone, a common scene of a user is to connect Wi-Fi and Bluetooth equipment to brush short videos, listen to songs, make a call, make a game, watch videos and the like; for the vehicle-mounted scene, the common scenes of the user are that the Bluetooth is connected with a mobile phone or a tablet to listen to songs, make a call, navigate and the like; for a bluetooth headset, a common scenario is that a bluetooth connected mobile phone or a tablet listens to songs, makes calls, and the like. Thus, the "Wi-Fi accessory" and "bluetooth accessory" in fig. 5 may be different for different devices under test. In addition, the supported functions may also be different for different devices to be tested, and if the device to be tested does not support a certain function, the related auxiliary test device may be removed from fig. 5, and the related device may be removed from the scene simulation device.
In summary, the number of the devices to be tested can be set according to the test requirements, the types and the number of the auxiliary test devices can be configured correspondingly according to the types and the number of the communication modules to be tested, the types and the number of the scene simulation devices can be configured according to the requirements of the user scene to be tested, and the user experience test system can test a single communication module or a plurality of communication modules in the devices to be tested simultaneously.
Exemplary, a test flow of the user experience test of the communication module based on the user experience test system will be described next. The testing step may include: step 1, starting scene simulation equipment and auxiliary test equipment by a tester according to test requirements, placing equipment to be tested and the like, and completing initial preparation work, such as equipment power-on and the like; step 2, the tester selects the communication module to be tested and the user scene to be tested, the PC terminal issues a test task, the tester selects the user scene to be tested to select random execution, sequential execution or select the user scene to execute the test according to the requirement, for example, the tester selects the user scene to execute randomly, and starts to execute randomly according to the use frequency of the user scene; and 3, starting to automatically execute the test task and monitoring whether the abnormity occurs. 1. If the abnormal condition occurs, collecting the test log and informing the tester. (1) If the tester chooses not to intervene or not to respond for a long time, automatically restarting the abnormal module and continuing to execute the test task; (2) and if the tester chooses to intervene, waiting for the tester to operate, and finishing the test in the current round. 2. And if the test is not abnormal, outputting a test result after the test task is finished, resetting the equipment to be tested, the scene simulation equipment and the auxiliary test equipment, and finishing the test. Further, step 4 and a verification test result can be added, and the verification method can include: 1. verifying the interface return value of the equipment to be tested, namely acquiring the bottom interface return value to judge whether the function is normal or not, for example, determining whether the function is normal or not through data returned by an android interface, 2, verifying through UI interface information: and judging whether the interface is in accordance with the expectation or not by acquiring the interface control information. After the abnormity occurs, the abnormal log is automatically stored to remind a tester to check, if the tester chooses to ignore, the abnormal module is automatically restarted to automatically restart the test, and the test time is saved.
By the user experience testing system and the user experience testing method, the user experience testing can be performed fully automatically, the real user using environment can be simulated, and the accuracy of the testing result is improved.
The embodiment of the present application further provides a user experience testing apparatus based on a communication module, and fig. 6 is a schematic structural diagram of a user experience testing apparatus based on a communication module provided in the embodiment of the present application, the user experience testing apparatus is applied to an electronic device, the electronic device is respectively connected to at least one device under test and at least one scene simulation device, the device under test includes at least one communication module, the electronic device has a plurality of test cases preset therein, as shown in fig. 6, the user experience testing apparatus may include: a requirement acquisition module 601, a use case determination module 602, a scene configuration module 603 and a test execution module 604; the demand acquisition module 601 is configured to acquire test demand information, where the test demand information includes first demand information, and the first demand information is used to indicate a user scenario to be tested; a use case determining module 602, configured to determine a target test case according to the test requirement information and the preset multiple test cases; a scene configuration module 603, configured to configure the scene simulation device according to the target test case, so that the scene simulation device simulates the user scene to be tested; the test execution module 604 is configured to test at least one communication module in the device to be tested according to the target test case when the scene simulation device simulates the user scene to be tested.
In a possible implementation manner, the test requirement information further includes second requirement information, and the second requirement information is used for indicating a communication module to be tested; the test execution module is specifically configured to test the communication module to be tested in the device to be tested according to the target test case.
In a possible implementation manner, the electronic device is further connected to at least one auxiliary testing device, and the apparatus further includes: the test configuration module is used for configuring the auxiliary test equipment according to the target test case; the test execution module is specifically configured to perform, according to the target test case, a test on the device to be tested based on communication between the communication module to be tested and the at least one auxiliary test device.
In a possible implementation manner, the target test case includes a first configuration parameter, a second configuration parameter, and a third configuration parameter, the scene simulation device includes a noise playing device, a wireless interference device, and a jitter device, the device to be tested is disposed on the jitter device, and the scene configuration module includes: the first configuration unit is used for configuring the noise playing device according to the first configuration parameter so that the noise playing device simulates the environmental noise in the scene of the user to be tested; a second configuration unit, configured to configure the wireless interference device according to the second configuration parameter, so that the wireless interference device simulates wireless interference in the scenario of the user to be tested; and the third configuration unit is used for configuring the jitter device according to the third configuration parameters so that the jitter device simulates the jitter state of the equipment to be tested in the scene of the user to be tested.
In a possible implementation manner, when one test case corresponds to a user scenario to be tested next to a communication module to be tested, the case determining module includes: the single-case determining unit is used for taking the test case determined according to the communication module to be tested and the user scene to be tested as a target test case when the test requirement information comprises the next user scene to be tested of the communication module to be tested; and the multiple-use case determining unit is used for determining a test case corresponding to each user scene to be tested under each communication module to be tested when the test requirement information comprises a plurality of user scenes to be tested under one communication module to be tested, or the same user scene to be tested under a plurality of communication modules to be tested, or a plurality of user scenes to be tested under a plurality of communication modules to be tested, and combining the plurality of determined test cases to be used as a target test case.
In a possible implementation manner, each test case is provided with a first parameter value, where the first parameter value is used to indicate a frequency value at which the test case is executed, and when the target test case is combined by multiple test cases and the first requirement information indicates a random execution user scenario, the test execution module includes: the frequency determining unit is used for determining the execution frequency of each test case according to the first parameter value of each test case in the target test case; and the test execution unit is used for testing at least one communication module in the equipment to be tested according to the execution times of each test case.
In one possible implementation manner, the user experience testing apparatus further includes: the case generating module is used for generating the preset multiple test cases; the use case generation module comprises: the data acquisition unit is used for acquiring user use data of the communication module, wherein the user use data is used for indicating that users with different professions and different ages use data of various communication modules on various devices; the data analysis unit is used for analyzing the user use data to obtain user scene information and user operation information corresponding to the communication module; and the case generating unit is used for generating a test case by combining the user scene information and the user operation information.
The user experience testing method of the communication module can be executed by the following devices: a chip, or a chip module; the user experience testing device of the communication module may be, for example: a chip, or a chip module.
Each module/sub-module/unit included in each apparatus and product described in the above embodiments may be a software module/sub-module/unit, or may also be a hardware module/sub-module/unit, or may also be a part of a software module/sub-module/unit, and a part of a hardware module/sub-module/unit. For example, for each device or product applied to or integrated in a chip, each module/sub-module/unit included in the device or product may be implemented by hardware such as a circuit, or at least a part of the module/sub-module/unit may be implemented by a software program running on a processor integrated inside the chip, and the rest (if any) part of the module/sub-module/unit may be implemented by hardware such as a circuit; for each device and product applied to or integrated with the chip module, each module/sub-module/unit included in the device and product may be implemented in a hardware manner such as a circuit, and different modules/sub-modules/units may be located in the same component (for example, a chip, a circuit module, etc.) or different components of the chip module, or at least part of the modules/sub-modules/units may be implemented in a software program, where the software program runs on a processor integrated inside the chip module, and the rest (if any) part of the modules/sub-modules/units may be implemented in a hardware manner such as a circuit; for each device and product applied to or integrated in the terminal, each module/sub-module/unit included in the device and product may be implemented by hardware such as a circuit, different modules/sub-modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least part of the modules/sub-modules/units may be implemented by a software program running on a processor integrated inside the terminal, and the rest (if any) part of the modules/sub-modules/units may be implemented by hardware such as a circuit.
The user experience testing apparatus of the communication module provided in the embodiment shown in fig. 6 may be used to implement the technical solution of the method embodiment shown in fig. 1 in this specification, and further reference may be made to the relevant description in the method embodiment for implementing the principle and the technical effect.
An embodiment of the present application further provides an electronic device, and fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be a device to which the user experience testing method provided in the embodiment of the present application is applied, and as shown in fig. 7, the electronic device may include: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the user experience testing method provided by the embodiment shown in fig. 1-5.
For example, fig. 7 shows a schematic structural diagram of the electronic device 100. As shown in fig. 7, the electronic device 100 may include: processor 110, memory 120, and peripherals 130. It is to be understood that the structure of the electronic device 100 illustrated in the embodiments of the present application does not limit the electronic device 100, and in other embodiments of the present application, the electronic device 100 may include more or less components than those illustrated, or combine some components, or split some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. These components may communicate via one or more bus lines 140, which may be divided into an address bus, a data bus, a control bus, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
Peripheral devices 130 may include devices such as displays, output components, input components, and the like.
The memory 120 is used for storing codes and data included in the system of the electronic device 100, such as codes corresponding to an application program and an operating system. The storage 120 may include a memory, an external storage and a register, the memory may be used to store an operating system and a code corresponding to an application program in a running state, the external storage and the register may be used to store data generated during the running process of the application program in the running state, and the external storage may also be used to store a code corresponding to another application program that is not running. The processor 110 may call the code or data stored in the external memory into the memory to implement the functions defined by the code. For example, the processor 110 may call and store a code corresponding to the operating system into the memory when the electronic device 100 is powered on, so as to implement various functions of the operating system on the electronic device 100; the processor 110 may also call and store codes corresponding to other application programs in the memory according to the user requirement, so as to implement various functions of the application program on the electronic device 100.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the user experience testing method provided in the embodiments shown in fig. 1 to fig. 4 in this specification.
The computer-readable storage medium described above may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash memory, an optical fiber, a portable compact disc read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present description may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the description of embodiments of the invention, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present specification, "a plurality" means at least two, e.g., two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow diagrams or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and the scope of the preferred embodiments of the present specification includes alternative implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present specification.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that the terminal referred to in the embodiments of the present application may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a tablet computer (tablet computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in this specification, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present description may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (20)

1. The user experience testing method based on the communication module is applied to electronic equipment, the electronic equipment is respectively connected with at least one piece of equipment to be tested and at least one piece of scene simulation equipment, the equipment to be tested comprises at least one communication module, the electronic equipment is preset with a plurality of test cases, and the method comprises the following steps:
obtaining test requirement information, wherein the test requirement information comprises first requirement information, and the first requirement information is used for indicating a user scene to be tested;
determining a target test case according to the test requirement information and the preset test cases;
configuring the scene simulation equipment according to the target test case so that the scene simulation equipment simulates the user scene to be tested;
and when the scene simulation equipment simulates the user scene to be tested, testing at least one communication module in the equipment to be tested according to the target test case.
2. The method of claim 1, wherein the test requirement information further comprises second requirement information, the second requirement information being used to indicate a communication module to be tested;
the testing at least one communication module in the device to be tested according to the target test case comprises:
and testing the communication module to be tested in the equipment to be tested according to the target test case.
3. The method of claim 2, wherein the electronic device is further connected to at least one auxiliary test device, the method further comprising:
configuring the auxiliary test equipment according to the target test case;
testing the communication module to be tested in the equipment to be tested according to the target test case, comprising:
and testing the to-be-tested equipment based on the communication between the to-be-tested communication module and at least one auxiliary test equipment according to the target test case.
4. The method of claim 1, wherein the target test case comprises a first configuration parameter, a second configuration parameter and a third configuration parameter, the scene simulation device comprises a noise playing device, a wireless interference device and a jitter device, the device under test is disposed on the jitter device, and the configuring the scene simulation device according to the test case causes the scene simulation device to simulate the user scene to be tested comprises:
configuring the noise playing device according to the first configuration parameter so that the noise playing device simulates the environmental noise of the user to be tested under the scene;
configuring the wireless interference device according to the second configuration parameter so that the wireless interference device simulates wireless interference under the scene of the user to be tested;
and configuring the jitter device according to the third configuration parameter so that the jitter device simulates the jitter state of the equipment to be tested in the scene of the user to be tested.
5. The method according to claim 2, wherein when one of the test cases corresponds to a user scenario to be tested next to a communication module to be tested, the determining a target test case according to the test requirement information and the preset test cases comprises:
when the test requirement information comprises a communication module to be tested next user scene to be tested, taking a test case determined according to the communication module to be tested and the user scene to be tested as a target test case;
and when the test requirement information comprises a plurality of user scenes to be tested under one communication module to be tested, or the same user scene to be tested under a plurality of communication modules to be tested, or a plurality of user scenes to be tested under a plurality of communication modules to be tested, determining a test case corresponding to each user scene to be tested under each communication module to be tested, and combining the plurality of determined test cases to serve as a target test case.
6. The method according to claim 1, wherein each of the test cases is provided with a first parameter value, the first parameter value is used to indicate a frequency at which the test case is executed, and when the target test case is composed of a plurality of test cases and the first requirement information indicates a random execution user scenario, the testing at least one communication module in the device under test according to the target test case includes:
determining the execution times of each test case according to the first parameter value of each test case in the target test case;
and testing at least one communication module in the equipment to be tested according to the execution times of each test case.
7. The method according to claim 1, wherein the method for generating the preset plurality of test cases comprises:
acquiring user use data of the communication module, wherein the user use data is used for indicating that users with different professions and different ages use data of various communication modules on various devices;
analyzing the user use data to obtain user scene information and user operation information corresponding to the communication module;
and generating a test case by combining the user scene information and the user operation information.
8. The utility model provides a user experience testing arrangement based on communication module which characterized in that is applied to electronic equipment, electronic equipment is connected with at least one equipment under test and at least one scene simulation equipment respectively, include at least one communication module in the equipment under test, electronic equipment has preset a plurality of test cases, the device includes:
the system comprises a demand acquisition module, a demand analysis module and a demand analysis module, wherein the demand acquisition module is used for acquiring test demand information, the test demand information comprises first demand information, and the first demand information is used for indicating a user scene to be tested;
the case determining module is used for determining a target test case according to the test requirement information and the preset test cases;
the scene configuration module is used for configuring the scene simulation equipment according to the target test case so as to enable the scene simulation equipment to simulate the user scene to be tested;
and the test execution module is used for testing at least one communication module in the equipment to be tested according to the target test case when the scene simulation equipment simulates the user scene to be tested.
9. The apparatus of claim 8, wherein the test requirement information further comprises second requirement information, the second requirement information indicating a communication module under test;
the test execution module is specifically configured to test the communication module to be tested in the device to be tested according to the target test case.
10. The apparatus of claim 9, wherein the electronic device is further connected to at least one auxiliary test device, the apparatus further comprising:
the test configuration module is used for configuring the auxiliary test equipment according to the target test case;
the test execution module is specifically configured to perform, according to the target test case, a test on the device to be tested based on communication between the communication module to be tested and the at least one auxiliary test device.
11. The apparatus of claim 8, wherein the target test case comprises a first configuration parameter, a second configuration parameter, and a third configuration parameter, wherein the scene simulation device comprises a noise playing apparatus, a wireless interference apparatus, and a dithering apparatus, wherein the device under test is disposed on the dithering apparatus, and wherein the scene configuration module comprises:
the first configuration unit is used for configuring the noise playing device according to the first configuration parameter so that the noise playing device simulates the environmental noise in the scene of the user to be tested;
a second configuration unit, configured to configure the wireless interference device according to the second configuration parameter, so that the wireless interference device simulates wireless interference in the scenario of the user to be tested;
and the third configuration unit is used for configuring the jitter device according to the third configuration parameters so that the jitter device simulates the jitter state of the equipment to be tested in the scene of the user to be tested.
12. The apparatus of claim 9, wherein when one of the test cases corresponds to a next user scenario to be tested of the communication module to be tested, the use case determining module comprises:
the single-case determining unit is used for taking the test case determined according to the communication module to be tested and the user scene to be tested as a target test case when the test requirement information comprises the next user scene to be tested of the communication module to be tested;
and the multiple-use case determining unit is used for determining a test case corresponding to each user scene to be tested under each communication module to be tested when the test requirement information comprises a plurality of user scenes to be tested under one communication module to be tested, or the same user scene to be tested under a plurality of communication modules to be tested, or a plurality of user scenes to be tested under a plurality of communication modules to be tested, and combining the plurality of determined test cases to be used as a target test case.
13. The apparatus of claim 8, wherein each of the test cases is provided with a first parameter value, the first parameter value is used to indicate a frequency value at which the test case is executed, and when the target test case is composed of a plurality of test cases and the first requirement information indicates a random execution user scenario, the test execution module includes:
the frequency determining unit is used for determining the execution frequency of each test case according to the first parameter value of each test case in the target test case;
and the test execution unit is used for testing at least one communication module in the equipment to be tested according to the execution times of each test case.
14. The apparatus of claim 8, further comprising: the case generating module is used for generating the preset multiple test cases; the use case generation module comprises:
the data acquisition unit is used for acquiring user use data of the communication module, wherein the user use data is used for indicating that users with different professions and different ages use data of various communication modules on various devices;
the data analysis unit is used for analyzing the user use data to obtain user scene information and user operation information corresponding to the communication module;
and the case generating unit is used for generating a test case by combining the user scene information and the user operation information.
15. An electronic device, comprising: at least one processor; and at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor being capable of invoking the program instructions to perform the method of any of claims 1 to 7.
16. A user experience testing system based on a communication module, comprising the electronic device of claim 15, and at least one device under test and at least one scene simulation device connected to the electronic device, wherein the device under test comprises at least one communication module.
17. The system of claim 16, wherein the scene simulation equipment comprises a noise playing device, a wireless interference device and a shaking device, and the equipment under test is placed on the shaking device.
18. The system of claim 16, further comprising at least one auxiliary test device connected to the electronic device.
19. The system of claim 16, wherein the at least one communication module of the device under test comprises at least one of a Wi-Fi module, a bluetooth module, a fm radio module, and a global navigation satellite system module.
20. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN202210443821.7A 2022-04-25 2022-04-25 User experience testing method, device and system of communication module and electronic equipment Pending CN114826439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210443821.7A CN114826439A (en) 2022-04-25 2022-04-25 User experience testing method, device and system of communication module and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210443821.7A CN114826439A (en) 2022-04-25 2022-04-25 User experience testing method, device and system of communication module and electronic equipment

Publications (1)

Publication Number Publication Date
CN114826439A true CN114826439A (en) 2022-07-29

Family

ID=82507103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210443821.7A Pending CN114826439A (en) 2022-04-25 2022-04-25 User experience testing method, device and system of communication module and electronic equipment

Country Status (1)

Country Link
CN (1) CN114826439A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736567A (en) * 2011-04-11 2012-10-17 ***通信集团公司 Method and system for centralized test control
CN103716826A (en) * 2013-12-05 2014-04-09 同济大学 Wireless data service simulated scene-based user experience quality testing method
CN111600666A (en) * 2020-05-13 2020-08-28 深圳市共进电子股份有限公司 Wireless communication simulation test system
CN111881022A (en) * 2020-07-07 2020-11-03 上海中通吉网络技术有限公司 Method, device and equipment for generating test case based on test scene
CN113133041A (en) * 2021-06-16 2021-07-16 卡斯柯信号(北京)有限公司 Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
US20210318948A1 (en) * 2020-04-09 2021-10-14 The Toronto-Dominion Bank System and Method for Automated Application Testing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736567A (en) * 2011-04-11 2012-10-17 ***通信集团公司 Method and system for centralized test control
CN103716826A (en) * 2013-12-05 2014-04-09 同济大学 Wireless data service simulated scene-based user experience quality testing method
US20210318948A1 (en) * 2020-04-09 2021-10-14 The Toronto-Dominion Bank System and Method for Automated Application Testing
CN111600666A (en) * 2020-05-13 2020-08-28 深圳市共进电子股份有限公司 Wireless communication simulation test system
CN111881022A (en) * 2020-07-07 2020-11-03 上海中通吉网络技术有限公司 Method, device and equipment for generating test case based on test scene
CN113133041A (en) * 2021-06-16 2021-07-16 卡斯柯信号(北京)有限公司 Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle

Similar Documents

Publication Publication Date Title
CN109582579B (en) Application program testing method and device, electronic equipment and storage medium
CN108877770A (en) For testing the methods, devices and systems of intelligent sound equipment
CN106210755B (en) A kind of methods, devices and systems playing live video
CN105979312B (en) Information sharing method and device
CN108091333B (en) Voice control method and related product
CN106155623A (en) A kind of audio collocation method, system and relevant device
CN106126175B (en) A kind of adjusting method and mobile terminal of sound effect parameters
CN106126159A (en) A kind of audio stream processing method and mobile terminal
CN109474879A (en) Microphone test method, device and storage medium
CN106328176B (en) A kind of method and apparatus generating song audio
CN106384599B (en) A kind of method and apparatus of distorsion identification
CN112463634B (en) Software testing method and device under micro-service architecture
KR102512614B1 (en) Electronic device audio enhancement and method thereof
CN106126172A (en) A kind of sound effect treatment method and mobile terminal
CN106776301B (en) Subelement testing method and device
CN111625381A (en) Method, device and equipment for reproducing running scene of application program and storage medium
CN108377290A (en) A kind of audio stream processing method and mobile terminal and medium product
CN104809054A (en) Method and system for realizing program testing
CN104102560A (en) Method and device for testing system performance
CN110958352B (en) Network signal display method, device, storage medium and mobile terminal
CN114826439A (en) User experience testing method, device and system of communication module and electronic equipment
CN114999457A (en) Voice system testing method and device, storage medium and electronic equipment
CN111290960A (en) Fluency detection method and device for application program, terminal and storage medium
WO2015117550A1 (en) Method and apparatus for acquiring reverberated wet sound
CN113608990B (en) Terminal performance detection method, device and storage medium

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