CN104461766A - Terminal and processing environment restoration method - Google Patents
Terminal and processing environment restoration method Download PDFInfo
- Publication number
- CN104461766A CN104461766A CN201310416667.5A CN201310416667A CN104461766A CN 104461766 A CN104461766 A CN 104461766A CN 201310416667 A CN201310416667 A CN 201310416667A CN 104461766 A CN104461766 A CN 104461766A
- Authority
- CN
- China
- Prior art keywords
- processing environment
- file
- environment parameter
- processing
- version information
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000007639 printing Methods 0.000 claims abstract description 20
- 230000008569 process Effects 0.000 claims description 17
- 230000007613 environmental effect Effects 0.000 claims 1
- 239000011159 matrix material Substances 0.000 description 84
- 238000004519 manufacturing process Methods 0.000 description 25
- 238000004891 communication Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000003672 processing method Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术领域,具体而言,涉及一种终端和一种处理环境还原方法。The present invention relates to the field of computer technology, in particular to a terminal and a method for restoring a processing environment.
背景技术Background technique
目前,在印刷行业的生产过程中,尤其是商业印刷中,根据客户方要求或者技术需要,制作方需要某个特定的处理内核及相应的处理参数来编辑生成点阵文件,将该点阵文件转发至生产方后,生产方在生产过程中,为达到与制作方在生成点阵文件时相同的设定效果,需要向制作方咨询并了解相应的参数设置,从而设置生产设备,这样可能出现设置参数不准确的问题,并且降低了处理效率。At present, in the production process of the printing industry, especially in commercial printing, according to the client's requirements or technical needs, the producer needs a specific processing kernel and corresponding processing parameters to edit and generate the dot matrix file, and the dot matrix file After forwarding to the producer, in the production process, in order to achieve the same setting effect as the producer generated the dot matrix file, the producer needs to consult with the producer and understand the corresponding parameter settings, so as to set up the production equipment, which may cause The problem of inaccurate setting parameters and reduced processing efficiency.
另外,由于商业印刷,允许在停印一段时间后根据市场反应,对产品进行加印的可能,按照目前的处理方式不能够快速且准确地还原当时的生产处理环境,同样也影响了处理效率和处理结果的准确性。In addition, due to commercial printing, it is allowed to reprint the product according to the market reaction after a period of suspension of printing. The current processing method cannot quickly and accurately restore the production and processing environment at that time, which also affects the processing efficiency and Accuracy of Processing Results.
发明内容Contents of the invention
考虑到相关技术中出现的技术问题,本发明所要解决的技术问题在于,提供一种处理环境的还原技术,用以解决相关技术不能快速且准确地还原处理环境的问题。Considering the technical problems in the related technologies, the technical problem to be solved by the present invention is to provide a processing environment restoration technology to solve the problem that the related technologies cannot quickly and accurately restore the processing environment.
有鉴于此,根据本发明的一个方面,提供了一种终端,包括:点阵文件生成单元,用于使用指定的处理内核,根据配置的处理环境参数生成点阵文件;内嵌单元,连接至所述点阵文件生成单元,用于将所述处理内核的版本信息和所述处理环境参数内嵌至所述点阵文件。In view of this, according to one aspect of the present invention, a terminal is provided, including: a dot matrix file generating unit, configured to use a designated processing kernel to generate a dot matrix file according to configured processing environment parameters; an embedded unit connected to The lattice file generating unit is configured to embed version information of the processing kernel and the processing environment parameters into the lattice file.
在生成点阵文件时,将生成该点阵文件时的处理环境参数信息嵌入至点阵文件中,这样有便于另一操作方直接根据点阵文件携带的参数信息就能够清楚了解与该点阵文件相关的参数设置,并且获取的相关参数与点阵文件的实际处理环境参数是相同的,与现有的操作双方沟通处理方式相比,更加准确,并且省去了沟通时间,提高了处理效率。When generating the dot matrix file, the processing environment parameter information when the dot matrix file is generated is embedded into the dot matrix file, so that another operator can clearly understand the dot matrix directly according to the parameter information carried by the dot matrix file File-related parameter settings, and the obtained relevant parameters are the same as the actual processing environment parameters of the dot matrix file. Compared with the existing communication and processing methods between the two parties, it is more accurate, saves communication time, and improves processing efficiency. .
根据本发明的另一方面,还提供了一种终端,包括:读取单元,用于读取内嵌于点阵文件中的处理内核的版本信息和处理环境参数;还原单元,连接至所述读取单元,用于根据所述版本信息和所述处理环境参数还原处理环境,以基于所述处理环境和所述点阵文件进行印刷处理。According to another aspect of the present invention, there is also provided a terminal, including: a reading unit, used to read version information and processing environment parameters of the processing kernel embedded in the dot matrix file; a restoring unit, connected to the The reading unit is configured to restore the processing environment according to the version information and the processing environment parameters, so as to perform printing processing based on the processing environment and the dot matrix file.
在接收到点阵文件后,读取点阵文件中包含的参数信息,直接根据这些参数信息来还原生成点阵文件时的处理环境,无需向制作方询问该点阵文件的设置参数情况,既减少了沟通时间,又降低了参数的传递错误率,因此采用该技术方案,能够实现快速且准确地还原处理环境。After receiving the dot matrix file, read the parameter information contained in the dot matrix file, and directly restore the processing environment when generating the dot matrix file according to these parameter information, without asking the producer about the setting parameters of the dot matrix file, both The communication time is reduced, and the error rate of parameter transmission is reduced. Therefore, the adoption of this technical solution can realize the rapid and accurate restoration of the processing environment.
根据本发明的又一方面,还提供了一种处理环境还原方法,包括:使用指定的处理内核,根据配置的处理环境参数生成点阵文件;将所述处理内核的版本信息和所述环境参数内嵌至所述点阵文件。According to yet another aspect of the present invention, there is also provided a method for restoring a processing environment, including: using a designated processing kernel to generate a dot matrix file according to configured processing environment parameters; embedded into the bitmap file.
在生成点阵文件时,将生成该点阵文件时的处理环境参数信息嵌入至点阵文件中,这样有便于另一操作方直接根据点阵文件携带的参数信息就能够清楚了解与该点阵文件相关的参数设置,并且获取的相关参数与点阵文件的实际处理环境参数是相同的,与现有的操作双方沟通处理方式相比,更加准确,并且省去了沟通时间,提高了处理效率。When generating the dot matrix file, the processing environment parameter information when the dot matrix file is generated is embedded into the dot matrix file, so that another operator can clearly understand the dot matrix directly according to the parameter information carried by the dot matrix file File-related parameter settings, and the obtained relevant parameters are the same as the actual processing environment parameters of the dot matrix file. Compared with the existing communication and processing methods between the two parties, it is more accurate, saves communication time, and improves processing efficiency. .
根据本发明的再一方面,还提供了一种处理环境还原方法,包括:读取内嵌于点阵文件中的处理内核的版本信息和处理环境参数;根据所述版本信息和所述处理环境参数还原处理环境,以基于所述处理环境和所述点阵文件进行印刷处理。According to still another aspect of the present invention, there is also provided a processing environment restoration method, including: reading the version information and processing environment parameters of the processing kernel embedded in the lattice file; The parameters restore the processing environment to perform printing processing based on the processing environment and the dot matrix file.
在接收到点阵文件后,读取点阵文件中包含的参数信息,直接根据这些参数信息来还原生成点阵文件时的处理环境,无需向制作方询问该点阵文件的设置参数情况,既减少了沟通时间,又降低了参数的传递错误率,因此采用该技术方案,能够实现快速且准确地还原处理环境。After receiving the dot matrix file, read the parameter information contained in the dot matrix file, and directly restore the processing environment when generating the dot matrix file according to these parameter information, without asking the producer about the setting parameters of the dot matrix file, both The communication time is reduced, and the error rate of parameter transmission is reduced. Therefore, the adoption of this technical solution can realize the rapid and accurate restoration of the processing environment.
附图说明Description of drawings
图1示出了根据本发明的一个实施例的终端的框图;FIG. 1 shows a block diagram of a terminal according to an embodiment of the present invention;
图2示出了根据本发明的另一实施例的终端的框图;Fig. 2 shows a block diagram of a terminal according to another embodiment of the present invention;
图3示出了根据本发明的一个实施例的处理环境还原方法的流程图;FIG. 3 shows a flow chart of a method for restoring a processing environment according to an embodiment of the present invention;
图4示出了根据本发明的另一实施例的处理环境还原方法的流程图;FIG. 4 shows a flowchart of a method for restoring a processing environment according to another embodiment of the present invention;
图5示出了根据本发明的再一实施例的处理环境还原方法的流程图。Fig. 5 shows a flowchart of a method for restoring a processing environment according to yet another embodiment of the present invention.
具体实施方式Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明并不限于下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the present invention is not limited to the specific embodiments disclosed below limit.
内核是指操作系统或相应软件中最核心的功能框架部分。内核版本是指相应软件内核在历次修改或增加相应的功能后的版本编号。The kernel refers to the core functional framework part of the operating system or corresponding software. The kernel version refers to the version number of the corresponding software kernel after previous modifications or addition of corresponding functions.
图1示出了根据本发明的一个实施例的终端的框图。Fig. 1 shows a block diagram of a terminal according to an embodiment of the present invention.
如图1所示,根据本发明的实施例的终端100可以包括:点阵文件生成单元102,用于使用指定的处理内核,根据配置的处理环境参数生成点阵文件;内嵌单元104,连接至点阵文件生成单元102,用于将处理内核的版本信息和处理环境参数内嵌至点阵文件,其中,该处理环境参数可以包括但不限于点阵文件的分辨率、网点和/或网目。As shown in Figure 1, the terminal 100 according to the embodiment of the present invention may include: a dot matrix file generating unit 102, which is used to use a specified processing kernel to generate a dot matrix file according to the configured processing environment parameters; an embedded unit 104, connected to To the bitmap file generating unit 102, for embedding the version information of the processing kernel and the processing environment parameters into the bitmap file, wherein the processing environment parameters may include but not limited to the resolution, dots and/or mesh of the bitmap file head.
在生成点阵文件时,将生成该点阵文件时的处理环境参数信息嵌入至点阵文件中,这样有便于另一操作方直接根据点阵文件携带的参数信息就能够清楚了解与该点阵文件相关的参数设置,并且获取的相关参数与点阵文件的实际处理环境参数是相同的,与现有的操作双方沟通处理方式相比,更加准确,并且省去了沟通时间,提高了处理效率。When generating the dot matrix file, the processing environment parameter information when the dot matrix file is generated is embedded into the dot matrix file, so that another operator can clearly understand the dot matrix directly according to the parameter information carried by the dot matrix file File-related parameter settings, and the obtained relevant parameters are the same as the actual processing environment parameters of the dot matrix file. Compared with the existing communication and processing methods between the two parties, it is more accurate, saves communication time, and improves processing efficiency. .
在上述技术方案中,优选的,所述内嵌单元104还用于将所述处理环境参数保存至所述点阵文件的文件头中。In the above technical solution, preferably, the embedding unit 104 is further configured to save the processing environment parameters into the file header of the dot matrix file.
需说明的是,将处理环境的信息例如内核版本号、内核设置参数等尽可能的保留在点阵文件中,参数跟随文件,防止出现参数误更改,从而可提高还原处理环境的准确性。但由于点阵文件本身大小的限制,优选的,不适于内嵌大量的参数信息,主要保存关键的核心参数。It should be noted that the processing environment information such as the kernel version number, kernel setting parameters, etc. are kept in the dot matrix file as much as possible, and the parameters follow the file to prevent incorrect parameter changes, thereby improving the accuracy of restoring the processing environment. However, due to the limitation of the size of the lattice file itself, preferably, it is not suitable for embedding a large amount of parameter information, and mainly saves key core parameters.
图2示出了根据本发明的另一实施例的终端的框图。Fig. 2 shows a block diagram of a terminal according to another embodiment of the present invention.
如图2所示,根据本发明的实施例的终端200可以包括:读取单元202,用于读取内嵌于点阵文件中的处理内核的版本信息和处理环境参数;还原单元204,连接至读取单元202,用于根据版本信息和处理环境参数还原处理环境,以基于处理环境和点阵文件进行印刷处理。其中,该处理环境参数包括但不限于分辨率、网点和/或网目。As shown in Figure 2, the terminal 200 according to the embodiment of the present invention may include: a reading unit 202, which is used to read version information and processing environment parameters of the processing kernel embedded in the dot matrix file; a restoring unit 204, connected to To the reading unit 202, for restoring the processing environment according to the version information and the processing environment parameters, so as to perform printing processing based on the processing environment and the dot matrix file. Wherein, the processing environment parameters include but not limited to resolution, dot and/or mesh.
在接收到点阵文件后,读取点阵文件中包含的参数信息,直接根据这些参数信息来还原生成点阵文件时的处理环境,无需向制作方询问该点阵文件的设置参数情况,既减少了沟通时间,又降低了参数的传递错误率,因此采用该技术方案,能够实现快速且准确地还原处理环境。After receiving the dot matrix file, read the parameter information contained in the dot matrix file, and directly restore the processing environment when generating the dot matrix file according to these parameter information, without asking the producer about the setting parameters of the dot matrix file, both The communication time is reduced, and the error rate of parameter transmission is reduced. Therefore, the adoption of this technical solution can realize the rapid and accurate restoration of the processing environment.
具体的,该还原单元204可以包括:调用单元2042,用于调用与所述版本信息相同的处理内核;配置单元2044,根据所述分辨率、所述网点和所述网目配置所述处理内核。Specifically, the restoring unit 204 may include: a calling unit 2042, configured to call a processing kernel identical to the version information; a configuration unit 2044, configured to configure the processing kernel according to the resolution, the mesh point, and the mesh .
在从点阵文件中提取出内核版本信息和处理环境参数后,直接调用与该内核版本相同的处理内核,然后按照处理环境参数来调整设置该处理内核,以符合在生成点阵文件时的处理环境,快速且准确地还原当时的处理环境,这样,就无需印刷生产方与点阵文件制作方进行沟通来获取相应的参数设置,提高了处理环境的还原效率。After extracting the kernel version information and processing environment parameters from the dot matrix file, directly call the processing kernel with the same version as the kernel, and then adjust and set the processing kernel according to the processing environment parameters to meet the processing when generating the dot matrix file Environment, quickly and accurately restore the processing environment at that time, so that there is no need for the printing manufacturer to communicate with the dot matrix file producer to obtain the corresponding parameter settings, which improves the restoration efficiency of the processing environment.
在上述任一技术方案中,优选的,所述终端200还可以包括:拦截单元206,在未找到与所述版本信息相同的处理内核时,拦截读取的所述处理环境参数,根据所述处理环境参数进行提示。In any of the above technical solutions, preferably, the terminal 200 may further include: an interception unit 206, when no processing kernel identical to the version information is found, intercept the read processing environment parameter, according to the Handle environment parameters for prompting.
不同的点阵文件制作方所采用的处理内核很有可能是不一样的,在印刷生产方没有相应的处理内核时,在调用与点阵文件中包含的版本相同的处理内核时会出现问题,为了提高用户体验,在该情况发生时,可提示或警告用户没有找到与该版本信息相同的处理内核。The processing kernels used by different dot matrix file producers are likely to be different. When the printing producer does not have a corresponding processing kernel, there will be problems when calling the same processing kernel as the version contained in the dot matrix file. In order to improve user experience, when this situation occurs, the user may be prompted or warned that no processing kernel identical to the version information is found.
图1所示的终端可以被理解为点阵文件制作侧的终端,图2所示的终端可以被理解为是印刷生产侧的终端,该终端既可以是固定终端,例如台式机,也可以是移动终端,例如笔记本电脑。The terminal shown in Figure 1 can be understood as a terminal on the dot matrix file production side, and the terminal shown in Figure 2 can be understood as a terminal on the printing production side, which can be a fixed terminal, such as a desktop computer, or a Mobile terminals such as laptops.
应理解,图1和图2分别示出的两个终端可以构成处理环境的还原系统。图1所示的终端中的点阵文件生成单元根据生产要求生成点阵文件,然后通过内嵌单元将内核版本号及相关参数,嵌入点阵文件。图2所示的终端中的读取单元从点阵文件中读取相应内核版本及参数,并通过还原单元根据获得的内核版本及参数,还原生产环境,进行生产。It should be understood that the two terminals respectively shown in FIG. 1 and FIG. 2 may constitute a restoration system of the processing environment. The dot matrix file generation unit in the terminal shown in Figure 1 generates a dot matrix file according to production requirements, and then embeds the kernel version number and related parameters into the dot matrix file through the embedding unit. The reading unit in the terminal shown in FIG. 2 reads the corresponding kernel version and parameters from the dot matrix file, and restores the production environment through the restoration unit according to the obtained kernel version and parameters for production.
本发明提供的处理环境还原装置,将生产使用的内核版本号及相关参数,嵌入点阵文件,生产部门根据从生成的点阵文件中读取相应内核版本及参数,还原生产环境,因此,可以快速准确地还原生产环境,提高生产进度。The processing environment restoration device provided by the present invention embeds the kernel version number and related parameters used in production into a dot matrix file, and the production department restores the production environment according to reading the corresponding kernel version and parameters from the generated dot matrix file. Therefore, it can Quickly and accurately restore the production environment to improve production progress.
图3示出了根据本发明的一个实施例的处理环境还原方法的流程图。Fig. 3 shows a flowchart of a method for processing environment restoration according to an embodiment of the present invention.
如图3所示,根据本发明实施例的一种基于内嵌版本参数的点阵文件处理环境还原方法的具体实现流程,具体包括:As shown in FIG. 3 , according to an embodiment of the present invention, a specific implementation process of a method for restoring a dot matrix file processing environment based on embedded version parameters specifically includes:
步骤302,在正常的生产流程中,使用要求的内核版本S1并设置需要的参数,如分辨率,网点,网目等信息,生成正常的点阵文件Sample。Step 302, in the normal production process, use the required kernel version S1 and set the required parameters, such as resolution, dot, mesh and other information, to generate a normal dot matrix file Sample.
不同的生产要求,可能要求使用不同的处理内核版本,同时,相关的参数信息也不相同。Different production requirements may require the use of different processing kernel versions, and at the same time, the relevant parameter information is also different.
步骤304,读取生成的点阵文件Sample。Step 304, read the generated dot matrix file Sample.
步骤306,将需要保存的参数信息(例如内核版本、分辨率、网点、网目),嵌入点阵文件Sample,重新保存。Step 306, embed the parameter information to be saved (such as kernel version, resolution, dot, and mesh) into the dot matrix file Sample, and save it again.
可以将参数信息保存在点阵文件的文件头中,另外作为生产用的点阵文件,在生产完毕内嵌参数之后,就不能再进行改动,以保持生产作业的安全性和唯一性。The parameter information can be saved in the file header of the dot matrix file. In addition, as the dot matrix file for production, after the embedded parameters are produced, it cannot be changed to maintain the safety and uniqueness of the production operation.
步骤308,将内嵌参数的点阵文件发送至印刷生产侧的终端。Step 308, sending the dot matrix file with embedded parameters to the terminal on the printing production side.
步骤310,在获得该点阵文件Sample后,打开该文件,从参数区域中读取相应参数,如内核版本号S1、分辨率、网点、网目等信息;Step 310, after obtaining the dot matrix file Sample, open the file, and read the corresponding parameters from the parameter area, such as information such as kernel version number S1, resolution, network point, and mesh;
步骤312,根据获取到的内核版本S1及相关参数,重新设置处理内核,还原对应的处理环境,使用点阵文件Sample进行印刷生产。Step 312, according to the acquired kernel version S1 and related parameters, reset the processing kernel, restore the corresponding processing environment, and use the dot matrix file Sample for printing production.
进一步说明,生产部门拥有多套内核版本,如S1、S2...,根据获取到的内核版本号S1,调用对应的版本内核,并根据其他参数(例如分辨率、网点、网目)进行该版本内核所需的细节调整。如果印刷生产侧的终端没有相应版本的内核,则提示用户。To further explain, the production department has multiple sets of kernel versions, such as S1, S2..., according to the acquired kernel version number S1, call the corresponding version of the kernel, and perform the process according to other parameters (such as resolution, dot, mesh). Minor adjustments required by the version kernel. If the terminal on the printing production side does not have the corresponding version of the kernel, the user is prompted.
根据上述流程描述可知,根据本发明的实施例提供的处理环境还原方法主要包括:一终端使用某版本的处理内核生成标准的点阵文件;在生成的点阵文件中嵌入当前内核版本号及相关参数;将生成的包含内嵌版本参数的点阵文件发送至另一终端;另一终端从文件头区域中的版本参数区域中,获取内嵌的版本号及相关参数;根据获得的版本号和参数,调用对应版本的处理内核,并根据参数配置处理内核,从而达到快速准确还原生产环境的效果。According to the above process description, it can be seen that the processing environment restoration method provided by the embodiment of the present invention mainly includes: a terminal uses a certain version of the processing kernel to generate a standard lattice file; embeds the current kernel version number and related parameters; send the generated dot matrix file containing embedded version parameters to another terminal; the other terminal obtains the embedded version number and related parameters from the version parameter area in the file header area; according to the obtained version number and parameters, call the corresponding version of the processing kernel, and configure the processing kernel according to the parameters, so as to achieve the effect of quickly and accurately restoring the production environment.
图4示出了根据本发明的另一实施例的处理环境还原方法的流程图。Fig. 4 shows a flowchart of a method for restoring a processing environment according to another embodiment of the present invention.
如图4所示,根据本发明的实施例的处理环境还原方法,可以包括以下步骤:As shown in FIG. 4, the processing environment restoration method according to an embodiment of the present invention may include the following steps:
步骤402,使用指定的处理内核,根据配置的处理环境参数生成点阵文件;步骤404,将该处理内核的版本信息和所述境参数内嵌至点阵文件。所述处理环境参数包括但不限于分辨率、网点和/或网目。Step 402, using the specified processing kernel to generate a lattice file according to the configured processing environment parameters; Step 404, embedding the version information of the processing kernel and the environment parameters into the lattice file. The processing environment parameters include, but are not limited to, resolution, dot and/or mesh.
在生成点阵文件时,将生成该点阵文件时的处理环境参数信息嵌入至点阵文件中,这样有便于另一操作方直接根据点阵文件携带的参数信息就能够清楚了解与该点阵文件相关的参数设置,并且获取的相关参数与点阵文件的实际处理环境参数是相同的,与现有的操作双方沟通处理方式相比,更加准确,并且省去了沟通时间,提高了处理效率。When generating the dot matrix file, the processing environment parameter information when the dot matrix file is generated is embedded into the dot matrix file, so that another operator can clearly understand the dot matrix directly according to the parameter information carried by the dot matrix file File-related parameter settings, and the obtained relevant parameters are the same as the actual processing environment parameters of the dot matrix file. Compared with the existing communication and processing methods between the two parties, it is more accurate, saves communication time, and improves processing efficiency. .
在上述任一技术方案中,优选的,将所述处理环境参数保存至所述点阵文件的文件头中。In any of the above technical solutions, preferably, the processing environment parameters are saved in the file header of the dot matrix file.
需说明的是,将处理环境的信息例如内核版本号、内核设置参数等尽可能的保留在点阵文件中,参数跟随文件,防止出现参数误更改,从而可提高还原处理环境的准确性。但由于点阵文件本身大小的限制,优选的,不适于内嵌大量的参数信息,主要保存关键的核心参数。It should be noted that the processing environment information such as the kernel version number, kernel setting parameters, etc. are kept in the dot matrix file as much as possible, and the parameters follow the file to prevent incorrect parameter changes, thereby improving the accuracy of restoring the processing environment. However, due to the limitation of the size of the lattice file itself, preferably, it is not suitable for embedding a large amount of parameter information, and mainly saves key core parameters.
图5示出了根据本发明的再一实施例的处理环境还原方法的流程图。Fig. 5 shows a flowchart of a method for restoring a processing environment according to yet another embodiment of the present invention.
如图5所示,根据本发明的实施例的处理环境还原方法,可以包括以下步骤:As shown in FIG. 5, the processing environment restoration method according to an embodiment of the present invention may include the following steps:
步骤502,读取内嵌于点阵文件中的处理内核的版本信息和处理环境参数;步骤504,根据版本信息和处理环境参数还原处理环境,以基于处理环境和点阵文件进行印刷处理。Step 502, read the version information and processing environment parameters of the processing kernel embedded in the dot matrix file; Step 504, restore the processing environment according to the version information and processing environment parameters, so as to perform printing processing based on the processing environment and the dot matrix file.
在接收到点阵文件后,读取点阵文件中包含的参数信息,直接根据这些参数信息来还原生成点阵文件时的处理环境,无需向制作方询问该点阵文件的设置参数情况,既减少了沟通时间,又降低了参数的传递错误率,因此采用该技术方案,能够实现快速且准确地还原处理环境。After receiving the dot matrix file, read the parameter information contained in the dot matrix file, and directly restore the processing environment when generating the dot matrix file according to these parameter information, without asking the producer about the setting parameters of the dot matrix file, both The communication time is reduced, and the error rate of parameter transmission is reduced. Therefore, the adoption of this technical solution can realize the rapid and accurate restoration of the processing environment.
在上述技术方案中,优选的,所述处理环境参数包括分辨率、网点和/或网目;所述根据所述版本信息和所述处理环境参数还原处理环境的步骤具体包括:In the above technical solution, preferably, the processing environment parameters include resolution, dot and/or mesh; the step of restoring the processing environment according to the version information and the processing environment parameters specifically includes:
调用与所述版本信息相同的处理内核,并根据所述分辨率、所述网点和所述网目配置所述处理内核。Invoking the same processing kernel as the version information, and configuring the processing kernel according to the resolution, the dot and the mesh.
在上述任一技术方案中,优选的,还可以包括:在未找到与所述版本信息相同的处理内核时,拦截读取的所述处理环境参数,根据所述处理环境参数进行提示。In any of the above technical solutions, preferably, it may further include: intercepting the read processing environment parameter and giving a prompt according to the processing environment parameter when no processing kernel identical to the version information is found.
不同的点阵文件制作方所采用的处理内核很有可能是不一样的,在印刷生产方没有相应的处理内核时,在调用与点阵文件中包含的版本相同的处理内核时会出现问题,为了提高用户体验,在该情况发生时,可提示或警告用户没有找到与该版本信息相同的处理内核,请安装相应的内核版本。The processing kernels used by different dot matrix file producers are likely to be different. When the printing producer does not have a corresponding processing kernel, there will be problems when calling the same processing kernel as the version contained in the dot matrix file. In order to improve user experience, when this situation occurs, the user may be prompted or warned that no processing kernel with the same version information has been found, and please install the corresponding kernel version.
应理解,根据本发明的技术方案除了应用于印刷领域之外,还可以应用在视频处理等需要还原处理环境的领域。It should be understood that, in addition to being applied in the printing field, the technical solution according to the present invention can also be applied in fields such as video processing that require restoration of the processing environment.
以上结合附图详细说明了根据本发明的技术方案,终端A使用某一版本的处理内核生成标准的点阵文件,并且读取点阵文件头区域,嵌入当前内核版本号及相关参数并保存;终端B打开该点阵文件,读取文件头区域中的版本参数区域,获取内嵌的版本号及相关参数,并根据获得的版本号和参数,调用对应版本的处理内核,并根据参数设置处理内核,从而快速且准确地还原处理环境进行生产。The technical solution according to the present invention has been described in detail above in conjunction with the accompanying drawings. Terminal A uses a certain version of the processing kernel to generate a standard lattice file, and reads the header area of the lattice file, embeds the current kernel version number and related parameters and saves it; Terminal B opens the dot matrix file, reads the version parameter area in the file header area, obtains the embedded version number and related parameters, and calls the processing kernel of the corresponding version according to the obtained version number and parameters, and sets the processing according to the parameters kernel to quickly and accurately restore processing environments for production.
本发明是参照根据本发明实施例的方法、设备(终端)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, devices (terminals), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能,存储介质,如:ROM/RAM、磁碟、光盘等。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device implements the functions specified in one or more processes of the flow chart and/or one or more blocks of the block diagram, and the storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310416667.5A CN104461766B (en) | 2013-09-13 | 2013-09-13 | Terminal and processing environment restoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310416667.5A CN104461766B (en) | 2013-09-13 | 2013-09-13 | Terminal and processing environment restoring method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461766A true CN104461766A (en) | 2015-03-25 |
CN104461766B CN104461766B (en) | 2018-06-05 |
Family
ID=52907863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310416667.5A Expired - Fee Related CN104461766B (en) | 2013-09-13 | 2013-09-13 | Terminal and processing environment restoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461766B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1684099A (en) * | 2004-04-16 | 2005-10-19 | 东方惠科防伪技术有限公司 | Method for identifying and verifying truth of goods using digital array |
US7046820B2 (en) * | 2002-07-16 | 2006-05-16 | Matsushita Electric Industrial Co., Ltd. | Methods for digital watermarking of images and images produced thereby |
CN1790420A (en) * | 2005-12-01 | 2006-06-21 | 北京北大方正电子有限公司 | Method and apparatus for embedding and detecting digital watermark in text file |
CN1882026A (en) * | 2005-05-12 | 2006-12-20 | 顾泽苍 | Method of generating information embedded halftone screen code |
CN1960249A (en) * | 2005-10-31 | 2007-05-09 | 中国银联股份有限公司 | Authentication method and authentication system |
CN101008939A (en) * | 2007-01-25 | 2007-08-01 | 深圳创维-Rgb电子有限公司 | Implementation method of dot matrix word library of embedded system |
CN102096565A (en) * | 2009-12-11 | 2011-06-15 | 北大方正集团有限公司 | Method and device for checking page dot matrix |
-
2013
- 2013-09-13 CN CN201310416667.5A patent/CN104461766B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7046820B2 (en) * | 2002-07-16 | 2006-05-16 | Matsushita Electric Industrial Co., Ltd. | Methods for digital watermarking of images and images produced thereby |
CN1684099A (en) * | 2004-04-16 | 2005-10-19 | 东方惠科防伪技术有限公司 | Method for identifying and verifying truth of goods using digital array |
CN1882026A (en) * | 2005-05-12 | 2006-12-20 | 顾泽苍 | Method of generating information embedded halftone screen code |
CN1960249A (en) * | 2005-10-31 | 2007-05-09 | 中国银联股份有限公司 | Authentication method and authentication system |
CN1790420A (en) * | 2005-12-01 | 2006-06-21 | 北京北大方正电子有限公司 | Method and apparatus for embedding and detecting digital watermark in text file |
CN101008939A (en) * | 2007-01-25 | 2007-08-01 | 深圳创维-Rgb电子有限公司 | Implementation method of dot matrix word library of embedded system |
CN102096565A (en) * | 2009-12-11 | 2011-06-15 | 北大方正集团有限公司 | Method and device for checking page dot matrix |
Also Published As
Publication number | Publication date |
---|---|
CN104461766B (en) | 2018-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109787991B (en) | Password-free login method, device, device and storage medium based on mobile terminal | |
US10009303B2 (en) | Message push method and apparatus | |
CN107766900B (en) | Method, system and computing device for printing bar code | |
CN103873692B (en) | Method, device and system for resource sharing | |
WO2015176501A1 (en) | Device management session triggering method, device, system and computer storage medium | |
CN110321283B (en) | Interface test case generation method and device, computer device and storage medium | |
CN110399150B (en) | A bios upgrade method, system, device and computer storage medium | |
CN106713004B (en) | Router adaptation method and system | |
CN110753020A (en) | Network request processing method and device | |
CN109358833B (en) | Audio playing method and system, computing device and storage medium | |
CN105389176B (en) | Skin processing method and device based on application | |
JP2008191711A5 (en) | ||
CN106154943A (en) | Position of mobile equipment monitoring method, Apparatus and system | |
CN104461766B (en) | Terminal and processing environment restoring method | |
CN113965360A (en) | Intelligent device cloud server access method, device, medium, device and system | |
CN104751046B (en) | A kind of user authen method and mobile terminal device of application program | |
CN111324394B (en) | System integration method and device | |
JP2019047273A5 (en) | ||
CN113204344B (en) | Information acquisition method and device for front-end development | |
CN108605222A (en) | Method, the system for being used for transmission supplemental characteristic, telecommunication terminal equipment, computer program and the computer program product for being used for transmission supplemental characteristic for the configured transmission data between telecommunication network and telecommunication terminal equipment and for activating and/or changing and/or deactivate the communication configuration file for limiting or indicating by supplemental characteristic on telecommunication terminal equipment | |
CN105744495A (en) | Method for mobile terminal to obtain card information and mobile terminal | |
JP6285473B2 (en) | Communication setting notification device | |
US11050643B2 (en) | Method for managing software service, and server | |
CN106650421B (en) | Program processing method, device and equipment | |
WO2016188150A1 (en) | Session exchange method, server, user terminal and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180605 Termination date: 20190913 |