Data processing method, device, equipment and computer storage medium
By separating and storing the target storage data of the product, the problem of low data independence in traditional data processing methods is solved, and the processing efficiency of product post-development and maintenance is improved.
Patent Information
- Application Number
- CN202210511770.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-11
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2042-05-11
AI Technical Summary
Traditional data processing methods do not separate audio, energy efficiency, camera and other peripheral data to be stored and processed separately, resulting in low data independence, which in turn affects the processing efficiency of product development and maintenance.
By obtaining all the target storage data of the product, separating them, determining the storage files of various types of data (such as audio, energy efficiency, peripheral data), and processing them based on these storage files to generate processing storage files. When a data processing requirement is detected, the data file to be processed is determined and data processing is performed according to the requirements.
By separating the storage and processing of target storage data, the independence of data and the efficiency of development and maintenance are improved, and data changes or errors or errors caused by personnel or other situations are avoided.
Smart Images

Figure CN114860659B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a data processing method, device, equipment and computer storage medium. Background Art
[0002] With the development of data processing technology, more and more data are separated from the main program to achieve data independence, which also puts higher requirements on the processing efficiency and accuracy of data processing. The traditional data processing method does not separate the audio, energy efficiency, camera and other peripheral data separately and store them in the corresponding configuration files, but stores them together with other data, and the traditional data separation storage method does not process the separated and stored data. This data processing method has great defects, resulting in low independence of audio, energy efficiency, and camera data and difficulties in development and maintenance due to unprocessed separated data. This data processing method not only couples data with other data, resulting in low data independence, but also fails to separate and process peripheral data such as audio, energy efficiency, and cameras, resulting in low processing efficiency in the later development and maintenance of the product. Summary of the invention
[0003] The main purpose of the present invention is to propose a data processing method, device, equipment and computer storage medium, aiming to solve the technical problem of how to improve the processing efficiency of product post-data development and maintenance.
[0004] To achieve the above object, the present invention provides a data processing method, the data processing method steps comprising:
[0005] Acquire all target storage data of the product, separate and store each target storage data to determine the corresponding storage file, and process the storage file to obtain a processed storage file;
[0006] If the input data processing requirement is obtained, determining the processing data file corresponding to the data processing requirement in the processing storage file;
[0007] The processing data file is processed according to the data processing requirement.
[0008] Optionally, the step of separately storing and determining corresponding storage files for each of the target storage data, and processing the storage files to obtain processed storage files includes:
[0009] Determine the audio data in the target storage data, create a corresponding audio storage file according to the audio data, and separate and store the audio data in the audio storage file;
[0010] If the audio storage file contains surround sound parameters, a corresponding surround sound parameter processing storage file is created according to the surround sound data parameters, and the surround sound parameters are stored in the surround sound parameter processing storage file.
[0011] Optionally, the step of separately storing and determining corresponding storage files for each of the target storage data, and processing the storage files to obtain processed storage files, further includes:
[0012] Determine the energy efficiency data in the target storage data, create a corresponding energy efficiency storage file according to the energy efficiency data, and separate and store the energy efficiency data in the energy efficiency storage file;
[0013] Determine the screen characteristics corresponding to the energy efficiency data in the energy efficiency storage file, create a corresponding screen characteristic storage path according to the screen characteristics, and store the screen characteristic storage path in the energy efficiency processing storage file.
[0014] Optionally, the step of separately storing and determining corresponding storage files for each of the target storage data, and processing the storage files to obtain processed storage files, further includes:
[0015] Determine the peripheral data in the target storage data, create a corresponding peripheral storage file according to the peripheral data, and separate and store the peripheral data in the peripheral storage file;
[0016] Determine an external device tag corresponding to the external device data in the external device storage file, create a corresponding external device tag processing storage file according to the external device tag, and store the external device data corresponding to the external device tag in the external device tag processing storage file.
[0017] Optionally, the processed data file includes an external storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes:
[0018] Determine the peripheral parameters in the data processing requirements, and determine the peripheral tags corresponding to the peripheral parameters;
[0019] The to-be-processed file in the external storage file is determined according to the external device tag, and data processing is performed on the to-be-processed file according to the external device parameter.
[0020] Optionally, the processed data file includes an energy efficiency storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes:
[0021] Determining energy efficiency parameters in the data processing requirements, and determining screen characteristics corresponding to the energy efficiency parameters;
[0022] Determine the corresponding target energy efficiency storage file in other preset energy efficiency storage files according to the screen characteristics, determine the screen characteristic storage path corresponding to the target energy efficiency storage file, and call the target energy efficiency storage file to the energy efficiency storage file according to the screen characteristic storage path.
[0023] Optionally, the processed data file includes an audio storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes:
[0024] Determine the required audio parameters in the data processing requirements, and determine an actual parameter table according to the required audio parameters;
[0025] A preset audio parameter set is obtained, and actual audio parameters corresponding to the actual parameter table in the audio parameter set are determined, and data processing is performed on the actual audio parameters according to the required audio parameters.
[0026] In addition, to achieve the above object, the present invention further provides a data processing device, comprising:
[0027] A storage module is used to obtain all target storage data of the product, separate and store each target storage data to determine the corresponding storage file, and process the storage file to obtain a processed storage file;
[0028] A detection module, for determining, if an input data processing requirement is obtained, a processing data file corresponding to the data processing requirement in the processing storage file;
[0029] A processing module is used to perform data processing on the processing data file according to the data processing requirement.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a data processing device, comprising: a memory, a processor, and a data processing program stored in the memory and executable on the processor, wherein the data processing program implements the steps of the above-mentioned data processing method when executed by the processor.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a data processing computer storage medium, on which a data processing program is stored, and when the data processing program is executed by a processor, the steps of the data processing method described above are implemented.
[0032] The present invention obtains all the target storage data of the product, separates and stores the corresponding storage files for each of the target storage data, and processes the storage files to obtain processing storage files. The target storage data refers to the peripheral data such as audio, energy efficiency and camera that have not been separated and stored separately. Separating and storing the above data can ensure that the data of each module is clear, and it is very convenient to change and maintain the data, thereby avoiding problems such as errors in changing parameters or erroneous changes. The storage files will be processed accordingly to obtain processing storage files, which is mainly convenient for development and maintenance after processing. After the target storage data is separated and stored, when the input data processing requirement is detected, the processing data file corresponding to the data processing requirement in the processing storage file is determined, that is, it is detected which storage file needs to be processed according to the requirement and the storage file that needs to be processed is used as the storage file, and finally the processing data file will be processed according to the data processing requirement. After the target storage data is separated and stored, the storage files are processed accurately according to different data processing requirements, thus avoiding the occurrence of data change errors or erroneous data changes caused by personnel and other situations when processing the data. This data processing method not only separates the target storage data for storage to ensure the independence of the data, but also improves the processing efficiency of the later development and maintenance of the product by separating and processing the target storage data separately. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the structure of a data processing device in a hardware operating environment involved in an embodiment of the present invention;
[0034] Figure 2 It is a flowchart of a first embodiment of a data processing method of the present invention;
[0035] Figure 3 A schematic diagram of a device module for data processing of the present invention;
[0036] Figure 4 It is a schematic diagram of the technical solution of data separation and storage of the present invention.
[0037] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0038] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0039] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the data processing device structure of the hardware operating environment involved in the embodiment of the present invention.
[0040] like Figure 1 As shown, the data processing device may include: a processor 0003, such as a central processing unit (CPU), a communication bus 0001, an acquisition interface 0002, a processing interface 0004, and a memory 0005. Among them, the communication bus 0001 is used to realize the connection and communication between these components. The acquisition interface 0002 may include an information acquisition device and an acquisition unit such as a computer, and the acquisition interface 0002 may optionally include a standard wired interface and a wireless interface. The processing interface 0004 may optionally include a standard wired interface and a wireless interface. The memory 0005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 0005 may optionally be a storage device independent of the aforementioned processor 0003.
[0041] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the data processing device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0042] like Figure 1 As shown, the memory 0005 as a computer storage medium may include an operating system, an acquisition interface module, an execution interface module and a data processing program.
[0043] exist Figure 1 In the data processing device shown, the communication bus 0001 is mainly used to realize the connection communication between components; the acquisition interface 0002 is mainly used to connect to the background server and communicate data with the background server; the processing interface 0004 is mainly used to connect to the deployment end (user end) and communicate data with the deployment end; the processor 0003 and the memory 0005 in the data processing device of the present invention can be set in the data processing device, and the data processing device calls the data processing program stored in the memory 0005 through the processor 0003, and executes the data processing method provided by the embodiment of the present invention.
[0044] Based on the above hardware structure, an embodiment of the data processing method of the present invention is proposed.
[0045] The embodiment of the present invention provides a data processing method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a data processing method of the present invention.
[0046] In this embodiment, the data processing method includes:
[0047] Step S10, obtaining all target storage data of the product, separating and storing each target storage data to determine a corresponding storage file, and processing the storage file to obtain a processed storage file;
[0048] At present, all major TV manufacturers have realized the separation of screen parameter data related to the screen, sound, picture quality and other parameters. Screen parameter data separation refers to separating the screen-related data that is related to the underlying functions of the TV but different from the user settings from the main program for independent storage and management, increasing the versatility and independence of the main program, and improving development and testing efficiency. However, at present, audio, energy efficiency, camera and other peripheral data are not separated and stored in the corresponding configuration files, but are stored together with other data, which is not convenient for later changes and maintenance. In addition, after the standardization of the middleware, the modification of surround sound parameters is more troublesome. The logical operation parameter values of the middleware layer are different for different chip solution platforms, and the number of surround sound parameters that need to be modified on different platforms is different, which leads to the complex design of the middleware code architecture, which is not conducive to later changes and maintenance of the code. Therefore, the existing methods need to be improved.
[0049] In this embodiment, the controller will obtain all the target storage data inside the product, and separate and store the target storage data to obtain corresponding storage files. The target storage data refers to the peripheral data such as audio, energy efficiency, camera, etc. that are not separately stored in the prior art. The storage file refers to the corresponding file established according to the type of the target storage data to store the corresponding target storage data. The steps of separating and storing each of the target storage data to determine the corresponding storage file, and processing the storage file to obtain the processed storage file include:
[0050] Step C11, determining the audio data in the target storage data, creating a corresponding audio storage file according to the audio data, and separating and storing the audio data in the audio storage file;
[0051] In this city's example, based on the insufficiency of the prior art that audio, energy efficiency, camera and other peripheral data cannot be stored separately, the technical solution of this application is proposed, and audio, energy efficiency, camera and other peripheral data are extracted from the storage location in the product as target data. By confirming the audio data in the target storage data and creating a corresponding audio data storage file based on the audio data, the audio data is finally separated from the target storage data and stored in the created audio data storage file. The audio data refers to the audio-related data in the product, which may include audio and video data, Bluetooth audio and video data, headphone sound data, etc. The audio data storage file refers to a separate storage file, so that the audio data does not need to be stored together with other data as before. For example, extract from panel_factory.ini to form a separate panel_audio.ini file, the extracted data tags are: [AudioDelay]# audio and video synchronization delay, [AudioBTDelay]# Bluetooth audio and video synchronization delay, [AudioARCDelay]# ARC audio and video synchronization delay, [AudioSPDIFDelay]# SPDIF audio and video synchronization delay, [AudioData]# sound parameters, [VolumeCurveFactory]# sound curve, [HeadPhone VolumeCurve Factory]# headphone sound curve. The audio data is saved to the corresponding audio storage file in the above order, which is very convenient for subsequent processing, modification, and maintenance of audio data, making the data of the audio module clear, thereby avoiding problems such as parameter changes or mismodifications.
[0052] Step C12: if the audio storage file contains surround sound parameters, create a corresponding surround sound parameter processing storage file according to the surround sound data parameters, and store the surround sound parameters in the surround sound parameter processing storage file.
[0053] In this embodiment, the controller extracts the surround sound parameters in the audio storage file, creates a corresponding surround sound parameter processing storage file according to the surround sound parameters, and stores the surround sound parameters in the surround sound parameter processing storage file. Among them, the surround sound parameters refer to the parameters corresponding to the surround sound, which may include surround sound parameters, bass parameters, crisp vocal parameters, etc., and the surround sound parameter processing storage file refers to the storage file of the surround sound parameters. For example, the surround sound parameters are stored separately in the panel_srs.ini file. Since there are many surround sound parameters, different models and different sizes of TVs of the same model may need to modify different parameters. In the previous code, different interfaces must be encapsulated for different parameters to realize the parameter writing function. Some parameters have not been modified before and there is no corresponding interface. It is necessary to temporarily change the middleware code to increase, so that the surround sound debugging is very troublesome. After the middleware is standardized, the modification of the surround sound parameters is even more troublesome. The logical operation parameter values of the middleware layer and the parameters of different chip solutions are different, and the number of parameters that may need to be modified for different chip solutions may be different. This brings great trouble to the unification of the middleware code for surround sound, resulting in complex logic design of the middleware code architecture, which is not conducive to later code modification, expansion and maintenance. The root cause of the problem is that the values and number of surround sound parameters modified during debugging are different. In order to avoid the inconsistency caused by parameter problems, different parameter problems need to be placed in the skyhal layer (the skyhal layer is the middleware function docking layer, which realizes the functions of the middleware. Each chip solution has a separate set of skyhal layer codes) to solve it. The middleware layer (all chip solutions share a set of middleware codes) only needs to implement a unified switch.
[0054] By storing the target storage data separately and processing the surround sound parameters in the separated data separately, the independence of the surround sound parameters can be guaranteed, thereby ensuring that the change and maintenance of the surround sound parameters are more convenient, more accurate and more efficient.
[0055] The step of separating and storing each of the target storage data to determine a corresponding storage file, and processing the storage file to obtain a processed storage file, further includes:
[0056] Step C13, determining the energy efficiency data in the target storage data, creating a corresponding energy efficiency storage file according to the energy efficiency data, and separating and storing the energy efficiency data in the energy efficiency storage file;
[0057] After the audio data is separated and stored, the energy efficiency data in the target storage data will be confirmed, and the corresponding energy efficiency data storage file will be created according to the energy efficiency data. Finally, the energy efficiency data will be separated from the target storage data and stored in the created energy efficiency data storage file. The energy efficiency data refers to the data related to energy efficiency in the product, which may include the energy efficiency related data displayed on the screen, etc. The energy efficiency data storage file refers to a separate storage file, so that the energy efficiency data does not need to be stored together with other data as before. For example, the energy efficiency related data is extracted from the panel_factory.ini to form a separate panel_dreampanel.ini file. After the energy efficiency data is stored in the energy efficiency storage file, a path file corresponding to the energy efficiency storage file will be created. When it is detected that the energy efficiency data required for the same screen is needed, the energy efficiency data under the path file will be directly called according to the path file. When higher energy efficiency parameters are required, the called energy efficiency data will be directly changed to achieve the change of all called energy efficiency data. For example, to solve the problem that multiple models can share the same set of energy efficiency data with the same screen, add the datapath path specification function, allow the current screen to call the energy efficiency parameters used by another screen in the common upgrade package, and avoid repeated changes to the panel_drea-mpanel.ini file when multiple models are equipped with the same screen. By saving the energy efficiency data to the corresponding energy efficiency storage file, it is very convenient to process, change, and maintain the energy efficiency data in the future, making the data of the energy efficiency module clear, thereby avoiding problems such as errors in parameter changes or erroneous changes.
[0058] Step C14, determining the screen characteristics corresponding to the energy efficiency data in the energy efficiency storage file, creating a corresponding screen characteristic storage path according to the screen characteristics, and storing the screen characteristic storage path in the energy efficiency processing storage file.
[0059] After obtaining the energy efficiency storage file, the screen characteristics corresponding to the energy efficiency data in the energy efficiency storage file will be determined, and the corresponding screen characteristic storage path will be created according to the screen characteristics, and finally the path will be stored in the energy efficiency processing storage file. Among them, the screen characteristics refer to the screen characteristics of the screen to which the energy efficiency parameters are adapted, the screen characteristic storage path refers to the path of the energy efficiency data corresponding to the screen characteristics, and the energy efficiency processing storage file quickly processes the energy efficiency data. Through this path, the energy efficiency data of the same screen can be called accurately and efficiently, and can be modified, developed and maintained synchronously.
[0060] By separately storing the target storage data and separately processing the calls to the same screen performance efficiency data in the separated data, the independence of the calls to the same screen performance efficiency data can be guaranteed, thereby ensuring that the calls, changes and maintenance of the same screen performance efficiency data are more convenient, more accurate and more efficient.
[0061] Step S20, if the input data processing requirement is obtained, determining the processing data file corresponding to the data processing requirement in the processing storage file;
[0062] In this embodiment, after the target storage data is stored separately, the data processing requirements will be detected. When an input data processing requirement is detected, the storage file will be detected according to the data processing requirement, and the requirement file of the data processing requirement will be detected, and whether the requirements in the requirement file match the audio storage file of the storage file will be detected. If they match, the audio storage file will be used as the processing data file. On the contrary, it will be detected whether the requirements in the requirement file match the energy efficiency storage file of the storage file. If they match, the energy efficiency storage file will be used as the processing data file. On the contrary, it will be detected whether the requirements in the requirement file match the peripheral storage file of the storage file. If they match, the peripheral storage file will be used as the processing data file. The data processing requirement refers to the storage file that needs to be processed and the processing data requirements for the storage file, and the processing data file refers to the file that needs to be processed by the data processing requirement. By detecting the data processing requirement and determining the processing data file when the data processing requirement is input, the accuracy of the separately stored data processing can be guaranteed.
[0063] Step S30: performing data processing on the processing data file according to the data processing requirement.
[0064] In this embodiment, after obtaining the processed data file, the data in the processed data file will be processed according to the data processing requirements. Wherein, when the processed data file refers to an audio storage file, the step of processing the processed data file according to the data processing requirements includes:
[0065] Step C31, determining the required audio parameters in the data processing requirements, and determining an actual parameter table according to the required audio parameters;
[0066] In this embodiment, when it is determined that the processed data file is an audio storage file, the required audio parameters in the data processing requirements are determined, and the actual parameter table corresponding to the required audio parameters is determined. The required audio parameters refer to the corresponding parameters of the audio data that need to be modified, and the actual parameter table refers to the parameter table of the audio data that needs to be modified. According to the determined required audio parameters and the actual parameter table, the accuracy of the audio data processing according to the data processing requirements can be guaranteed. Among them, the step of determining the actual parameter table according to the required audio parameters includes:
[0067] Step C311, determining the required configuration corresponding to the required audio parameter, and detecting whether the required configuration matches a preset configuration switch;
[0068] After obtaining the required audio parameters, the required configuration corresponding to the required audio parameters will be determined, and it will be detected whether the required configuration matches the preset configuration switch. By detecting the matching relationship between the required configuration and the preset configuration, the audio storage file will be processed. The required configuration refers to whether two switches are required, and the preset configuration switch refers to configuring two switches.
[0069] Step C312: If a match is found, the parameter table group corresponding to the dual switches is used as the actual parameter table;
[0070] Step C313: If the required configuration does not match the preset configuration, the parameter table group corresponding to the dual switch is not configured as the actual parameter table.
[0071] Re-modify the surround sound operation logic of the middleware layer, leaving only three switches: surround sound switch, bass boost switch, and crisp vocal switch. During logical operations, only the three switch interfaces implemented by skyhal are called, and all the detailed surround sound parameters that need to be used are loaded in the newly added panel_srs.ini file during system initialization and passed to the skyhal layer. When switching the sound mode, skyhal calls the corresponding parameters to set the registers to achieve the sound mode switching. In this way, after debugging the surround sound parameters, you only need to modify the parameters in panel_srs.ini, and no longer need to modify the code. At the same time, the status of the bass boost switch and the crisp vocal switch should be taken into account and made into different parameter tables, which will bring convenience to future audio tests (the bass boost and crisp vocal switches may be displayed on the UI in the future). So in the end, 5 groups of parameter tables were implemented in panel_srs.ini:
[0072] 1) Surround sound off group
[0073] 2) There are four surround sound groups, corresponding to:
[0074] Surround sound on, bass boost off, crisp vocals off
[0075] Surround sound on, bass boost off, crisp vocals on
[0076] Surround sound on, bass boost on, crisp vocals off
[0077] Surround sound on, bass boost on, crisp vocals on
[0078] In order to be compatible with the logic of whether the two switches of bass boost and crisp vocals are displayed in the UI, an attribute is added to the panel_srs.ini file: ShowTrubassAndTruDialogUI. When the UI displays these two switches, it is configured to 1, and when it is not displayed, it is configured to 0. When the UI does not display these two switches, the bass boost and crisp vocal switches will be turned on at the same time when the surround sound is turned on; when the UI displays these two switches, the surround sound, bass boost, and crisp vocals are turned on and off separately. Therefore, when debugging the audio, if the UI does not display these two switches, you only need to debug the two sets of parameter tables of surround sound off and surround sound on, bass boost on, and crisp vocals on; if the UI displays these two switches, you need to debug all 5 sets of parameter tables. After modifying the code, when modifying the surround sound parameters during the audio test, you can use the debugging tools provided by each platform to modify the parameters. After the modification, you only need to write the relevant modified parameters to the panel_srs.ini file to realize the parameter modification.
[0079] In this embodiment, if the required configuration matches the preset configuration switch, the parameter table group corresponding to the dual switch configuration is used as the actual parameter table, that is, when the two switch UIs are displayed, the configuration is 1, and the surround sound, bass boost, and crisp vocals are switched on and off respectively (such as the above 5 groups of parameters), then all 5 groups of parameter tables need to be debugged. The first parameter table group refers to the 5 groups of parameters corresponding to the surround sound, bass boost, and crisp vocals switches. If the required configuration does not match the preset configuration, the parameter table group corresponding to the dual switch configuration is used as the actual parameter table, that is, when the two switch UIs are not displayed, the configuration is 0, and the bass boost and crisp vocals switches will be turned on at the same time when the surround sound is turned on, then all 2 groups of parameter tables need to be debugged. The second parameter table group refers to the 2 groups of parameters corresponding to the bass boost and crisp vocals switches that will be turned on at the same time when the surround sound is turned on. The accuracy of parameter modification can be guaranteed by determining the actual parameter table.
[0080] Step C32, obtaining a preset audio parameter set, determining actual audio parameters corresponding to the actual parameter table in the audio parameter set, and performing data processing on the actual audio parameters according to the required audio parameters.
[0081] In this embodiment, only the three switch interfaces implemented by skyhal are called during the logic operation, and all the surround sound detailed parameters to be used are loaded in the newly added panel_srs.ini file when the system is initialized and passed to the skyhal layer. When switching the sound mode, skyhal calls the corresponding parameters to set the register to realize the sound mode switching. In this way, after the surround sound parameters are debugged, only the parameters in panel_srs.ini need to be modified, and the code does not need to be modified. By obtaining the preset audio parameter set, and determining the actual audio parameters corresponding to the actual parameter table in the audio parameter set, the actual audio parameters are finally processed according to the required audio parameters. Among them, the audio parameter set refers to the preset audio parameter set, generally refers to the surround sound, the actual audio parameters refer to the audio parameters that actually need to be processed, and the data processing refers to the processing of the actual audio parameters according to the required audio parameters. For example, if the required configuration corresponding to the required audio parameter requires 5 groups of actual parameter tables, the actual audio parameter O corresponding to the actual parameter table of 5 groups will be found in the audio parameter set, and the actual audio parameter O will be processed according to the required audio parameter K. For example, the required audio parameter K is to change the surround sound parameter of the actual audio parameter O to H, etc.
[0082] Furthermore, a schematic diagram of a technical solution for data separation and storage is provided for this embodiment, referring to Figure 4 In this embodiment, the audio, energy efficiency, camera and other peripheral data are separated and stored in the corresponding configuration files, thereby increasing the versatility and independence of the main program and improving the development and testing efficiency. It is mainly to extract the audio data from the panel_factory.ini to form a separate panel_audio.ini file, and change the code architecture to introduce the surround sound data separation logic, and the surround sound data is stored separately in the panel_srs.ini file. At the same time, the energy efficiency data is extracted from the panel_factory.ini to form a separate panel_dreampanel.ini file, which solves the problem that multiple models can share a set of energy efficiency data with the same screen, and adds the datapath path specification function, allowing the current screen to call the energy efficiency parameters used by the screen in another common upgrade package, avoiding repeated changes to the panel_drea-mpanel.ini file when multiple models are equipped with the same screen. Finally, the peripheral data will be extracted from the panel_pq.ini to form a separate panel_external_device.ini file, which is managed by a separate label for each peripheral device. This can further improve the commonality and independence of peripheral data such as audio, energy efficiency, and cameras, thereby improving development and testing efficiency.
[0083] This embodiment obtains all the target storage data of the product, determines the corresponding storage file according to each of the target storage data, and processes the storage file to obtain the processed storage file. The target storage data refers to the peripheral data such as audio, energy efficiency and camera that have not been separated and stored separately. Separating and storing the above data can ensure the data of each module is clear, and it is very convenient to change and maintain the data, thereby avoiding problems such as errors in changing parameters or erroneous changes. The storage file will be processed accordingly to obtain the processed storage file, which is mainly convenient for development and maintenance after processing. After the target storage data is separated and stored, when the input data processing requirement is detected, the corresponding processing data file of the data processing requirement in the processing storage file is determined, that is, the storage file that needs to be processed is detected, and the storage file that needs to be processed is used as the storage file, and finally the processing data file will be processed according to the data processing requirement. After the target storage data is separated and stored, the storage files are processed accurately according to different data processing requirements, thus avoiding the occurrence of data change errors or erroneous data changes caused by personnel and other situations when processing the data. This data processing method not only separates the target storage data for storage to ensure the independence of the data, but also improves the processing efficiency of the later development and maintenance of the product by separating and processing the target storage data separately.
[0084] Further, based on the first embodiment of the data processing method of the present invention, a second embodiment of the data processing method of the present invention is proposed. The data processing method includes:
[0085] Furthermore, after the step of separating and storing each of the target storage data to obtain a corresponding storage file, the method further comprises:
[0086] Step a, determining the peripheral data in the target storage data, creating a corresponding peripheral storage file according to the peripheral data, and separating and storing the peripheral data in the peripheral storage file;
[0087] After the audio data and energy efficiency data are stored separately, the audio data in the target storage data will be confirmed, and the corresponding audio data storage file will be created according to the audio data. Finally, the peripheral data will be separated from the target storage data and stored in the created peripheral data storage file. Peripheral data refers to data related to peripherals in the product, which may include camera data, light sensor data, etc. The peripheral data storage file refers to a separate storage file, so that the peripheral data does not need to be stored together with other data as before. For example, the camera / light sensor and other peripheral related data are stored in panel_pq.ini, which is not convenient for management and maintenance. Optimization method: In order to facilitate maintenance, the camera / light sensor and other peripheral related data are extracted from panel_pq.ini to form a separate panel_external_device.ini file, and managed according to a separate label for each peripheral device. Among them, the step of managing according to a separate label for each peripheral device is to determine the number of the external device, create a corresponding number storage file according to the number, and name the number storage file with the number, and store the data corresponding to the number in the peripheral data to the number storage file corresponding to the number, so as to ensure accurate maintenance and modification of the data of different peripheral devices. The peripheral device data includes: camera, currently compatible camera type, supported camera firmware upgrade, camera firmware upgrade path, light sensing acquisition times, light sensing action times, the maximum difference between the current backlight value and the backlight value corresponding to the current light sensing, night scene backlight range, night scene backlight value, dark scene backlight range, dark scene backlight value, day scene backlight range, day scene backlight value, light-on scene backlight range, light-on scene backlight value, strong light scene backlight range, strong light scene backlight value. By saving the peripheral data to the corresponding peripheral storage file in turn, it is very convenient to process, change, and maintain the peripheral data in the future, so that the data of the peripheral module is clear, thereby avoiding problems such as errors or mismodifications in parameter changes.
[0088] Step b, determining the peripheral tag corresponding to the peripheral data in the peripheral storage file, creating a corresponding peripheral tag processing storage file according to the peripheral tag, and storing the peripheral data corresponding to the peripheral tag in the peripheral tag processing storage file.
[0089] After obtaining the peripheral storage file, the peripheral tag corresponding to the peripheral data in the peripheral storage file will be determined, and the corresponding peripheral tag processing storage file will be created according to the peripheral tag, and finally the peripheral data corresponding to the peripheral tag will be stored in the peripheral tag processing storage file. Among them, the peripheral tag refers to the label of the peripheral device corresponding to the peripheral data, which can be a number, letter or other label, and the peripheral tag processing storage file refers to a file for quickly processing peripheral data. Through the peripheral tag, the required peripheral data can be accurately and efficiently developed, synchronized, modified and maintained.
[0090] In this embodiment, the peripheral data in the target storage data is determined, a corresponding peripheral storage file is created according to the peripheral data, and the peripheral data is stored separately in the peripheral storage file. The peripheral tag corresponding to the peripheral data in the peripheral storage file is determined, and a corresponding peripheral tag processing storage file is created according to the peripheral tag, and the peripheral data corresponding to the peripheral tag is stored in the peripheral tag processing storage file. The independence of the parameters in the peripheral data can be guaranteed, thereby ensuring that the modification and maintenance of the peripheral data are more convenient, with higher accuracy and efficiency.
[0091] Furthermore, the processed data file includes an external storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes:
[0092] Step d, determining the peripheral parameters in the data processing requirements, and determining the peripheral labels corresponding to the peripheral parameters;
[0093] In this embodiment, when it is determined that the processed data file is a peripheral storage file, the peripheral parameters in the data processing requirements will be determined, and the peripheral labels corresponding to the peripheral parameters will be determined. The peripheral parameters refer to the corresponding parameters of the peripheral device that need to be modified, and the peripheral labels refer to the labels of the peripheral device that need to be modified. According to the determined peripheral parameters and peripheral labels, the accuracy of the data processing requirements for the peripheral device data processing can be guaranteed.
[0094] Step e: determining the to-be-processed file in the external storage file according to the external device tag, and performing data processing on the to-be-processed file according to the external device parameter.
[0095] After obtaining the peripheral label, the files to be processed in the peripheral storage files will be determined according to the peripheral label. Because the peripheral storage files are numbered according to the label, the files will be searched according to the label. The numbers and labels mentioned above have the same meaning, both referring to the numbering of the peripheral devices. The file to be processed refers to the file corresponding to the peripheral label. Data processing refers to changing the file to be processed according to the requirements of the peripheral parameters. For example, the backlight range of the light-on scene, the backlight value of the light-on scene, the backlight range of the strong light scene, the backlight value of the strong light scene, etc. in the file to be processed are changed according to the requirements of the peripheral parameters.
[0096] In this embodiment, by determining the peripheral parameters in the data processing requirements, determining the peripheral tags corresponding to the peripheral parameters, determining the files to be processed in the peripheral storage files according to the peripheral tags, and performing data processing on the files to be processed according to the peripheral parameters, the accuracy of the modification and maintenance of the peripheral data and the independence of the energy efficiency data can be guaranteed.
[0097] Furthermore, the processed data file includes an energy efficiency storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes:
[0098] Step g, determining energy efficiency parameters in the data processing requirements, and determining screen characteristics corresponding to the energy efficiency parameters;
[0099] In this embodiment, when it is determined that the processed data file is an energy efficiency storage file, the energy efficiency parameters in the data processing requirements are determined, and the screen characteristics corresponding to the peripheral parameters are determined. The energy efficiency parameters refer to the corresponding parameters of the energy efficiency that need to be modified, and the screen characteristics refer to the characteristics of the screen of the energy efficiency that need to be modified. According to the determined energy efficiency parameters and screen characteristics, the accuracy of the energy efficiency data processing according to the data processing requirements can be guaranteed.
[0100] Step h, determining the corresponding target energy efficiency storage file in other preset energy efficiency storage files according to the screen characteristics, and determining the screen characteristic storage path corresponding to the target energy efficiency storage file, and calling the target energy efficiency storage file to the energy efficiency storage file according to the screen characteristic storage path.
[0101] After obtaining the screen characteristics, the corresponding target energy efficiency storage file in the preset other energy efficiency storage files will be determined according to the screen characteristics, and the storage path corresponding to the target energy efficiency storage file will be determined, and the target energy efficiency storage file will be called to the energy efficiency storage file according to the storage path. Because according to the characteristics of the energy efficiency data referred to in the previous article, when the screen is the same, the existing energy efficiency data can be directly called. Among them, other energy efficiency storage files refer to existing complete energy efficiency data, target energy efficiency storage files refer to other energy efficiency storage files with the same screen characteristics, and the screen characteristic storage path refers to the calling path of the target energy efficiency storage file. Calling refers to directly calling the path file according to the path, which can ensure high synchronization of the files. For example, according to the screen characteristics of the license plate N, it is determined that the required energy efficiency data is M, then the existing energy efficiency data M will be directly determined to be directly called to the energy efficiency data L of the product N. When the energy efficiency data M is changed, the energy efficiency data L of the product N will be changed synchronously.
[0102] In this embodiment, by determining the energy efficiency parameters in the data processing requirements, determining the screen characteristics corresponding to the energy efficiency parameters, determining the corresponding target energy efficiency storage file in other preset energy efficiency storage files according to the screen characteristics, and determining the storage path corresponding to the target energy efficiency storage file, and calling the target energy efficiency storage file to the energy efficiency storage file according to the storage path, the accuracy of the change and maintenance of the energy efficiency data and the independence of the energy efficiency data can be guaranteed.
[0103] The present invention also provides a data processing device, referring to Figure 3 , the data processing device comprises:
[0104] The storage module A01 is used to obtain all target storage data of the product, separate and store each target storage data to determine the corresponding storage file, and process the storage file to obtain a processed storage file;
[0105] The detection module A02 is used to determine the processing data file corresponding to the data processing requirement in the processing storage file if the input data processing requirement is obtained;
[0106] The processing module A03 is used to perform data processing on the processing data file according to the data processing requirement.
[0107] Optionally, the storage module A01 is further used for:
[0108] Determine the audio data in the target storage data, create a corresponding audio storage file according to the audio data, and separate and store the audio data in the audio storage file;
[0109] If the audio storage file contains surround sound parameters, a corresponding surround sound parameter processing storage file is created according to the surround sound data parameters, and the surround sound parameters are stored in the surround sound parameter processing storage file.
[0110] Optionally, the storage module A01 is further used for:
[0111] Determine the energy efficiency data in the target storage data, create a corresponding energy efficiency storage file according to the energy efficiency data, and separate and store the energy efficiency data in the energy efficiency storage file;
[0112] Determine the screen characteristics corresponding to the energy efficiency data in the energy efficiency storage file, create a corresponding screen characteristic storage path according to the screen characteristics, and store the screen characteristic storage path in the energy efficiency processing storage file.
[0113] Optionally, the storage module A01 is further used for:
[0114] Determine the peripheral data in the target storage data, create a corresponding peripheral storage file according to the peripheral data, and separate and store the peripheral data in the peripheral storage file;
[0115] Determine an external device tag corresponding to the external device data in the external device storage file, create a corresponding external device tag processing storage file according to the external device tag, and store the external device data corresponding to the external device tag in the external device tag processing storage file.
[0116] Optionally, the processing module A03 is further used for:
[0117] Determine the peripheral parameters in the data processing requirements, and determine the peripheral tags corresponding to the peripheral parameters;
[0118] The to-be-processed file in the external storage file is determined according to the external device tag, and data processing is performed on the to-be-processed file according to the external device parameter.
[0119] Optionally, the processing module A03 is further used for:
[0120] Determining energy efficiency parameters in the data processing requirements, and determining screen characteristics corresponding to the energy efficiency parameters;
[0121] Determine the corresponding target energy efficiency storage file in other preset energy efficiency storage files according to the screen characteristics, determine the screen characteristic storage path corresponding to the target energy efficiency storage file, and call the target energy efficiency storage file to the energy efficiency storage file according to the screen characteristic storage path.
[0122] Optionally, the processing module A03 is further used for:
[0123] Determine the required audio parameters in the data processing requirements, and determine an actual parameter table according to the required audio parameters;
[0124] A preset audio parameter set is obtained, and actual audio parameters corresponding to the actual parameter table in the audio parameter set are determined, and data processing is performed on the actual audio parameters according to the required audio parameters.
[0125] The methods executed by the above-mentioned program modules can refer to the various embodiments of the data processing method of the present invention, which will not be described in detail here.
[0126] The invention also provides a data processing device.
[0127] The device of the present invention comprises: a memory, a processor and a data processing program stored in the memory and executable on the processor, wherein the data processing program implements the steps of the data processing method described above when executed by the processor.
[0128] The invention also provides a computer storage medium.
[0129] The computer storage medium of the present invention stores a data processing program, and when the data processing program is executed by a processor, the steps of the data processing method described above are implemented.
[0130] Among them, the method implemented when the data processing program running on the processor is executed can refer to the various embodiments of the data processing method of the present invention, and will not be repeated here.
[0131] 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.
[0132] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0133] 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 such an understanding, the technical solution of the present invention 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 computer 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 mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0134] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A data processing method, It is characterized in that The data processing method steps include: Acquire all target storage data of the product, separate and store each target storage data to determine a corresponding storage file, and process the storage file to obtain a processed storage file, wherein the step of separating and storing each target storage data to determine a corresponding storage file, and processing the storage file to obtain a processed storage file comprises: determining audio data in the target storage data, creating a corresponding audio storage file according to the audio data, and separating and storing the audio data in the audio storage file, wherein the audio data is stored in the order of audio-visual synchronization delay, Bluetooth audio-visual synchronization delay, ARC audio-visual synchronization delay, SPDIF audio-visual synchronization delay, sound parameters, sound curves, and headphone sound curves in the audio storage file; if the audio storage file contains surround sound parameters, create a corresponding surround sound parameter processing storage file according to the surround sound data parameters, and store the surround sound parameters in the surround sound parameter processing storage file; If the input data processing requirement is obtained, determining the processing data file corresponding to the data processing requirement in the processing storage file; The processing data file is processed according to the data processing requirement.
2. The data processing method according to claim 1, It is characterized in that The step of separately storing and determining corresponding storage files for each of the target storage data, and processing the storage files to obtain processed storage files, further includes: Determine the energy efficiency data in the target storage data, create a corresponding energy efficiency storage file according to the energy efficiency data, and separate and store the energy efficiency data in the energy efficiency storage file; Determine the screen characteristics corresponding to the energy efficiency data in the energy efficiency storage file, create a corresponding screen characteristic storage path according to the screen characteristics, and store the screen characteristic storage path in the energy efficiency processing storage file.
3. The data processing method according to claim 1, It is characterized in that The step of separately storing and determining corresponding storage files for each of the target storage data, and processing the storage files to obtain processed storage files, further includes: Determine the peripheral data in the target storage data, create a corresponding peripheral storage file according to the peripheral data, and separate and store the peripheral data in the peripheral storage file; Determine an external device tag corresponding to the external device data in the external device storage file, create a corresponding external device tag processing storage file according to the external device tag, and store the external device data corresponding to the external device tag in the external device tag processing storage file.
4. The data processing method according to claim 1, It is characterized in that The processed data file includes an external storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes: Determine the peripheral parameters in the data processing requirements, and determine the peripheral tags corresponding to the peripheral parameters; The to-be-processed file in the external storage file is determined according to the external device tag, and data processing is performed on the to-be-processed file according to the external device parameter.
5. The data processing method according to claim 1, It is characterized in that The processed data file includes an energy efficiency storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes: Determining energy efficiency parameters in the data processing requirements, and determining screen characteristics corresponding to the energy efficiency parameters; Determine the corresponding target energy efficiency storage file in other preset energy efficiency storage files according to the screen characteristics, determine the screen characteristic storage path corresponding to the target energy efficiency storage file, and call the target energy efficiency storage file to the energy efficiency storage file according to the screen characteristic storage path.
6. The data processing method according to claim 1, It is characterized in that The processed data file includes an audio storage file, and the step of performing data processing on the processed data file according to the data processing requirement includes: Determine the required audio parameters in the data processing requirements, and determine an actual parameter table according to the required audio parameters; A preset audio parameter set is obtained, and actual audio parameters corresponding to the actual parameter table in the audio parameter set are determined, and data processing is performed on the actual audio parameters according to the required audio parameters.
7. A data processing device, It is characterized in that The data processing device comprises: A storage module, used for acquiring all target storage data of the product, separating and storing each target storage data to determine a corresponding storage file, and processing the storage file to obtain a processed storage file, wherein the step of separating and storing each target storage data to determine a corresponding storage file, and processing the storage file to obtain a processed storage file comprises: determining audio data in the target storage data, creating a corresponding audio storage file according to the audio data, and separating and storing the audio data in the audio storage file, wherein the audio data is stored in the order of audio-visual synchronization delay, Bluetooth audio-visual synchronization delay, ARC audio-visual synchronization delay, SPDIF audio-visual synchronization delay, sound parameters, sound curves, and headphone sound curves in the audio storage file; if the audio storage file contains surround sound parameters, creating a corresponding surround sound parameter processing storage file according to the surround sound data parameters, and storing the surround sound parameters in the surround sound parameter processing storage file; A detection module, for determining, if an input data processing requirement is obtained, a processing data file corresponding to the data processing requirement in the processing storage file; A processing module is used to perform data processing on the processing data file according to the data processing requirement.
8. A data processing device, It is characterized in that The data processing device comprises: a memory, a processor, and a data processing program stored in the memory and executable on the processor, wherein the data processing program implements the steps of the data processing method according to any one of claims 1 to 6 when executed by the processor.
9. A computer storage medium, It is characterized in that The computer storage medium stores a data processing program, and when the data processing program is executed by the processor, the steps of the data processing method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
TV screen parameter separating method, TV set and compute readable storage medium
CN109274959A