Debugging Method, Device, Electronic Device and Storage Medium of a Display Terminal
By obtaining machine information of the display terminal and sending configuration adjustment instructions, the problem of cumbersome debugging process in the prior art is solved, and efficient display terminal debugging is achieved.
Patent Information
- Application Number
- CN202311851341.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2043-12-28
AI Technical Summary
In the prior art, the debugging process of the display terminal is complicated, and it is necessary to look up the configuration data storage location and restart the TV multiple times, resulting in low debugging efficiency.
By acquiring the machine information of the display terminal, sending a configuration data request, extracting the first configuration data in the configuration data response, and sending configuration adjustment instructions based on this configuration data, so that the display terminal response and generates configuration debugging results.
It realizes direct debugging of the display terminal according to the configuration adjustment instructions, reducing the number of times to find the configuration data storage location and restart the TV, and improving debugging efficiency.
Smart Images

Figure CN117998084B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and particularly to a debugging method, device, electronic device and storage medium for a display terminal. Background Art
[0002] With the development of society, display devices such as TVs and computer screens have become commonly used electronic products in life. For example, a TV is a display device capable of playing videos. A TV usually includes multiple functional systems such as a sound system and a display system. When playing a video, the TV displays the picture through the display system and outputs sound through the sound system. However, in specific use, different users have different requirements for the functional systems. When the functional systems of the TV do not meet the user's requirements, engineers need to debug the configuration data of the TV functional systems according to the user's requirements until the user's requirements are met.
[0003] In the existing solutions for debugging configuration data, mainly engineers need to find out the specific storage location of the configuration data from the TV motherboard, modify each configuration data according to the user's requirements, then re-enter the modified configuration data into the fixed location of the TV motherboard, and restart the TV to take effect; this process usually requires more than one modification, but multiple modifications are needed to meet the user's requirements, that is, engineers need to perform cumbersome operations such as finding the configuration data storage location multiple times and restarting the TV multiple times, resulting in low debugging efficiency. Summary of the Invention
[0004] To solve the above technical problems, the present application provides a debugging method, device, electronic device and storage medium for a display terminal.
[0005] In a first aspect, the present application provides a debugging method for a display terminal, including:
[0006] Obtain the machine information of the display terminal;
[0007] Send a configuration data request according to the machine information;
[0008] After receiving the configuration data response corresponding to the configuration data request, extract the first configuration data from the configuration data response;
[0009] Send a configuration adjustment instruction to the display terminal according to the first configuration data, and the display terminal is used to generate a configuration debugging result in response to the configuration adjustment instruction.
[0010] Optionally, the obtaining the machine information of the display terminal includes:
[0011] Determine the address information of the display terminal;
[0012] Establish a communication connection with the display terminal according to the address information;
[0013] Based on the communication connection, obtain the machine information of the display terminal.
[0014] Optionally, determining the address information of the display terminal includes:
[0015] Obtain the web address information;
[0016] According to the web address information, display the parameter configuration interface;
[0017] Obtain the terminal address information received on the parameter configuration interface;
[0018] Determine the terminal address information as the address information.
[0019] Optionally, sending the configuration data request according to the machine information includes:
[0020] Generate a configuration data request corresponding to the display terminal according to the machine information;
[0021] Send the configuration data request to the server, and the server is used to generate the configuration data response according to the configuration data request.
[0022] Optionally, generating the configuration data request corresponding to the display terminal according to the machine information includes:
[0023] Extract the configuration version parameter in the machine information;
[0024] Generate a version data request corresponding to the configuration version parameter;
[0025] Determine the version data request as the configuration data request.
[0026] Optionally, sending the configuration adjustment instruction to the display terminal according to the first configuration data includes:
[0027] Perform interface rendering according to the first configuration data to generate a debugging interface;
[0028] Obtain the operation information received on the debugging interface;
[0029] Adjust the first configuration data based on the operation information to obtain the second configuration data;
[0030] Generate the configuration adjustment instruction by using the second configuration data;
[0031] Send the configuration adjustment instruction to the display terminal.
[0032] Optionally, adjusting the first configuration data based on the operation information to obtain second configuration data includes:
[0033] Extracting configuration adjustment parameters from the operation information;
[0034] Adjusting the first configuration data using the configuration adjustment parameters to obtain third configuration data;
[0035] Detecting a configuration confirmation operation corresponding to the third configuration data;
[0036] Based on the configuration confirmation operation, determining the third configuration data as the second configuration data.
[0037] In a second aspect, the present application provides a debugging device for a display terminal, including:
[0038] An acquisition module, configured to acquire machine information of the display terminal;
[0039] A sending module, configured to send a configuration data request according to the machine information;
[0040] An extraction module, configured to extract first configuration data from the configuration data response after receiving the configuration data response corresponding to the configuration data request;
[0041] An adjustment module, configured to send a configuration adjustment instruction to the display terminal according to the first configuration data, where the display terminal is configured to generate a configuration debugging result in response to the configuration adjustment instruction.
[0042] In a third aspect, there is provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
[0043] The memory is used to store a computer program;
[0044] The processor is configured to implement the method according to any one of the first aspect when executing the program stored in the memory.
[0045] In a fourth aspect, there is provided a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method according to any one of the first aspect.
[0046] The above technical solutions provided by the embodiments of the present application have the following advantages compared with the prior art:
[0047] In the embodiments of the present application, by obtaining the machine information of the display terminal and sending a configuration data request based on the machine information, after receiving the configuration data response corresponding to the configuration data request, the first configuration data can be extracted from the configuration data response, and based on the first configuration data, a configuration adjustment instruction can be sent to the display terminal, so that the display terminal generates a configuration debugging result in response to the configuration adjustment instruction, achieving the purpose of directly debugging the display terminal according to the configuration adjustment instruction to generate a configuration debugging result, thereby improving the debugging efficiency of the display terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0050] Figure 1 It is a schematic flowchart of a method for debugging a display terminal provided by an embodiment of the present application;
[0051] Figure 2 It is a schematic diagram of an application scenario of a method for debugging a display terminal provided by an embodiment of the present application;
[0052] Figure 3 It is a schematic diagram of a debugging interface of a method for debugging a display terminal provided by an embodiment of the present application;
[0053] Figure 4 It is a schematic structural diagram of a debugging device for a display terminal provided by an embodiment of the present application;
[0054] Figure 5 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present application belong to the scope of protection of the present application.
[0056] Figure 1Schematic flow chart of a debugging method for a display terminal provided by an embodiment of the present application.
[0057] As Figure 1 shown, an embodiment of the present application discloses a debugging method for a display terminal, including:
[0058] Step S110: Obtain the machine information of the display terminal.
[0059] Specifically, the display terminal refers to a terminal device with a display function, which can be a TV, an integrated screen, etc. The machine information of the display terminal represents the configurations that the display terminal can adjust. The configurations that can be adjusted represented by this machine information can include volume configuration, picture color configuration, picture brightness configuration, etc. In specific implementation, a communication connection can be established between the host computer and the display terminal, and the host computer can obtain the machine information stored in the display terminal through this communication connection. The communication connection can be a wired connection or a wireless connection, and this embodiment does not limit this.
[0060] Step S120: Send a configuration data request based on the machine information.
[0061] Specifically, in this embodiment, a configuration data request can be generated based on the machine information. The configuration data request can represent a request for a configuration data response corresponding to the display terminal. The configuration data response can represent the response information fed back by the request object according to the configuration data request. The request object of the configuration data request can be a server or other terminal. When the request object of the configuration data request is a server, the configuration data request can be sent to the server, and the configuration data response fed back by the server according to the configuration data request can be received. In addition, since different display terminals may carry different machine information, different configuration data requests can be generated based on different machine information, and the configuration data responses corresponding to different display terminals can be obtained by using this configuration data request.
[0062] Step S130: After receiving the configuration data response corresponding to the configuration data request, extract the first configuration data from the configuration data response.
[0063] Specifically, after sending a configuration data request, a configuration data response corresponding to the configuration data request can be received. The configuration data response represents the response information for the configuration data request, and the configuration data response may include first configuration data, where the first configuration data represents the configurable data corresponding to the display terminal. Since the machine information of the display terminal represents the configurations that the display terminal can adjust, the first configuration data can be the configurable data corresponding to the configurations that the machine information represents can be adjusted. For example, if the machine information represents that the configurations that the display terminal can adjust are volume configuration, picture color configuration, and picture brightness configuration, then the first configuration data can be the volume configuration data corresponding to the volume configuration, the picture color configuration data corresponding to the picture color configuration, and the picture brightness configuration data corresponding to the picture brightness configuration.
[0064] Step S140: Send a configuration adjustment instruction to the display terminal according to the first configuration data. The display terminal is used to generate a configuration debugging result in response to the configuration adjustment instruction.
[0065] Specifically, a configuration adjustment instruction can be generated according to the first configuration data. The configuration adjustment instruction is used to instruct the display terminal to execute the configuration debugging instruction. After generating the configuration adjustment instruction, the configuration adjustment instruction can be sent to the display terminal so that the display terminal can execute the configuration debugging according to the configuration adjustment instruction, and thus generate a configuration debugging result in response to the configuration adjustment instruction.
[0066] In an example, the first configuration data includes volume configuration data. The configuration adjustment instruction generated according to the volume configuration data is an adjustment instruction for the volume adjustment amplitude. The adjustment instruction for the volume adjustment amplitude is sent to the display terminal. The display terminal executes the configuration debugging of the volume adjustment amplitude according to the adjustment instruction for the volume adjustment amplitude. For example, the volume adjustment amplitude is adjusted from 1 decibel to 2 decibels, and thus a configuration debugging result is generated according to the adjusted volume adjustment amplitude.
[0067] Such as Figure 2 As shown, the debugging method of the display terminal in this embodiment can be applied to the host computer. By obtaining the machine information of the display terminal and sending a configuration data request according to the machine information, after receiving the configuration data response corresponding to the configuration data request, the first configuration data can be extracted from the configuration data response, and according to the first configuration data, a configuration adjustment instruction is sent to the display terminal, so that the display terminal generates a configuration debugging result in response to the configuration adjustment instruction, achieving the purpose of directly debugging the display terminal according to the configuration adjustment instruction to generate a configuration debugging result, thereby improving the debugging efficiency of the display terminal.
[0068] In some alternative embodiments of the present application, step S110 of obtaining the machine information of the display terminal may specifically include the following sub-steps: determining the address information of the display terminal; establishing a communication connection with the display terminal according to the address information; and obtaining the machine information of the display terminal based on the communication connection.
[0069] In this embodiment, to obtain the machine information of the display terminal, first, the address information of the display terminal can be determined. The address information can be a mechanical physical address, an Internet Protocol Address (IP address), etc. Then, based on the address information, a communication connection with the display terminal can be established. The communication connection can be an Internet connection, a local area network connection, etc. Then, based on the communication connection, the machine information of the display terminal can be obtained, thus playing the role of obtaining the machine information of the display terminal in real time.
[0070] In an example, the address information of the display terminal is an IP address. The host computer establishes a websocket communication connection with the display terminal according to this IP address. Then, the host computer performs data interaction with the display terminal through websocket to obtain the machine information of the display terminal. For the specific acquisition method, the host computer can output a machine information acquisition instruction to the display terminal, and the display terminal feeds back its own machine information to the host computer according to this machine information acquisition instruction. It is also possible for the host computer to directly obtain the machine information of the display terminal from the memory of the display terminal through the websocket communication connection based on the IP address. This embodiment does not limit this.
[0071] In some alternative embodiments of the present application, determining the address information of the display terminal may specifically include the following sub-steps: obtaining web address information; presenting a parameter configuration interface based on the web address information; obtaining the terminal address information received on the parameter configuration interface; and determining the terminal address information as the address information.
[0072] In this embodiment, first, the web address information is obtained. This web address information represents the web address that can be pre-set to establish a communication connection with the display device. Then, the web address represented by the web address information can be entered in the browser, thereby presenting a parameter configuration interface. The parameter configuration interface represents the preset web interface corresponding to the web address information. Then, the terminal address information input by the user can be introduced using the parameter configuration interface, that is, the terminal address information received on the parameter configuration interface is obtained, and the terminal address information is determined as the address information.
[0073] In an example, first, the web address information of the preset web page is obtained. The user enters the web address represented by the web address information in the browser of the host computer. The host computer presents the parameter configuration interface of the preset web page based on this web address. The parameter configuration interface can receive the terminal address information of the display terminal input by the user, and determine the terminal address information received on the parameter configuration interface as the address information of the display terminal, so that a communication connection can be established with the display terminal based on this address information.
[0074] In some alternative embodiments of the present application, step S120 sends a configuration data request based on the machine information, which may specifically include the following sub-steps: generating a configuration data request corresponding to the display terminal based on the machine information; sending the configuration data request to the server, and the server is used to generate a configured data response based on the configuration data request.
[0075] In this embodiment, first, a configuration data request corresponding to the display terminal can be generated based on the machine information. Since different display terminals may have different machine information, and different machine information is used to represent different adjustable configurations, different configuration data requests need to be generated. Then, the configuration data request can be sent to the server, and the server is used to generate a configured data response based on the configuration data request. Thus, during the debugging of different display terminals, different configuration data requests can be generated, and then different configuration data requests can be used to request and obtain the first configuration data corresponding to the display terminal.
[0076] In an example, the machine information A of display terminal A includes adjustable configurations of configuration X and configuration Y, and the machine information B of display terminal B includes adjustable configurations of configuration X, configuration Y, and configuration Z. When debugging display terminal A, first generate a configuration data request A corresponding to display terminal A based on the display machine information A, send the configuration data request A to the server, the server feeds back a configuration data response A based on the configuration data request A, and extract the first configuration data A in the configuration data response A. At this time, the first configuration data A may include configuration data X and configuration data Y. When debugging display terminal B, first generate a configuration data request B corresponding to display terminal B based on the display machine information B, send the configuration data request B to the server, the server feeds back a configuration data response B based on the configuration data request B, and extract the first configuration data B in the configuration data response B. At this time, the first configuration data B may include configuration data X, configuration data Y, and configuration data Z.
[0077] In some alternative embodiments of the present application, generating a configuration data request corresponding to the display terminal based on the machine information may specifically include the following sub-steps: extracting the configuration version parameter in the machine information; generating a version data request corresponding to the configuration version parameter; and determining the version data request as the configuration data request.
[0078] In this embodiment, after obtaining the machine information, the configuration version parameter in the machine information can be extracted first. The configuration version parameter represents the configuration version of the display terminal. Since different display terminals may have different main control systems, different configuration modules, etc., that is, there are different configurations that can be adjusted by different display terminals. This embodiment uses the configuration version parameter to determine the configurations that the display terminal can adjust. Then, a version data request corresponding to the configuration version parameter is generated, and the version data request is determined as a configuration data request, so as to generate a configuration data request corresponding to the display terminal according to the configuration version parameter.
[0079] In an example, the configuration version parameter 1.0 indicates that the adjustable configurations are Configuration X and Configuration Y, and the configuration version parameter 2.0 indicates that the adjustable configurations are Configuration X, Configuration Y, and Configuration Z. When the configuration version parameter in the machine information is extracted as 2.0 at this time, it can be determined that the current display terminal can adjust the configurations of Configuration X, Configuration Y, and Configuration Z, and thus a 2.0 version data request corresponding to the configuration version parameter is generated, and the 2.0 version data request is determined as a configuration data request. The configuration data request parameters at this time include Request Configuration Data X, Configuration Data Y, and Configuration Data Z.
[0080] In some alternative embodiments of the present application, step S140 sends a configuration adjustment instruction to the display terminal according to the first configuration data, which may specifically include the following steps: performing interface rendering according to the first configuration data to generate a debugging interface; obtaining the operation information received on the debugging interface; adjusting the first configuration data based on the operation information to obtain second configuration data; generating a configuration adjustment instruction using the second configuration data; and sending the configuration adjustment instruction to the display terminal.
[0081] In this embodiment, after obtaining the first configuration data, the interface can be first rendered according to the first configuration data to generate a debugging interface. This interface rendering can be performed in a preset web interface for visualizing the configuration data. It should be noted that if the first configuration data contains multiple types of configuration data, the interface can be rendered separately according to each configuration data to generate different debugging interfaces, or each configuration data can be rendered in the same debugging interface, that is, the debugging interface can include the debugging interfaces corresponding to each type of configuration data in the first configuration data. Then, the operation information received on the debugging interface can be obtained. The operation information represents the operations performed in the debugging interface, such as adjusting parameter input operations, mouse adjustment operations, etc. Then, the first configuration data can be adjusted based on the operation information to obtain the second configuration data. For example, if the operation information indicates that the adjusting parameter input operation is to reduce the volume adjustment amplitude by 1 decibel, the volume adjustment configuration data in the first configuration data can be adjusted according to this adjusting parameter input operation, and the adjusted configuration data can be determined as the second configuration data. Finally, a configuration adjustment instruction can be generated using the second configuration data and sent to the display terminal. The configuration adjustment instruction is used to instruct the display terminal to execute the configuration debugging instruction. Therefore, the configuration adjustment instruction generated according to the second configuration data can be used to instruct the display terminal to execute the configuration debugging, so as to adjust the configuration data of the display terminal to the second configuration data, playing the role of quickly and accurately debugging the display terminal.
[0082] In some alternative embodiments of the present application, adjusting the first configuration data based on the operation information to obtain the second configuration data may specifically include the following sub-steps: extracting configuration adjustment parameters from the operation information; adjusting the first configuration data using the configuration adjustment parameters to obtain the third configuration data; detecting the configuration confirmation operation corresponding to the third configuration data; and determining the third configuration data as the second configuration data based on the configuration confirmation operation.
[0083] In this embodiment, configuration adjustment parameters are extracted from the operation information. The configuration adjustment parameters represent the parameters for adjusting the first configuration data. Since the first configuration data can include multiple types of configuration data, the configuration adjustment parameters can also include one or more adjustment parameters for adjusting one configuration data. Then, the first configuration data can be adjusted using the configuration adjustment parameters to obtain the third configuration data. Specifically, each adjustment parameter in the configuration adjustment parameters can be extracted, and each configuration data in the first configuration data can be adjusted using each adjustment parameter. For example, if the configuration adjustment parameters include adjustment parameter X and adjustment parameter Y, and the first configuration data includes configuration data X, configuration data Y, and configuration data Z, then configuration data X can be adjusted using adjustment parameter X, configuration data Y can be adjusted using adjustment parameter Y, and configuration data Z does not need to be adjusted. The adjusted configuration data is determined as the third configuration data. Then, it can be detected whether a configuration confirmation operation corresponding to the third configuration data is received. The configuration confirmation operation represents a confirmation operation that meets the user's requirements. The confirmation operation can include a user input confirmation click operation, a confirmation instruction input by an external device, etc. It can also default to generate a configuration confirmation operation or default to determine that no configuration confirmation operation is received when no configuration confirmation operation is received within a preset time. This embodiment does not limit this. Finally, based on the configuration confirmation operation, the third configuration data is determined as the second configuration data. After confirming that the configuration determination operation is received, it can be determined that the current third configuration data meets the user's requirements. At this time, the third configuration data can be determined as the second configuration data, so that the subsequent steps of generating a configuration adjustment instruction using the second configuration data and sending the configuration adjustment instruction to the display terminal can be executed to complete the debugging of the display terminal. In this embodiment, the configuration confirmation operation serves to confirm whether the current third configuration data meets the user's requirements, achieving the effect of accurately and efficiently generating the second configuration data that meets the user's requirements.
[0084] The machine information in the foregoing embodiment can be an Ini file, the first configuration data can be an XML file, and the configuration adjustment instruction can be an HJSON file.
[0085] The XML file is used to describe the first configuration data, including: the name of the module to which it belongs, the group name, the name of the adjustment item, the description of the adjustment item, the parameter type, the parameter value range, the minimum step value, the base type, the array length, the corresponding instruction, etc. The debugging interface can be rendered through this file to generate the debugging interface.
[0086] Ini file: It is the configuration version parameter for the adjustment items described in the XML file. The adjustment items are different for different terminal products. The XML file is a complete set of all functions. When debugging different terminal products, the host computer obtains the corresponding ini file from the display terminal. The website page correctly renders the debugging interface suitable for the display terminal based on the information in the ini file and the XML file.
[0087] HJSON file: used to store configuration adjustment instructions and adjustment parameters in the configuration adjustment instructions.
[0088] In the specific implementation, an XML file is stored in the server, and the XML file may include volume configuration data, picture color configuration data, and picture brightness configuration data; the host computer and the server exchange data through the HTTP protocol, and the host computer and the display terminal exchange data through the websocket, and obtain the machine information of the display terminal, the machine information includes the 1.0 configuration version parameter, and generate a 1.0 configuration data request according to the machine information, and extract the XML file of the first configuration data in the configuration data response received from the server according to the 1.0 configuration data request for anti-peeping, and render the interface according to the XML file and the 1.0 configuration version parameter to generate a debugging interface, such as the 1.0 configuration version parameter indicating that the configuration data that can be adjusted by the current display terminal include the volume configuration data and the picture color configuration data. At this time, the debugging interface includes the debugging interface corresponding to the volume configuration data and the picture color configuration data; then, the operation information received on the debugging interface is obtained, such as Figure 3 The adjustment interface shown can receive input operation information, such as obtaining volume configuration adjustment parameters by mouse click operation in the adjustment interface, and then the volume configuration data in the first configuration data is adjusted by using the configuration adjustment parameters to obtain the third configuration data. After receiving the configuration confirmation operation corresponding to the third configuration data, the third configuration data is determined as the second configuration data, so that the second configuration data can be used to generate a configuration adjustment instruction, and the configuration adjustment instruction is sent to the display terminal in the form of an HJSON file, so that the display terminal adjusts the configuration data in response to the HJSON file, and generates a configuration debugging result.
[0089] Additionally, an example of an XML file could be as follows:
[0090]
[0091]
[0092] In an application scenario, such as a computer as the host computer and a TV as the slave computer,
[0093] To use a computer to adjust the sound, video data and other parameters of the TV, you can deploy the following three modules:
[0094] ① Server: Deploy aq / pq tool data and store xml data;
[0095] ② Host computer: A computer that parses xml data, extracts sound and images, and sends user commands;
[0096] ③ Lower computer: A TV that receives commands sent by the host computer and executes command operations.
[0097] The host computer and the backend server perform data interaction through the HTTP protocol; the host computer can upload a configuration file (xml format file) to the server or download a configuration file from the backend server.
[0098] The host computer and the lower computer perform data interaction through websocket, and can modify the data of the lower computer in real time, enabling users to view the modification effects in real time. Additionally, based on the configuration data request of the lower computer, the host computer can import complete configuration data into the lower computer. The host computer and the lower computer can be configured in the same local area network to improve the speed and reliability of data transmission.
[0099] The host computer obtains machine information from the lower computer to retrieve a configuration file (XML format file) that matches the lower computer from the backend server. The host computer obtains a machine configuration data file (INI format file) from the lower computer to configure machine data that does not need to be modified, and this INI data will be accessed when parsing the XML data.
[0100] This enables debug personnel to view the effects in real time after modifying data on the web page. If it is found that the existing debug effects are worse than the initially adjusted effects, the original adjusted effects can be restored. After all data has been adjusted, JSON data can be generated with one key, and this JSON data can be directly imported into the lower computer to view the configuration debug results.
[0101] In addition, in specific applications, when the user's TV has issues such as unsatisfactory sound quality or picture quality, for example, when adjusting the sound up or down and the increase or decrease of the sound does not meet the user's requirements, the display terminal can be debugged through the following steps:
[0102] ①. Enter the address information of the display terminal, such as the TV IP and the port number defined by the lower computer, through the host computer in the parameter configuration interface to connect to the user's TV, which is the lower computer;
[0103] ②. The host computer sends a predefined command for obtaining the Json data of the lower computer, which is also a configuration data request;
[0104] ③. When the lower computer receives this predefined command, it can return a special data header and Json data, which is also a configuration data response;
[0105] ④. Then, display the debugging interface and perform operations on this debugging interface according to user requirements to generate operation information, and then obtain a configuration adjustment instruction. At this time, the configuration adjustment instruction can be sent to the lower computer so that the user can view the effect in real time.
[0106] ⑤. Repeat the operation in ④ until it meets the user requirements.
[0107] ⑥. Execute importing data into the user's TV, that is, send Json data in the format of imported data.
[0108] ⑦. After the lower computer receives the Json data, it can store the Json data in a predefined directory.
[0109] ⑧. At this time, the upper computer can be disconnected from the lower computer so that the display terminal can output sound quality, picture quality, etc. that meet the user requirements.
[0110] Through the above debugging method of the display terminal, there is no need for cumbersome operations such as repeatedly searching for the storage location of configuration data and restarting the TV multiple times. Instead, it directly debugs the display terminal according to the configuration adjustment instruction to generate a configuration debugging result, solving the problem of low efficiency of the traditional debugging method and improving the debugging efficiency of the display terminal.
[0111] As Figure 4 shown, this application also discloses an embodiment, providing a debugging device for a display terminal, including:
[0112] An acquisition module 410, configured to acquire the machine information of the display terminal;
[0113] A sending module 420, configured to send a configuration data request according to the machine information;
[0114] An extraction module 430, configured to extract the first configuration data from the configuration data response after receiving the configuration data response corresponding to the configuration data request;
[0115] An adjustment module 440, configured to send a configuration adjustment instruction to the display terminal according to the first configuration data, and the display terminal is used to generate a configuration debugging result in response to the configuration adjustment instruction
[0116] In an embodiment, the acquisition module 410 may include:
[0117] A first determination unit, configured to determine the address information of the display terminal;
[0118] A connection unit, configured to establish a communication connection with the display terminal according to the address information;
[0119] A first acquisition unit, configured to acquire the machine information of the display terminal based on the communication connection.
[0120] In one embodiment, the first determination unit may include:
[0121] A first acquisition subunit, configured to acquire web address information;
[0122] A first interface subunit, configured to display a parameter configuration interface according to the web address information;
[0123] A second acquisition subunit, configured to acquire terminal address information received on the parameter configuration interface;
[0124] A first determination subunit, configured to determine the terminal address information as address information.
[0125] In one embodiment, the sending module 420 may include:
[0126] A first generation unit, configured to generate a configuration data request corresponding to a display terminal according to machine information;
[0127] A sending unit, configured to send the configuration data request to a server, and the server is configured to generate a configured data response according to the configuration data request.
[0128] In one embodiment, the first generation unit may include:
[0129] A first extraction subunit, configured to extract a configuration version parameter from the machine information;
[0130] A first generation subunit, configured to generate a version data request corresponding to the configuration version parameter;
[0131] A second determination subunit, configured to determine the version data request as the configuration data request.
[0132] In one embodiment, the adjustment module 440 may include:
[0133] A second interface subunit, configured to perform interface rendering according to first configuration data to generate a debugging interface;
[0134] A third acquisition subunit, configured to acquire operation information received on the debugging interface;
[0135] A first adjustment subunit, configured to adjust the first configuration data based on the operation information to obtain second configuration data;
[0136] A second generation subunit, configured to generate a configuration adjustment instruction by using the second configuration data;
[0137] A first sending subunit, configured to send the configuration adjustment instruction to the display terminal.
[0138] In one embodiment, the adjustment subunit may include:
[0139] An extraction subunit, configured to extract configuration adjustment parameters from operation information;
[0140] A second adjustment subunit, configured to adjust the first configuration data by using the configuration adjustment parameters to obtain third configuration data;
[0141] A detection subunit, configured to detect a configuration confirmation operation corresponding to the third configuration data;
[0142] A third determination subunit, configured to determine the third configuration data as the second configuration data based on the configuration confirmation operation.
[0143] For the implementation processes of the functions and roles of each module in the foregoing device, refer to the implementation processes of the corresponding steps in the foregoing method for details, which will not be elaborated herein.
[0144] As Figure 5 shown, an embodiment of the present application provides an electronic device, including a processor 510, a communication interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communication interface 520, and the memory 530 complete mutual communication through the communication bus 540.
[0145] The memory 530 is used to store a computer program;
[0146] In an embodiment of the present application, when the processor 510 executes the program stored on the memory 530, it implements the method provided in any one of the foregoing method embodiments. By obtaining the machine information of the display terminal and sending a configuration data request according to the machine information, it is possible to extract the first configuration data from the configuration data response after receiving the configuration data response corresponding to the configuration data request, and send a configuration adjustment instruction to the display terminal according to the first configuration data, so that the display terminal generates a configuration debugging result in response to the configuration adjustment instruction, achieving the purpose of directly debugging the display terminal according to the configuration adjustment instruction to generate a configuration debugging result, thereby improving the debugging efficiency of the display terminal.
[0147] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method provided in any one of the foregoing method embodiments. By obtaining the machine information of the display terminal and sending a configuration data request according to the machine information, it is possible to extract the first configuration data from the configuration data response after receiving the configuration data response corresponding to the configuration data request, and send a configuration adjustment instruction to the display terminal according to the first configuration data, so that the display terminal generates a configuration debugging result in response to the configuration adjustment instruction, achieving the purpose of directly debugging the display terminal according to the configuration adjustment instruction to generate a configuration debugging result, thereby improving the debugging efficiency of the display terminal.
[0148] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0149] The above describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0150] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A debugging method for a display terminal, characterized in that, applied to a host computer, including: obtaining machine information of the display terminal, where the display terminal represents a terminal device with a display function, and the machine information represents the configurations that the display terminal can adjust; sending a configuration data request according to the machine information; after receiving the configuration data response corresponding to the configuration data request, extracting first configuration data from the configuration data response; sending a configuration adjustment instruction to the display terminal according to the first configuration data, where the display terminal is used to generate a configuration debugging result in response to the configuration adjustment instruction; the sending a configuration adjustment instruction to the display terminal according to the first configuration data includes: performing interface rendering according to the first configuration data to generate a debugging interface; obtaining operation information received on the debugging interface; adjusting the first configuration data based on the operation information to obtain second configuration data; generating the configuration adjustment instruction using the second configuration data; sending the configuration adjustment instruction to the display terminal.
2. The method according to claim 1, characterized in that, the obtaining machine information of the display terminal includes: determining the address information of the display terminal; establishing a communication connection with the display terminal according to the address information; obtaining the machine information of the display terminal based on the communication connection.
3. The method according to claim 2, characterized in that, the determining the address information of the display terminal includes: obtaining web page address information; displaying a parameter configuration interface according to the web page address information; obtaining the terminal address information received on the parameter configuration interface; determining the terminal address information as the address information.
4. The method according to claim 1, characterized in that, the sending a configuration data request according to the machine information includes: generating a configuration data request corresponding to the display terminal according to the machine information; sending the configuration data request to a server, where the server is used to generate the configuration data response according to the configuration data request.
5. The method according to claim 4, characterized in that, the generating a configuration data request corresponding to the display terminal according to the machine information includes: extracting the configuration version parameter in the machine information; generating a version data request corresponding to the configuration version parameter; determining the version data request as the configuration data request.
6. The method according to claim 1, characterized in that, the adjusting the first configuration data based on the operation information to obtain second configuration data includes: extracting configuration adjustment parameters from the operation information; adjusting the first configuration data using the configuration adjustment parameters to obtain third configuration data; detecting a configuration confirmation operation corresponding to the third configuration data; determining the third configuration data as the second configuration data based on the configuration confirmation operation.
7. A debugging device for a display terminal, characterized in that, applied to a host computer, including: An acquisition module, configured to acquire the machine information of a display terminal, where the display terminal represents a terminal device with a display function, and the machine information represents the configurations that the display terminal can adjust; A sending module, configured to send a configuration data request according to the machine information; An extraction module, configured to extract first configuration data from a configuration data response after receiving the configuration data response corresponding to the configuration data request; An adjustment module, configured to send a configuration adjustment instruction to the display terminal according to the first configuration data, and the display terminal is configured to generate a configuration debugging result in response to the configuration adjustment instruction; The adjustment module includes: A second interface sub-unit, configured to perform interface rendering according to the first configuration data to generate a debugging interface; A third acquisition sub-unit, configured to acquire the operation information received on the debugging interface; A first adjustment sub-unit, configured to adjust the first configuration data based on the operation information to obtain second configuration data; A second generation sub-unit, configured to generate the configuration adjustment instruction by using the second configuration data; A first sending sub-unit, configured to send the configuration adjustment instruction to the display terminal.
8. An electronic device, characterized in that it includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus; The memory is used for storing a computer program; The processor is configured to implement the method according to any one of claims 1-6 when executing the program stored on the memory.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1-6.
Citation Information
Patent Citations
Device parameter configuration method and device, computer device and storage medium
CN107733708A
Terminal white balance debugging and configuration method, display terminal, cloud platform and system
CN111953954A
Chip debugging method, storage medium, related device and system
CN114116364A