Method, device and system for dynamically converting data object

By dynamically determining the importance level of data objects in smart TV applications and sorting them, the problems of inaccuracy and efficiency of data object conversion in the prior art are solved, and more efficient memory utilization and application stability are achieved.

CN119829653APending Publication Date: 2025-04-15SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411603118.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-04-15

Smart Images

  • Figure CN119829653A_ABST
    Figure CN119829653A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and discloses a method, device and system for dynamically converting a data object, and the method comprises the steps: determining data definition information of a level field according to application scene information of a target application; determining the importance level of the level field according to the related application information of the level field; determining a processing sequence sorting result corresponding to all the level fields according to the importance levels of the level fields; and executing corresponding field processing operation on the determined one or more target level fields to obtain a necessary data object result. It can be seen that the processing accuracy and processing efficiency of the fields can be improved, the conversion processing accuracy and reliability of the data objects are improved, the conversion processing efficiency and convenience of the data objects are improved, the situation that unimportant fields are converted to consume a memory and affect important functions is avoided, the stability of application operation is improved, and the user experience is improved. In addition, the accuracy and reliability of the determined processing sequence sorting result are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device and system for dynamically transforming data objects. Background Art

[0002] In modern software development, the transformation of data objects is a key link in the interface interaction between systems. Especially in today's era of big data and microservice architecture, the transmission and conversion of data objects between different systems or services has become particularly frequent and important.

[0003] Currently, the main method for data object conversion is that the system requests the data to be displayed from the server or backend through an interface. The data structure contains multiple fields. The system converts all fields included in the received data one by one, and the conversion creates multiple data objects, which consumes a lot of memory. Data object conversion is mostly used in smart TVs, which have small memory, and the conversion accuracy and efficiency of data objects are low. Therefore, it is particularly important to provide a method that can improve the conversion accuracy and efficiency of data objects. Summary of the invention

[0004] The present invention provides a method, device and system for dynamically converting data objects, which can improve the conversion accuracy and conversion efficiency of data objects, thereby avoiding the situation where unimportant field conversion consumes memory.

[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a method for dynamically converting data objects, the method being applied to an application installed in a smart TV, the application being able to access a NAS device that is communicatively connected to the smart TV, the method comprising:

[0006] According to the determined application scenario information of the target application, a corresponding data definition operation is performed on each horizontal field corresponding to the target level in the data structure to obtain data definition information of each horizontal field;

[0007] Determining the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields;

[0008] According to the importance level of each of the horizontal fields, a corresponding first sorting operation is performed on all the horizontal fields to obtain a first processing sorting result, and according to the first processing sorting result, a processing order sorting result corresponding to all the horizontal fields is determined;

[0009] According to the processing order sorting result, all the horizontal fields and their corresponding data definition information, corresponding field processing operations are performed on the determined one or more target horizontal fields to obtain necessary data object results.

[0010] As an optional implementation, in the first aspect of the present invention, performing corresponding field processing operations on one or more target horizontal fields determined according to the processing order sorting result, all the horizontal fields and their corresponding data definition information to obtain necessary data object results includes:

[0011] According to the processing sequence result, determining the target horizontal field currently being processed from all the horizontal fields;

[0012] According to the data definition information of the target horizontal field, a corresponding data object generation operation is performed on the target horizontal field to obtain a data object result of the target horizontal field, and the corresponding target horizontal field determination operation and / or data object generation operation is performed again until the necessary data object result is obtained, and the necessary data object result includes the data object results of all the target horizontal fields.

[0013] As an optional implementation manner, in the first aspect of the present invention, after determining the target horizontal field currently being processed from all the horizontal fields according to the processing sequence result, the method further includes:

[0014] Determining the current memory allocation of the target application;

[0015] According to the current memory allocation situation and the target level field, determining whether the target application meets the preset memory resource usage condition;

[0016] When it is determined that the target application meets the memory resource usage condition, the step of performing a corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain a data object result of the target horizontal field is executed;

[0017] When it is determined that the target application does not satisfy the memory resource usage condition, necessary data object results are determined according to the determined data object results of all the target horizontal fields.

[0018] As an optional implementation manner, in the first aspect of the present invention, determining the processing order sorting results corresponding to all the equal-level fields according to the first processing sorting result includes:

[0019] According to the importance levels of all the fields at the same level, determining whether all the fields at the same level meet a preset sorting overlap condition;

[0020] When it is determined that all the fields of the same level do not satisfy the sorting overlap condition, the first processing sorting result is determined as the processing order sorting result corresponding to all the fields of the same level;

[0021] When it is determined that all of the horizontal fields satisfy the sorting overlap condition, the first horizontal field that satisfies the sorting overlap condition is determined from all of the horizontal fields according to the importance levels of all of the horizontal fields; according to the determined interface response time information of each of the first horizontal fields, a corresponding second sorting operation is performed on all of the first horizontal fields to obtain a second processing sorting result; according to the second processing sorting result, a corresponding sorting optimization operation is performed on the first processing sorting result to obtain a processing order sorting result corresponding to all of the horizontal fields.

[0022] As an optional implementation manner, in the first aspect of the present invention, judging whether all the equal-level fields satisfy a preset sorting coincidence condition according to the importance levels of all the equal-level fields includes:

[0023] According to the importance levels of all the equal-level fields, it is determined whether there are at least two equal-level fields with matching importance levels among all the equal-level fields; when it is determined that there are at least two equal-level fields with matching importance levels among all the equal-level fields, it is determined that all the equal-level fields meet the preset sorting overlap condition; when it is determined that there are not at least two equal-level fields with matching importance levels among all the equal-level fields, it is determined that all the equal-level fields do not meet the preset sorting overlap condition; or,

[0024] According to the first processing sorting result, determine whether there are at least two horizontal fields with matching processing sorting among all the horizontal fields; when it is determined that there are at least two horizontal fields with matching processing sorting among all the horizontal fields, determine that all the horizontal fields meet the preset sorting overlap condition; when it is determined that there are not at least two horizontal fields with matching processing sorting among all the horizontal fields, determine that all the horizontal fields do not meet the preset sorting overlap condition.

[0025] As an optional implementation, in the first aspect of the present invention, performing a corresponding data definition operation on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application to obtain data definition information of each horizontal field includes:

[0026] Determine the data type information and data structure level information of each level field corresponding to the target level in the data structure according to the determined application scenario information and data tag meaning information of the target application;

[0027] Determine, according to the application scenario information, a field property type of each of the horizontal fields, wherein the field property type includes one or more of a necessary property type, an important property type, a reorganization property type, and an auxiliary property type;

[0028] The data definition information of each horizontal field is determined according to the data type information, data structure level information and field property type of each horizontal field.

[0029] As an optional implementation manner, in the first aspect of the present invention, determining the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields includes:

[0030] Determine the business logic role information and user experience impact information of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields;

[0031] The importance level of each of the horizontal fields is determined according to the business logic role information and user experience impact information of each of the horizontal fields.

[0032] A second aspect of the present invention discloses a device for dynamically converting data objects, the device comprising an application installed on a smart TV, the application being able to access a NAS device that is communicatively connected to the smart TV, the device comprising:

[0033] A data definition module, configured to perform corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application, and obtain data definition information of each horizontal field;

[0034] An importance determination module, used to determine the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields;

[0035] A sorting result determination module, configured to perform a corresponding first sorting operation on all the fields of the same level according to the importance level of each field of the same level, obtain a first processing sorting result, and determine the processing order sorting results corresponding to all the fields of the same level according to the first processing sorting result;

[0036] The field processing module is used to perform corresponding field processing operations on one or more determined target horizontal fields according to the processing order sorting results, all the horizontal fields and their corresponding data definition information, to obtain necessary data object results.

[0037] As an optional implementation, in the second aspect of the present invention, the field processing module performs corresponding field processing operations on one or more determined target horizontal fields according to the processing order sorting result, all the horizontal fields and their corresponding data definition information, and the manner in which the necessary data object result is obtained specifically includes:

[0038] According to the processing sequence result, determining the target horizontal field currently being processed from all the horizontal fields;

[0039] According to the data definition information of the target horizontal field, a corresponding data object generation operation is performed on the target horizontal field to obtain a data object result of the target horizontal field, and the corresponding target horizontal field determination operation and / or data object generation operation is performed again until the necessary data object result is obtained, and the necessary data object result includes the data object results of all the target horizontal fields.

[0040] As an optional implementation, in the second aspect of the present invention, the field processing module is also used to determine the current memory allocation situation of the target application after determining the target horizontal field currently being processed from all the horizontal fields according to the processing order sorting result; judge whether the target application meets the preset memory resource usage conditions based on the current memory allocation situation and the target horizontal field; when it is judged that the target application meets the memory resource usage conditions, execute the step of performing the corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain the data object result of the target horizontal field; when it is judged that the target application does not meet the memory resource usage conditions, determine the necessary data object results based on the determined data object results of all the target horizontal fields.

[0041] As an optional implementation, in the second aspect of the present invention, the sorting result determination module determines the processing order sorting results corresponding to all the equal-level fields according to the first processing sorting result, specifically including:

[0042] According to the importance levels of all the fields at the same level, determining whether all the fields at the same level meet a preset sorting overlap condition;

[0043] When it is determined that all the fields of the same level do not satisfy the sorting overlap condition, the first processing sorting result is determined as the processing order sorting result corresponding to all the fields of the same level;

[0044] When it is determined that all of the horizontal fields satisfy the sorting overlap condition, the first horizontal field that satisfies the sorting overlap condition is determined from all of the horizontal fields according to the importance levels of all of the horizontal fields; according to the determined interface response time information of each of the first horizontal fields, a corresponding second sorting operation is performed on all of the first horizontal fields to obtain a second processing sorting result; according to the second processing sorting result, a corresponding sorting optimization operation is performed on the first processing sorting result to obtain a processing order sorting result corresponding to all of the horizontal fields.

[0045] As an optional implementation, in the second aspect of the present invention, the sorting result determination module determines whether all the horizontal fields meet the preset sorting coincidence condition according to the importance levels of all the horizontal fields, specifically including:

[0046] According to the importance levels of all the equal-level fields, it is determined whether there are at least two equal-level fields with matching importance levels among all the equal-level fields; when it is determined that there are at least two equal-level fields with matching importance levels among all the equal-level fields, it is determined that all the equal-level fields meet the preset sorting overlap condition; when it is determined that there are not at least two equal-level fields with matching importance levels among all the equal-level fields, it is determined that all the equal-level fields do not meet the preset sorting overlap condition; or,

[0047] According to the first processing sorting result, determine whether there are at least two horizontal fields with matching processing sorting among all the horizontal fields; when it is determined that there are at least two horizontal fields with matching processing sorting among all the horizontal fields, determine that all the horizontal fields meet the preset sorting overlap condition; when it is determined that there are not at least two horizontal fields with matching processing sorting among all the horizontal fields, determine that all the horizontal fields do not meet the preset sorting overlap condition.

[0048] As an optional implementation, in the second aspect of the present invention, the data definition module performs corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application, and the method of obtaining the data definition information of each horizontal field specifically includes:

[0049] Determine the data type information and data structure level information of each level field corresponding to the target level in the data structure according to the determined application scenario information and data tag meaning information of the target application;

[0050] Determine, according to the application scenario information, a field property type of each of the horizontal fields, wherein the field property type includes one or more of a necessary property type, an important property type, a reorganization property type, and an auxiliary property type;

[0051] The data definition information of each horizontal field is determined according to the data type information, data structure level information and field property type of each horizontal field.

[0052] As an optional implementation manner, in the second aspect of the present invention, the importance determination module determines the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields, specifically including:

[0053] Determine the business logic role information and user experience impact information of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields;

[0054] The importance level of each of the horizontal fields is determined according to the business logic role information and user experience impact information of each of the horizontal fields.

[0055] A third aspect of the present invention discloses an electronic device, wherein the electronic device includes a smart TV. In addition, the electronic device includes:

[0056] A memory storing executable program code;

[0057] a processor coupled to the memory;

[0058] The processor calls the executable program code stored in the memory to execute a method for dynamically transforming data objects disclosed in the first aspect of the present invention.

[0059] A fourth aspect of the present invention discloses a system for dynamically converting data objects, the system comprising a NAS device and an electronic device, the electronic device comprising a smart TV, the electronic device accessing the NAS device through a preset application, and the preset application being used to execute a method for dynamically converting data objects disclosed in the first aspect of the present invention.

[0060] The fifth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute a method for dynamically transforming data objects disclosed in the first aspect of the present invention.

[0061] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0062] In an embodiment of the present invention, according to the application scenario information of the determined target application, a corresponding data definition operation is performed on each horizontal field corresponding to the target level in the data structure to obtain the data definition information of each horizontal field; according to the relevant application information of each horizontal field determined, the importance level of each horizontal field is determined; according to the importance level of each horizontal field, a corresponding first sorting operation is performed on all the horizontal fields to obtain a first processing sorting result, and according to the first processing sorting result, the processing order sorting result corresponding to all the horizontal fields is determined; according to the processing order sorting result, all the horizontal fields and their corresponding data definition information, a corresponding field processing operation is performed on one or more determined target horizontal fields to obtain the necessary data object result. It can be seen that the present invention can determine the data definition information and importance level of each horizontal field, and then according to the determined data definition information and importance level, perform corresponding field processing operations on all horizontal fields to obtain necessary data object results, which is conducive to improving the comprehensiveness, integrity and rationality of a method of dynamically converting data objects, and then is conducive to improving the processing accuracy and processing efficiency of fields, thereby helping to improve the accuracy and reliability of data conversion processing of data objects, as well as improving the efficiency and convenience of data conversion processing of data objects, thereby helping to avoid the situation where unimportant field conversion consumes memory and affects important functions, and improves the stability of application operation. In addition, determining the processing order ranking results of all horizontal fields from the level of the importance level of the horizontal fields is conducive to improving the comprehensiveness and rationality of the method for determining the processing order ranking results of all horizontal fields, and then is conducive to improving the accuracy and reliability of the determined processing order ranking results, thereby helping to improve the accuracy and efficiency of subsequent horizontal field conversion based on the processing order ranking results. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0064] Figure 1 It is a flowchart of a method for dynamically converting data objects disclosed in an embodiment of the present invention;

[0065] Figure 2 It is a flowchart of another method for dynamically converting data objects disclosed in an embodiment of the present invention;

[0066] Figure 3 It is a structural schematic diagram of a device for dynamically converting data objects disclosed in an embodiment of the present invention;

[0067] Figure 4 is a structural schematic diagram of an electronic device disclosed in an embodiment of the present invention;

[0068] Figure 5 It is a structural diagram of a system for dynamically transforming data objects disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0069] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0071] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0072] The present invention discloses a method, device and system for dynamically transforming data objects, which can determine the data definition information and importance level of each level field, and then perform corresponding field processing operations on all level fields according to the determined data definition information and importance level to obtain necessary data object results, which is conducive to improving the comprehensiveness, integrity and rationality of a method for dynamically transforming data objects, and then is conducive to improving the processing accuracy and processing efficiency of the field, thereby helping to improve the data transformation processing accuracy and reliability of data objects, and is conducive to improving the data transformation processing efficiency and convenience of data objects, thereby helping to avoid the situation where unimportant field conversion consumes memory and affects important functions, and improves the stability of application operation. In addition, determining the processing order of all level fields from the level of importance of the level fields is conducive to improving the comprehensiveness and rationality of the method for determining the processing order of all level fields, and then is conducive to improving the accuracy and reliability of the determined processing order results, thereby helping to improve the accuracy and efficiency of subsequent level field conversion based on the processing order results. The following are detailed descriptions.

[0073] Embodiment 1

[0074] See also Figure 1 , Figure 1 : is a flowchart of a method for dynamically converting data objects disclosed in an embodiment of the present invention. Figure 1 The method described can be applied to an application installed in a smart TV, the application can access a NAS device connected to the smart TV, and the method can also be applied to a device for dynamically converting data objects, wherein the device may include a server, wherein the server includes a local server or a cloud server, which is not limited in the embodiment of the present invention. Figure 1 As shown, the method for dynamically transforming a data object includes the following operations:

[0075] 101. According to the determined application scenario information of the target application, a corresponding data definition operation is performed on each horizontal field corresponding to the target level in the data structure to obtain data definition information of each horizontal field.

[0076] Optionally, the application scenario of the target application can be understood as a scenario involving data requests from the client and the backend or server. Further, examples are given: querying album data scenarios, querying media library poster wall data scenarios, etc., which are not limited in the embodiments of the present invention.

[0077] Optionally, corresponding data definition operations are performed on the same-level fields. For example: define the field data type, data structure level, field property type, etc. of the rating field; further, the field property type may include but is not limited to one or more of necessary property types, important property types, reorganized property types, auxiliary property types, other property types, etc.; further, the field data type may include but is not limited to one or more of integer types, floating-point types, string types, Boolean types, other data types, etc., and the embodiments of the present invention are not limited thereto.

[0078] Optionally, the data structure and the fields it contains are determined according to the target application. Further, the data type of the field is determined according to the current application scenario of the target application, which is not limited in the embodiment of the present invention.

[0079] 102. Determine the importance level of each level field according to the determined relevant application information of each level field.

[0080] Optionally, the relevant application information of the same-level field may include, but is not limited to, one or more of the role of the same-level field in the business logic, the impact of the same-level field on the user experience, other relevant application information, etc., and is not limited in the embodiments of the present invention.

[0081] Optionally, examples are given for the same-level fields and their importance levels: for example, the importance of the same-level fields corresponding to the name, age and avatar information displayed on the interface is higher than that of the auxiliary fields that are not displayed; for another example, the same-level field is the only key field for displaying content, which is not displayed but is a necessary field, then the importance of the same-level field is the highest, and the embodiments of the present invention are not limited to this.

[0082] Optionally, information about the role of the horizontal field in the business logic is provided by way of example: the data type and data content component data structure of the horizontal field are used to mark the characteristics using the value of the horizontal field, which is not limited in the embodiment of the present invention.

[0083] Further optionally, according to the importance level of each field at the same level, a corresponding importance marking operation is performed on each field at the same level, which is not limited in the embodiment of the present invention.

[0084] Optionally, the importance level marked by the level field is helpful for subsequent data processing and optimization, which is not limited in the embodiment of the present invention.

[0085] 103. According to the importance level of each level field, perform a corresponding first sorting operation on all level fields to obtain a first processing sorting result, and determine the processing order sorting results corresponding to all level fields according to the first processing sorting result.

[0086] Optionally, the above-mentioned processing order ranking results corresponding to all the same-level fields are determined according to the importance level of each same-level field. For example: when the importance level of the same-level field indicates that the more important the same-level field is, the higher the priority of the processing order of the same-level field is determined. The same applies to other situations, and the embodiments of the present invention are not limited thereto.

[0087] Optionally, the above-mentioned first sorting operation is performed on all the same-level fields according to the importance level of each same-level field to obtain a first processing sorting result. For example: according to the importance level of each same-level field, the importance level is set to indicate that the more important the same-level field, the higher the priority of the processing sort corresponding to it, and the embodiment of the present invention is not limited to this.

[0088] Optionally, fields with higher importance levels are processed with higher priority to ensure timely and accurate generation of key data, which is not limited in the embodiment of the present invention.

[0089] 104. According to the processing order sorting result, all the horizontal fields and their corresponding data definition information, corresponding field processing operations are performed on the determined one or more target horizontal fields to obtain necessary data object results.

[0090] Optionally, for example: according to the data structure of each level field, the level fields are processed in sequence according to the importance level and the response data return field time, and the processing result is the generation of a corresponding data object; further, the generation of a data object can be understood as converting the response return string data into a data type that defines the field structure, which is not limited in the embodiments of the present invention.

[0091] Optionally, the necessary data object results may be used for subsequent business logic processing, data storage or transmission, etc., which is not limited in the embodiments of the present invention.

[0092] Optionally, this solution can realize dynamic memory consumption when the interface responds to the conversion instance object, so as to avoid unimportant field instances consuming memory and affecting important functions; further, when the memory is insufficient, the important high fields in the conversion data are parsed first, and the auxiliary fields or fields of low importance are ignored. The embodiments of the present invention are not limited to this.

[0093] It can be seen that the method for dynamically converting data objects described in the embodiment of the present invention can determine the data definition information and importance level of each horizontal field, and then perform corresponding field processing operations on all horizontal fields according to the determined data definition information and importance level to obtain the necessary data object results, which is conducive to improving the comprehensiveness, integrity and rationality of a method for dynamically converting data objects, and then is conducive to improving the processing accuracy and processing efficiency of the fields, thereby helping to improve the accuracy and reliability of data conversion processing of data objects, and is conducive to improving the data conversion processing efficiency and convenience of data objects, thereby helping to avoid the situation where unimportant field conversion consumes memory and affects important functions, and improves the stability of application operation. In addition, determining the processing order ranking results of all horizontal fields from the level of the importance level of the horizontal fields is conducive to improving the comprehensiveness and rationality of the method for determining the processing order ranking results of all horizontal fields, and then is conducive to improving the accuracy and reliability of the determined processing order ranking results, thereby helping to improve the accuracy and efficiency of subsequent horizontal field conversion based on the processing order ranking results.

[0094] In an optional embodiment, the above-mentioned performing corresponding field processing operations on the determined one or more target horizontal fields according to the processing order sorting results, all horizontal fields and their corresponding data definition information to obtain the necessary data object results may include:

[0095] According to the processing order sorting result, the target level field currently being processed is determined from all level fields;

[0096] According to the data definition information of the target horizontal field, the corresponding data object generation operation is performed on the target horizontal field to obtain the data object result of the target horizontal field, and the corresponding target horizontal field determination operation and / or data object generation operation is performed again until the necessary data object result is obtained, and the necessary data object result includes the data object results of all target horizontal fields.

[0097] Optionally, the above-mentioned target horizontal field to be processed is determined from all horizontal fields according to the processing order sorting results. For example: according to the processing order sorting results and the horizontal fields that have completed data processing, the horizontal field that needs to be processed currently is determined from all horizontal fields as the target horizontal field, and the embodiments of the present invention do not limit this.

[0098] Optionally, the specific operation steps for executing the corresponding target horizontal field determination operation and / or data object generation operation may refer to but are not limited to the specific operation steps and related contents described in the present solution for determining the target horizontal field currently being processed from all horizontal fields according to the processing order sorting results; and executing the corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain the data object result of the target horizontal field, which are not limited in the embodiments of the present invention.

[0099] Further optionally, it can be understood as looping to determine the target horizontal field currently being processed from all horizontal fields and further determining the data object result of the target horizontal field, until the data object results of all target horizontal fields are determined to obtain the necessary data object results, which is not limited in the embodiments of the present invention.

[0100] It can be seen that this optional embodiment can determine the target horizontal field according to the processing order sorting result, and further perform the corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain the necessary data object result, which is conducive to improving the comprehensiveness and rationality of the necessary data object result generation method, and is conducive to improving the comprehensiveness and rationality of the target horizontal field determination method for data object conversion, and further conducive to improving the accuracy and reliability of the determined target horizontal field, so as to improve the accuracy, reliability and necessity of the conversion of the horizontal field, reduce the memory consumption of unnecessary horizontal field conversion, and further improve the accuracy and reliability of the necessary data object result obtained.

[0101] In another optional embodiment, after determining the target level field currently being processed from all level fields according to the above-mentioned sorting result in the order of processing, the method may further include the following operations:

[0102] Determine the current memory allocation of the target application;

[0103] According to the current memory allocation and the target level field, determine whether the target application meets the preset memory resource usage conditions;

[0104] When it is determined that the target application meets the memory resource usage condition, a step of performing a corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain a data object result of the target horizontal field is executed;

[0105] When it is determined that the target application does not satisfy the memory resource usage condition, the necessary data object results are determined based on the determined data object results of all target level fields.

[0106] Optionally, the current memory allocation status of the target application may be obtained through the current running environment of the target application, which is not limited in the embodiment of the present invention.

[0107] Optionally, the above judgment of whether the target application meets the preset memory resource usage conditions is illustrated by an example: for example, when the client requests the server or back-end interface, after the interface response is returned, the client needs to read the available memory size of the current application. This step is to ensure the reasonable allocation and use of memory resources during the data processing process to avoid memory overflow or performance degradation; for another example, after completing the field processing and parsing of each target horizontal field, the client needs to re-read the memory allocation of the current application. This step is to dynamically monitor memory usage to ensure that when processing other horizontal fields, the memory is still sufficient, and the embodiments of the present invention are not limited to this.

[0108] Further optionally, when it is determined that the target application does not meet the memory resource usage conditions, that is, when it is determined that the target application has insufficient memory, the data processing and analysis of the remaining horizontal fields is abandoned, and the data objects corresponding to the remaining horizontal fields are no longer generated. This is not limited in the embodiments of the present invention.

[0109] Further optionally, judging whether the target application meets the preset memory resource usage condition according to the current memory allocation situation and the target level field may include:

[0110] Determine the available memory for field processing of the target application based on the current memory allocation, and determine the required memory for field processing of the target horizontal field based on the target horizontal field;

[0111] Determine whether the available memory is greater than or equal to the required memory;

[0112] When it is determined that the available memory is greater than or equal to the required memory, determining that the target application meets the preset memory resource usage condition;

[0113] When it is determined that the available memory is less than the required memory, it is determined that the target application does not meet the preset memory resource usage condition.

[0114] It can be seen that this optional embodiment can execute subsequent horizontal field conversion object operations only when the target application meets the memory resource usage conditions, and determine the necessary data object results when the target application does not meet the memory resource usage conditions, which is beneficial to improving the execution rationality and execution accuracy of the data object generation operation of the target horizontal field, and thus helps to reduce or avoid the situation where insufficient memory is caused by data object generation operations, thereby affecting application operation, and thus helps to improve the stability and effectiveness of data object generation operations and application operations.

[0115] In yet another optional embodiment, the above-mentioned determining the processing order sorting results corresponding to all the same-level fields according to the first processing sorting result may include:

[0116] According to the importance levels of all the fields at the same level, determine whether all the fields at the same level meet the preset sorting overlap conditions;

[0117] When it is determined that all the fields of the same level do not satisfy the sorting overlap condition, the first processing sorting result is determined as the processing order sorting result corresponding to all the fields of the same level;

[0118] When it is determined that all the same-level fields satisfy the sorting overlap conditions, the first same-level field that satisfies the sorting overlap conditions is determined from all the same-level fields according to the importance levels of all the same-level fields; according to the determined interface response time information of each first same-level field, a corresponding second sorting operation is performed on all the first same-level fields to obtain a second processing sorting result; according to the second processing sorting result, a corresponding sorting optimization operation is performed on the first processing sorting result to obtain the processing order sorting results corresponding to all the same-level fields.

[0119] Optionally, the above-mentioned determination of the first level field satisfying the sorting overlap condition from all the level fields may be, for example: determining the first level field with the same importance level from all the level fields, or determining the first level field with matching importance level / consistent processing order in the first processing sorting result from all the level fields, which is not limited in the embodiments of the present invention.

[0120] Optionally, the above-mentioned second sorting operation is performed on all first-level fields according to the determined interface response time information of each first-level field to obtain a second processing sorting result. For example: according to the interface response time information of each first-level field, the first-level field with an earlier interface response time / a faster interface response time / an earlier sorting of the field returned by the response data is set, and the processing sorting corresponding to the first-level field has a higher priority, so as to obtain the second processing sorting result, which is not limited to the embodiments of the present invention.

[0121] Optionally, the above-mentioned corresponding sorting optimization operation is performed on the first processing sorting result according to the second processing sorting result to obtain the processing order sorting results corresponding to all the same-level fields. For example, the second processing sorting result replaces the relevant sorting content in the first processing sorting result to obtain the processing order sorting results corresponding to all the same-level fields; for example, according to the second processing sorting result and other processing sorting analysis conditions, the relevant sorting content in the first processing sorting result is updated to obtain the processing order sorting results corresponding to all the same-level fields; further, the relevant sorting content in the first processing sorting result can be understood as the target sorting content in the first processing sorting result that matches the same-level fields targeted by the second processing sorting result, and the embodiments of the present invention are not limited thereto.

[0122] It can be seen that this optional embodiment can further determine the processing order ranking results of all horizontal fields from the level of interface response time of horizontal fields, which is conducive to improving the comprehensiveness, integrity and progressiveness of the method for determining the processing order ranking results, and further helps to improve the diversity and flexibility of the determination parameters used to determine the processing order ranking results, thereby helping to improve the accuracy and reliability of the determined processing order ranking results.

[0123] In yet another optional embodiment, judging whether all the fields at the same level meet the preset sorting coincidence condition according to the importance levels of all the fields at the same level may include:

[0124] According to the importance levels of all the same-level fields, it is determined whether there are at least two same-level fields with matching importance levels among all the same-level fields; when it is determined that there are at least two same-level fields with matching importance levels among all the same-level fields, it is determined that all the same-level fields meet the preset sorting overlap condition; when it is determined that there are not at least two same-level fields with matching importance levels among all the same-level fields, it is determined that all the same-level fields do not meet the preset sorting overlap condition; or,

[0125] According to the first processing sorting result, determine whether there are at least two horizontal fields whose processing sorting matches among all horizontal fields; when it is determined that there are at least two horizontal fields whose processing sorting matches among all horizontal fields, determine that all horizontal fields meet the preset sorting overlap condition; when it is determined that there are not at least two horizontal fields whose processing sorting matches among all horizontal fields, determine that all horizontal fields do not meet the preset sorting overlap condition.

[0126] Optionally, the same-level fields with matching importance levels may be same-level fields with the same importance levels, or may be same-level fields with importance level difference values ​​less than a preset importance difference value threshold, which is not limited in the embodiment of the present invention.

[0127] Optionally, the same-level fields whose processing order matches may be the same-level fields whose processing order matches, or the same-level fields whose processing order difference value is less than a preset order difference value threshold, which is not limited in the embodiment of the present invention.

[0128] It can be seen that this optional embodiment can determine whether the sorting overlap conditions are met from the level of importance levels of the same-level fields or the level of processing sorting of the same-level fields, which is conducive to improving the comprehensiveness, integrity and rationality of the method for determining whether the sorting overlap conditions are met, as well as improving the diversity, flexibility and pertinence of the method for determining whether the sorting overlap conditions are met, and thus is conducive to improving the accuracy and reliability of the determined sorting overlap conditions, thereby facilitating improving the execution accuracy and reliability of subsequent operations for determining the processing order sorting results based on the sorting overlap conditions being met.

[0129] In yet another optional embodiment, the above-mentioned performing corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application to obtain data definition information of each horizontal field may include:

[0130] Determine the data type information and data structure level information of each level field corresponding to the target level in the data structure according to the determined application scenario information and data tag meaning information of the target application;

[0131] Determine the field property type of each level field according to the application scenario information, where the field property type includes one or more of a necessary property type, an important property type, a reorganization property type, and an auxiliary property type;

[0132] The data definition information of each horizontal field is determined according to the data type information, data structure level information and field property type of each horizontal field.

[0133] Optionally, for the data tag meaning information and the data type information of the same-level field, examples are given: to identify the numeric type, the maximum value of the data marked by the field is used; to identify the decimal type, only floating-point data is used; to identify true or false, Boolean is used; to identify the text type, a string is used; the embodiment of the present invention does not limit this.

[0134] It can be seen that this optional embodiment can determine the data type information and data structure hierarchy information of the horizontal field according to the application scenario information and data tag information of the target application, and determine the field property type of the horizontal field, and further determine the data definition information of the horizontal field, which is conducive to improving the comprehensiveness and rationality of the method for determining the data definition information of the horizontal field, and is conducive to improving the diversity, flexibility and comprehensiveness of the determination parameters used to determine the data definition information of the horizontal field, and further conducive to improving the accuracy and reliability of the determined data definition information of the horizontal field.

[0135] Embodiment 2

[0136] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another method for dynamically transforming data objects disclosed in an embodiment of the present invention. Figure 2 The method described can be applied to an application installed in a smart TV, the application can access a NAS device connected to the smart TV, and the method can also be applied to a device for dynamically converting data objects, wherein the device may include a server, wherein the server includes a local server or a cloud server, which is not limited in the embodiment of the present invention. Figure 2 As shown, the method for dynamically transforming a data object includes the following operations:

[0137] 201. According to the determined application scenario information of the target application, a corresponding data definition operation is performed on each horizontal field corresponding to the target level in the data structure to obtain data definition information of each horizontal field.

[0138] 202. Determine business logic role information and user experience impact information of each horizontal field according to the determined relevant application information of each horizontal field.

[0139] 203. Determine the importance level of each level field according to the business logic role information and user experience impact information of each level field.

[0140] Optionally, with respect to business logic role information, user experience impact information and importance levels, an example is given: when the business logic role information of a peer field is used to indicate that the peer field is more critical in the business logic role, and / or the user experience impact information is used to indicate that the peer field has a greater impact on the user experience, etc., then it can be determined that the importance level of the peer field is used to indicate that the peer field is more important, and other situations are similarly obtainable, and the embodiments of the present invention are not limited thereto.

[0141] 204. Perform a corresponding first sorting operation on all the fields at the same level according to the importance level of each field at the same level to obtain a first processing sorting result, and determine the processing order sorting results corresponding to all the fields at the same level according to the first processing sorting result.

[0142] 205. According to the processing order sorting result, all the horizontal fields and their corresponding data definition information, corresponding field processing operations are performed on the determined one or more target horizontal fields to obtain necessary data object results.

[0143] In the embodiment of the present invention, for other descriptions of step 201 to step 205, please refer to other detailed descriptions of step 101 to step 104 in embodiment 1, and the embodiment of the present invention will not be repeated here.

[0144] It can be seen that the embodiments of the present invention can determine the data definition information and importance level of each level field, and then according to the determined data definition information and importance level, perform corresponding field processing operations on all level fields to obtain necessary data object results, which is conducive to improving the comprehensiveness, integrity and rationality of a method of dynamically converting data objects, and then is conducive to improving the processing accuracy and processing efficiency of the fields, thereby facilitating improving the accuracy and reliability of data conversion processing of data objects, as well as improving the efficiency and convenience of data conversion processing of data objects, thereby facilitating avoiding the situation where unimportant field conversion consumes memory and affects important functions, thereby improving the stability of application operation. In addition, the importance level of the level field is used to determine the importance of the level field. Having processing order sorting results for fields of the same level is conducive to improving the comprehensiveness and rationality of the method for determining the processing order sorting results of all fields of the same level, and further helps to improve the accuracy and reliability of the determined processing order sorting results, and thus helps to improve the accuracy and efficiency of subsequent conversions of the same level fields based on the processing order sorting results; and, it is also possible to determine the importance level of the same level field based on the determined business logic role information and user experience impact information of the same level field, which is conducive to improving the comprehensiveness and rationality of the method for determining the importance level of the same field, and further helps to improve the diversity and flexibility of the determination parameters used to determine the importance level of the same field, and thus helps to improve the accuracy and reliability of the determined importance level of the same field.

[0145] Embodiment 3

[0146] See also Figure 3 , Figure 3 : is a schematic diagram of a structure of a device for dynamically converting data objects disclosed in an embodiment of the present invention. Figure 3The described device may include an application installed on a smart TV, which can access a NAS device that is communicatively connected to the smart TV. In addition, the device may include a server, wherein the server includes a local server or a cloud server, which is not limited in the embodiments of the present invention.

[0147] like Figure 3 As shown, the device for dynamically converting data objects may include:

[0148] The data definition module 301 is used to perform corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application, so as to obtain data definition information of each horizontal field.

[0149] The importance determination module 302 is used to determine the importance level of each level field according to the determined relevant application information of each level field.

[0150] The sorting result determination module 303 is used to perform a corresponding first sorting operation on all the same-level fields according to the importance level of each same-level field, obtain a first processing sorting result, and determine the processing order sorting results corresponding to all the same-level fields according to the first processing sorting result.

[0151] The field processing module 304 is used to perform corresponding field processing operations on one or more determined target horizontal fields according to the processing order sorting results, all horizontal fields and their corresponding data definition information, to obtain necessary data object results.

[0152] It can be seen that implementation Figure 3 The described device for dynamically converting data objects can determine the data definition information and importance level of each horizontal field, and then perform corresponding field processing operations on all horizontal fields according to the determined data definition information and importance level to obtain necessary data object results, which is conducive to improving the comprehensiveness, integrity and rationality of a method for dynamically converting data objects, and then is conducive to improving the processing accuracy and processing efficiency of the fields, thereby helping to improve the accuracy and reliability of data conversion processing of data objects, as well as helping to improve the efficiency and convenience of data conversion processing of data objects, thereby helping to avoid the situation where unimportant field conversion consumes memory and affects important functions, and improves the stability of application operation. In addition, determining the processing order ranking results of all horizontal fields from the level of the importance level of the horizontal fields is conducive to improving the comprehensiveness and rationality of the method for determining the processing order ranking results of all horizontal fields, and then is conducive to improving the accuracy and reliability of the determined processing order ranking results, thereby helping to improve the accuracy and efficiency of subsequent horizontal field conversion based on the processing order ranking results.

[0153] In an optional embodiment, the field processing module 304 performs corresponding field processing operations on the determined one or more target horizontal fields according to the processing order sorting result, all horizontal fields and their corresponding data definition information, and obtains the necessary data object result in the following manner:

[0154] According to the processing order sorting result, the target level field currently being processed is determined from all level fields;

[0155] According to the data definition information of the target horizontal field, the corresponding data object generation operation is performed on the target horizontal field to obtain the data object result of the target horizontal field, and the corresponding target horizontal field determination operation and / or data object generation operation is performed again until the necessary data object result is obtained, and the necessary data object result includes the data object results of all target horizontal fields.

[0156] It can be seen that implementation Figure 3 The described device can also determine the target horizontal field according to the processing order sorting result, and further perform the corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain the necessary data object result, which is conducive to improving the comprehensiveness and rationality of the necessary data object result generation method, and is conducive to improving the comprehensiveness and rationality of the target horizontal field determination method for data object conversion, and further conducive to improving the accuracy and reliability of the determined target horizontal field, thereby facilitating improving the accuracy, reliability and necessity of the conversion of the horizontal field, reducing the memory consumption of unnecessary horizontal field conversion, and further improving the accuracy and reliability of the necessary data object result obtained.

[0157] In another optional embodiment, the field processing module 304 is also used to determine the current memory allocation situation of the target application after determining the target horizontal field currently being processed from all horizontal fields according to the above-mentioned processing order sorting results; judge whether the target application meets the preset memory resource usage conditions based on the current memory allocation situation and the target horizontal field; when it is judged that the target application meets the memory resource usage conditions, execute the step of performing corresponding data object generation operations on the target horizontal field according to the data definition information of the target horizontal field to obtain the data object result of the target horizontal field; when it is judged that the target application does not meet the memory resource usage conditions, determine the necessary data object results based on the determined data object results of all target horizontal fields.

[0158] It can be seen that implementation Figure 3The described device can also execute subsequent horizontal field conversion object operations when the target application meets the memory resource usage conditions, and determine the necessary data object results when the target application does not meet the memory resource usage conditions, which is beneficial to improving the execution rationality and accuracy of the data object generation operation of the target horizontal field, and thus helps to reduce or avoid the situation where insufficient memory is caused by the data object generation operation, thereby affecting the application operation, thereby helping to improve the stability and effectiveness of the data object generation operation and application operation.

[0159] In another optional embodiment, the sorting result determination module 303 determines the processing order sorting results corresponding to all the same-level fields according to the first processing sorting result, specifically including:

[0160] According to the importance levels of all the fields at the same level, determine whether all the fields at the same level meet the preset sorting overlap conditions;

[0161] When it is determined that all the fields of the same level do not satisfy the sorting overlap condition, the first processing sorting result is determined as the processing order sorting result corresponding to all the fields of the same level;

[0162] When it is determined that all the same-level fields satisfy the sorting overlap conditions, the first same-level field that satisfies the sorting overlap conditions is determined from all the same-level fields according to the importance levels of all the same-level fields; according to the determined interface response time information of each first same-level field, a corresponding second sorting operation is performed on all the first same-level fields to obtain a second processing sorting result; according to the second processing sorting result, a corresponding sorting optimization operation is performed on the first processing sorting result to obtain the processing order sorting results corresponding to all the same-level fields.

[0163] It can be seen that implementation Figure 3 The described device can also further determine the processing order results of all the same-level fields from the level of the interface response time of the same-level fields, which is conducive to improving the comprehensiveness, integrity and progressiveness of the method for determining the processing order results, and further conducive to improving the diversity and flexibility of the determination parameters used to determine the processing order results, thereby helping to improve the accuracy and reliability of the determined processing order results.

[0164] In another optional embodiment, the sorting result determination module 303 determines whether all the same-level fields meet the preset sorting coincidence condition according to the importance levels of all the same-level fields, specifically including:

[0165] According to the importance levels of all the same-level fields, it is determined whether there are at least two same-level fields with matching importance levels among all the same-level fields; when it is determined that there are at least two same-level fields with matching importance levels among all the same-level fields, it is determined that all the same-level fields meet the preset sorting overlap condition; when it is determined that there are not at least two same-level fields with matching importance levels among all the same-level fields, it is determined that all the same-level fields do not meet the preset sorting overlap condition; or,

[0166] According to the first processing sorting result, determine whether there are at least two horizontal fields whose processing sorting matches among all horizontal fields; when it is determined that there are at least two horizontal fields whose processing sorting matches among all horizontal fields, determine that all horizontal fields meet the preset sorting overlap condition; when it is determined that there are not at least two horizontal fields whose processing sorting matches among all horizontal fields, determine that all horizontal fields do not meet the preset sorting overlap condition.

[0167] It can be seen that implementation Figure 3 The described device can determine whether the sorting overlap conditions are met from the level of importance levels of the same-level fields or the level of processing sorting of the same-level fields, which is conducive to improving the comprehensiveness, integrity and rationality of the method for determining whether the sorting overlap conditions are met, as well as improving the diversity, flexibility and pertinence of the method for determining whether the sorting overlap conditions are met, and thus is conducive to improving the accuracy and reliability of the determined sorting overlap conditions, thereby facilitating improving the execution accuracy and reliability of subsequent operations for determining the processing order sorting results based on the sorting overlap conditions being met.

[0168] In another optional embodiment, the data definition module 301 performs corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application, and the method of obtaining the data definition information of each horizontal field specifically includes:

[0169] Determine the data type information and data structure level information of each level field corresponding to the target level in the data structure according to the determined application scenario information and data tag meaning information of the target application;

[0170] Determine the field property type of each level field according to the application scenario information, where the field property type includes one or more of a necessary property type, an important property type, a reorganization property type, and an auxiliary property type;

[0171] The data definition information of each horizontal field is determined according to the data type information, data structure level information and field property type of each horizontal field.

[0172] It can be seen that implementation Figure 3The described device can also determine the data type information and data structure hierarchy information of the horizontal field according to the application scenario information and data tag information of the target application, and determine the field property type of the horizontal field, and further determine the data definition information of the horizontal field, which is conducive to improving the comprehensiveness and rationality of the method for determining the data definition information of the horizontal field, and is conducive to improving the diversity, flexibility and comprehensiveness of the determination parameters used to determine the data definition information of the horizontal field, and further conducive to improving the accuracy and reliability of the determined data definition information of the horizontal field.

[0173] In another optional embodiment, the importance determination module 302 determines the importance level of each level field according to the determined application information related to each level field, specifically including:

[0174] Determine the business logic role information and user experience impact information of each level field according to the relevant application information of each level field determined;

[0175] The importance level of each level field is determined based on the business logic role information and user experience impact information of each level field.

[0176] It can be seen that implementation Figure 3 The described device can also determine the importance level of the horizontal field based on the determined business logic role information and user experience impact information of the horizontal field, which is conducive to improving the comprehensiveness and rationality of the method for determining the importance level of the horizontal field, and further conducive to improving the diversity and flexibility of the determination parameters used to determine the importance level of the horizontal field, thereby facilitating improving the accuracy and reliability of the determined importance level of the horizontal field.

[0177] Embodiment 4

[0178] See also Figure 4 , Figure 4 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. Figure 4 The electronic device described may be a smart TV, and furthermore, Figure 4 The electronic device described may include a server, wherein the server includes a local server or a cloud server, which is not limited in the embodiment of the present invention. Figure 4 As shown, the electronic device may include:

[0179] A memory 401 storing executable program codes;

[0180] a processor 402 coupled to the memory 401;

[0181] Furthermore, it may also include an input interface 403 and an output interface 404 coupled to the processor 402;

[0182] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the method for dynamically transforming a data object described in the first or second embodiment.

[0183] Embodiment 5

[0184] See also Figure 5 , Figure 5 : is a schematic diagram of a system for dynamically converting data objects disclosed in an embodiment of the present invention. Figure 5 The described system may include a NAS device and an electronic device, the electronic device may include a smart TV, and the electronic device may access the NAS device through a preset application, and the preset application is used to execute a method for dynamically converting data objects described in Example 1 or Example 2.

[0185] Embodiment 6

[0186] An embodiment of the present invention discloses a computer storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of a method for dynamically transforming a data object described in the first or second embodiment.

[0187] Embodiment 7

[0188] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in a method for dynamically converting data objects described in Embodiment 1 or Embodiment 2.

[0189] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0190] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, a magnetic disk storage, a magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0191] Finally, it should be noted that the method, device and system for dynamically transforming data objects disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for dynamically transforming a data object, characterized in that: The method is applied to an application installed in a smart TV, the application being able to access a NAS device that is communicatively connected to the smart TV, and the method comprises: According to the determined application scenario information of the target application, a corresponding data definition operation is performed on each horizontal field corresponding to the target level in the data structure to obtain data definition information of each horizontal field; Determining the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields; According to the importance level of each of the horizontal fields, a corresponding first sorting operation is performed on all the horizontal fields to obtain a first processing sorting result, and according to the first processing sorting result, a processing order sorting result corresponding to all the horizontal fields is determined; According to the processing order sorting result, all the horizontal fields and their corresponding data definition information, corresponding field processing operations are performed on the determined one or more target horizontal fields to obtain necessary data object results.

2. A method for dynamically converting data objects according to claim 1, characterized in that: According to the processing order sorting result, all the horizontal fields and their corresponding data definition information, corresponding field processing operations are performed on the determined one or more target horizontal fields to obtain necessary data object results, including: According to the processing sequence result, determining the target horizontal field currently being processed from all the horizontal fields; According to the data definition information of the target horizontal field, a corresponding data object generation operation is performed on the target horizontal field to obtain a data object result of the target horizontal field, and the corresponding target horizontal field determination operation and / or data object generation operation is performed again until the necessary data object result is obtained, and the necessary data object result includes the data object results of all the target horizontal fields.

3. A method for dynamically converting data objects according to claim 2, characterized in that: After determining the target horizontal field currently being processed from all the horizontal fields according to the processing sequence result, the method further includes: Determining the current memory allocation of the target application; According to the current memory allocation situation and the target level field, determining whether the target application meets the preset memory resource usage condition; When it is determined that the target application meets the memory resource usage condition, the step of performing a corresponding data object generation operation on the target horizontal field according to the data definition information of the target horizontal field to obtain a data object result of the target horizontal field is executed; When it is determined that the target application does not satisfy the memory resource usage condition, necessary data object results are determined according to the determined data object results of all the target horizontal fields.

4. A method for dynamically transforming data objects according to claim 1, characterized in that: The determining, according to the first processing sorting result, the processing order sorting results corresponding to all the equal-level fields includes: According to the importance levels of all the fields at the same level, determining whether all the fields at the same level meet a preset sorting overlap condition; When it is determined that all the fields of the same level do not satisfy the sorting overlap condition, the first processing sorting result is determined as the processing order sorting result corresponding to all the fields of the same level; When it is determined that all of the horizontal fields satisfy the sorting overlap condition, the first horizontal field that satisfies the sorting overlap condition is determined from all of the horizontal fields according to the importance levels of all of the horizontal fields; according to the determined interface response time information of each of the first horizontal fields, a corresponding second sorting operation is performed on all of the first horizontal fields to obtain a second processing sorting result; according to the second processing sorting result, a corresponding sorting optimization operation is performed on the first processing sorting result to obtain a processing order sorting result corresponding to all of the horizontal fields.

5. A method for dynamically transforming data objects according to claim 4, characterized in that: The step of judging whether all the fields at the same level meet a preset sorting coincidence condition according to the importance levels of all the fields at the same level includes: According to the importance levels of all the equal-level fields, it is determined whether there are at least two equal-level fields with matching importance levels among all the equal-level fields; when it is determined that there are at least two equal-level fields with matching importance levels among all the equal-level fields, it is determined that all the equal-level fields meet the preset sorting overlap condition; when it is determined that there are not at least two equal-level fields with matching importance levels among all the equal-level fields, it is determined that all the equal-level fields do not meet the preset sorting overlap condition; or, According to the first processing sorting result, determine whether there are at least two horizontal fields with matching processing sorting among all the horizontal fields; when it is determined that there are at least two horizontal fields with matching processing sorting among all the horizontal fields, determine that all the horizontal fields meet the preset sorting overlap condition; when it is determined that there are not at least two horizontal fields with matching processing sorting among all the horizontal fields, determine that all the horizontal fields do not meet the preset sorting overlap condition.

6. A method for dynamically transforming a data object according to any one of claims 1 to 5, characterized in that: The step of performing corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application to obtain data definition information of each horizontal field includes: Determine the data type information and data structure level information of each level field corresponding to the target level in the data structure according to the determined application scenario information and data tag meaning information of the target application; Determine, according to the application scenario information, a field property type of each of the horizontal fields, wherein the field property type includes one or more of a necessary property type, an important property type, a reorganization property type, and an auxiliary property type; The data definition information of each horizontal field is determined according to the data type information, data structure level information and field property type of each horizontal field.

7. A method for dynamically transforming a data object according to any one of claims 1 to 5, characterized in that: Determining the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields includes: Determine the business logic role information and user experience impact information of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields; The importance level of each of the horizontal fields is determined according to the business logic role information and user experience impact information of each of the horizontal fields.

8. A device for dynamically transforming a data object, characterized in that: The device includes an application installed in a smart TV, the application can access a NAS device connected to the smart TV, and the device includes: A data definition module, configured to perform corresponding data definition operations on each horizontal field corresponding to the target level in the data structure according to the determined application scenario information of the target application, and obtain data definition information of each horizontal field; An importance determination module, used to determine the importance level of each of the horizontal fields according to the determined relevant application information of each of the horizontal fields; A sorting result determination module, configured to perform a corresponding first sorting operation on all the fields of the same level according to the importance level of each field of the same level, obtain a first processing sorting result, and determine the processing order sorting results corresponding to all the fields of the same level according to the first processing sorting result; The field processing module is used to perform corresponding field processing operations on one or more determined target horizontal fields according to the processing order sorting results, all the horizontal fields and their corresponding data definition information, to obtain necessary data object results.

9. A system for dynamically transforming data objects, characterized in that: The system includes a NAS device and an electronic device, the electronic device includes a smart TV, the electronic device accesses the NAS device through a preset application, and the preset application is used to execute a method for dynamically converting data objects as described in any one of claims 1-7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute a method for dynamically transforming data objects as described in any one of claims 1-7.