Remote control function test method and system, electronic equipment and storage medium

By determining the target infrared transmission protocol and reference error parameters, and generating infrared transmission data under different error rates for testing, it solves the problems of complex and low-efficiency IR testing processes in the existing technology, and achieves efficient testing and simplified processes for multi-protocol IR. .

CN118740684APending Publication Date: 2024-10-01GUANGZHOU SHIKUN ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310352083.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing IR test process is complex and requires the application of different test tools for different IR protocols, resulting in low test efficiency and difficulty in meeting the requirements for precise multi-protocol IR testing.

Method used

By determining the target infrared transmission protocol and reference error parameters of the end to be tested, infrared transmission data under different error rates are generated, sent to the end to be tested, and feedback information is received to obtain test results, simplifying test tools and processes.

Benefits of technology

It achieves efficient testing of multi-protocol IR, improves testing efficiency, simplifies the testing process, and ensures that mass-produced products can meet corporate standard requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740684A_ABST
    Figure CN118740684A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a remote control function testing method and system, electronic equipment and a storage medium, and relates to the technical field of remote control functions.A target infrared transmission protocol and a reference error parameter of a to-be-tested end are determined, and the remote control function is tested according to the target infrared transmission protocol and the reference error parameter; the method comprises the steps of generating infrared transmission data of a target infrared transmission protocol under different error rates, sending the infrared transmission data of the target infrared transmission protocol under different errors to a to-be-tested end, receiving feedback information returned by the to-be-tested end based on the infrared transmission data of the target infrared transmission protocol under different error rates, and according to each piece of feedback information, sending the infrared transmission data of the target infrared transmission protocol under different error rates to the to-be-tested end. Therefore, the remote control function test of the infrared transmission data under different error rates can be carried out according to the target infrared transmission protocol of the to-be-tested end and the reference error parameter, the test tool and the test process are simplified, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of remote control functions, and in particular to a remote control function testing method, system, electronic equipment and storage medium. Background Art

[0002] For the TV industry, a chip solution needs to support multiple IR (full name: Infrared Radiation, Chinese: infrared) protocols. In the design of IR protocol functions, it is necessary to consider that the header code bit and the data bit can still be recognized by the program normally within a certain reasonable range required by the standard protocol. In the IR receiving head link, the design manufacturer usually indicates the existence of errors in the specification. For example, the output pulse width error value is recommended to be 15% in the IR protocol parsing program. Of course, different infrared receiving heads have different error reference values. Therefore, when designing products, enterprises must consider the influence of these factors and set corresponding enterprise standards. For example, enterprises can set the standard as follows: the detection requires the range of the data bit level to be within +-20% of the standard value. The range of the header code bit level is required to be within +-15% of the standard value; therefore, enterprises will have a demand: to have a multi-protocol IR precision test solution to test and ensure that the mass production product design can meet the requirements of the enterprise. However, the existing IR test process is complicated, and different test tools need to be applied to different IR protocols, and the test efficiency is low. Summary of the invention

[0003] The embodiments of the present invention provide a remote control function test method, system, electronic equipment and storage medium to simplify IR test process and improve test efficiency.

[0004] On the one hand, an embodiment of the present invention provides a remote control function testing method, which is applied to a test end and includes:

[0005] Determine the target infrared transmission protocol and reference error parameters of the end to be tested;

[0006] Generate infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter;

[0007] Sending infrared transmission data of the target infrared transmission protocol under different errors to the end to be tested, and receiving feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol under different error rates;

[0008] The test result of the terminal to be tested is obtained according to each feedback information.

[0009] On the other hand, an embodiment of the present invention provides a remote control function test system, the system comprising a test terminal and a terminal to be tested;

[0010] The test end is used to determine the target infrared transmission protocol and the reference error parameter of the end to be tested, generate infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter, and send the infrared transmission data of the target infrared transmission protocol at different errors to the end to be tested;

[0011] The end to be tested is used to receive the infrared transmission data of the target infrared transmission protocol at different error rates sent by the test end, parse the infrared transmission data of the target infrared transmission protocol at different error rates to obtain the parsed infrared transmission data, generate feedback information based on the response result of the parsed infrared transmission data, and send the feedback information to the test end;

[0012] The end to be tested is used to receive feedback information returned by the end to be tested based on infrared transmission data of the target infrared transmission protocol at different error rates, and determine the test result of the end to be tested according to each feedback information.

[0013] On the other hand, an embodiment of the present invention provides an electronic device, including a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to perform the operations in the above-mentioned remote control function testing method.

[0014] On the other hand, an embodiment of the present invention provides a storage medium, wherein the storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in the above remote control function testing method.

[0015] On the other hand, an embodiment of the present invention provides an integrated circuit board, which is provided with an infrared remote control function; the integrated circuit board executes a computer program to implement the operations in the above remote control function testing method.

[0016] The embodiment of the present invention provides a remote control function testing method, system, electronic device and storage medium, which relate to the field of remote control function technology. By determining the target infrared transmission protocol and reference error parameters of the end to be tested, infrared transmission data of the target infrared transmission protocol at different error rates are generated according to the target infrared transmission protocol and the reference error parameters, the infrared transmission data of the target infrared transmission protocol at different errors are sent to the end to be tested, feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol at different error rates is received, and the test result of the end to be tested is obtained according to each feedback information. In this way, the remote control function test of the infrared transmission data at different error rates can be performed according to the target infrared transmission protocol and the reference error parameters of the end to be tested, and the test tools and test processes are simplified, thereby improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 is a schematic diagram of an application scenario of a remote control function test provided by an embodiment of the present invention;

[0019] Figure 2 is a flow chart of a remote control function testing method provided by an embodiment of the present invention;

[0020] Figure 3 is a schematic diagram of a test page view provided by an embodiment of the present invention;

[0021] Figure 4 is a schematic diagram of infrared transmission data under the NEC protocol provided by an embodiment of the present invention;

[0022] Figure 5 is a structural diagram of a remote control function testing system provided by an embodiment of the present invention;

[0023] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] To facilitate understanding of the technical solution of the present invention, the remote control function testing method, system, electronic device and storage medium provided by the present invention will be introduced below in combination with practical applications.

[0026] The technical solution of the present invention is described in detail below with reference to specific embodiments.

[0027] For example, a TV remote control function test scenario is used as an example. Figure 1 As shown, Figure 11 is a schematic diagram of an application scenario of a remote control function test provided by an embodiment of the present invention, and the application scenario shown includes a test terminal 100 and a TV terminal 200. The test terminal 100 and the TV terminal 200 are connected via an infrared transmission network, and the test terminal 100 and the TV terminal 200 also communicate via a wired transmission channel.

[0028] In some embodiments, the test end 100 determines the target infrared transmission protocol and the benchmark error parameters of the TV end 200, generates infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the benchmark error parameters, and transmits the infrared transmission data of the target infrared transmission protocol at different errors to the TV end 200 through the infrared transmission network; the test end 100 receives feedback information returned by the TV end 200 based on the infrared transmission data of the target infrared transmission protocol at different error rates through the wired transmission channel, and obtains the test result of the TV end 200 according to each feedback information.

[0029] In some embodiments, Figure 1 As shown, the test end 100 includes a computer device 11 and a lower computer 12. The computer device 11 is used to determine the target infrared transmission protocol and the reference error parameter of the TV end 200, and receive the feedback information returned by the TV end 200 based on the infrared transmission data of the target infrared transmission protocol at different error rates, and obtain the test result of the TV end 200 according to each feedback information. The lower computer 12 is used to generate the infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter, and send the infrared transmission data of the target infrared transmission protocol at different errors to the TV end 200.

[0030] Among them, the target infrared transmission protocol can be at least one of JVC, NEC, RC5, RC6, SAMSUNG, SHARP, SONY12, SONY15, SONY20, and TOSHIBA.

[0031] Optionally, the computer device 11 may be a computer, a server, an industrial computer, etc.; the lower computer 12 may be an infrared transmission board, such as a single-chip microcomputer, an IR board, etc.

[0032] The computer device 11 and the lower computer 12 communicate with each other through a network.

[0033] In some embodiments, the network may be any type of wired or wireless network, or a combination thereof. By way of example only, the network may include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof.

[0034] based on Figure 1 The application scenario diagram of the remote control function test is shown in FIG. 1 , and an embodiment of the present invention provides a remote control function test method, such as Figure 2 As shown, Figure 2 is a flow chart of a remote control function testing method provided by an embodiment of the present invention. The remote control function testing method shown can be performed by Figure 1 The test end 100 shown in the figure is executed, and the remote control function test method shown can also be applied to electronic devices with data processing functions, such as computing devices, or terminal devices. Specifically, Figure 2 The remote control function test method shown includes at least steps 210 to 240:

[0035] Step 210, determining the target infrared transmission protocol and reference error parameters of the end to be tested.

[0036] The end to be tested may be an electronic device with an infrared receiving function, such as an air conditioner, a television, a fan, etc. In other embodiments, the end to be tested may be a chip with an infrared receiving function, such as a PT2272 chip, an stm32, etc.

[0037] In some implementations, the reference error parameter may be a theoretical output pulse width error of infrared transmission data to which the tested end can respond, that is, the tested end may respond to infrared transmission data whose output pulse width error is within the theoretical output pulse width error.

[0038] In other embodiments, the reference error parameter may be a theoretical output pulse width error sequence of infrared transmission data to which the tested end can respond, that is, the reference error parameter includes at least two theoretical output pulse width errors of infrared transmission data to which the tested end can respond.

[0039] In other implementations, the reference error parameter may be an error rate between the infrared transmission data output by the test end and the standard infrared transmission data.

[0040] In other embodiments, the reference error parameter may be an error rate sequence between the infrared transmission data output by the test end and the standard infrared transmission data, that is, the reference error parameter includes the error rate between the infrared transmission data output by at least two test ends and the standard infrared transmission data.

[0041] It is understandable that in order to ensure the reliability and applicability of the infrared transmission of the end to be tested, the end to be tested is set to parse and respond to the infrared transmission data within a reasonable range, wherein the reasonable range is the reference error parameter, that is, the error rate between the infrared transmission data and the standard infrared transmission data satisfies the reference error parameter. However, during the production process of the end to be tested, the actual error parameter of the end to be tested may not meet the reference error parameter. Therefore, before the end to be tested leaves the factory, a remote control function test is required to determine the actual error parameter of the end to be tested, and according to the comparison result between the actual error parameter and the reference error parameter, it is determined whether the remote control function of the end to be tested needs to be debugged. Among them, the actual error parameter can be the actual output pulse width error of the end to be tested in the responsive infrared transmission data.

[0042] In some embodiments, the target infrared transmission protocol and the reference error parameter of the end to be tested can be determined by querying a preset database according to the device identification of the end to be tested. The preset database stores the target infrared transmission protocol and the reference error parameter corresponding to each device identification. The device identification is unique. Optionally, the device identification can be at least one of letters, numbers and characters.

[0043] Optionally, the test end may respond to the remote control function test operation, output a test page view of the remote control function, and receive a device identification of the end to be tested input by the staff based on the test page view of the remote control function.

[0044] In some implementations, the test end may respond to a remote control function test operation, output a test page view of the remote control function, and receive a target infrared transmission protocol and a reference error parameter of the end to be tested input by a staff member based on the test page view of the remote control function.

[0045] In some implementations, the device parameters of the end to be tested may be obtained, the infrared transmission protocol supported by the end to be tested in the device parameters may be determined as the target infrared transmission protocol of the end to be tested, and the output pulse width error value of the end to be tested in the device parameters may be determined as the reference error parameter of the end to be tested. The device parameters include but are not limited to the operating voltage, output pulse width, output pulse width error value, supported infrared transmission protocol, etc. of the end to be tested.

[0046] Optionally, based on the device identification of the terminal to be tested, preset device parameter data may be queried to obtain the device parameters of the terminal to be tested, wherein the preset device parameter data includes multiple device identifications and device parameters corresponding to each device identification.

[0047] Optionally, the device parameters of the terminal to be tested sent by the background server may be obtained.

[0048] Step 220: Generate infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter.

[0049] In some embodiments, the infrared transmission data may be an infrared signal.

[0050] In some embodiments, the command key to be transmitted can be determined, the command key is converted based on the target infrared transmission protocol, an initial infrared signal is generated, an error rate is determined based on a reference error parameter, the initial infrared signal is adjusted based on the error rate, infrared signals with different output pulse width errors are generated, and the infrared signals with different output pulse width errors are determined as infrared transmission data under different error rates. The command key is a command that needs to be transmitted by infrared, including but not limited to a power key, a volume key, a number key, etc.

[0051] Optionally, the reference error parameter may be divided according to a preset number of errors to obtain at least one error rate. For example, taking the reference error parameter as 15% and the preset number of errors as 5 as an example, the error rates determined based on the reference error parameter are 3%, 6%, 9%, 12% and 15% respectively.

[0052] Optionally, the key value of the command key may be converted according to the target infrared transmission protocol to obtain an infrared code value, and pulse excitation or signal modulation may be performed according to the infrared code value to generate an initial infrared signal.

[0053] Optionally, the key value of the command key is converted according to the target infrared transmission protocol to obtain an infrared code value, the infrared code value is determined as an initial infrared signal, the error rate is determined based on a reference error parameter, the initial infrared signal is adjusted based on the error rate, and infrared signals with different output pulse width errors are generated.

[0054] Optionally, the mapping data between the preset key value and the infrared code value can be queried according to the key value of the command key to obtain the infrared code value corresponding to the command key, and the infrared code value is modulated according to the target infrared transmission protocol to obtain the initial infrared signal. The mapping data between the preset key value and the infrared code value includes multiple key values ​​and the infrared code value corresponding to each key value.

[0055] In other embodiments, the command key to be transmitted can be determined, the command key is converted based on the target infrared transmission protocol to obtain an infrared code value, the error rate is determined based on the reference error parameter, the infrared code value is modulated with different pulse widths based on the error rate, infrared signals with different output pulse width errors are generated, and the infrared signals with different output pulse width errors are determined as infrared transmission data under different error rates. The command key is a command that needs to be transmitted by infrared, including but not limited to a power key, a volume key, a number key, etc.

[0056] Step 230, sending infrared transmission data of the target infrared transmission protocol under different errors to the end to be tested, and receiving feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol under different error rates.

[0057] Optionally, the feedback information indicates whether the end to be tested can respond to infrared transmission data.

[0058] In some embodiments, the feedback information may be an identifier, and whether the end to be tested can respond to infrared transmission data may be determined based on whether the identifier in the feedback information is consistent with a preset identifier. The identifier may be one or more of letters, numbers, fields, and characters. For example, the identifiers are "0" and "1" and the preset identifier is "1". When the received feedback information is "0", it is determined that the end to be tested cannot respond to infrared transmission data, and when the received feedback information is "1", it is determined that the end to be tested can respond to infrared transmission data.

[0059] In some embodiments, after receiving the infrared transmission data, the tested end demodulates the infrared transmission data to obtain the infrared code value corresponding to the infrared transmission data, queries the pre-stored infrared code value data, and determines whether there is a target infrared code value that matches the infrared code value corresponding to the infrared transmission data; if there is no target infrared code value that matches the infrared code value corresponding to the infrared transmission data, it is determined that the infrared transmission data cannot be responded to, feedback information is generated, and the feedback information is sent to the test end; if there is a target infrared code value that matches the infrared code value corresponding to the infrared transmission data, it is determined that the infrared transmission data can be responded to, feedback information is generated, and the feedback information is sent to the test end.

[0060] The pre-stored infrared code value data includes multiple infrared code values ​​of the terminal to be tested and the key value of the command key corresponding to each infrared code value.

[0061] In some embodiments, for each error rate, infrared transmission data at the error rate may be sent to the end to be tested, and if feedback information returned by the end to be tested based on the infrared transmission data at the error rate is received within a preset time period, infrared transmission data at the next error rate may be sent to the end to be tested. The infrared transmission data at the next error rate may be infrared transmission data having an error rate greater than the error rate. The pre-stored time period may be 1 minute or 5 minutes, which is not specifically limited in the embodiment of the present invention.

[0062] Optionally, if feedback information returned by the end to be tested based on the infrared transmission data at the error rate is not received within a preset time period, it is determined that the test result of the end to be tested is a test failure.

[0063] Optionally, if feedback information returned by the tested end based on the infrared transmission data at the error rate is not received within a preset time period, the infrared transmission data at the error rate is sent to the tested end again, and the number of retransmissions is recorded. When the number of retransmissions is greater than or equal to a preset threshold, the test result of the tested end is determined to be a test failure.

[0064] Optionally, the feedback information may be a key value of a command key returned by the tested end based on the infrared transmission data.

[0065] In some embodiments, after receiving the infrared transmission data, the tested end demodulates the infrared transmission data to obtain the infrared code value corresponding to the infrared transmission data, queries the pre-stored infrared code value data, and determines whether there is a target infrared code value that matches the infrared code value corresponding to the infrared transmission data; if there is no target infrared code value that matches the infrared code value corresponding to the infrared transmission data, feedback information is generated by setting the key value of the command key to empty, and the feedback information is sent to the test end; if there is a target infrared code value that matches the infrared code value corresponding to the infrared transmission data, feedback information is generated based on the key value of the target command key corresponding to the target infrared code value, and the feedback information is sent to the test end.

[0066] In some embodiments, for each error rate, infrared transmission data at the error rate can be sent to the end to be tested. If feedback information returned by the end to be tested based on the infrared transmission data at the error rate is received within a preset time period, it is determined whether the key value of the command key in the feedback information is empty; if the key value of the command key in the feedback information is not empty, it is determined that the end to be tested can respond to the infrared transmission data, and the infrared transmission data at the next error rate is sent to the end to be tested.

[0067] Optionally, if the key value of the command key in the feedback information is empty or the feedback information returned by the tested end based on the infrared transmission data at the error rate is not received within the preset time, it means that the tested end cannot respond to the infrared transmission data, then the test result of the tested end is determined to be test failure, and the remote control function test is stopped.

[0068] Optionally, if the key value of the command key in the feedback information is empty or the feedback information returned by the tested end based on the infrared transmission data at the error rate is not received within the preset time length, it means that the tested end cannot respond to the infrared transmission data. Then the number of test failures is recorded and the infrared transmission data at the next error rate is sent to the tested end.

[0069] Optionally, if the difference between the number of test failures and the amount of infrared transmission data is greater than or equal to a preset difference threshold, it is determined that the remote control function test of the tested end has failed, and the remote control function test is stopped.

[0070] Optionally, if the key value of the command key in the feedback information is empty or the feedback information returned by the tested end based on the infrared transmission data at the error rate is not received within a preset time period, the infrared transmission data at the next error rate is sent to the tested end.

[0071] In other implementations, infrared transmission data of the target infrared transmission protocol under different errors may be sent to the end to be tested in sequence, and feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol under different error rates may be received.

[0072] Step 240: Obtain the test result of the terminal to be tested according to each feedback information.

[0073] In some implementations, the test result of the terminal to be tested is used to indicate whether the remote control function test of the terminal to be tested has passed, that is, whether the actual error parameter of the terminal to be tested matches the reference error parameter.

[0074] Optionally, if the actual error parameter of the end to be tested matches the reference error parameter, it is determined that the test of the end to be tested has passed; if the actual error parameter does not match the reference error parameter, it is determined that the test of the end to be tested has failed.

[0075] In some optional implementations, the actual error parameters of the end to be tested may be compared with the benchmark error parameters. If the actual error parameters of the end to be tested are consistent with the benchmark error parameters, it is determined that the actual error parameters of the end to be tested match the benchmark error parameters; if the actual error parameters of the end to be tested are inconsistent with the benchmark error parameters, it is determined that the actual error parameters of the end to be tested do not match the benchmark error parameters.

[0076] In some other optional implementations, the actual error parameter of the end to be tested may be compared with the reference error parameter. If the difference parameter between the actual error parameter of the end to be tested and the reference error parameter is less than or equal to a preset difference threshold, it is determined that the actual error parameter of the end to be tested matches the reference error parameter; if the difference parameter between the actual error parameter of the end to be tested and the reference error parameter is greater than the preset difference threshold, it is determined that the actual error parameter of the end to be tested does not match the reference error parameter. Optionally, the absolute value of the difference between the actual error parameter of the end to be tested and the reference error parameter may be determined as the difference parameter; optionally, the ratio between the actual error parameter of the end to be tested and the reference error parameter may be determined as the difference parameter.

[0077] In some implementations, the error rate corresponding to the infrared transmission data to which the tested end can respond can be determined based on the feedback information, and the actual error parameter of the tested end can be obtained based on the error rate corresponding to the infrared transmission data to which the tested end can respond.

[0078] Optionally, the maximum value of the error rate corresponding to the infrared transmission data that the tested end can respond to can be determined as the actual error parameter of the tested end. For example, if the error rates corresponding to the infrared transmission data that the tested end can respond to are 3%, 6%, 9%, and 12%, respectively, the actual error parameter of the tested end is determined to be 12%.

[0079] Optionally, the maximum value of the error rates corresponding to the infrared transmission data that can be continuously responded to by the end to be tested can be determined as the actual error parameter of the end to be tested. For example, if the error rates corresponding to the infrared transmission data that can be responded to by the end to be tested are 3%, 6%, 9%, and 15%, respectively, the actual error parameter of the end to be tested is determined to be 9%.

[0080] Optionally, the error rate corresponding to the infrared transmission data to which the tested terminal can respond may be determined based on the infrared transmission data of the feedback information received within a preset time period.

[0081] Optionally, the feedback information may be parsed to obtain a parsed command key, and the parsed command key may be compared with the command key of the infrared transmission data corresponding to the feedback information, and whether the infrared transmission data to which the tested end can respond is determined based on the comparison result. Exemplarily, if the key value of the parsed command key is consistent with the key value of the command key of the infrared transmission data corresponding to the feedback information, the infrared transmission data to which the tested end can respond is determined; if the key value of the parsed command key is inconsistent with the key value of the command key of the infrared transmission data corresponding to the feedback information, the infrared transmission data to which the tested end cannot respond is determined.

[0082] In some implementations, a target error rate corresponding to target infrared transmission data that the tested end cannot respond to can be determined based on various feedback information, and an actual error parameter of the tested end can be obtained based on the target error rate. The actual error parameter is compared with a reference error parameter to obtain a test result of the tested end.

[0083] Optionally, the error rate corresponding to the infrared transmission data to which the tested terminal cannot respond may be determined based on the infrared transmission data for which no feedback information is received within a preset time period.

[0084] Optionally, the error rate corresponding to the infrared transmission data to which the tested terminal cannot respond may be determined based on the infrared transmission data in which the key value of the parsed command key in the received feedback information is empty.

[0085] Optionally, the error rate corresponding to the infrared transmission data to which the tested terminal cannot respond may be determined based on the infrared transmission data in which the key value of the parsed command key in the received feedback information is inconsistent with the key value of the command key.

[0086] Optionally, the actual error parameter of the end to be tested may be determined based on the minimum target error rate among the target error rates corresponding to the target infrared transmission data to which the end to be tested cannot respond.

[0087] Exemplarily, the previous error rate adjacent to the minimum target error rate among the target error rates corresponding to the target infrared transmission data that the tested end cannot respond to can be determined as the actual error parameter of the tested end. For example, when the error rates of the infrared transmission data are 3%, 6%, 9%, 12% and 15% respectively, and when the error rates corresponding to the infrared transmission data that the tested end cannot respond to are 12% and 15% respectively, the actual error parameter of the tested end is determined to be 9%.

[0088] Exemplarily, the minimum target error rate among the target error rates corresponding to the target infrared transmission data that the tested end cannot respond to can be determined as the actual error parameter of the tested end. For example, when the error rates of the infrared transmission data are 3%, 6%, 9%, 12% and 15% respectively, and when the error rates corresponding to the infrared transmission data that the tested end cannot respond to are 12% and 15% respectively, the actual error parameter of the tested end is determined to be 12%.

[0089] Optionally, if the end to be tested does not have a target error rate corresponding to target infrared transmission data to which it cannot respond, the maximum value of the error rates corresponding to infrared transmission data to which the end to be tested can respond is determined as the actual error parameter of the end to be tested.

[0090] In some embodiments, if feedback information returned by the tested end is received for infrared transmission data under each error rate, it is determined that the remote control function test of the tested end has passed; if there is infrared transmission data for which no feedback information is received, it is determined that the remote control function test of the tested end has failed.

[0091] In some embodiments, for the infrared transmission data at each error rate, if the key value of the parsed command key in the feedback information returned by the tested end based on the infrared transmission data at each error rate is not empty, it is determined that the remote control function test of the tested end has passed; if there is target feedback information in which the key value of the parsed command key is empty in the feedback information returned by the tested end based on the infrared transmission data at each error rate, it is determined that the remote control function test of the tested end has failed.

[0092] In some embodiments, for the infrared transmission data at each error rate, if the key value of the parsed command key in the feedback information returned by the tested end based on the infrared transmission data at each error rate is consistent with the key value of the command key of the teammate's infrared transmission data, then it is determined that the remote control function test of the tested end has passed; if there is target feedback information in which the key value of the parsed command key is inconsistent with the key value of the command key of the infrared transmission data in the feedback information returned by the tested end based on the infrared transmission data at each error rate, then it is determined that the remote control function test of the tested end has failed.

[0093] In some embodiments, when the end to be tested supports multiple infrared transmission protocols, that is, when there are multiple target infrared transmission protocols, for each target infrared transmission protocol, it is determined whether there is target feedback information under each target infrared transmission protocol. If there is no target feedback information under all target infrared transmission protocols, it is determined that the remote control function test of the end to be tested has passed; if there is target feedback information under at least one target infrared transmission protocol, it is determined that the remote control function test of the end to be tested has failed.

[0094] In some embodiments, when the end to be tested supports multiple infrared transmission protocols, that is, when there are multiple target infrared transmission protocols, for each target infrared transmission protocol, the actual error parameters of the end to be tested under each target infrared transmission protocol are determined, and the actual error parameters of the end to be tested under the target infrared transmission protocol are compared with the benchmark error parameters under the target infrared transmission protocol. If the actual error parameters of the end to be tested under the target infrared transmission protocol match the benchmark error parameters under the target infrared transmission protocol, it is determined that the test of the target infrared transmission protocol has passed; if the actual error parameters of the end to be tested under the target infrared transmission protocol do not match the benchmark error parameters under the target infrared transmission protocol, it is determined that the test of the target infrared transmission protocol has failed; if the end to be tested has passed the test for all target infrared transmission protocols, it is determined that the remote control function test of the end to be tested has passed; if there is at least one target infrared transmission protocol that has failed the test, it is determined that the remote control function test of the end to be tested has failed.

[0095] In some embodiments, in order to ensure the normal use of the terminal to be tested, when it is determined that the remote control function test of the terminal to be tested fails, the test error of the terminal to be tested is determined, a test report is generated based on the test error, and the test report is output so that the staff can debug the remote control function of the terminal to be tested based on the test report, thereby obtaining the terminal to be tested that meets the benchmark error parameter. Optionally, the test error can be the difference between the actual error parameter of the terminal to be tested and the benchmark error parameter. Optionally, the test error can be the error that the actual error parameter of the terminal to be tested needs to be adjusted to meet the benchmark error parameter.

[0096] Optionally, the difference parameter between the actual error parameter and the reference error parameter can be obtained according to the above-mentioned method of obtaining the difference parameter, the test error of the tested end can be determined according to the difference parameter between the actual error parameter and the reference error parameter, a test report can be generated according to the test error, and the test report can be output.

[0097] Optionally, the test report of the terminal to be tested can be output to the staff via SMS, email, etc.

[0098] Optionally, a test report of the terminal to be tested may be output on the display page view of the test terminal.

[0099] Optionally, the test report includes but is not limited to the device identification of the tested end, test time, remote control function test results, test errors, etc.

[0100] The remote control function testing method provided by the embodiment of the present invention performs remote control function testing of infrared transmission data under different error rates according to the target infrared transmission protocol of the tested end and the reference error parameter, simplifies the testing tools and testing process, and thus improves the testing efficiency.

[0101] In some optional implementations, the end to be tested inputs a test page view, responds to a transmission protocol selection operation based on the test page view input, determines a target infrared transmission protocol corresponding to the transmission protocol selection operation, and outputs a test page view corresponding to the target infrared transmission protocol. For example, the target infrared transmission protocol is NEC. Figure 3 As shown, Figure 3 is a schematic diagram of a test page view provided by an embodiment of the present invention. Figure 3 The test page view shown shows infrared configuration parameters corresponding to the target infrared transmission protocol, error input button, address code input block diagram, command code input block diagram and virtual remote control area, in which multiple function buttons are set. Among them, the infrared configuration parameters include the duration corresponding to the high level and the low level.

[0102] Optionally, the test end can respond to the key trigger operation based on the function button, determine the command key corresponding to the key trigger operation, fill the command code corresponding to the command key into the command code input frame diagram, and fill the address code corresponding to the end to be tested into the address code input frame diagram and the command code input frame diagram. Among them, the address code represents the address symbol of the end to be tested, and the command code represents the command key.

[0103] Optionally, the test end may respond to key value input operations based on the address code input box diagram and the command code input box diagram, obtain the address code and command code input by the user, and fill the address code and command code into the address code input box diagram and the command code input box diagram respectively.

[0104] In some implementations, an error area is further provided in the test page view, and an absolute error input area and a relative error input area are provided in the error area.

[0105] Optionally, after determining the target infrared transmission protocol, the reference error parameter corresponding to the target infrared transmission protocol can be obtained according to the preset protocol-error relationship data, wherein the preset protocol-error relationship includes multiple infrared transmission protocols and the reference error parameter corresponding to each infrared transmission protocol, and the number of times the user inputs based on the test page view is obtained, and the reference error parameter is divided to obtain multiple error rates. In each round of remote control function testing, the test end fills the absolute error and relative error into the absolute error input area and the relative error input area respectively based on the error rate of the round of remote control function testing, and based on the absolute error and relative error in the absolute error input area and the relative error input area, the infrared configuration parameters, the address code and the command code, the signal is excited, and the infrared transmission data corresponding to the error rate of the round of remote control function testing is generated. After sending the infrared transmission data to the end to be tested, the next round of remote control function testing is performed. It can be understood that the error rate of each round of remote control function testing is different, for example, it can be successively decreasing or increasing.

[0106] Optionally, after determining the target infrared transmission protocol, a benchmark error parameter corresponding to the target infrared transmission protocol can be obtained based on preset protocol-error relationship data, and the benchmark error parameter can be displayed in the test page view. In response to the absolute error / relative error input by the user based on the absolute error input area / relative error input area, signal excitation is performed based on the infrared configuration parameters, address code and command code, and absolute error / relative error, to generate infrared transmission data corresponding to the error rate of this round of remote control function test.

[0107] In some optional implementations, the target infrared transmission protocol and the reference error parameter of the end to be tested can be determined based on the device identification by obtaining the device identification of the end to be tested. Specifically, the method for determining the target infrared transmission protocol and the reference error parameter of the end to be tested based on the device identification includes at least steps 211 to 213:

[0108] Step 211, obtaining the device identification of the terminal to be tested.

[0109] In some implementations, the device identification of the terminal to be tested may be obtained according to the method for obtaining the device identification in step 210 .

[0110] Step 212, querying the preset relationship data between the device and the transmission protocol according to the device identification, and obtaining the target infrared transmission protocol corresponding to the end to be tested.

[0111] The preset relationship data between the device and the transmission protocol includes a plurality of device identifiers and the infrared transmission protocol corresponding to each device identifier.

[0112] Step 213, obtaining a reference error parameter corresponding to the target infrared transmission protocol according to the preset protocol-error relationship data.

[0113] The preset relationship between the protocol and the error includes a plurality of infrared transmission protocols and a reference error parameter corresponding to each infrared transmission protocol.

[0114] In some optional implementations, after determining the target infrared transmission protocol and the reference error parameter of the end to be tested, multiple error rates can be determined based on the reference error parameter, and infrared transmission data with different error rates under the target infrared transmission protocol can be generated based on the error rate. Specifically, the method for generating infrared transmission data includes at least steps 221 to 223:

[0115] Step 221, determining infrared configuration parameters matching the target infrared transmission protocol according to the target infrared transmission protocol and pre-stored infrared configuration data.

[0116] The infrared configuration data includes multiple infrared transmission protocols and infrared configuration parameters corresponding to each infrared transmission protocol. The infrared configuration parameters include level duration, such as Figure 3 The level durations corresponding to “0” high level, “0” low level, “1” high level, “1” low level, “leader” high level and “leader” low level shown in FIG.

[0117] Step 222, generating a plurality of error rates according to the reference error parameter.

[0118] In some implementations, the reference error parameter may be divided according to the reference error parameter and a preset error quantity to obtain a plurality of error rates.

[0119] In some implementations, a plurality of theoretical output pulse width errors in the reference error parameter or an error rate between infrared transmission data output by a plurality of test terminals and standard infrared transmission data may be determined as the error rate.

[0120] Step 223, obtaining infrared transmission data of the target infrared transmission protocol at different error rates according to the infrared configuration parameters and the error rates.

[0121] In some embodiments, for each error rate, the infrared configuration parameters are adjusted based on the error rate to obtain adjusted infrared configuration parameters, and signal modulation is performed according to the adjusted infrared configuration parameters to generate infrared transmission data of the target infrared transmission protocol at the error rate.

[0122] In some implementations, for each error rate, the infrared configuration parameters are adjusted based on the error rate to obtain adjusted infrared configuration parameters, and signal modulation is performed according to the adjusted infrared configuration parameters and the target command code and the target address code to generate infrared transmission data of the target infrared transmission protocol at the error rate. Specifically, step 223 at least includes steps S01 to S03:

[0123] Step S01, determining a target command code and a target address code that match a target infrared transmission protocol.

[0124] Optional, such as Figure 3 As shown, it is possible to respond to key value input operations based on the test page view input to determine the target command code and target address code that match the target infrared transmission protocol; optionally, it is possible to respond to trigger operations of function keys in the virtual remote control area based on the test page view to determine the target command code and target address code that match the target infrared transmission protocol.

[0125] Optionally, a target command key can be randomly selected from multiple command keys matching the target infrared transmission protocol, a target command code matching the target infrared transmission protocol can be determined according to the key value of the target command key, and address encoding can be performed according to the communication address of the end to be tested to obtain the target address code. The communication address can be a serial port address connecting the end to be tested and the test end, a MAC address of the end to be tested, etc.

[0126] Exemplarily, the target command code matching the target infrared transmission protocol can be obtained according to the key value of the target command key and the mapping relationship between the preset key value and the code value. The mapping relationship between the preset key value and the code value can be mapping data between the key value and the code value, which includes the key values ​​of multiple command keys and the command code of each key value of the command key under the target infrared transmission protocol; the mapping relationship between the preset key value and the code value can be a conversion method between the key value and the code value, such as an encoding method.

[0127] Step S02: for each error rate, adjusting the infrared configuration parameters according to the error rate to obtain the target infrared configuration parameters under the error rate.

[0128] In some implementations, the target infrared configuration parameters under the error rate may be obtained according to the error rate versus the level duration in the infrared configuration parameters.

[0129] Step S03, generating infrared transmission data at the error rate based on the target command code, the target address code and the target infrared configuration parameters at the error rate.

[0130] In some implementations, the target command code and the target address code may be signal modulated according to the target infrared configuration parameters at the error rate to generate infrared transmission data at the error rate.

[0131] Optionally, an inverse operation can be performed on the target command code to obtain the inverse of the target command code, and an inverse operation can be performed on the target address code to obtain the inverse of the target address. The high-level leading pulse duration and the low-level interval duration can be determined according to the target infrared configuration parameters under the error rate. A pulse signal sequence can be generated according to the high-level leading pulse duration, the low-level interval duration, the target command code, the target address code, the inverse of the target command code and the inverse of the target address, and the pulse signal sequence can be determined as the infrared transmission data under the error rate. Exemplarily, the target infrared transmission protocol is the NEC protocol, as shown in FIG. Figure 4 As shown, Figure 4 It is a schematic diagram of infrared transmission data under the NEC protocol provided by an embodiment of the present invention. The infrared transmission data under the NEC protocol shown includes a 9ms high-level leading pulse, a 4.5ms low-level interval, a target address code of the end to be tested, a target address inverse code, a target command code, and a target command inverse code.

[0132] In some embodiments, the host computer in the test end sends the target command code, the target address code, and the target infrared configuration parameters under the error rate to the IR board in the test end. The IR board performs signal modulation based on the received target command code, the target address code, and the target infrared configuration parameters under the error rate to generate infrared transmission data under the error rate.

[0133] Optionally, when receiving the target command code, target address code and target infrared configuration parameters under the error rate, the IR board performs data format detection on the received target command code, target address code and target infrared configuration parameters under the error rate according to the target infrared transmission protocol to determine whether the received target command code, target address code and target infrared configuration parameters under the error rate comply with the data format corresponding to the target infrared transmission protocol; if the received target command code, target address code and target infrared configuration parameters under the error rate comply with the data format corresponding to the target infrared transmission protocol, signal modulation is performed on the target command code and target address code based on the target infrared configuration parameters under the error rate to generate infrared transmission data at the error rate.

[0134] Optionally, if the received target command code, target address code and target infrared configuration parameters under the error rate do not conform to the data format corresponding to the target infrared transmission protocol, a prompt message indicating that the infrared transmission data generation failed is sent to the host computer, and the host computer waits for sending a new target command code, a new target address code and new target infrared configuration parameters under the error rate.

[0135] Optionally, when the IR board receives the target command code, the target address code and the target infrared configuration parameters under the error rate, it performs data security verification on the received target command code, the target address code and the target infrared configuration parameters under the error rate according to the target infrared transmission protocol. If the data security verification passes, signal modulation is performed on the target command code and the target address code based on the target infrared configuration parameters under the error rate to generate infrared transmission data under the error rate. If the data security verification fails, a prompt message indicating that the infrared transmission data generation failed is sent to the host computer, and the host computer waits for sending a new target command code, a new target address code and new target infrared configuration parameters under the error rate.

[0136] Optionally, the IR board may perform data security verification based on the received target command code, target address code, and data format, verification code, or key of the target infrared configuration parameters under the error rate.

[0137] In some optional embodiments, after determining the target infrared transmission protocol and benchmark error parameters of the end to be tested, the host computer in the test end can determine multiple error rates based on the benchmark error parameters, as well as determine the target command code and target address code that match the target infrared transmission protocol, and send the error rate, target command code, target address code and infrared configuration parameters to the IR board in the test end. The IR board performs signal modulation according to the above steps S02 to S03 based on the error rate, target command code, target address code and infrared configuration parameters, generates infrared transmission data under different error rates, and sends the infrared transmission data under different errors to the end to be tested.

[0138] In some optional implementations, after generating infrared transmission data at different error rates, the test end sends the infrared transmission data at different error rates to the end to be tested.

[0139] In some optional embodiments, for each error rate, signal modulation is performed according to the above steps S02 to S03 based on the error rate, target command code, target address code and infrared configuration parameters to generate infrared transmission data at the error rate, send the infrared transmission data at the error rate to the tested end, receive feedback information returned by the tested end based on the infrared transmission data at the error rate, and determine a new error rate, and signal modulation is performed according to the above steps S02 to S03 based on the new error rate, target command code, target address code and infrared configuration parameters to generate infrared transmission data at the new error rate, and this is repeated until the infrared transmission data at different error rates are all sent to the tested end.

[0140] In some optional implementations, the end to be tested generates feedback information according to step 230 based on the received infrared transmission data, and sends the feedback information to the test end.

[0141] The remote control function test method provided by the embodiment of the present invention performs remote control function test of infrared transmission data under different error rates according to the target infrared transmission protocol of the tested end and the reference error parameter, simplifies the test tools and test process, and thus improves the test efficiency. In order to better implement the remote control function test method provided by the embodiment of the present invention, on the basis of the remote control function test method, the embodiment of the present invention also provides a remote control function test system, such as Figure 5 As shown, Figure 5 1 is a schematic diagram of the structure of a remote control function test system provided by an embodiment of the present invention. The remote control function test system shown includes a test terminal 100 and a terminal to be tested 400.

[0142] The test end 100 is used to determine the target infrared transmission protocol and the reference error parameter of the end to be tested 400, generate infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter, and send the infrared transmission data of the target infrared transmission protocol at different errors to the end to be tested 400;

[0143] The end to be tested 400 is used to receive infrared transmission data of the target infrared transmission protocol at different error rates sent by the test end, parse the infrared transmission data of the target infrared transmission protocol at different error rates to obtain the parsed infrared transmission data, generate feedback information based on the response result of the parsed infrared transmission data, and send the feedback information to the test end 100;

[0144] The test end 100 is used to receive feedback information returned by the end to be tested 400 based on infrared transmission data of a target infrared transmission protocol at different error rates, and determine a test result of the end to be tested 400 according to each feedback information.

[0145] In some implementations, the test end 100 includes a host computer 101 and an infrared transmission board 102 .

[0146] The host computer 101 is used to determine the infrared configuration parameters matching the target infrared transmission protocol according to the target infrared transmission protocol and the pre-stored infrared configuration data; the infrared configuration data includes multiple infrared transmission protocols and infrared configuration parameters corresponding to each infrared transmission protocol; the infrared configuration parameters include level duration; according to the reference error parameters, multiple error rates are determined, and the infrared configuration parameters and each error rate are sent to the infrared transmission board 102;

[0147] The infrared transmission board 102 is used to receive the infrared configuration parameters and various error rates sent by the host computer 101, generate infrared transmission data of the target infrared transmission protocol at different error rates according to the infrared configuration parameters and various error rates, and send the infrared transmission data of the target infrared transmission protocol at different errors to the tested end 400.

[0148] In some embodiments, the host computer 101 is used to determine the target command code and target address code that match the target infrared transmission protocol, and send the target command code, target address code, infrared configuration parameters, and various error rates to the infrared transmission board 102;

[0149] The infrared transmission board 102 is used to adjust the infrared configuration parameters according to each error rate to obtain the target infrared configuration parameters under the error rate, and generate infrared transmission data under the error rate based on the target command code, target address code and the target infrared configuration parameters under the error rate.

[0150] In some embodiments, the host computer 101 is used to obtain the device identification of the end to be tested 400; query the preset relationship data between the device and the transmission protocol according to the device identification, and obtain the target infrared transmission protocol corresponding to the end to be tested 400; the preset relationship data between the device and the transmission protocol includes multiple device identifications and the infrared transmission protocol corresponding to each device identification; according to the preset protocol and error relationship data, obtain the benchmark error parameter corresponding to the target infrared transmission protocol; the preset relationship between the protocol and the error includes multiple infrared transmission protocols and the benchmark error parameter corresponding to each infrared transmission protocol.

[0151] In some embodiments, the host computer 101 is used to determine the target error rate corresponding to the target infrared transmission data that the tested end 400 cannot respond to based on various feedback information; obtain the actual error parameters of the tested end 400 based on the target error rate; and compare the actual error parameters with the reference error parameters to obtain the test results of the tested end 400.

[0152] In some implementations, the host computer 101 is used to determine that the test of the tested end 400 has passed if the actual error parameter matches the reference error parameter; and to determine that the test of the tested end 400 has failed if the actual error parameter does not match the reference error parameter.

[0153] In some implementations, the host computer 101 is used to determine the test error of the end to be tested 400 according to the difference parameter between the actual error parameter and the reference error parameter; generate a test report according to the test error, and output the test report.

[0154] The remote control function testing system provided by the embodiment of the present invention performs remote control function testing of infrared transmission data under different error rates according to the target infrared transmission protocol of the tested end 400 and the reference error parameters, simplifies the testing tools and testing process, and thus improves the testing efficiency.

[0155] The embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, it shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present invention, specifically:

[0156] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0157] The processor 401 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0158] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0159] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0160] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0161] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0162] Determine the target infrared transmission protocol and reference error parameters of the end to be tested;

[0163] According to the target infrared transmission protocol and the reference error parameter, infrared transmission data of the target infrared transmission protocol under different error rates are generated;

[0164] Sending infrared transmission data of the target infrared transmission protocol under different errors to the end to be tested, and receiving feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol under different error rates;

[0165] According to each feedback information, the test result of the terminal to be tested is obtained.

[0166] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0167] To this end, an embodiment of the present invention provides a storage medium in which a plurality of instructions are stored. The instructions can be loaded by a processor to execute the steps in any remote control function test method provided in the embodiment of the present invention. For example, the instructions can execute the following steps:

[0168] Determine the target infrared transmission protocol and reference error parameters of the end to be tested;

[0169] According to the target infrared transmission protocol and the reference error parameter, infrared transmission data of the target infrared transmission protocol under different error rates are generated;

[0170] Sending infrared transmission data of the target infrared transmission protocol under different errors to the end to be tested, and receiving feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol under different error rates;

[0171] According to each feedback information, the test result of the terminal to be tested is obtained.

[0172] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0173] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0174] Since the instructions stored in the storage medium can execute the steps in any remote control function testing method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any remote control function testing method provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0175] The embodiment of the present invention further provides an integrated circuit card, which is provided with an infrared remote control circuit or an infrared remote control chip having an infrared remote control function. The integrated circuit card executes a computer program to implement the remote control function test method described in any of the above embodiments.

[0176] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the integrated circuit board described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.

[0177] The above is a detailed introduction to a remote control function test method, system, electronic device, storage medium and integrated circuit board provided in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A remote control function testing method, characterized in that: The method is applied at the test end, and the method includes: Determine the target infrared transmission protocol and reference error parameters of the end to be tested; Generate infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter; Sending infrared transmission data of the target infrared transmission protocol under different errors to the end to be tested, and receiving feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol under different error rates; The test result of the terminal to be tested is obtained according to each feedback information.

2. The remote control function testing method according to claim 1, characterized in that: The step of generating infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter includes: Determine infrared configuration parameters matching the target infrared transmission protocol according to the target infrared transmission protocol and pre-stored infrared configuration data; the infrared configuration data includes multiple infrared transmission protocols and infrared configuration parameters corresponding to each infrared transmission protocol; the infrared configuration parameters include level duration; generating a plurality of error rates according to the reference error parameter; According to the infrared configuration parameters and the error rates, infrared transmission data of the target infrared transmission protocol at different error rates are obtained.

3. The remote control function testing method according to claim 2, characterized in that: The step of obtaining infrared transmission data of the target infrared transmission protocol at different error rates according to the infrared configuration parameters and the error rates includes: Determining a target command code and a target address code that match the target infrared transmission protocol; For each of the error rates, adjusting the infrared configuration parameters according to the error rate to obtain target infrared configuration parameters under the error rate; Infrared transmission data at the error rate is generated based on the target command code, the target address code and the target infrared configuration parameters at the error rate.

4. The remote control function testing method according to claim 1, characterized in that: Determining the target infrared transmission protocol and the reference error parameter of the end to be tested includes: Get the device ID of the end to be tested; According to the device identification, the preset relationship data between the device and the transmission protocol is queried to obtain the target infrared transmission protocol corresponding to the end to be tested; the preset relationship data between the device and the transmission protocol includes multiple device identifications and the infrared transmission protocol corresponding to each device identification; According to the preset protocol-error relationship data, a reference error parameter corresponding to the target infrared transmission protocol is obtained; the preset protocol-error relationship includes multiple infrared transmission protocols and reference error parameters corresponding to each infrared transmission protocol.

5. The remote control function testing method according to any one of claims 1 to 4, characterized in that: The step of determining the test result of the terminal to be tested according to each piece of feedback information includes: Determine, according to each of the feedback information, a target error rate corresponding to the target infrared transmission data that the tested end cannot respond to; According to the target error rate, an actual error parameter of the end to be tested is obtained; The actual error parameter is compared with the reference error parameter to obtain a test result of the end to be tested.

6. The remote control function testing method according to claim 5, characterized in that: The comparing the actual error parameter with the reference error parameter to obtain the test result of the end to be tested includes: If the actual error parameter matches the reference error parameter, determining that the test of the end to be tested passes; If the actual error parameter does not match the reference error parameter, it is determined that the test of the end to be tested fails.

7. The remote control function testing method according to claim 6, characterized in that: After determining that the test of the end to be tested fails, the method includes: Determining a test error of the end to be tested according to a difference parameter between the actual error parameter and the reference error parameter; A test report is generated according to the test error, and the test report is output.

8. A remote control function test system, characterized in that: The system comprises a test end and a terminal to be tested; The test end is used to determine the target infrared transmission protocol and the reference error parameter of the end to be tested, generate infrared transmission data of the target infrared transmission protocol at different error rates according to the target infrared transmission protocol and the reference error parameter, and send the infrared transmission data of the target infrared transmission protocol at different errors to the end to be tested; The end to be tested is used to receive the infrared transmission data of the target infrared transmission protocol at different error rates sent by the test end, parse the infrared transmission data of the target infrared transmission protocol at different error rates to obtain the parsed infrared transmission data, generate feedback information based on the response result of the parsed infrared transmission data, and send the feedback information to the test end; The test end is used to receive feedback information returned by the end to be tested based on the infrared transmission data of the target infrared transmission protocol at different error rates, and determine the test result of the end to be tested according to each feedback information.

9. The remote control function test system according to claim 8, characterized in that: The test end includes a host computer and an infrared transmission board; The host computer is used to determine the infrared configuration parameters matching the target infrared transmission protocol according to the target infrared transmission protocol and the pre-stored infrared configuration data; the infrared configuration data includes multiple infrared transmission protocols and infrared configuration parameters corresponding to each infrared transmission protocol; the infrared configuration parameters include level duration; according to the reference error parameters, the infrared configuration parameters and each error rate are sent to the infrared transmission board; The infrared transmission board is used to receive the infrared configuration parameters and the error rates sent by the host computer, generate infrared transmission data of the target infrared transmission protocol at different error rates according to the infrared configuration parameters and the error rates, and send the infrared transmission data of the target infrared transmission protocol at different errors to the end to be tested.

10. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute the operations in the remote control function testing method according to any one of claims 1 to 7.

11. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the remote control function testing method according to any one of claims 1 to 7.

12. An integrated circuit board, characterized in that: The integrated circuit board is provided with an infrared remote control function; the integrated circuit board executes a computer program to implement the operations in the remote control function testing method according to any one of claims 1 to 7.