CN115033269A - Method, device, equipment and storage medium for packing and controlling separated data - Google Patents

Method, device, equipment and storage medium for packing and controlling separated data Download PDF

Info

Publication number
CN115033269A
CN115033269A CN202210561234.8A CN202210561234A CN115033269A CN 115033269 A CN115033269 A CN 115033269A CN 202210561234 A CN202210561234 A CN 202210561234A CN 115033269 A CN115033269 A CN 115033269A
Authority
CN
China
Prior art keywords
separated data
data
information
separated
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210561234.8A
Other languages
Chinese (zh)
Inventor
曹敬修
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210561234.8A priority Critical patent/CN115033269A/en
Publication of CN115033269A publication Critical patent/CN115033269A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the field of data processing, and discloses a method, a device, equipment and a storage medium for packing and controlling separated data, wherein the method comprises the following steps: acquiring input management and control file demand information, and generating a separated data management and control file according to the management and control file demand information; determining packing information according to the separated data control file, and packing preset separated data according to the packing information to obtain an actual separated data packet; and determining updating information according to the separated data control file and the actual separated data packet, and updating the separated data control file and the actual separated data packet according to the updating information. The invention improves the processing efficiency of the separation data.

Description

Method, device, equipment and storage medium for packing and controlling separated data
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a storage medium for packing and controlling separated data.
Background
With the rapid development of scientific technology, the use requirements of users on the smart television are higher and higher, and when the users want to meet the requirements of normal viewing, other functions of the smart television are increased by separating data, which also puts higher requirements on the accuracy and efficiency of separated data processing. The traditional processing mode of separating data is to configure the intelligent televisions with different adaptive functions by determining all functions to be adapted of the intelligent televisions, individually configuring a software version related to the television according to all the functions and configuring the intelligent televisions with different adaptive functions through different software versions. The processing method of the separated data has a great defect, and a problem that a great number of software versions need to be developed to realize function configuration due to different adaptation functions of the smart television exists. That is, the processing method of the separated data may cause inefficient processing of the separated data due to excessive development of software versions.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for packing and controlling separated data, and aims to solve the technical problem of how to improve the processing efficiency of the separated data.
In order to achieve the above object, the present invention provides a method for packaging and controlling separated data, including the following steps:
acquiring input management and control file demand information, and generating a separated data management and control file according to the management and control file demand information;
determining packing information according to the separated data control file, and packing preset separated data according to the packing information to obtain an actual separated data packet;
and determining updating information according to the separated data control file and the actual separated data packet, and updating the separated data control file and the actual separated data packet according to the updating information.
Optionally, the step of generating a separate data management and control file according to the management and control file requirement information includes:
determining model information and a separated data version number in the management and control file demand information, and writing the model information and the separated data version number into a preset file to obtain a quasi-separated data management and control file;
determining all file paths and version information in the control file requirement information, determining a data type corresponding to the version information, and writing the file paths corresponding to the version information and the version information into a data control file to be separated according to the data type to obtain a separated data control file.
Optionally, the step of determining the package information according to the separated data management and control file includes:
determining all file paths in the separated data control file, storing each file path to a preset character string array, and using the preset character string array in which each file path is stored as packaging information.
Optionally, the step of packing the preset separation data according to the packing information to obtain an actual separation data packet includes:
determining all file paths in the packaging information, and extracting corresponding preset separation data under each file path;
and packaging each separation data into a preset separation data packet to obtain an actual separation data packet, and storing each separation data in the actual separation data packet separately.
Optionally, the step of determining update information according to the separated data management and control file and the actual separated data packet includes:
determining a data type in the separated data management and control file, and determining first separated data under a file path in the data type;
and determining second separated data corresponding to the data type in the actual separated data packet, and determining updating information according to the first separated data and the second separated data.
Optionally, the step of determining update information according to the first separation data and the second separation data includes:
detecting whether the first split data is the same as the second split data;
if the first separated data is the same as the second separated data, no update information is generated;
and if the first separated data is not the same as the second separated data, using the first separated data as update information.
Optionally, the step of updating the separated data management and control file and the actual separated data packet according to the update information includes:
triggering and updating a separated data version number in the separated data management and control file according to the updating information, extracting first separated data in the updating information, and packaging the first separated data into the actual separated data packet;
and determining a data type corresponding to the first separated data, and updating version information in the data type.
In addition, to achieve the above object, the present invention further provides a separated data packing and controlling device, including:
the management and control module is used for acquiring input management and control file demand information and generating a separated data management and control file according to the management and control file demand information;
the packaging module is used for determining packaging information according to the separated data control file and packaging preset separated data according to the packaging information to obtain an actual separated data packet;
and the updating module is used for determining updating information according to the separated data control file and the actual separated data packet, and updating the separated data control file and the actual separated data packet according to the updating information.
In addition, to achieve the above object, the present invention further provides a separated data packing and controlling device, including: the device comprises a memory, a processor and a packing and control program of the separated data, wherein the packing and control program of the separated data is stored on the memory and can run on the processor, and when being executed by the processor, the packing and control program of the separated data realizes the steps of the packing and control method of the separated data.
In addition, in order to achieve the above object, the present invention further provides a storage medium for packaging and controlling separated data, wherein the storage medium stores a packaging and controlling program for separated data, and the packaging and controlling program for separated data, when executed by a processor, implements the steps of the method for packaging and controlling separated data.
In the invention, after a user inputs corresponding control file requirement information according to different function configurations and a controller acquires the input control file requirement information, generating a separated data control file according to the control file requirement information, determining packaging information of paths containing all data in the separated data control file according to a preset separated data tool, and packing the preset separation data according to the packing information to obtain an actual separation data packet, wherein the separation data in the actual separation data packet is the separation data required by the product, after the separation data packet is obtained, determining update information according to the separation data in the separation data control file path and the separation data in the actual separation data packet, and updating the relevant version number in the separated data management and control file and the separated data of the actual separated data packet according to the updating information. The existing separated data is automatically packaged through the separated data management and control file to realize product functions and automatic detection and updating, so that the phenomenon that separated data processing is carried out on version software which needs to be established for different functions in the prior art is avoided, different version software does not need to be developed in the separated data processing mode to improve research and development efficiency, and the existing separated data can be directly automatically packaged and updated to improve the separated data processing efficiency.
Drawings
Fig. 1 is a schematic structural diagram of a device for packing and managing separate data of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a packing and controlling method for separated data according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a device for packing and managing separated data according to the present invention;
fig. 4 is a schematic structural diagram of a separated data management and control file in the packing and management and control of separated data according to the present invention;
FIG. 5 is a schematic diagram illustrating a separated data packing flow in packing and managing separated data according to the present invention;
fig. 6 is a schematic diagram illustrating a separated data version control flow in packing and controlling separated data according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a device for packing and managing separate data of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus for packaging and managing separate data 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. The communication bus 0001 is used for realizing connection communication among the components. The acquisition interface 0002 may include an information acquisition device, an acquisition unit such as a computer, and the optional acquisition interface 0002 may further include a standard wired interface, a wireless interface. The processing interface 0004 may optionally include standard wired, wireless interfaces. The Memory 0005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 0005 may optionally be a storage device separate from the processor 0003 described above.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the packaging and governing device for separating data, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 0005, which is a storage medium, may include an operating system, an acquisition interface module, a processing interface module, and a packaging and management program for separating data.
In the packing and management and control device for separated data shown in fig. 1, a communication bus 0001 is mainly used for realizing connection communication between components; the acquisition interface 0002 is mainly used for connecting a background server and performing data communication with the background server; the processing interface 0004 is mainly used for connecting a deployment end (user end) and performing data communication with the deployment end; the processor 0003 and the memory 0005 in the separated data packaging and controlling device can be arranged in the separated data packaging and controlling device, and the separated data packaging and controlling device calls the separated data packaging and controlling program stored in the memory 0005 through the processor 0003 and executes the separated data packaging and controlling method provided by the embodiment of the invention.
Based on the hardware structure, the embodiment of the method for packing and controlling the separated data is provided.
An embodiment of the present invention provides a method for packing and managing separated data, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method for packing and managing separated data according to the present invention.
In this embodiment, the method for packing and controlling the separated data includes:
step S10, acquiring input management and control file demand information, and generating a separated data management and control file according to the management and control file demand information;
with the continuous progress of technology, the functions of the smart television are not limited to watching television programs. With the continuous development of the smart television technology, the market demand of each function is more and more abundant. When a user selects an intelligent television, different machine types can be selected according to the function requirements of the user, and meanwhile, the whole machine manufacturer can adapt to different functions according to different product positioning, so that the selection range of various users is enriched. If a manufacturer of the whole computer generates a version of software only for each model when configuring the model, the software versions are too many to control and the research and development efficiency is low.
According to the method, the same chip platform and the machine type with smaller function difference are used for sharing the same version of software, the data such as screen parameter, audio frequency, image quality, remote controller configuration and function configuration aiming at different machine types in the version of software are separated, on the premise of sharing the same version of software, difference distinguishing is carried out in the separated data, and different separating data are updated aiming at different machines to realize differentiation of different machine type differences. And then put forward a management and control and packing mode to the separation data, thereby the mistake that the reducible manual operation brought is avoided in the manual operation to make the management and control and the packing of separation data more convenient, high-efficient, accurate.
In this embodiment, the separated data is packaged and controlled by a separated data tool such as SVN (version control system of open source code) or Git (distributed version control system of open source), when the model is large, the separated data volume becomes larger and larger, when the model is large, the tool such as SVN or Git can indicate the function of the uploaded file and inquire the uploaded record, meanwhile, because the responsible persons of different separated data such as screen parameters, audio, image quality, remote controller configuration and the like are different, the tool can be used for facilitating the synchronous update of different persons to the separated data, namely, the related uploaded information of various data can be checked in time and the uploaded various data can be updated in time, and the separated data tool can be version control software or system and the like. After a user inputs requirement information of a control file, a separation data tool generates a separation data control file according to the requirement information of the input control file, wherein the requirement information of the control file refers to relevant information required for generating the separation data control file, the separation data control file refers to a basis file for packaging and updating separation data, and the separation data control file refers to an ini file in the application. The step of generating a separated data management and control file according to the management and control file requirement information includes:
step C11, determining model information and a separated data version number in the management and control file demand information, and writing the model information and the separated data version number into a preset file to obtain a quasi-separated data management and control file;
in this embodiment, when the separated data tool generates the separated data management and control file, the separated data tool provides a plurality of selectable configuration items to the user, detects data such as path information, version information, model information, and the like selected/input by the user (for example, model S1, where a screen is placed in the XXX path, the screen parameter initial version number is V20220318, and the separated data packet version number is V001), writes information into an ini file when the user selects generation, and distinguishes different separated data (screen parameters, audio, image quality, and the like) through a section, thereby facilitating subsequent packaging and management and control. That is to say, through detecting preset configuration item, will generate corresponding demand information when the user selects configuration item, will obtain the management and control file demand information of input with whole demand information gathers. The separation data tool obtains the quasi-separation data control file by determining the model information and the separation data version number in the control file requirement information and writing the model information and the separation data version number into a preset file. The model information and the separated data version number respectively refer to a model of a product and a large version number corresponding to separated data, the preset file refers to an ini file, and the preset file can be set by a user or other reasons. The data to be separated management and control file is an ini file only containing model information and a separated data version number, and is only limited to models and large versions (separated data version numbers). By determining the model information and the separate data version number in the input management and control file requirement information, the general performance and the version of the product can be limited, and meanwhile, a large-version updating basis can be provided for subsequent updating.
Step C12, determining all file paths and version information in the management and control file requirement information, determining a data type corresponding to the version information, and writing the file paths corresponding to the version information and the version information into a data management and control file to be separated according to the data type to obtain a separated data management and control file.
After the separation-planned data control file only containing the model information and the separation data version number is obtained, all file paths and version information in the separation-planned data control file are determined, the data type corresponding to each version information is determined, and the file paths corresponding to the version information and the version information are written into the separation-planned data control file according to the data types to obtain the separation data control file. The file path refers to a file path of the separated data, the version information refers to a version of the separated data in the file path, the data type refers to a data type corresponding to the separated data, and may be screen parameter data, audio data, image quality data, and the like, and the separated data control file refers to an ini file for storing the file path and the version information of the data type in a data control file to be separated. The view of the resulting separated data management file may be as shown in fig. 4, for example, when the data type corresponding to the file path E1 and the version information E2 is screen parameter data, the file path E1 and the version information E2 are written below the screen parameter data in the ini file. A complete file is obtained by writing the file path and the version information into the separated data control file, and the file is required to be used as a basis for subsequent separated data packaging and updating.
Step S20, determining packing information according to the separated data management and control file, and packing preset separated data according to the packing information to obtain an actual separated data packet;
in this embodiment, after the packed and updated separated data management and control file is obtained, the separated data is packed according to the separated data management and control file to implement a product function, and packing refers to copying existing data to the inside of a product to be preset to implement the function. Firstly, determining the packaging information in the separated data management and control file, and performing function configuration on the product according to the packaging information. The step of determining packaging information according to the separated data management and control file includes:
step C21, determining all file paths in the separated data management and control file, storing each file path into a preset character string array, and using the preset character string array in which each file path has been stored as packaging information.
In the embodiment, all file paths in the separated data control file are extracted to obtain the packing information, the separated data tool reads the path, version and other information in the file and stores the information in the preset character string array through loading the separated data control file, the preset character string array in which the path, version and other information are stored is the required packing information, the path of each separated data is obtained through the character string array in a traversing mode, each separated data (screen parameters, audio, image quality, remote controller configuration and the like) is copied to the separated data packet of the machine type from the stored path, and the separated data packet is stored separately according to actual requirements. The preset character string array refers to an array for storing all paths. The packaging information can provide a packaging basis for the subsequent separated data transmission and packaging, and the subsequent separated data can be accurately packaged according to the packaging information.
After the packing information is obtained, the existing separation data is packed according to the packing information, and an actual separation data packet is obtained, wherein the actual separation data packet refers to a data packet which stores the existing separation data into an internal separation data packet. The function configuration process of the product can be realized by storing the existing separated data into the separated data packet through the packaging information, so that the phenomenon that a new software version needs to be developed again during function configuration can be avoided.
Step S30, determining update information according to the separated data management and control file and the actual separated data packet, and updating the separated data management and control file and the actual separated data packet according to the update information.
In this embodiment, after the product is configured, the separated data in the separated data packet may be updated according to the separated data management and control file, first, the controller may detect the separated data in the separated data management and control file and the actual separated data packet to obtain update information, and update the separated data management and control file and the actual separated data packet according to the update information, where the update information is a new piece of uploaded or different from previous separated data. Wherein, the step of updating the separated data management and control file and the actual separated data packet according to the update information includes:
step C31, triggering and updating the version number of the separated data in the separated data management and control file according to the updating information, extracting the first separated data in the updating information, and packaging the first separated data into the actual separated data packet;
in this embodiment, when the controller detects that update information is generated, an update instruction is triggered according to the update information, and the version number of the separated data in the separated data management and control file is updated according to the update instruction, where updating the version number may be an update manner defined by a user, such as simple digital increment, or an update manner defined by a system or an existing rule. When the version number of the split data is updated, the first split data in the updating information is extracted, and the first split data is packaged into an actual split data packet, wherein the first split data refers to data with the same data type but different split data, for example, the split data a and the split data b belong to data type screen parameter data, but the data of the split data a and the split data b are different. It should be noted that the first separated data packed into the actual separated data packet is replaced by the original separated data in the data type corresponding to the first separated data, and the separated data that needs to be updated can be accurately updated.
And step C32, determining a data type corresponding to the first separated data, and updating version information in the data type.
After the split data packet and the split data version number are updated, the corresponding data type is determined according to the first split data, and version information in the data type is updated. The updating mode is similar to the updating mode of the version number of the separated data, namely when the separated data is updated, the version number of the corresponding data type of the separated data can be updated, and meanwhile, the large version number can be updated, so that the updating accuracy of the separated data can be ensured, complicated manual updating is not needed, and the occurrence of manual errors is reduced.
Further, this embodiment also provides a related schematic diagram of a separated data packing and control technical scheme, referring to fig. 4, fig. 4 is a schematic diagram of a structure of a separated data control file in the separated data packing and control, in this embodiment, the separated data control file includes corresponding model information and a version number of a separated data packet, each section (component) includes a required data type, such as screen parameter data, image quality data, and the like, and each data type includes a storage path of the separated data of the data type and a corresponding version number. Referring to fig. 5, fig. 5 is a schematic diagram of a separated data packing flow in separated data packing and control, when separated data needs to be packed, a generated separated data control file is loaded, path information under each section in the file is acquired, corresponding separated data is extracted according to the path information, and the separated data in each section path is copied to a separated data packet preset in a product, so that functional configuration of the product is realized. Referring to fig. 6, fig. 6 is a schematic diagram illustrating a separated data version control flow in the packing and control of separated data, and when a part of separated data preset in a product needs to be updated, an update instruction is issued or product automatic detection is performed to update. When updating is carried out, the separated data management and control file is loaded, the version information of the path information set under each section in the file is obtained, and all files under the path information are compared with all corresponding files in the separated data packet. When the comparison result shows that the two separated data are consistent, the updating detection process is ended; and when the comparison result shows that the two separated data are inconsistent, updating the inconsistent separated data, updating the inconsistent file into a separated data packet, replacing the previous separated data, and updating the separated data in the version number of the section and the large version number of the separated data, namely finishing the automatic updating operation of the separated data. By packaging and updating the separated data according to the separated data management and control file, the situation that a new software version needs to be developed to realize the function of the separated data when the separated data is processed can be avoided, and the processing efficiency of the separated data can be improved.
In this embodiment, after the user inputs the corresponding management and control file requirement information according to different functional configurations and the controller obtains the input management and control file requirement information, generating a separated data control file according to the control file requirement information, determining packaging information of paths containing all data in the separated data control file according to a preset separated data tool, and packing the preset separation data according to the packing information to obtain an actual separation data packet, wherein the separation data in the actual separation data packet is the separation data required by the product, after the separation data packet is obtained, determining update information according to the separation data in the separation data control file path and the separation data in the actual separation data packet, and updating the relevant version number in the separated data management and control file and the separated data of the actual separated data packet according to the updating information. The existing separated data is automatically packaged through the separated data management and control file to realize product functions and automatic detection and updating, so that the phenomenon that separated data processing is carried out on version software which needs to be established for different functions in the prior art is avoided, different version software does not need to be developed in the separated data processing mode to improve research and development efficiency, and the existing separated data can be directly automatically packaged and updated to improve the separated data processing efficiency.
Further, based on the first embodiment of the method for packaging and managing separated data of the present invention, a second embodiment of the method for packaging and managing separated data of the present invention is provided, and the method for packaging and managing separated data includes:
further, the step of packing the preset separation data according to the packing information to obtain the actual separation data packet includes:
step a, determining all file paths in the packaged information, and extracting corresponding preset separation data under each file path;
and b, packaging each separated data into a preset separated data packet to obtain an actual separated data packet, and separately storing each separated data in the actual separated data packet.
In this embodiment, the separate data is packed after the packing information is obtained. Firstly, all file paths in the package information are determined, and then, all preset separation data (screen parameters, audio, image quality, remote controller configuration and the like) are copied from the stored paths to the preset separation data packets through all the file paths to obtain actual separation data packets, and the actual separation data packets are stored in the separation data packets separately according to actual requirements. The preset separation data refers to separation data uploaded to a separation data tool by different module engineers, the internal separation data packet refers to a position for storing the separation data in a preset mode, after all the separation data are copied, user requirements can be obtained, and the separation data in the actual separation data packet are stored separately according to the user requirements. The data is stored separately according to different data types, or according to other rules. The separate storage has the advantages that the separated data can be accurately searched, and the efficiency of detection and updating in the process of subsequent separated data updating is improved.
In this embodiment, all file paths in the package information are determined, and preset separation data corresponding to each file path is extracted; and packaging each separated data into a preset separated data packet to obtain an actual separated data packet, and separately storing each separated data in the actual separated data packet. The actual separation data packet is obtained through the packing information and is separately stored, so that the efficiency of searching the separation data and the accuracy of packing are ensured by the packing information.
Further, the step of determining update information according to the separated data management and control file and the actual separated data packet includes:
e, determining a data type in the separated data management and control file, and determining first separated data under a file path in the data type;
in this embodiment, when the separated data needs to be updated, the separated data tool reads next data of each section (different data corresponding to the section, such as screen parameters, audio frequencies, image quality, remote controller configuration, and the like) in the file by loading the separated data control file, obtains an original path and a version number of the separated data (such as an original path and version information of the screen parameters) corresponding to each section, compares the packed separated data (in an actual separated data packet) with the separated data in the original path by using an algorithm, and updates the version number of the separated data under the section corresponding to the separated data control file and updates the separated data with the version number being inconsistent into the separated data packet if the comparison is inconsistent. At this time, if the split data in the section is updated, the overall version number of the split packet is updated. The method avoids the operation flow of manual updating, and the automatic updating method is more accurate. Meanwhile, the updating of the whole version number can be more intuitively displayed to a tester. That is, the controller will determine the data types in the separated data management and control file in turn, and extract the first separated data in the file path in all the data types.
And f, determining second separated data corresponding to the data type in the actual separated data packet, and determining updating information according to the first separated data and the second separated data.
After the first separated data under the file paths in all the data types are obtained, the second separated data corresponding to the data types can be found in the actual separated data packet, and finally, the updating information can be determined according to the first separated data and the second separated data. For example, the extracted first separation data is screen parameter separation data a, audio separation data b, image quality separation data c, screen parameter, and audio, the image quality refers to a data type, the extracted second separation data is screen parameter separation data a, audio separation data b, and image quality separation data d, and update information is determined according to the image quality separation data d and the image quality separation data c.
In this embodiment, the data types in the separated data management and control file are sequentially determined, and first separated data in the data types under the file path is determined; and determining second separated data corresponding to the data type in the actual separated data packet, and determining updating information according to the first separated data and the second separated data. The update information is determined through the first separation data and the second separation data, and the update basis can be improved for updating the separation data.
Further, the step of determining the update information according to the first separated data and the second separated data includes:
step g, detecting whether the first separation data is the same as the second separation data;
step h, if the first separated data is the same as the second separated data, no update information is generated;
and i, if the first separated data is different from the second separated data, using the first separated data as updating information.
In this embodiment, after the first and second separated data are obtained, both data are detected. When the first separated data is the same as the second separated data, it is determined that the separated data does not need to be updated, and no update information is generated; when the first separated data is different from the second separated data, the first separated data is used as the update information. It should be noted that when the system performs detection update, there is a phenomenon that update information is not generated; when the updating command is received to update, the phenomenon that the updating information is not generated does not exist. That is, after the related module personnel upload the new separated data, the phenomenon that the updated information is not generated can not occur when the system triggers the update instruction; the system can detect the phenomenon that the updating information is not generated without triggering the updating instruction. Wherein the uploading of new separated data by the relevant module personnel can be performed by a separated data tool to view the submitted records and the relevant information. For example, when the first separated data and the second separated data are the image-quality separated data c and the image-quality separated data d, respectively, the image-quality separated data c is used as the update information, and the image-quality separated data c replaces the image-quality separated data d in the actual separated data packet to obtain an updated actual separated data packet, thereby completing the separated data update.
In this embodiment, by detecting whether the first separated data is the same as the second separated data, if so, no update information is generated; and if the first separated data is not the same as the second separated data, using the first separated data as update information. The existing separation data in the separation data packet can be timely and accurately updated through the first separation data and the second separation data.
The present invention further provides a schematic diagram of a device module for packing and controlling separated data, and referring to fig. 3, the device for packing and controlling separated data includes:
the management and control module A01 is used for acquiring input management and control file demand information and generating a separated data management and control file according to the management and control file demand information;
the packaging module A02 is used for determining packaging information according to the separated data management and control file, and packaging preset separated data according to the packaging information to obtain an actual separated data packet;
an updating module a03, configured to determine update information according to the separated data management and control file and the actual separated data packet, and update the separated data management and control file and the actual separated data packet according to the update information.
Optionally, the management and control module a01 is further configured to:
determining model information and a separated data version number in the management and control file demand information, and writing the model information and the separated data version number into a preset file to obtain a quasi-separated data management and control file;
determining all file paths and version information in the management and control file demand information, determining a data type corresponding to the version information, and writing the version information and the file paths corresponding to the version information into a to-be-separated data management and control file according to the data type to obtain a separated data management and control file.
Optionally, the packaging module a02 is further configured to:
determining all file paths in the separated data management and control file, storing each file path to a preset character string array, and taking the preset character string array in which each file path has been stored as packaging information.
Optionally, the packaging module a02 is further configured to:
determining all file paths in the packaging information, and extracting corresponding preset separation data under each file path;
and packaging each separated data into a preset separated data packet to obtain an actual separated data packet, and separately storing each separated data in the actual separated data packet.
Optionally, the updating module a03 is further configured to:
determining a data type in the separated data management and control file, and determining first separated data under a file path in the data type;
and determining second separated data corresponding to the data type in the actual separated data packet, and determining update information according to the first separated data and the second separated data.
Optionally, the updating module a03 is further configured to:
detecting whether the first split data is the same as the second split data;
if the first separated data is the same as the second separated data, no update information is generated;
and if the first separated data is not the same as the second separated data, using the first separated data as update information.
Optionally, the updating module a03 is further configured to:
triggering and updating a separated data version number in the separated data management and control file according to the updating information, extracting first separated data in the updating information, and packaging the first separated data into the actual separated data packet;
and determining a data type corresponding to the first separated data, and updating version information in the data type.
The method executed by each program module may refer to each embodiment of the method for packing and controlling separate data of the present invention, and will not be described herein again.
The invention also provides a device for packing and controlling the separated data.
The apparatus of the present invention comprises: the system comprises a memory, a processor and a packaging and control program of the separated data, wherein the packaging and control program of the separated data is stored on the memory and can run on the processor, and when the packaging and control program of the separated data is executed by the processor, the steps of the packaging and control method of the separated data are realized.
The invention also provides a storage medium.
The storage medium of the present invention stores a packing and control program of the separated data, and when the packing and control program of the separated data is executed by a processor, the steps of the packing and control method of the separated data are realized.
The method implemented when the packing and management control program of the separated data running on the processor is executed may refer to each embodiment of the packing and management control method of the separated data of the present invention, and details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The separated data packing and control method is characterized by comprising the following steps of:
acquiring input management and control file demand information, and generating a separated data management and control file according to the management and control file demand information;
determining packing information according to the separated data control file, and packing preset separated data according to the packing information to obtain an actual separated data packet;
and determining updating information according to the separated data control file and the actual separated data packet, and updating the separated data control file and the actual separated data packet according to the updating information.
2. The method for packaging and managing and controlling separated data according to claim 1, wherein the step of generating the separated data management and control file according to the management and control file requirement information includes:
determining model information and a separated data version number in the management and control file demand information, and writing the model information and the separated data version number into a preset file to obtain a to-be-separated data management and control file;
determining all file paths and version information in the control file requirement information, determining a data type corresponding to the version information, and writing the file paths corresponding to the version information and the version information into a data control file to be separated according to the data type to obtain a separated data control file.
3. The method for packaging and managing separate data according to claim 1, wherein the step of determining packaging information according to the separate data management file includes:
determining all file paths in the separated data management and control file, storing each file path to a preset character string array, and taking the preset character string array in which each file path has been stored as packaging information.
4. The method for packing and managing control of separated data according to claim 1, wherein the step of packing the preset separated data according to the packing information to obtain an actual separated data packet includes:
determining all file paths in the packaging information, and extracting corresponding preset separation data under each file path;
and packaging each separated data into a preset separated data packet to obtain an actual separated data packet, and separately storing each separated data in the actual separated data packet.
5. The method for packaging and managing separate data according to claim 1, wherein the step of determining update information according to the separate data management file and the actual separate data package comprises:
determining a data type in the separated data management and control file, and determining first separated data under a file path in the data type;
and determining second separated data corresponding to the data type in the actual separated data packet, and determining update information according to the first separated data and the second separated data.
6. The method for packaging and managing the separated data according to claim 5, wherein the step of determining the update information according to the first separated data and the second separated data includes:
detecting whether the first split data is the same as the second split data;
if the first separated data is the same as the second separated data, no update information is generated;
and if the first separated data is not the same as the second separated data, using the first separated data as update information.
7. The method for packaging and managing separated data according to claim 1, wherein the step of updating the separated data management file and the actual separated data package according to the update information includes:
triggering and updating a separated data version number in the separated data management and control file according to the updating information, extracting first separated data in the updating information, and packaging the first separated data into the actual separated data packet;
and determining a data type corresponding to the first separated data, and updating version information in the data type.
8. The utility model provides a packing and management and control device of separation data which characterized in that, packing and management and control device of separation data includes:
the management and control module is used for acquiring input management and control file demand information and generating a separated data management and control file according to the management and control file demand information;
the packaging module is used for determining packaging information according to the separated data management and control file and packaging preset separated data according to the packaging information to obtain an actual separated data packet;
and the updating module is used for determining updating information according to the separated data control file and the actual separated data packet, and updating the separated data control file and the actual separated data packet according to the updating information.
9. The utility model provides a packing and management and control equipment of separation data which characterized in that, packing and management and control equipment of separation data includes: a memory, a processor and a separate data packaging and management program stored on the memory and executable on the processor, the separate data packaging and management program, when executed by the processor, implementing the steps of the separate data packaging and management method according to any one of claims 1 to 7.
10. A storage medium, wherein a packaging and management program of separated data is stored on the storage medium, and when executed by a processor, the packaging and management program of separated data implements the steps of the packaging and management method of separated data according to any one of claims 1 to 7.
CN202210561234.8A 2022-05-20 2022-05-20 Method, device, equipment and storage medium for packing and controlling separated data Pending CN115033269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210561234.8A CN115033269A (en) 2022-05-20 2022-05-20 Method, device, equipment and storage medium for packing and controlling separated data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210561234.8A CN115033269A (en) 2022-05-20 2022-05-20 Method, device, equipment and storage medium for packing and controlling separated data

Publications (1)

Publication Number Publication Date
CN115033269A true CN115033269A (en) 2022-09-09

Family

ID=83120216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210561234.8A Pending CN115033269A (en) 2022-05-20 2022-05-20 Method, device, equipment and storage medium for packing and controlling separated data

Country Status (1)

Country Link
CN (1) CN115033269A (en)

Similar Documents

Publication Publication Date Title
CN104657396B (en) Data migration method and device
US8635521B2 (en) Customizing applications in a discovery interface
CN107888978B (en) KEY code burning method and device and computer readable storage medium
US9483492B2 (en) Terminal and method for providing application-related data
US20160309220A1 (en) User terminal device and content sharing method thereof
CN102890638B (en) Upgrade method of STB (set top box)
US20140304632A1 (en) Smart device for convenient graphic object arrangement and method of graphic object arrangement
JP2011120252A (en) System and method for effectively implementing personal channel for interactive television
US20130227085A1 (en) Terminal and method for using cloud services
CN105338391A (en) Intelligent television control method and mobile terminal
CN110531993B (en) Software installation method, device, equipment and medium
CN110865837B (en) Method and terminal for system upgrade
CN107066377B (en) Page element obtaining method based on Android system and terminal equipment
CN105472278A (en) Method and device for television set screen display control
US8112714B2 (en) Customizing application page loading in a discovery interface
WO2017219872A1 (en) Set top box upgrading and channel changing methods and systems
CN103079108A (en) Set top box and starting method thereof
CN115033269A (en) Method, device, equipment and storage medium for packing and controlling separated data
CN115129574A (en) Code testing method and device
CN112241373A (en) Automatic test method, test device, processor and test system
CN110989876B (en) Application program adaptation method, mobile terminal and storage medium
CN109710436A (en) Space method for cleaning, device, equipment and computer readable storage medium
CN108920217B (en) Reconstruction method for reducing non-reentrant function
CN114675928A (en) Container mirror image construction method and device, storage medium and electronic device
CN113741966A (en) Method, system, equipment and storage medium for Kickstart file conversion

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination