CN109358827A - Method, system, equipment and the storage medium of serially printing are applied in control - Google Patents

Method, system, equipment and the storage medium of serially printing are applied in control Download PDF

Info

Publication number
CN109358827A
CN109358827A CN201811481333.5A CN201811481333A CN109358827A CN 109358827 A CN109358827 A CN 109358827A CN 201811481333 A CN201811481333 A CN 201811481333A CN 109358827 A CN109358827 A CN 109358827A
Authority
CN
China
Prior art keywords
serially printing
serially
printing
configuration file
status indicator
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
Application number
CN201811481333.5A
Other languages
Chinese (zh)
Other versions
CN109358827B (en
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 Software Co Ltd
Original Assignee
Shenzhen Skyworth Software 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 Software Co Ltd filed Critical Shenzhen Skyworth Software Co Ltd
Priority to CN201811481333.5A priority Critical patent/CN109358827B/en
Publication of CN109358827A publication Critical patent/CN109358827A/en
Application granted granted Critical
Publication of CN109358827B publication Critical patent/CN109358827B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The embodiment of the invention discloses method, system, equipment and storage mediums that serially printing is applied in a kind of control, this method comprises: reading the configuration file being pre-configured in memory, and obtain the serially printing status indicator in configuration file;The working condition for applying serially printing is determined according to serially printing status indicator;Wherein, serially printing mark includes executing mark, or forbid identifying;Working condition using serially printing includes allowing using serially printing, or forbid using serially printing.The technical solution of the embodiment of the present invention, it solves in the prior art when digital terminal breaks down, need to upgrade software to realize serially printing, it operates comparatively laborious, complicated and the technical issues of waste time, it realizes through serially printing status indicator in change configuration file, make to realize that serially printing operates simpler, convenient and time saving technical effect.

Description

Method, system, equipment and the storage medium of serially printing are applied in control
Technical field
The present embodiments relate to signal processing technology field more particularly to it is a kind of control using serially printing method, System, equipment and storage medium.
Background technique
For the consideration to digital terminal safety, it is desirable that the digital terminal of shipment cannot have the function of serially printing.Work as number Word terminal when something goes wrong, is generally required through serially printing come the problem of positioning digital terminal.However it is soft on plant out Part does not have the function of serially printing, just needs to be updated software upgrading at this time, makes it have the function of serially printing, into And according to serially printing come the problem of detecting terminal.
Although serially printing may be implemented in the above method, it is required to be updated software when a problem occurs, grasps It makes comparisons complexity, wastes time.
Summary of the invention
The present invention provides a kind of method, system, equipment and storage medium for controlling and applying serially printing, realizes by more Change serially printing in configuration file to identify, makes to realize that serially printing operates simpler, convenient and time saving technology effect Fruit.
In a first aspect, the embodiment of the invention provides a kind of method that serially printing is applied in control, this method is applied to number In word terminal, comprising:
The configuration file being pre-configured in memory is read, and obtains the serially printing state mark in the configuration file Know;
The working condition for applying serially printing is determined according to the serially printing status indicator;
Wherein, the serially printing mark includes executing mark, or forbid identifying;The work shape using serially printing State includes allowing using serially printing, or forbid using serially printing.
Second aspect, the embodiment of the invention also provides a kind of system that serially printing is applied in control, which is applied to In digital terminal, comprising:
Profile module is read, for reading the configuration file being pre-configured in memory, and obtains the configuration Serially printing status indicator in file;
Serially printing module is determined, for determining the work shape for applying serially printing according to the serially printing status indicator State;
Wherein, the serially printing mark includes executing mark, or forbid identifying;The work shape using serially printing State includes allowing using serially printing, or forbid using serially printing.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the method that serially printing is applied in the control as described in the embodiment of the present invention is any.
Fourth aspect, it is described the embodiment of the invention also provides a kind of storage medium comprising computer executable instructions Computer executable instructions are answered when being executed by computer processor for executing the control as described in the embodiment of the present invention is any With the method for serially printing.
The technical solution of the embodiment of the present invention by reading the configuration file being pre-configured in memory, and obtains institute The serially printing status indicator in configuration file is stated, the work for applying serially printing is determined according to the serially printing status indicator State, wherein the serially printing mark includes executing mark, or forbid identifying;The working condition using serially printing Including allowing using serially printing, or forbid solving in the prior art using serially printing when digital terminal breaks down When, it needs to carry out application program upgrading to realize serially printing, operates technology that is comparatively laborious, complicated and wasting time Problem is realized through serially printing status indicator in change configuration file, makes to realize that serially printing operation is simpler, convenient And time saving technical effect.
Detailed description of the invention
In order to more clearly illustrate the technical scheme of the exemplary embodiment of the present invention, below to required in description embodiment The attached drawing to be used does a simple introduction.Obviously, the attached drawing introduced is present invention a part of the embodiment to be described Attached drawing, rather than whole attached drawings without creative efforts, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of method flow schematic diagram controlled using serially printing provided by the embodiment of the present invention one;
Fig. 2 is a kind of process for controlling the method preferred embodiment using serially printing provided by the embodiment of the present invention two Schematic diagram;
Fig. 3 is a kind of system structure diagram controlled using serially printing provided by the embodiment of the present invention three;
Fig. 4 is a kind of device structure schematic diagram provided by the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of method flow schematic diagram controlled using serially printing, this reality provided by the embodiment of the present invention one It applies example to be applicable in digital terminal, when digital terminal breaks down, serially printing state mark in configuration file can be changed Know to realize serially printing, this method can be executed by controlling using the system of serially printing, which can pass through software And/or formal implementation of hardware.
As described in Figure 1, the method for the present embodiment includes:
S110, reading are pre-configured with configuration file in memory, and obtain the serially printing in the configuration file Status indicator.
It should be noted that configuration file can be prestored in a block of memory, optionally, with 0101 lattice Formula is stored into the block of memory.Wherein, the number of predeterminated position can represent whether execution or taboo in configuration file Only serially printing, i.e. serially printing status indicator.Serially printing status indicator can be execution serially printing or forbid serial ports Printing.
Wherein, read and be pre-configured with configuration file in memory, can be the program code by writing in advance come It realizes, the program code write in advance is stored in digital terminal, for executing sequence of operations, optionally, the behaviour of execution Can be the content read in configuration file, and execute operation corresponding with the content in configuration file etc..
In the present embodiment, the program code write in advance can be stored into digital terminal, which can be with For executing the configuration file for reading and storing in memory, and determine the serially printing state mark of predeterminated position in configuration file Know.
Optionally, the configuration file being pre-configured in memory is being read, and is obtaining the serially printing in configuration file Before status indicator, further includes: based on the acquisition hide menu instruction received, into hide menu;It obtains in hide menu The modification instruction of the modification configuration file of upper triggering, is pre-configured in configuration file in memory based on modification modification of orders Serially printing status indicator.
If digital terminal breaks down, staff can trigger the order that hide menu is obtained on digital terminal, and It can determine the particular content on hide menu.May exist and serially printing status indicator in configuration file in hide menu Perhaps icon staff can issue modification instruction by triggering corresponding button or icon to corresponding button, according to Serially printing status indicator in modification instruction change configuration file, optionally, the button of triggering changed serial port print state mark Issue the modification instruction of modification serially printing status indicator.
Illustratively, staff triggers the icon for obtaining hide menu, issues the order for obtaining hide menu, can obtain The particular content shown on to hide menu.If modifying serially printing status indicator in configuration file in hide menu is button, When the location of button is ON, serially printing status indicator is to execute mark;If the location of button is OFF, explanation Serially printing status indicator is to forbid identifying.Staff can be to execute serial ports to determine with trigger button to corresponding position Print or forbid serially printing.It is optional if serially printing status indicator is icon in modification configuration file in hide menu , icon is configuration file, and staff can trigger profiles icon and enter in the corresponding page, can be shown in the page Show number corresponding with serially printing state in modification configuration file, optionally, if number is 1, indicates to execute serially printing; If number indicates to forbid serially printing for 0, staff can be arranged in configuration file according to actual needs indicates serially printing The number of state, the i.e. mark of serially printing state.
It should be noted that it is above-mentioned be only for an example come illustrate modify configuration file in serially printing state mark Know the embodiment that may exist, and is not limited thereof, as long as serially printing status indicator in configuration file can be modified, All within the protection scope of the embodiment of the present invention.
During practical application, the serially printing state in configuration file can not also be changed by hide menu Mark.Optionally, it is beaten according to the serial ports that the change of the working condition of digital terminal is pre-configured in configuration file in memory Marking is known.
Specifically, monitoring modular can be set in digital terminal, it is for monitoring the operating status of digital terminal, i.e., digital The working condition of terminal.Wherein, it is good to can be operation conditions for the operating status of digital terminal, and operation is broken down, according to inspection The operating status of the digital terminal measured, automatically change is pre-configured with configuration file serially printing state mark in memory Know.
Illustratively, it if the operating status of monitoring module monitors to digital terminal breaks down, then can change automatically In configuration file, the mark of serially printing state is indicated, optionally, serially printing status indicator will be forbidden to be changed to execute serial ports Printing mark.If monitoring, operating status is good, can read serially printing status indicator in configuration file, if with forbid Serially printing mark is identical, if identical as serially printing mark is forbidden, does not then execute any operation;If being beaten with serial ports is executed Serially printing status indicator in configuration file then is changed to forbid identifying, to realize by the sensible correspondence of marking by executing mark Forbid serially printing.
It should be noted that if be the operating status of intelligent measurement digital terminal, once the operating status of digital terminal is sent out Changing can read serially printing status indicator in configuration file, determine that current serially printing identifies whether and number end The working condition at end is consistent, if unanimously, then can not execute any operation, if inconsistent, then can change configuration text Serially printing status indicator is indicated in part.
S120, the working condition for applying serially printing is determined according to the serially printing status indicator.
Based on the above technical solution, it can determine that the mark of serially printing state can be and execute mark, or Forbid identifying.If executing mark, then digital terminal may be employed serially printing, determine digital terminal according to serially printing The problem, and then the problem is analyzed and processed.If serially printing status indicator is to forbid identifying, illustrate digital whole It holds present operating status good or digital terminal does not need to carry out at present then to execute and serial ports is forbidden to beat using serially printing The function of print.
In the present embodiment, serially printing may be implemented in the application software installed, if therefore when forbidding serially printing, Need to close serial ports corresponding with application printing.
Optionally, if serially printing status indicator is when forbidding using serially printing, to close corresponding with serially printing Chip register, to forbid using serially printing.
If can then be closed specifically, serially printing status indicator is to forbid serially printing in the configuration file read Serial ports corresponding with serially printing is closed, optionally, chip register corresponding with serially printing is closed, forbids to reach Using the purpose of serially printing.This is because the input and output of serial ports are controlled by chip register, it is therefore desirable to close The chip register for controlling serially printing, just may be implemented the purpose for forbidding serially printing.
The technical solution of the embodiment of the present invention by reading the configuration file being pre-configured in memory, and obtains institute The serially printing status indicator in configuration file is stated, the work for applying serially printing is determined according to the serially printing status indicator State, wherein the serially printing mark includes executing mark, or forbid identifying;The working condition using serially printing Including allowing using serially printing, or forbid solving in the prior art using serially printing when digital terminal breaks down When, it needs to carry out application program upgrading to realize serially printing, operates technology that is comparatively laborious, complicated and wasting time Problem is realized through serially printing status indicator in change configuration file, makes to realize that serially printing operation is simpler, convenient And time saving technical effect.
Based on the above technical solution, when receiving the instruction of digital terminal operation, input-output unit is corresponding It is verified with print routine;When verifying failure, then upgrades to using print routine, deposited in advance with reading in memory The configuration file of storage.
Wherein, the operating instruction of digital terminal is received it is to be understood that digital terminal start-up operation is optionally switched on Or restart, input-output unit, i.e. boot, verification Application print routine determines whether application program can be used, if using journey Sequence is unavailable, then can reinstall the application, or upgrade to the application.Application verifying upgrading or reinstalled Whether can be used, if can be used, pre-stored configuration file in memory can be read, to determine whether to carry out Serially printing.Preferential verification Application program is advantageous in that, it may be predetermined that whether application can be used, and then determine that serial ports is beaten Print status indicator, the technical effect improved efficiency.
Embodiment two
As a preferred embodiment of above-described embodiment, Fig. 2 is a kind of control application provided by the embodiment of the present invention two The flow diagram of serially printing, as shown in Fig. 2, the present embodiment method includes:
S201, starting digital terminal.
It is to be understood that being switched on or restarting, digital terminal is in working condition by off position conversion.
S202, judge whether boot verification Application software succeeds.If verifying successfully, S204 is executed;If verification failure, holds Row S203.
After starting digital terminal, boot verification Application software determines whether application software can be used.If using soft Part can be used, then verifies success, execute S204, if application software breaks down, then can reinstall application software, or Person can be used its application software application software upgrade, i.e. boot verification upgrading or reinstall using soft It can verify and pass through after part.
S203, application software is updated.
If verification failure, then illustrating application software itself, there are mistakes, can be with upgrade application software, or reinstall The application software.After reinstalling or upgrading software, digital terminal can be restarted, and boot verifies this using journey Sequence, i.e. execution S201 and S202.
S204, current serially printing status indicator in configuration file is read.
If application software test success can be read the serially printing status indicator in configuration file, will be read Serially printing status indicator is as current serially printing status indicator.Wherein, configuration file can be prestored to memory (flash) in, the serially printing status indicator in configuration file can be denoted as flag.
It should be noted that executing series of steps is that corresponding program code is needed to be performed, in program code In can preset serially printing status indicator.Illustratively, presetting serially printing status indicator can be, and serial ports is beaten Printing status indicator is 1, i.e. setting disableUartFlag=1, then forbids serially printing, when serially printing status indicator is 0, That is, disableUartFlag=0, then execute serially printing.
It should be noted that the serially printing state mark of the configuration file in memory flash can only be read in boot Know flag, judge whether the serial ports integrator for needing to close or open chip register, reality cannot be gone in jumping to application Existing, reason is: application will first initialize memory flash, can just read the configuration file in memory flash, this Process also has debugging printing and generates.
S205, judge that current serially printing status indicator forbids serially printing knowledge whether identical with default, if they are the same, then hold Row S206;If it is different, then executing S207.
When getting current serially printing status indicator, current serially printing status indicator is judged, i.e., Whether disableUartFlag is equal to 1, if current serially printing status indicator is 1, beats if then executing the current serial ports of S206. Printing status indicator is 0, then explanation needs to be implemented serially printing.At this point it is possible to jump to using serially printing is carried out, that is, execute S207。
S206, change chip register value corresponding with serially printing.
If not needing to carry out serially printing, then need to close the chip register serial ports opposite with serially printing.This is It because of the input and output of serial ports, is controlled by chip register.Therefore the serially printing in configuration file is being got When state is non-print, then needs to change the value of chip register, turn off serially printing.Wherein it is possible to which chip is deposited The value of device is changed to preset value, and preset value is corresponding with the function of serially printing is closed.
S207 jumps to application.
If not needing serially printing, after the serial ports for closing control application printing, application can be jumped to;If needing Serially printing is wanted, can jump directly to apply, carries out serially printing.
S208, into hide menu.
It wherein, is to pass through remote controler into the mode that hide menu can be taken.Be provided on a remote control accordingly by Key can enter hide menu when triggering enters the key of hide menu.
It should be noted that the serially printing status indicator in configuration file can be changed in hide menu.If working as The operating status of preceding digital terminal breaks down, then can enter hide menu, modify the serially printing state in configuration file Mark.It specifically can be, trigger button corresponding with serially printing state, be also possible to modify the number of corresponding position, come Different embodiments can be arranged in changed serial port print state mark, staff according to actual needs.
If the operating status of Contemporary Digital terminal is good, then the string that configuration file is changed in hide menu can not be had to Mouth print state table design.
It should be noted that if being that digital terminal operation troubles occurs, then hide menu is entered, it will be in configuration file The change of serially printing state executes serially printing;If it is determined that digital terminal failure occurs and repaired, then can will match It sets serially printing state in file and is converted to non-print by executing printing.
Mark corresponding with serially printing state in S209, modification configuration file.
In hide menu, mark corresponding with serially printing state in configuration file can be changed, it is specific to modify Method can be found in embodiment one or S208.Modified serially printing status indicator can be automatically saved to memory flash In.
S210, again verification Application.
In having modified configuration file when serially printing status indicator, in order to execute digital terminal and serially printing state Corresponding operation is identified, can shut down or is restarted, again verification Application software, and reads the serially printing in configuration file Status indicator, and then execute operation corresponding with modified configuration file, that is, S201 is repeated to S209.
The technical solution of the embodiment of the present invention by reading the configuration file being pre-configured in memory, and obtains institute The serially printing status indicator in configuration file is stated, the work for applying serially printing is determined according to the serially printing status indicator State, wherein the serially printing mark includes executing mark, or forbid identifying;The working condition using serially printing Including allowing using serially printing, or forbid solving in the prior art using serially printing when digital terminal breaks down When, it needs to carry out application program upgrading to realize serially printing, operates technology that is comparatively laborious, complicated and wasting time Problem is realized through serially printing status indicator in change configuration file, makes to realize that serially printing operation is simpler, convenient And time saving technical effect.
Embodiment three
Fig. 3 is a kind of system structure diagram controlled using serially printing provided by the embodiment of the present invention three, this is System includes: to read profile module 310 and determining serially printing module 320.
Wherein, which includes: to read profile module 310, for reading the configuration being pre-configured in memory File, and obtain the serially printing status indicator in the configuration file;Serially printing module 320 is determined, for according to Serially printing status indicator determines the working condition for applying serially printing;Wherein, the serially printing mark includes executing mark, Or forbid identifying;The working condition using serially printing includes allowing using serially printing, or forbid beating using serial ports Print.
The technical solution of the embodiment of the present invention by reading the configuration file being pre-configured in memory, and obtains institute The serially printing status indicator in configuration file is stated, the work for applying serially printing is determined according to the serially printing status indicator State, wherein the serially printing mark includes executing mark, or forbid identifying;The working condition using serially printing Including allowing using serially printing, or forbid solving in the prior art using serially printing when digital terminal breaks down When, it needs to carry out application program upgrading to realize serially printing, operates technology that is comparatively laborious, complicated and wasting time Problem is realized through serially printing status indicator in change configuration file, makes to realize that serially printing operation is simpler, convenient And time saving technical effect.
Based on the above technical solution, the determining serially printing module is also used to:
If the serially printing status indicator is when forbidding using serially printing, to close core corresponding with serially printing Piece register, to forbid using serially printing.
On the basis of above-mentioned each technical solution, the reading profile module is pre-configured with for the reading Configuration file in memory, and before obtaining the serially printing status indicator in the configuration file, it is also used to:
Based on the acquisition hide menu instruction received, into hide menu;
The modification instruction for obtaining the modification configuration file triggered on the hide menu, is based on the modification modification of orders The serially printing status indicator being pre-configured in configuration file in memory.
On the basis of above-mentioned each technical solution, the reading profile module is pre-configured with for the reading Configuration file in memory, and before obtaining the serially printing status indicator in the configuration file, it is also used to: if detection When operation troubles occurs to digital terminal, then it is changed to the serially printing status indicator in the configuration file to execute mark.
On the basis of above-mentioned each technical solution, the system also includes: instruction module and correction verification module are received, it is described to connect Instruction module is received, for when receiving the instruction of digital terminal operation, input-output unit to carry out school to using print routine It tests;The correction verification module, for when verifying failure, then upgrading to the application print routine, to read in memory Pre-stored configuration file.
On the basis of above-mentioned each technical solution, the reading profile module is pre-configured with for the reading Configuration file in memory, and before obtaining the serially printing status indicator in the configuration file, it is also used to: according to number The working condition change of word terminal is pre-configured with the serially printing mark in configuration file in memory.
Any embodiment of that present invention can be performed using the system of serially printing in a kind of control provided by the embodiment of the present invention The method that serially printing is applied in a kind of provided control, has the corresponding functional module of execution method and beneficial effect.
It is worth noting that, each unit included by above system and module are only divided according to function logic , but be not limited to the above division, as long as corresponding functions can be realized;In addition, the specific name of each functional unit Title is also only for convenience of distinguishing each other, and is not intended to restrict the invention the protection scope of embodiment.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 40 of inventive embodiments embodiment.The equipment 40 that Fig. 4 is shown is only an example, should not be to this The function and use scope of inventive embodiments bring any restrictions.
As shown in figure 4, equipment 40 is showed in the form of universal computing device.The component of equipment 40 may include but unlimited In one or more processor or processing unit 401, system storage 402, different system components (including system is connected Memory 402 and processing unit 401) bus 403.
Bus 403 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 40 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 40 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 402 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 404 and/or cache memory 405.Equipment 40 may further include other removable/not removable Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 406 can be used for read and write can not Mobile, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, Ke Yiti For the disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to moving non-volatile light The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver It can be connected by one or more data media interfaces with bus 403.Memory 402 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 408 with one group of (at least one) program module 407, can store in such as memory In 402, such program module 407 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 407 Usually execute the function and/or method in embodiment described in the invention.
Equipment 40 can also be logical with one or more external equipments 409 (such as keyboard, sensing equipment, display 410 etc.) Letter can also enable a user to equipment interact with the equipment 40 with one or more and communicate, and/or with enable the equipment 40 Any equipment (such as network interface card, modem etc.) communicated with one or more of the other calculating equipment communicates.It is this Communication can be carried out by input/output (I/O) interface 411.Also, equipment 40 can also pass through network adapter 412 and one A or multiple networks (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as figure Shown, network adapter 412 is communicated by bus 403 with other modules of equipment 40.It should be understood that although not shown in fig 4, Other hardware and/or software module can be used with bonding apparatus 40, including but not limited to: microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 401 by the program that is stored in system storage 402 of operation, thereby executing various function application with And data processing, such as realize a kind of method that serially printing is applied in control provided by the embodiment of the present invention.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium comprising computer executable instructions, and the computer can be held Row instruction by computer processor when being executed for executing a kind of method that serially printing is applied in control.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation Computer program code, described program design language include object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language --- such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of method that serially printing is applied in control, is applied in digital terminal characterized by comprising
The configuration file being pre-configured in memory is read, and obtains the serially printing status indicator in the configuration file;
The working condition for applying serially printing is determined according to the serially printing status indicator;
Wherein, it includes executing mark, or forbid identifying that the serially printing mark state, which is known,;The work shape using serially printing State includes allowing using serially printing, or forbid using serially printing.
2. the method according to claim 1, wherein described determined according to the serially printing status indicator is applied The working condition of serially printing, comprising:
If the serially printing status indicator is to close chip corresponding with serially printing when forbidding using serially printing and post Storage, to forbid using serially printing.
3. the method according to claim 1, wherein being pre-configured with the text of configuration in memory in the reading Part, and before obtaining the serially printing status indicator in the configuration file, further includes:
Based on the acquisition hide menu instruction received, into hide menu;
The modification instruction of the modification configuration file triggered on the hide menu is obtained, it is preparatory based on the modification modification of orders Serially printing status indicator in the configuration file of configuration in memory.
4. the method according to claim 1, wherein further include:
When receiving the instruction of digital terminal operation, input-output unit is verified to using print routine;
When verifying failure, then the application print routine is upgraded, to read pre-stored configuration text in memory Part.
5. the method according to claim 1, wherein being pre-configured with the text of configuration in memory in the reading Before serially printing mark in part, further includes:
The serially printing state mark being pre-configured with according to the change of the working condition of digital terminal in configuration file in memory Know.
6. according to the method described in claim 5, it is characterized in that, described match in advance according to the change of the working condition of digital terminal It sets the serially printing in configuration file in memory and identifies and include:
If the working condition of digital terminal is operation troubles, the serially printing status indicator in the configuration file is changed To execute mark.
7. a kind of system that serially printing is applied in control, is applied in digital terminal characterized by comprising
Profile module is read, for reading the configuration file being pre-configured in memory, and obtains the configuration file In serially printing status indicator;
Serially printing module is determined, for determining the working condition for applying serially printing according to the serially printing status indicator;
Wherein, the serially printing mark includes executing mark, or forbid identifying;The working condition packet using serially printing Including allows using serially printing, or forbids using serially printing.
8. system according to claim 7, which is characterized in that the determining serially printing module is also used to:
If the serially printing status indicator is to close chip corresponding with serially printing when forbidding using serially printing and post Storage, to forbid using serially printing.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now if control as claimed in any one of claims 1 to 6 is using the method for serially printing.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing the method for applying serially printing such as control as claimed in any one of claims 1 to 6 when device executes.
CN201811481333.5A 2018-12-05 2018-12-05 Method, system, equipment and storage medium for controlling application serial port printing Expired - Fee Related CN109358827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811481333.5A CN109358827B (en) 2018-12-05 2018-12-05 Method, system, equipment and storage medium for controlling application serial port printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811481333.5A CN109358827B (en) 2018-12-05 2018-12-05 Method, system, equipment and storage medium for controlling application serial port printing

Publications (2)

Publication Number Publication Date
CN109358827A true CN109358827A (en) 2019-02-19
CN109358827B CN109358827B (en) 2021-11-16

Family

ID=65331295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811481333.5A Expired - Fee Related CN109358827B (en) 2018-12-05 2018-12-05 Method, system, equipment and storage medium for controlling application serial port printing

Country Status (1)

Country Link
CN (1) CN109358827B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083394A (en) * 2019-04-04 2019-08-02 龙芯中科技术有限公司 Serial port drive method, apparatus and storage medium
CN111142954A (en) * 2019-12-30 2020-05-12 Oppo(重庆)智能科技有限公司 Startup control method and device and computer readable storage medium
CN112328437A (en) * 2019-11-08 2021-02-05 珠海奔图电子有限公司 Control method and device for serial port debugging, image forming device and chip
CN114461462A (en) * 2021-12-30 2022-05-10 苏州浪潮智能科技有限公司 BIOS debugging information output method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495776A (en) * 2011-12-02 2012-06-13 浪潮集团有限公司 Method for debugging basic input output system (BIOS) of storage controller applicable to cloud storage
US20150381827A1 (en) * 2014-06-27 2015-12-31 Canon Kabushiki Kaisha Server apparatus storing print data, printing apparatus, and printing system for checking processing status on a print data list
CN105468486A (en) * 2015-11-20 2016-04-06 浪潮电子信息产业股份有限公司 Method and device for testing serial ports of servers
CN106254093A (en) * 2016-07-18 2016-12-21 深圳创维数字技术有限公司 A kind of automatic test restorative procedure and system thereof
CN107229591A (en) * 2017-06-22 2017-10-03 湖南省力宇燃气动力有限公司 Multi-serial communication method and device
CN107818032A (en) * 2017-10-24 2018-03-20 郑州云海信息技术有限公司 A kind of mainboard, information Method of printing, system, device and storage medium
CN107870855A (en) * 2016-09-27 2018-04-03 北京计算机技术及应用研究所 Debugging system based on the bright embedded OS in day

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495776A (en) * 2011-12-02 2012-06-13 浪潮集团有限公司 Method for debugging basic input output system (BIOS) of storage controller applicable to cloud storage
US20150381827A1 (en) * 2014-06-27 2015-12-31 Canon Kabushiki Kaisha Server apparatus storing print data, printing apparatus, and printing system for checking processing status on a print data list
CN105468486A (en) * 2015-11-20 2016-04-06 浪潮电子信息产业股份有限公司 Method and device for testing serial ports of servers
CN106254093A (en) * 2016-07-18 2016-12-21 深圳创维数字技术有限公司 A kind of automatic test restorative procedure and system thereof
CN107870855A (en) * 2016-09-27 2018-04-03 北京计算机技术及应用研究所 Debugging system based on the bright embedded OS in day
CN107229591A (en) * 2017-06-22 2017-10-03 湖南省力宇燃气动力有限公司 Multi-serial communication method and device
CN107818032A (en) * 2017-10-24 2018-03-20 郑州云海信息技术有限公司 A kind of mainboard, information Method of printing, system, device and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083394A (en) * 2019-04-04 2019-08-02 龙芯中科技术有限公司 Serial port drive method, apparatus and storage medium
CN110083394B (en) * 2019-04-04 2022-04-22 龙芯中科技术股份有限公司 Serial port driving method, device and storage medium
CN112328437A (en) * 2019-11-08 2021-02-05 珠海奔图电子有限公司 Control method and device for serial port debugging, image forming device and chip
CN111142954A (en) * 2019-12-30 2020-05-12 Oppo(重庆)智能科技有限公司 Startup control method and device and computer readable storage medium
CN111142954B (en) * 2019-12-30 2023-06-23 Oppo(重庆)智能科技有限公司 Startup control method and device and computer readable storage medium
CN114461462A (en) * 2021-12-30 2022-05-10 苏州浪潮智能科技有限公司 BIOS debugging information output method, device, equipment and storage medium
CN114461462B (en) * 2021-12-30 2023-11-03 苏州浪潮智能科技有限公司 BIOS debugging information output method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109358827B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN109358827A (en) Method, system, equipment and the storage medium of serially printing are applied in control
US8171406B1 (en) Automating user interface navigation
CN106598835B (en) Application testing method, device and system
US20170185461A1 (en) Fast switching method, device and terminal of dual system
CN108170494B (en) Application program starting method and starting system for intelligent terminal
CN110427735A (en) A kind of method of calibration, device, server and storage medium
CN108874441B (en) Board card configuration method, device, server and storage medium
CN109582331A (en) Upgrade method, the device and system of vehicle-carrying communication module
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN108132796A (en) The upgrade method and device of a kind of combination instrument
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
JP5921292B2 (en) Information processing apparatus, control method, and program
CN107818026A (en) A kind of method and apparatus of cache partitions reconstruct
CN106201787A (en) Terminal control method and device
CN109522174B (en) Method, device, terminal and storage medium for controlling adb enabling
US7005846B2 (en) System and method for application control in measurement devices
CN115221092A (en) Method, device and equipment for determining distributable bus of PCI-E card and storage medium
CN110716753B (en) Cloud host initialization method and device, storage medium and electronic equipment
CN109977669B (en) Virus identification method and device and computer equipment
CN110519650A (en) A kind of OSD language upgrade method, apparatus, electronic equipment and storage medium
CN110968519A (en) Game testing method, device, server and storage medium
CN111124423A (en) Multi-platform-based compiling detection method, device, server and medium
CN112445670A (en) eMMC test method and device
CN111367537B (en) Installation method and device of device driver, computer device and storage medium
CN110928729B (en) Control method and device of application flutter function, terminal device and storage medium

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
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: 20211116