Parameter value acquisition method, controller, terminal device and readable storage medium

By obtaining and sending target parameter values ​​in the mapping table, the problem of low mapping efficiency of information model nodes and controller parameter values ​​is solved, and unified mapping between different types of controllers is realized, and development efficiency is improved.

CN114490647BActive Publication Date: 2024-12-10SHENZHEN INOVANCE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210046886.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-14
Publication Date
2024-12-10
Estimated Expiration
2042-01-14

AI Technical Summary

Technical Problem

In the prior art, the parameter value mapping schemes of the information model node and the controller are not unified, resulting in low mapping efficiency.

Method used

By receiving the data request information sent by the terminal device, the target parameter identification is obtained in the mapping table according to the target model node number, and the corresponding parameter values ​​are obtained and sent, to achieve a strong correspondence between the information model node and the controller parameter values.

Benefits of technology

The mapping efficiency of information model nodes and controller parameter values ​​is improved, a unified mapping scheme between different types of controllers is realized, and the development process is simplified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114490647B_ABST
    Figure CN114490647B_ABST
Patent Text Reader

Abstract

The present application discloses a method for obtaining parameter values, a controller, a terminal device, and a readable storage medium, wherein the method for obtaining parameter values ​​comprises: receiving data request information sent by a terminal device, wherein the data request information includes a target model node number in an information model; obtaining a target parameter identifier corresponding to the target model node number in a mapping table according to the target model node number; obtaining a parameter value corresponding to the target parameter identifier, and sending the parameter value to the terminal device. The above scheme points to the parameter value corresponding to the target parameter identifier according to the target model node number and the mapping table, thereby realizing a strong correspondence between the target model node number and the parameter value and improving mapping efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial technology, and in particular to a method for obtaining parameter values, a controller, a terminal device, and a readable storage medium. Background Art

[0002] With the development of intelligent manufacturing, the requirements for digitalization are getting higher and higher, and OPC UA is the basis for information exchange between different devices. Every controller needs to support this standard. The OPC UA standard has the concept of information model, which is an abstraction of the controller. The model contains relevant functional points of the control, and each parameter of the controller can be abstracted into a node of the model.

[0003] Currently, when associating information model nodes with controller parameter values, the connection between the two can be achieved through a global variable, or through shared memory, etc. Different manufacturers have different implementation methods, and the same manufacturer may have different implementation methods for different controllers. That is, the current mapping schemes between information model nodes and controller parameter values ​​are not unified, resulting in low mapping efficiency. Summary of the invention

[0004] The main purpose of the present application is to provide a method for obtaining parameter values, a controller, a terminal device and a readable storage medium, aiming to improve the low mapping efficiency.

[0005] To achieve the above object, the present application provides a method for obtaining a parameter value, the method for obtaining a parameter value comprising:

[0006] Receiving data request information sent by a terminal device, wherein the data request information includes a target model node number in the information model;

[0007] According to the target model node number, obtaining the target parameter identifier corresponding to the target model node number in the mapping table;

[0008] Acquire a parameter value corresponding to the target parameter identifier, and send the parameter value to the terminal device.

[0009] Optionally, acquiring a parameter identifier corresponding to the target model node number in a mapping table according to the target model node number includes:

[0010] Compare the target model node number with the initial model node number in the mapping table;

[0011] When the comparison is consistent, the initial parameter identifier corresponding to the initial model node number is determined to be the target parameter identifier corresponding to the target model node number.

[0012] Optionally, before acquiring the target parameter identifier corresponding to the target model node number in a mapping table according to the target model node number, the method further comprises:

[0013] Obtaining an initial model node number of each model node in the information model, and obtaining an initial parameter identifier of each parameter node in the information model;

[0014] Obtain the mapping relationship between the initial model node number and the initial parameter identifier to obtain the mapping table

[0015] Optionally, the acquisition method further includes:

[0016] Get the XML format file;

[0017] Parsing the extensible markup language format file, extracting the mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated in the extensible markup language format file;

[0018] The mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated is updated in the mapping table.

[0019] Optionally, the extensible markup language format file records the mapping relationship between model node numbers and parameter identifiers of different controllers.

[0020] In addition, the present application also provides a method for obtaining a parameter value, which is applied to a terminal device, and the method includes:

[0021] Get a target model node from multiple model nodes;

[0022] Obtaining a target model node number of the target model node according to the target model node and the association table;

[0023] Sending data request information to the controller, wherein the data request information includes the target model node number, and the target model node number is used to instruct the controller to return a parameter value corresponding to the target model node number to the terminal device according to the target model node number.

[0024] Optionally, a plurality of model nodes and model node numbers corresponding to the plurality of model nodes are correspondingly stored in the association table.

[0025] In addition, to achieve the above-mentioned purpose, the present application also provides a controller, which includes a memory, a processor, and a parameter value acquisition program stored in the memory and run on the processor, and when the parameter value acquisition program is executed by the processor, the steps of the parameter value acquisition method described in any one of the above are implemented.

[0026] In addition, to achieve the above-mentioned purpose, the present application also provides a terminal device, on which a parameter value acquisition program is stored, and when the parameter value acquisition program is executed by a processor, the steps of the parameter value acquisition method described in any one of the above are implemented.

[0027] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a parameter value acquisition program is stored, and when the parameter value acquisition program is executed by a processor, the steps of the parameter value acquisition method described in any one of the above are implemented.

[0028] In this embodiment, a data request message sent by a terminal device is received, wherein the data request message includes a target model node number in an information model; a target parameter identifier corresponding to the target model node number is obtained in a mapping table according to the target model node number; a parameter value corresponding to the target parameter identifier is obtained, and the parameter value is sent to the terminal device. The above scheme points to the parameter value corresponding to the target parameter identifier according to the target model node number and the mapping table, thereby realizing a strong correspondence between the target model node number and the parameter value and improving mapping efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of the hardware architecture of a device for obtaining parameter values ​​involved in an embodiment of the present application;

[0030] Figure 2 It is a flowchart of an embodiment of a method for obtaining parameter values ​​of the present application;

[0031] Figure 3 This is a flow chart before step S20 of the method for obtaining parameter values ​​of the present application;

[0032] Figure 4 It is a flowchart of another embodiment of the method for obtaining parameter values ​​of the present application;

[0033] Figure 5 This is a schematic diagram of the device module for obtaining parameter values ​​of this application.

[0034] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0035] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] The main solution of the embodiment of the present application is: receiving data request information sent by a terminal device, wherein the data request information includes a target model node number in an information model; according to the target model node number, obtaining a target parameter identifier corresponding to the target model node number in a mapping table; obtaining a parameter value corresponding to the target parameter identifier, and sending the parameter value to the terminal device.

[0037] As an implementation solution, refer to Figure 1 , Figure 1 Schematic diagram of the hardware architecture of the parameter value acquisition device involved in the embodiment of the present application. Figure 1 As shown, the parameter value acquisition device may include a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to realize connection and communication between these components.

[0038] The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Figure 1 As shown, the memory 102 as a computer-readable storage medium may include a parameter value acquisition program; and the processor 101 may be used to call the parameter value acquisition program stored in the memory 102 and perform the following operations:

[0039] Receiving data request information sent by a terminal device, wherein the data request information includes a target model node number in the information model;

[0040] According to the target model node number, obtaining the target parameter identifier corresponding to the target model node number in the mapping table;

[0041] Acquire a parameter value corresponding to the target parameter identifier, and send the parameter value to the terminal device.

[0042] In one embodiment, the processor 101 may be used to call a parameter value acquisition program stored in the memory 102, and perform the following operations:

[0043] Compare the target model node number with the initial model node number in the mapping table;

[0044] When the comparison is consistent, the initial parameter identifier corresponding to the initial model node number is determined to be the target parameter identifier corresponding to the target model node number.

[0045] In one embodiment, the processor 101 may be further configured to call a parameter value acquisition program stored in the memory 102, and perform the following operations:

[0046] Get the XML format file;

[0047] Parsing the extensible markup language format file, extracting the mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated in the extensible markup language format file;

[0048] The mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated is updated in the mapping table.

[0049] The information model in this application refers to the information model of OPC UA (Unified Architecture). Among them, the information model is the basis for data interaction between the controller and the terminal device. There are multiple nodes in the information model. Each parameter of the controller can be abstracted into a node of the information model. Currently, when the information model node is associated with the parameter value of the controller, the connection between the two can be achieved through a global variable, or through shared memory, etc. Different manufacturers have different implementation methods, and the same manufacturer may have different implementation methods for different controllers. That is, the current mapping scheme of information model nodes and controller parameter values ​​is not unified, resulting in low mapping efficiency.

[0050] Therefore, the present application proposes a method for obtaining parameter values.

[0051] Reference Figure 2 , Figure 2 : is a flow chart of an embodiment of a method for obtaining parameter values ​​of the present application. The execution subject of this embodiment is a controller. The method for obtaining parameter values ​​includes:

[0052] Step S10, receiving data request information sent by the terminal device, wherein the data request information includes the target model node number in the information model;

[0053] Step S20, according to the target model node number, obtaining the target parameter identifier corresponding to the target model node number in the mapping table;

[0054] Step S30: acquiring a parameter value corresponding to the target parameter identifier, and sending the parameter value to the terminal device.

[0055] Before executing step S10, each model node in the information model needs to be numbered, and each model node corresponds to a different model node number. Each parameter node in the information model is numbered, and each parameter node corresponds to a different parameter identifier. It can be understood that the model node is an abstraction of the parameter value. Therefore, each model node has a corresponding parameter node. A mapping table can be established between the model node and the parameter node. The parameter node corresponds to the parameter value, so the parameter value can be obtained by accessing the model node.

[0056] Through the above mapping table, each model node in the information model corresponds to a parameter node, and the parameter node corresponds to the parameter value in the controller. Among them, the target model node number represents the number of a specific node in the information model, and each target model number corresponds to a model node. The parameter identifier represents the parameter node in the information model, and each parameter node corresponds to a specific parameter value.

[0057] When the terminal device needs to obtain the parameter value of the controller, it sends data request information to the controller, wherein the data request information includes information such as the target model node number in the information model.

[0058] Optionally, in this embodiment, when the terminal device sends data request information to the controller, the hardware address of the terminal device and the target model node number are sent to the controller in a preset format, so that the controller can quickly obtain the hardware address of the terminal device and the target model node number when receiving the data request information.

[0059] After the controller obtains the target model node number, it obtains the target parameter identifier corresponding to the model node number in the mapping table according to the target model node number.

[0060] Optionally, in this embodiment, the mapping table may be as shown in Table 1:

[0061] Table 1

[0062]

[0063] Referring to Table 1, after the controller obtains the target model node number, it compares the target model node number with the initial model node number in the mapping table, and then determines the target parameter identifier corresponding to the target model node number. After obtaining the corresponding parameter value through the target parameter identifier, the target parameter value is sent to the terminal device through the hardware address.

[0064] The controller obtains the parameter value in the following ways: ① directly obtains the parameter value corresponding to the target parameter identifier pre-stored in the memory, wherein the controller periodically obtains the parameter value corresponding to the target parameter identifier and pre-stores it in the memory for subsequent reading. ② When executing step S30, the current value of the parameter value corresponding to the target parameter identifier is obtained in real time.

[0065] Optionally, in this embodiment, the initial model node numbers may be sorted from small to large according to numerical values, and the arrangement of the initial model node numbers is not limited in this embodiment.

[0066] It is understandable that, in this embodiment, each initial parameter identifier in the mapping table may correspond to a parameter value of a different controller. After the controller determines the target parameter identifier, the corresponding parameter value may be obtained according to the target parameter identifier.

[0067] Optionally, in this embodiment, when the initial model node numbers are sorted in ascending order according to the size of the numbers, the initial parameter identifier corresponding to the initial model node number obtained in the mapping table can be determined by the binary method to determine the target parameter identifier corresponding to the currently obtained target model node number.

[0068] For example: assuming that n is 6 (the initial model node number is 6), the controller determines through the data request information that the target model node number sent by the terminal device is 2, then the model node number first obtained in the mapping table is 3, and the initial model node number in the mapping table is compared with the target model node number sent by the terminal device. According to the comparison result, it is determined that the initial model node number obtained in the mapping table is greater than the target model node number sent by the terminal device, then the initial model node numbers further obtained are 1 and 2, which are compared with the target model node number sent by the terminal device respectively, and it is determined that the initial model number obtained this time is consistent with the target model node number sent by the terminal device, then the parameter parameter identifier corresponding to the initial model number obtained this time is further determined in the mapping table as the target parameter identifier corresponding to the target model node number sent by the terminal device.

[0069] Step S20 specifically includes the following steps:

[0070] Step S21, comparing the target model node number with the initial model node number in the mapping table;

[0071] Step S22, when the comparison is consistent, determine the initial parameter identifier corresponding to the initial model node number as the target parameter identifier corresponding to the target model node number.

[0072] It can be understood that, in this embodiment, the target model node number sent by the terminal device can be compared with the initial model number of the mapping table in sequence to determine the corresponding target parameter identifier.

[0073] For example: determine that the initial model node number in the mapping table is the target model node number, compare the initial model node number with the target model node number carried in the data request information, and when the comparison is consistent, determine that the initial parameter identifier corresponding to the initial model node number is the target parameter identifier corresponding to the target model node number carried in the request information, and stop the comparison.

[0074] In this embodiment, by comparing the initial model node number in the mapping table with the target model node number carried in the data request information, the target parameter identifier corresponding to the target model node number is determined through the comparison result, the target parameter identifier can be accurately determined, and the parameter value can be matched based on the target parameter identifier.

[0075] In this embodiment, the controller receives data request information sent by the terminal device, wherein the data request information carries a target model node number, obtains a target parameter identifier corresponding to the target model node number in a mapping table according to the target model node number, obtains a parameter value corresponding to the target parameter identifier, and then sends the parameter value to the terminal device. Among them, the initial parameter identifier and the initial model node number in the mapping table represent different parameter values ​​and model nodes in different types of controllers. Thus, the same mapping table can be used in different types of controllers by means of a mapping table, that is, the same mapping table can be used in different types of controllers to obtain parameter values ​​of different types of controllers, and the mapping of model nodes and parameter values ​​between different controllers is realized in a unified way, which realizes the unification of the information model node and the actual parameter mapping scheme of the controller, thereby improving development efficiency.

[0076] Reference Figure 3 , Figure 3 The method for obtaining parameter values ​​of the present application is a flow chart before step S20. Before obtaining the target parameter identifier corresponding to the target model node number in the mapping table according to the target model node number, the method includes:

[0077] Step S01, obtaining an initial model node number of each model node in the information model, and obtaining an initial parameter identifier of each parameter node in the information model;

[0078] Step S02, obtaining the mapping relationship between the initial model node number and the initial parameter identifier to obtain the mapping table.

[0079] In this application, the information model is an OPC UA model. First, it is necessary to construct model nodes and parameter nodes, and number each model node in the information model, and each model node corresponds to a different model node number. Each parameter node in the information model is numbered, and each parameter node corresponds to a different parameter identifier. It can be understood that the model node is an abstraction of the parameter value. Therefore, each model node has a corresponding parameter node. A mapping table can be established between the model node and the parameter node. The parameter node corresponds to the parameter value, so the parameter value can be obtained by accessing the model node.

[0080] In this embodiment, by numbering the model nodes and parameter nodes and establishing a mapping relationship between the initial model node number and the initial parameter identifier, a mapping table is obtained. The parameter value corresponding to the target parameter identifier is obtained through the mapping table and the target model node number, and the parameter value is sent to the terminal device. A strong correspondence between the target model node number and the parameter value is achieved, thereby improving the mapping efficiency.

[0081] Furthermore, in this embodiment, the model node number of the model node and its corresponding parameter identifier may be added to the mapping table through an extensible markup language format file.

[0082] In actual application scenarios, the model node numbers and target parameter identifiers in the information model need to be updated or added from time to time. In the process of updating or adding, the R&D personnel need to reprogram and compile the information model, and the cost of updating the information model is high and cumbersome. In order to solve this problem, this application uses an extensible markup language format XML file to implement the update or addition of nodes in the information model.

[0083] Optionally, in this embodiment, the extensible markup language format file records the mapping relationship between the model node numbers and parameter identifiers of different controllers.

[0084] For example, a staff member can add a mapping relationship between a model node number and a parameter identifier in an extensible markup language format file (XML format file), and save the XML format file. The controller is restarted to load the XML format file. When the controller loads the XML format file, the XML format file is parsed, the mapping relationship between the newly added model node number and the parameter identifier in the XML format file is read, and the mapping relationship between the model node number and the parameter identifier is added to the mapping table. This allows the addition of model nodes without modifying the program, which improves the speed of adding model nodes.

[0085] As another optional embodiment, since the XML format file only stores the mapping relationship between the model node number and the parameter identifier, the file size of the XML format file is generally small. For this reason, the mapping relationship between the model node number and the parameter identifier of different controllers can be stored in the XML format file. That is, the information model update or addition requirements of different types of controllers can be met through one XML format file, which can be greatly applicable to a wide variety of industrial equipment.

[0086] Reference Figure 4 , Figure 4 This is a flow chart of another embodiment proposed in the present application. The acquisition method is applied to a terminal device. The acquisition method includes:

[0087] Step S1, obtaining a target model node from multiple model nodes;

[0088] Step S2, obtaining the model node number of the target model node according to the target model node and the association table;

[0089] Step S3, sending data request information to the controller, the data request information including the target model node number, the target model node number is used to instruct the controller to return the parameter value corresponding to the target model node number to the terminal device according to the target model node number.

[0090] In this embodiment, when the terminal device receives a control operation, it determines the controller corresponding to the parameter value to be obtained according to the control operation, obtains all the model nodes of the controller, displays the model node on the terminal display interface, determines that the user selects the model node as the target model node, and compares the target model node with the model node in the association table, wherein the association table stores the model nodes and their corresponding target model node numbers, thereby comparing the target model node with the model nodes in the association table, and determines that the model node number corresponding to the model node that matches the comparison is the target model node number of the target model node. The target model node number is added to the data request information, and the data request information is sent to the controller. Among them, the model node number is used to instruct the controller to return the parameter value corresponding to the target model node number to the terminal device according to the target model node number.

[0091] In this embodiment, the terminal device obtains a target model node from multiple model nodes, obtains the model node number of the target model node according to the target model node and the association table, and sends data request information to the controller, wherein the data request information includes the target model node number, and the target model node number is used to instruct the controller to return the parameter value corresponding to the target model node number to the terminal device according to the target model node number. The terminal device can obtain the parameter value corresponding to the target model node number by sending the target model node number to the controller, thereby improving the speed at which the terminal device obtains the parameter value.

[0092] In addition, to achieve the above-mentioned purpose, the present application also provides a controller, which includes a memory, a processor, and a parameter value acquisition program stored in the memory and run on the processor, and when the parameter value acquisition program is executed by the processor, the steps of the parameter value acquisition method described in any one of the above are implemented.

[0093] In addition, to achieve the above-mentioned purpose, the present application also provides a terminal device, on which a parameter value acquisition program is stored, and when the parameter value acquisition program is executed by a processor, the steps of the parameter value acquisition method described in any one of the above are implemented.

[0094] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a parameter value acquisition program is stored, and when the parameter value acquisition program is executed by a processor, the steps of the parameter value acquisition method described in any one of the above are implemented.

[0095] In addition, refer to Figure 5 To achieve the above purpose, the present application also provides a parameter value acquisition device, the parameter value acquisition device comprising:

[0096] The receiving module 10 is used to receive data request information sent by the terminal device, wherein the data request information includes the target model node number in the information model;

[0097] A first acquisition module 20, configured to acquire, in a mapping table according to the target model node number, a target parameter identifier corresponding to the target model node number;

[0098] The sending module 30 is used to obtain a parameter value corresponding to the target parameter identifier and send the parameter value to the terminal device.

[0099] In one embodiment, the first acquisition module 20 is specifically used for:

[0100] Compare the target model node number with the initial model node number in the mapping table;

[0101] When the comparison is consistent, the initial parameter identifier corresponding to the initial model node number is determined to be the target parameter identifier corresponding to the target model node number.

[0102] In one embodiment, the acquisition device further includes:

[0103] A second acquisition module 40 is used to acquire an initial model node number of each model node in the information model, and acquire an initial parameter identifier of each parameter node in the information model;

[0104] The third acquisition module 50 is used to acquire the mapping relationship between the initial model node number and the initial parameter identifier to obtain the mapping table.

[0105] In one embodiment, the acquisition device further includes:

[0106] The third acquisition module 60 is used to acquire an extensible markup language format file;

[0107] The parsing module 70 is used to parse the XML format file and extract the mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated in the XML format file;

[0108] The updating module 80 is used to update the mapping relationship between the model node number to be updated and the parameter identifier to be updated in the mapping table.

[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0110] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for a terminal device (which can be a smart TV, mobile phone, computer, etc.) to execute the methods described in each embodiment of the present application.

[0112] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for obtaining a parameter value, characterized in that: The acquisition method is applied to a controller, and the acquisition method includes: Obtaining an initial model node number of each model node in the information model, and obtaining an initial parameter identifier of each parameter node in the information model, wherein the information model is an OPC UA model, and the model node is an abstraction of a parameter value; Acquire the mapping relationship between the initial model node number and the initial parameter identifier to obtain a mapping table; Receiving data request information sent by a terminal device, wherein the data request information includes a target model node number in the above information model; According to the target model node number, obtaining the target parameter identifier corresponding to the target model node number in the mapping table; Acquire a parameter value corresponding to the target parameter identifier, and send the parameter value to the terminal device.

2. The acquisition method according to claim 1, characterized in that: The acquiring, in a mapping table according to the target model node number, a parameter identifier corresponding to the target model node number comprises: Compare the target model node number with the initial model node number in the mapping table; When the comparison is consistent, the initial parameter identifier corresponding to the initial model node number is determined to be the target parameter identifier corresponding to the target model node number.

3. The acquisition method according to claim 1, characterized in that: The acquisition method further includes: Get the XML format file; Parsing the extensible markup language format file, extracting the mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated in the extensible markup language format file; The mapping relationship to be updated between the model node number to be updated and the parameter identifier to be updated is updated in the mapping table.

4. The acquisition method according to claim 3, characterized in that: The extensible markup language format file records the mapping relationship between model node numbers and parameter identifiers of different controllers.

5. A method for obtaining a parameter value, characterized in that: The acquisition method is applied to a terminal device, and the acquisition method includes: When the terminal device receives a control operation, the terminal device determines the controller corresponding to the parameter value to be obtained according to the control operation, obtains all model nodes of the controller, displays the model nodes on the terminal display interface, and determines that the model node selected by the user is the target model node; Obtaining a target model node number of the target model node according to the target model node and the association table; Sending data request information to the controller, wherein the data request information includes the target model node number, and the target model node number is used to instruct the controller to return a parameter value corresponding to the target model node number to the terminal device according to the target model node number.

6. The method for obtaining parameter values ​​according to claim 5, characterized in that: The association table stores a plurality of model nodes and model node numbers corresponding to the plurality of model nodes.

7. A controller, characterized in that: The controller includes a memory, a processor, and a parameter value acquisition program stored in the memory and executable on the processor. When the parameter value acquisition program is executed by the processor, the steps of the parameter value acquisition method according to any one of claims 1 to 4 are implemented.

8. A terminal device, characterized in that: The terminal device stores a parameter value acquisition program, and when the parameter value acquisition program is executed by the processor, the steps of the parameter value acquisition method according to any one of claims 5 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a parameter value acquisition program, and when the parameter value acquisition program is executed by a processor, the steps of the parameter value acquisition method according to any one of claims 1 to 5 or 6 are implemented.

Citation Information

Patent Citations

  • File mapping method, mapping server, television and storage medium

    CN108174244A

  • Modeling data downloading method and device, electronic equipment and computer storage medium

    CN110321335A

  • Business instruction processing method and device, computer equipment and storage medium

    CN110351342A

  • HDR image representations using neural network mappings

    WO2019199701A1

  • Shared encoder generation method and apparatus, and electronic device

    WO2021098121A1