WO2017107698A1 - 一种打印控制系统和方法 - Google Patents

一种打印控制系统和方法 Download PDF

Info

Publication number
WO2017107698A1
WO2017107698A1 PCT/CN2016/105461 CN2016105461W WO2017107698A1 WO 2017107698 A1 WO2017107698 A1 WO 2017107698A1 CN 2016105461 W CN2016105461 W CN 2016105461W WO 2017107698 A1 WO2017107698 A1 WO 2017107698A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
audio
video
information
unit
Prior art date
Application number
PCT/CN2016/105461
Other languages
English (en)
French (fr)
Inventor
佘少华
万立
Original Assignee
珠海赛纳打印科技股份有限公司
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 珠海赛纳打印科技股份有限公司 filed Critical 珠海赛纳打印科技股份有限公司
Publication of WO2017107698A1 publication Critical patent/WO2017107698A1/zh

Links

Images

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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • 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
    • 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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • 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/1244Job translation or job parsing, e.g. page banding
    • G06F3/1247Job translation or job parsing, e.g. page banding by conversion to printer ready format

Definitions

  • the present invention relates to the field of printing and imaging technology, and in particular to a printing control system and method for identifying and printing audio data and video data.
  • an image forming apparatus such as a printer and a multifunction machine having a printing function has been widely used in daily life.
  • an image forming apparatus such as a printer and a multifunction machine having a printing function
  • traditional imaging devices have gradually shown their functional limitations. For example, conventional imaging devices can only print traditional information carriers such as documents and photos, but cannot print multimedia information carriers such as audio and video.
  • Audio or video is one of the most important forms of information carrier on the Internet, and is widely used in current social life. For example, a user plays an MP3 song played by an electronic device such as a smart phone, and a user browses a Flash video on the network using a computer, and then a movie downloaded from a network by a user using a computer.
  • One of the objects of the present invention is to solve the technical drawback that the existing printing system cannot print audio data or video data.
  • a data receiving unit configured to receive data information
  • a data format determining unit configured to determine audio data and/or video data in the data information
  • the data content identifying unit when the data format determining unit determines that the data information is audio data, the data content identifying unit is configured to identify the audio data, and convert the audio data into text data;
  • a format conversion unit configured to convert the text data into printable data that the imaging device can recognize and print
  • a print output unit for recording the printable data on a print medium.
  • the data format determining unit acquires a data header portion in the data information, parses an audio format key value in the data header portion, and uses the audio format key value and a system pre-stored audio format key value. The list is compared to determine audio data in the data information.
  • the print control system further includes an audio data extracting unit, and when the data format determining unit determines that the data information is video data, the audio data extracting unit is configured to extract from the video data Audio data; and,
  • the data content identifying unit is configured to identify audio data extracted from the video data and convert the audio data into text data.
  • the data format determining unit acquires a data header in the data information, parses a video format key value in the data header, and performs the video format key value with a pre-stored video format key value list of the system. Comparing to determine video data in the data information;
  • the audio data extracting unit parses the data body in the video data, and extracts the audio data described in the data body.
  • the print control system further includes:
  • a text data processing unit for identifying an error in the text data and correcting the error content.
  • the print control system further includes:
  • a text data translation unit for translating text data generated by the data content recognition unit into text data of another language.
  • the print control system further includes:
  • the formatting instruction determining unit is configured to determine a formatting instruction from the text data according to the preset formatting instruction list, so that the imaging device executes the formatting instruction.
  • Embodiments of the present invention also provide a print control method, including the following steps:
  • the data information is video data
  • extracting audio data from the video data identifying the extracted audio data, and converting the audio data into text data
  • the printable data is recorded on a print medium.
  • the step of determining the audio data and/or the video data in the data information comprises:
  • the print control method further includes the steps of:
  • the print control method further includes the steps of:
  • the text data generated by the data content recognition unit is translated into text data of another language.
  • the print control method further includes the steps of:
  • a formatting instruction is determined from the text data according to a preset formatted instruction list to cause the imaging device to execute the formatting instruction.
  • the print control system and method of the embodiment of the present invention judges the audio data format one by one, can identify and process the existing audio data format, and convert the recognized audio data into text data and print output.
  • the print control system and method of the embodiment of the present invention can also judge the video data format one by one, can identify and process the existing video data format, separate the audio data in the video data, and convert the separated audio data into text data. Printout.
  • the print control system and method of the embodiment of the present invention converts text data into text data of another language after converting the audio data into text data, so that information exchange between different languages becomes easy;
  • One step the error recognition and correction of the converted text data can be corrected in time when the audio data recognition error occurs, which brings great convenience to the user; further, whether the text data is a formatting instruction is judged as The operation corresponding to the formatting instruction is performed, so that it is possible to control the imaging device to perform the corresponding operation through the audio data, bringing a good experience to the user.
  • FIG. 1a is a schematic structural diagram of a print control system according to Embodiment 1 of the present invention.
  • FIG. 1b is another schematic structural diagram of a print control system according to Embodiment 1 of the present invention.
  • FIG. 1c is a schematic structural diagram of still another printing control system according to Embodiment 1 of the present invention.
  • FIG. 2 is a flow chart showing the steps of a print control method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic structural diagram of a print control system according to Embodiment 2 of the present invention.
  • FIG. 4 is a flow chart showing the steps of a print control method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a print control system according to Embodiment 3 of the present invention.
  • FIG. 6 is a flow chart showing the steps of a print control method according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic diagram of a data structure of an FLV file
  • FIG. 8 is a schematic diagram of a data structure of metadata.
  • Embodiments of the present invention provide a print control system and a control method capable of converting audio data received by an imaging device or audio data carried in a video received by an imaging device into text data and printing out. Further, the text data obtained by the audio data conversion can be translated, corrected, and the like. Special treatment, to provide users with a better experience.
  • the print control system provided in this embodiment is mainly used for identifying audio data in data information and performing print output.
  • FIG. 1a is a schematic structural diagram of a print control system of the embodiment.
  • the system mainly includes a data receiving unit 10, a data format determining unit 11, a data content identifying unit 12, a format converting unit 13, and a print output unit 14.
  • the data receiving unit 10 is configured to receive data information, such as receiving data information from a mobile terminal, an operating terminal, a mobile storage device, from the imaging device itself, or receiving data information from other reasonable means.
  • the data format determining unit 11 is configured to determine the audio data in the data information to print out the audio data in a subsequent operation.
  • the data format determining unit 11 obtains the data header portion in the data information, parses the audio format key value in the data header portion, and compares the audio format key value with the system pre-stored audio format key value list to determine the data. Audio data in the message. Detailed determination steps will be explained below.
  • the data content identifying unit 12 is for identifying the audio data and converting the audio data into text data.
  • the format conversion unit 13 is for converting text data into printable data that the image forming apparatus can recognize and print.
  • the print output unit 14 is for recording format-transformable printable data on a print medium.
  • the data receiving unit 10, the data format determining unit 11, the format converting unit 13, and the print output unit 14 are all disposed on the image forming apparatus, and the data content recognizing unit 12 is disposed in the audio for data communication with the image forming apparatus. Processing on the server.
  • a USB interface is provided on the imaging device for connecting a mobile storage device such as a USB flash drive or a mobile hard disk.
  • a mobile storage device such as a USB flash drive or a mobile hard disk.
  • the user operates a webpage page preset in the imaging device, or the user operates an operation panel installed on the imaging device to download data information in the mobile storage device to the imaging device.
  • the data receiving unit 10 receives these data information downloaded from the mobile storage device.
  • the user inputs data information to the imaging device using the data information entry device on the imaging device.
  • the data receiving unit 10 receives the data information entered by the user.
  • the data information input device may be a microphone, a recorder, a camera, or the like connected to the imaging device.
  • the user can also utilize an application set on the operating terminal (including But not limited to the print driver) sends data information to the imaging device.
  • the data receiving unit 10 receives the data information transmitted by the user.
  • the user can also directly transmit data information to the imaging device using the app application software pre-installed on the mobile terminal.
  • the data information is transmitted to the imaging device via a wireless network such as WiFi, for example, using an app for performing a mobile print job on the mobile terminal.
  • the data receiving unit 10 receives the data information transmitted by the user.
  • the user may also use the instant messaging software on the mobile terminal to send data information to the imaging device.
  • the user sends the data information by using the instant messaging software installed on the mobile terminal, through the background server of the instant messaging software.
  • the data information is forwarded to the imaging device.
  • instant messaging software needs to be installed on both the mobile terminal and the imaging device, and the user pre-registered account is logged into the mobile terminal and the instant messaging software of the imaging device.
  • the instant messaging software includes but is not limited to Tencent's WeChat, QQ, Microsoft.
  • One method is to have a WeChat account built in when the imaging device is shipped, or to provide an interface for the user to configure the WeChat account of the imaging device.
  • this login method is that you need to install the WeChat client inside the imaging device.
  • the user is required to input the corresponding "micro-signal" and "WeChat login password", which can be done through the webpage page embedded in the imaging device and/or the imaging device operation panel.
  • the user can use the mobile terminal WeChat to send data information to the WeChat of the imaging device.
  • a WEB browser is built in the imaging device, and the user launches the web version of the WeChat client through the user interface of the WEB browser, and then the web version of the WeChat client will give the QR code required for the login (the QR code can be displayed in the On the user interface, you can also print it directly).
  • the QR code can be displayed in the On the user interface, you can also print it directly.
  • the user confirms, and the imaging device end can log in to the web version of WeChat. Then, the user can send data information to the WeChat of the imaging device through the mobile terminal WeChat, or send the data information to the WeChat of the imaging device by sharing (a well-known function in the WeChat client).
  • the user transmits data information to the imaging device via a communication application formed by a background server (which may be one or more) using an app on the mobile terminal.
  • a background server which may be one or more
  • the user The WeChat app on the mobile terminal is used to send data information to the imaging device via the WeChat public number platform formed by the WeChat server and the imaging device manufacturer server.
  • the user needs to pay attention to the WeChat public number provided by the imaging device manufacturer in advance.
  • the user transmits the data information to the imaging device via the communication platform constituted by the cloud print server using the cloud print app on the mobile terminal (the application that performs the remote print job through the cloud print server).
  • the app on the above mobile terminal includes but is not limited to a WeChat app, a cloud print app, and the like.
  • the following is an example of a process in which a user sends data information to an imaging device through a WeChat public number platform.
  • the user needs to pay attention to the imaging device manufacturer public number on the WeChat client of the mobile terminal.
  • the user can use the mobile terminal to scan the QR code provided by the imaging device manufacturer (the QR code can be provided on the imaging device, in the user manual, or in the brochure, or in other reasonable ways); or "Add on the WeChat client"
  • the friend interface directly searches for the public name of the imaging device manufacturer; or pays attention to the imaging device manufacturer public number through the publicity card of the imaging device manufacturer shared by others.
  • the attention to the WeChat public account is a well-known operation, and therefore will not be described in detail herein, and the manner in which the public number is concerned in the embodiment of the present invention is not limited to the above.
  • the user After paying attention to the public number of the imaging device manufacturer, the user needs to bind the imaging device to his own WeChat account, and the binding refers to establishing a correspondence between the WeChat account and the imaging device.
  • the two-dimensional code provided by the manufacturer on the imaging device may contain specific information such as the imaging device code (the imaging device code is a unique identifier different from other devices) when the user scans the imaging device.
  • the specific information such as the encoding of the imaging device can be associated with the user's WeChat account at the same time, that is, the binding of the imaging device is realized; if the user scans the QR code provided by the manufacturer to pay attention to the public number Or, by other means to pay attention to the public number, the user needs to manually input the imaging device code by the menu command in the imaging device manufacturer WeChat public number interface to bind the imaging device. After binding the imaging device, the user can view the list of bound imaging devices and their status information (including but not limited to device online/offline, standby/busy, normal/failure, etc.).
  • one WeChat account can be bound to multiple imaging devices, and one imaging device can also establish binding relationship with multiple WeChat accounts.
  • the user can send data information to the imaging device through the WeChat public number platform.
  • the user selects the file stored on the mobile terminal and sends it to the WeChat public number server; before or after the above file is sent, the user needs to select the imaging device to be used, that is, the target imaging device; the WeChat public number server
  • the received data information is transmitted to the vendor server; the vendor server transmits the received data information to the target imaging device via a communication link with the imaging device.
  • the above example is a different implementation of the data receiving unit 10 receiving data information.
  • the data format determining unit 11 and the format converting unit 13 may also be disposed on a mobile terminal or an operation terminal that communicates with the imaging device, or may be disposed on the audio processing server to provide a more flexible implementation.
  • the data format determining unit 11, the data content identifying unit 12, and the format converting unit 13 are all disposed on the audio processing server.
  • the data receiving unit 10 and the print output unit 14 are integrally provided in the image forming apparatus.
  • the print control system can retain the basic structure of the existing imaging device, and the function of the audio processing server can realize the identification of the audio data, which can reduce the manufacturing cost of the control system.
  • the data format determining unit 11 is provided on the mobile terminal. Those skilled in the art will readily understand that the data format determining unit 11 can also be disposed on the operating terminal. This setting is mainly applicable to the case where the data information received by the data receiving unit 10 comes from the mobile terminal or the operation terminal.
  • the data format determining unit 11 first determines that the data information is audio data, video data, or other format, and then transmits the data information to the data receiving unit 10 provided on the imaging device.
  • FIGS. 1a to 1c are only some examples of the structure of the print control system. Other similar configurations can be made by those skilled in the art.
  • the format converting unit 13 may also be disposed in the mobile terminal or the operating terminal.
  • the audio processing server may be a web server located on the network or a server built in the imaging device.
  • the devices such as the mobile terminal, the operation terminal, and the imaging device in the embodiments of the present invention are all connected to the Internet, and can communicate with each other in data, and can perform data communication with an audio processing server located on the network.
  • step S201 the imaging device receives the data information through the data receiving unit 10.
  • the data information may be received by using different implementation manners as described above, and details are not described herein again.
  • the data format determining unit 11 determines the audio data in the data information. Specifically, the data format determining unit 11 acquires the data header portion in the data information, parses the audio format key value in the data header portion, and compares the audio format key value with the system pre-stored audio format key value list. It is relatively judged whether the data information includes audio data.
  • the pre-stored audio format key value list includes, but is not limited to, audio format key values of format data information such as PCM, WAVE, AIFF, MP3, ACC, AU, AMR, and the like.
  • step S204 is performed to further perform subsequent processing of data conversion and print output. If it is determined that the data information does not include audio data, step S203 is performed.
  • the following is an example of the judgment process of the audio data in the MP3 format.
  • Audio data files in MP3 format include AudioFormat key values, indicating which general audio format the current audio data belongs to.
  • the data format determining unit After receiving the data information, the data format determining unit parses the data information to obtain the AudioFormat key value therein.
  • AudioFormat “MP3”, it determines that the data information is MP3 format data, that is, audio data.
  • the data format determining unit 11 judges the supported audio formats (including but not limited to the above-described PCM, WAVE, AIFF, MP3, ACC, AU, AMR, etc.) one by one. After all the supported audio formats have been judged and the format type of the current data information is still not recognized, it is judged that the data information is not audio data, and step S203 is performed.
  • supported audio formats including but not limited to the above-described PCM, WAVE, AIFF, MP3, ACC, AU, AMR, etc.
  • step S203 the print control system transmits a prompt message to the user to prompt the user that the print operation cannot be continued, and then returns to step S201.
  • the prompt information is displayed on a webpage page of the imaging device, an imaging device operation panel, or on an application (including but not limited to a driver) interface of the operation terminal, or at an app application interface of the mobile terminal.
  • the content of the prompt information is, for example, "data information format error” or "no printable content”. It is easy to understand that the content of the presentation information and the display position of the presentation information in the present embodiment are not limited thereto.
  • the data information can also be discarded in step S203, and no further processing is performed on the data information.
  • the user can be prompted or not prompted.
  • step S204 the imaging device transmits the audio data to the audio processing server, and the data content identification unit 12 on the audio processing server parses the received audio data and compares it with the data in the database to identify the audio data, and passes through a The series of calculations converts audio data into text data.
  • the above audio processing server may be a web server located on the network or a server built in the imaging device.
  • step S205 after the data content identification unit 12 on the audio processing server converts the audio data into text data, the text data is transmitted to the format conversion unit of the server side (or the imaging device side). 13.
  • the format converting unit 13 converts the text data into printable data that the image forming apparatus can recognize and print.
  • the format conversion unit 13 may be disposed in the mobile terminal or the operation terminal.
  • step S206 the print output unit 14 of the image forming apparatus prints the formatted text data on a recording medium including, but not limited to, paper, film, or the like.
  • the print control system since the audio data formats supported by the print control system are judged one by one, the print control system can recognize and process almost all existing audio data formats, and convert the recognized audio data into text. Data and printouts.
  • the print control system provided in this embodiment is for identifying video data in data information, and separating audio data from the video data for print output.
  • FIG. 3 is a schematic structural diagram of a print control system provided by this embodiment.
  • the data receiving unit 30, the data content identifying unit 32, the format converting unit 33, and the print output unit 34 are identical in function to the corresponding units in the first embodiment, and are not described again.
  • the data format determining unit 31 in this embodiment is further configured to determine video data in the data information.
  • the print control system of Fig. 3 further includes an audio data extracting unit 39 for extracting audio data from the video data.
  • the data format determining unit 31 acquires a data header in the data information, parses a video format key value in the data header, and compares the video format key value with a pre-stored video format key value list to determine the data information.
  • the audio data extracting unit 39 analyzes the data body in the video data, and extracts the audio data described in the data body. Specifically, the audio data described in the data volume is sequentially extracted, and the extracted audio data is combined into an audio data file. The extraction process of the audio data will be described in detail below.
  • the audio data extracting unit 39 is disposed on the audio processing server, and is not limited thereto, and the audio data extracting unit 39 may be disposed on the imaging device. Further, when the data information received by the data receiving unit 30 is from a mobile terminal or an operation terminal, the audio data extracting unit 39 may also be disposed in the mobile terminal or the operating terminal for separating the audio from the video data to be transmitted to the imaging device. data.
  • FIG. 4 is a flow chart showing the steps of the print control method provided in this embodiment. The method mainly includes the following steps.
  • step S401 the imaging device receives the data information through the data receiving unit 30.
  • the data format determining unit 31 determines the video data in the data information. Specifically, the data format determining unit 31 acquires a data header in the data information, parses a video format key value in the data header, and compares the video format key value with a pre-stored video format key value list to determine the data information. Video data in .
  • the pre-stored video format key values include, but are not limited to, video format key values of format data information such as FLV, DVDRip, RMVB, MKV, AVI, MPEG, RM, MP4, and the like.
  • step S404 is performed to further perform subsequent processing of data conversion and print output. If it is determined that the data information does not include video data, step S403 is performed.
  • step S403 the print control system transmits a prompt message to the user to prompt the user that the print operation cannot be continued, and then returns to step S401.
  • the data information can also be discarded in step S403, and no further processing is performed on the data information.
  • the user can be prompted or not prompted.
  • step S404 the audio data extracting unit 39 parses the data body in the video data, sequentially extracts the audio data recorded in each metadata of the data body, and combines the extracted audio data into an audio data file, and transmits the audio data file to Data content identification unit 32.
  • step S405 the data content identifying unit 32 converts the received audio data into text data.
  • step S406 the format converting unit 33 converts the text data into printable data that the image forming apparatus can recognize and print.
  • step S407 the print output unit 34 of the image forming apparatus prints the formatted text data on the recording medium for output.
  • steps S401, S403, S405 to S407 are the same as the related steps in the first embodiment, and are not described again.
  • step S402 and step S404 are exemplified below by processing the FLV format video data.
  • the FLV (Flash Video) format is adopted by many new generation video sharing websites and is currently the fastest growing and most extensive video data format.
  • the FLV file is a binary file consisting of a data header (FLV Header) and a data body (FLV Body). Composition, as shown in Figure 7.
  • the data header (FLV Header) includes a file type identifier (Signature), a version (Version), an audio flag (TypeFlagsAudio, indicating whether audio data is included), a video flag (TypeFlagsVideo indicating whether video data is included), and a data header length (DataOffset, Represents the length of the entire data header).
  • the FLV Body consists of multiple metadata (Tag).
  • step S402 after parsing the data information, the data format determining unit 31 acquires the Signature value in the data information data header, and verifies whether the Signature value is "FLV".
  • the data format judging unit judges the supported video formats (including but not limited to the above-mentioned FLV, DVDRip, RMVB, MKV, AVI, MPEG, RM, MP4, etc.) one by one. When all supported video formats have been judged and the format type of the current data information is still not recognized, the judgment data information does not include the video data.
  • the supported video formats including but not limited to the above-mentioned FLV, DVDRip, RMVB, MKV, AVI, MPEG, RM, MP4, etc.
  • step S404 the audio data extracting unit 39 separates and extracts the audio and video data in the video file, and obtains the audio data therein.
  • the FLV file's data body (FLV Body) consists of multiple metadata (Tag).
  • Each metadata (Tag) contains a variety of parameter information, as shown in Figure 8.
  • the plurality of parameter information includes a data type (TagType, which represents a data type described in the current Tag), an audio data header (AudioTagHeader), and data (Data, which has data corresponding to the TagType).
  • the print control system can recognize and process almost all existing video data formats, and separate the audio in the video data. Data, and the audio data is converted to text data and printed out.
  • the print control system and method provided by the embodiment can perform error recognition and correction on the text data after converting the audio data into text data, and can also translate the user's audio data into different languages, and the user can also utilize the audio data. Specific content to control the imaging device for corresponding operations.
  • FIG. 5 is a schematic structural diagram of a print control system according to an embodiment of the present invention.
  • the data receiving unit 50, the data content identifying unit 52, the audio data extracting unit 59, the format converting unit 53, and the print output unit 54 are identical in function to the corresponding units in the second embodiment, and are not described again.
  • the data format determining unit 51 in this embodiment is the same as the setting in the first embodiment, except that the data format determining unit 51 in this embodiment is configured to determine the audio data in the data information, and is further used for The video data in the data information is determined.
  • the method for determining the audio data in the data information is the same as that in the first embodiment, and the method for determining the video data in the data information is the same as that in the second embodiment, and details are not described herein again.
  • the text data translation unit 56 is provided on the audio processing server for translating the text data converted by the data content recognition unit 52 into text data of another language.
  • English text data converted and recognized by English audio data is translated into Chinese text data.
  • the text data translation unit 56 compares the text data converted by the data content identification unit 52 with the data in the database, and converts the text data into text data of another language through a series of calculations. Further, when the data information received by the data receiving unit 50 is from a mobile terminal or an operation terminal, the text data translation unit 56 may also be disposed in the mobile terminal or the operation terminal.
  • the text data processing unit 57 is provided on the audio processing server for identifying an error in the translated text data and correcting the erroneous content. Without being limited thereto, the text data processing unit 57 may also be disposed in the image forming apparatus. Further, when the data information received by the data receiving unit 50 is from a mobile terminal or an operation terminal, the text data processing unit 57 may also be disposed in the mobile terminal or the operation terminal.
  • the text data processing unit 57 includes a set on the audio processing server.
  • An automatic correction subunit (not shown in the drawing) and a manual correction subunit (not shown) provided in the imaging device, the mobile terminal or the operation terminal for simultaneously translating text data to the text data translation unit 56 The recognition error is automatically corrected and the user's manual correction is accepted.
  • the formatting instruction determining unit 58 is disposed in the image forming apparatus for determining whether the received text data is a formatting instruction according to the preset formatting instruction list, and if so, the image forming apparatus may execute the formatting instruction determining unit 58 to determine Format the instructions.
  • the formatting instruction is a command for performing specific operation control on the image forming apparatus, for example, “setting paper” means setting the default paper type, paper size, and the like of the image forming apparatus, and “ink saving printing” means performing printing according to the ink saving mode. task. In this way, the imaging device can be controlled to perform corresponding operations through specific content in the audio data, which brings a good experience to the user.
  • the formatting instruction determining unit 58 may also be disposed in the mobile terminal or the operation terminal.
  • FIG. 6 is a flow chart of steps of a print control method provided by this embodiment. The method mainly includes the following steps.
  • step S601 the imaging device receives the data information through the data receiving unit 50.
  • step S602 the data format determining unit 51 determines whether audio data is included in the data information. If so, step S606 is executed, and the data content recognizing unit 52 converts the audio data into text data. If no, step S603 is executed, and the data format determining unit 51 determines whether video data is included in the data information.
  • step S604 If it is determined in step S603 that the data information does not include the video data, step S604 is performed. In step S604, the print control system sends a prompt message to the user to prompt the user that the print operation cannot be continued, and then returns to step S601. Similar to the second embodiment, the data information can also be discarded in step S604.
  • step S605 is performed to extract audio data in the video data. Then in step S606, the data content recognizing unit 52 converts the audio data into text data.
  • step S607 the text data translation unit 56 translates the text data generated by the data content recognition unit 52 into text data of another language. Specifically, the text data translation unit 56 compares the text data generated by the data content identification unit 52 with the data in the database, and converts the text data into text data of another language through a series of calculations.
  • step S608 an error in the text data is recognized, and the error content is corrected.
  • the text data is sent to a text data processing unit 57 located at the imaging device or computer or mobile terminal, on the imaging device webpage page, the imaging device operation panel, the computer
  • the application interface or the mobile terminal app interface displays the text data content, and the user can correct or re-enter the data content in the text data;
  • the audio data recognition unit on the audio processing server converts the audio data into text data.
  • Text data can also be sent to a text data error recognition and correction unit located on the audio processing server, which is automatically corrected by the server through analysis and calculation.
  • the audio data file is transmitted to the data receiving unit 50 of the imaging device via a wireless network (for example, WiFi), and the imaging device transmits the audio data to the server side for data content identification.
  • the unit 52 recognizes and converts the data into text data, and then the server sends the text data back to the imaging device.
  • the imaging device sends the text data back to the mobile terminal, and displays the text data content on the mobile terminal app interface, and the user confirms that the text data content is incorrect.
  • the error content can be selected by long pressing the screen, and the corrected content can be input, and then the corrected content is sent as text data to the imaging device.
  • step S609 it is determined whether the text data is a formatting instruction.
  • the formatting instruction determining unit 58 compares the text data with a preset formatting instruction list to determine whether the text data is a formatting instruction. If it is determined to be a formatting instruction, step S610 is executed, and the processor of the imaging device executes an operation corresponding to the formatting instruction. If it is determined that it is not a format command, step S611 is executed to convert the text data into a printable data that the image forming apparatus can recognize and print.
  • the print data is printed out in step S612.
  • steps S611 and S612 are basically the same as the steps S406 and S407 in the second embodiment, and are not described here.
  • the print control method in this embodiment since the text data is further translated into text data of another language after converting the data information into text data, the data information between the users who communicate using different languages can be printed out. Further, since it is determined whether the text data is a formatting instruction, the specific content in the data information can be converted into a text data control instruction and sent to the imaging device, whereby the imaging device can be controlled to perform the corresponding operation by the specific content in the data information. The operation brings a good experience to the user.

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)
  • Telephonic Communication Services (AREA)
  • Studio Devices (AREA)

Abstract

一种打印控制系统和方法。该系统包括数据接收单元(10),用于接收数据信息;数据格式确定单元(11),用于确定出所述数据信息中的音频数据和/或视频数据;数据内容识别单元(12),当所述数据格式确定单元(12)确定所述数据信息是音频数据时,所述数据内容识别单元(12)用于识别所述音频数据,并将所述音频数据转换为文本数据;格式转换单元(13),用于将所述文本数据转换为成像设备能够识别并进行打印的可打印数据;打印输出单元(14),用于将所述可打印数据记录在打印介质上。打印控制系统和方法能够将成像设备接收到的音频数据,或者成像设备接收到的视频中携带的音频数据转换为文本数据并打印输出。

Description

一种打印控制系统和方法
相关申请的交叉引用
本申请要求享有2015年12月25日提交的名称为“一种打印控制系统和方法”的中国专利申请CN201511003776.X的优先权,该申请的全部内容通过引用并入本文中。
技术领域
本发明涉及打印及成像技术领域,具体地说,涉及一种对音频数据和视频数据进行识别并打印输出的打印控制系统和方法。
背景技术
作为一种传统的电子设备,打印机、具有打印功能的多功能机等图像形成设备(以下简称成像设备)在日常生活中已经得到了广泛的应用。然而,随着现今社会信息发展的多样化,传统的成像设备却逐渐显示出其功能上的局限性。例如,传统的成像设备只能打印输出文档、照片等传统信息载体,却不能打印输出诸如音频、视频等多媒体信息载体。
音频或视频是目前网络上的一种最主要的信息载体表现形式,广泛应用于当前的社会生活中。例如用户使用智能手机等电子设备播放的MP3歌曲,又如用户使用计算机浏览网络上的Flash视频,再如用户使用计算机从网络上下载的电影。
然而,目前并没有将音频数据或视频数据转换成文本数据,并进一步打印到记录介质上的处理方法。一方面不能直观显示音频或视频中的音频数据;另一方面,也不能对音频或视频中的特定音频内容进行检索。进一步地,更不能对音频或视频中的特定内容进行一些特殊处理。
因此,亟需一种能够改善成像设备功能局限性的打印控制系统和方法。
发明内容
本发明的目的之一在于解决现有的打印系统不能打印音频数据或视频数据的技术缺陷。
本发明的实施例首先提供一种打印控制系统,包括:
数据接收单元,用于接收数据信息;
数据格式确定单元,用于确定出所述数据信息中的音频数据和/或视频数据;
数据内容识别单元,当所述数据格式确定单元确定所述数据信息是音频数据时,所述数据内容识别单元用于识别所述音频数据,并将所述音频数据转换为文本数据;
格式转换单元,用于将所述文本数据转换为成像设备能够识别并进行打印的可打印数据;
打印输出单元,用于将所述可打印数据记录在打印介质上。
在一个实施例中,所述数据格式确定单元获取数据信息中的数据头部分,解析所述数据头部分中的音频格式键值,将所述音频格式键值与系统预存储的音频格式键值列表进行比较来确定所述数据信息中的音频数据。
在一个实施例中,所述打印控制系统进一步包括音频数据提取单元,当所述数据格式确定单元确定所述数据信息是视频数据时,所述音频数据提取单元用于从所述视频数据中提取音频数据;以及,
所述数据内容识别单元用于识别从所述视频数据中提取的音频数据,并将所述音频数据转换为文本数据。
在一个实施例中,所述数据格式确定单元获取数据信息中的数据头,解析所述数据头中的视频格式键值,将所述视频格式键值与系统预存储的视频格式键值列表进行比较来确定所述数据信息中的视频数据;
所述音频数据提取单元解析视频数据中的数据体,提取所述数据体中记载的音频数据。
在一个实施例中,所述打印控制系统还包括:
文本数据处理单元,用于识别所述文本数据中的错误,对错误内容进行更正。
在一个实施例中,所述打印控制系统还包括:
文本数据翻译单元,用于将数据内容识别单元生成的文本数据翻译为另一种语言的文本数据。
在一个实施例中,所述打印控制系统还包括:
格式化指令确定单元,用于根据预设的格式化指令列表从文本数据中确定出格式化指令,以使得成像设备执行格式化指令。
本发明的实施例还提供一种打印控制方法,包括以下步骤:
接收数据信息;
确定出所述数据信息中的音频数据和/或视频数据;
当确定所述数据信息为音频数据时,识别所述音频数据并将音频数据转换为文本数据;
当确定所述数据信息为视频数据时,从所述视频数据中提取音频数据,识别所述提取的音频数据并将音频数据转换为文本数据;
将所述文本数据转换为成像设备能够识别并进行打印的可打印数据;
将所述可打印数据记录在打印介质上。
在一个实施例中,在确定出所述数据信息中的音频数据和/或视频数据的步骤中包括:
获取数据信息中的数据头部分,解析数据头部分中的音频格式键值,将所述音频格式键值与系统预存储的音频格式键值列表进行比较来确定所述数据信息中的音频数据;以及/或者
获取数据信息中的数据头部分,解析数据头部分中的视频格式键值,将所述视频格式键值与系统预存储的视频格式键值列表进行比较来确定所述数据信息中的视频数据。
在一个实施例中,所述打印控制方法还包括步骤:
识别所述文本数据中的错误,对错误内容进行更正。
在一个实施例中,所述打印控制方法还包括步骤:
将数据内容识别单元生成的文本数据翻译为另一种语言的文本数据。
在一个实施例中,所述打印控制方法还包括步骤:
根据预设的格式化指令列表从文本数据中确定出格式化指令,以使得成像设备执行格式化指令。
本发明实施例的打印控制系统和方法对音频数据格式逐一进行判断,能够识别处理现有的音频数据格式,并将识别出来的音频数据转换为文本数据并打印输出。
本发明实施例的打印控制系统和方法还能对视频数据格式逐一进行判断,能够识别处理现有的视频数据格式,分离视频数据当中的音频数据,并将分离出来的音频数据转换为文本数据后打印输出。
本发明实施例的打印控制系统和方法在将音频数据转换为文本数据后,将文本数据翻译为另一语言的文本数据,使得不同语言之间的信息交流变得容易;进 一步地,对转换后的文本数据进行错误识别和更正,在音频数据识别出现错误时能够及时纠正,给用户使用带来很大便利;进一步地,判断文本数据是否为格式化指令,判断为是时执行格式化指令对应的操作,使得通过音频数据来控制成像设备执行对应的操作变得可能,给用户带来良好的体验。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例共同用于解释本发明,并不构成对本发明的限制。在附图中:
图1a为本发明实施例一的打印控制系统的一种结构示意图;
图1b为本发明实施例一的打印控制系统的另一种结构示意图;
图1c为本发明实施例一的打印控制系统的又一种结构示意图;
图2为本发明实施例一的打印控制方法的步骤流程图;
图3为本发明实施例二的打印控制系统的结构示意图;
图4为本发明实施例二的打印控制方法的步骤流程图;
图5为本发明实施例三的打印控制系统的结构示意图;
图6为本发明实施例三的打印控制方法的步骤流程图;
图7为FLV文件的数据结构的示意图;
图8为元数据的数据结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,以下结合附图对本发明作进一步地详细说明。
以下结合说明书附图对本发明的实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不相冲突的情况下,本发明的实施例中的特征可以相互结合。
本发明的实施例提供一种打印控制系统和控制方法,能够将成像设备接收到的音频数据,或者成像设备接收到的视频中携带的音频数据转换为文本数据并打印输出。更进一步地,还能对音频数据转换获得的文本数据进行翻译、纠错等特 殊处理,为用户提供更好的体验度。
实施例一
本实施例提供的打印控制系统主要用于识别数据信息中的音频数据,并进行打印输出。
图1a为本实施例的打印控制系统的一种结构示意图。该系统主要包括数据接收单元10、数据格式确定单元11、数据内容识别单元12、格式转换单元13和打印输出单元14。
数据接收单元10用于接收数据信息,例如从移动终端、操作终端、移动存储装置、从成像设备自身接收数据信息,或者从其它合理途径接收数据信息。
在本实施例中,数据格式确定单元11用于确定出所述数据信息中的音频数据,以在后续操作中将这些音频数据打印输出。优选的,数据格式确定单元11获取数据信息中的数据头部分,解析数据头部分中的音频格式键值,将音频格式键值与系统预存储的音频格式键值列表进行比较来确定所述数据信息中的音频数据。详细的确定步骤将在下文中说明。
数据内容识别单元12用于识别所述音频数据,并将所述音频数据转换为文本数据。格式转换单元13用于将文本数据转换为成像设备能够识别并进行打印的可打印数据。打印输出单元14用于将格式转换后的可打印数据记录在打印介质上。
在图1a的示例中,数据接收单元10、数据格式确定单元11、格式转换单元13和打印输出单元14均设置在成像设备上,而数据内容识别单元12设置在与成像设备进行数据通信的音频处理服务器上。
以下对数据接收单元10接收数据信息的不同实现方式进行说明。
在一个优选的示例中,成像设备上设置有USB接口,用于连接诸如优盘、移动硬盘等移动存储设备。当移动存储设备通过USB接口与成像设备建立数据连接后,用户操作成像设备内预置的webpage页面,或者用户操作成像设备上安装的操作面板将移动存储设备中的数据信息下载到成像设备。数据接收单元10接收这些从移动存储设备下载的数据信息。
在另一个优选的示例中,用户利用成像设备上的数据信息录入设备向成像设备输入数据信息。数据接收单元10接收用户录入的这些数据信息。数据信息录入设备可以是与成像设备连接的麦克风、录音器或者摄像头等。
在另一个优选的示例中,用户还可以利用操作终端上设置的应用程序(包括 但不限于打印驱动程序)向成像设备发送数据信息。数据接收单元10接收用户发送的这些数据信息。
在另一个优选的示例中,用户还可以利用移动终端上预先安装的app应用软件直接向成像设备发送数据信息。例如使用移动终端上用于执行移动打印任务的app通过无线网络(如WiFi)向成像设备发送数据信息。数据接收单元10接收用户发送的这些数据信息。
在另一个优选的示例中,用户还可以利用移动终端上的即时通信软件向成像设备发送数据信息,具体的,用户利用移动终端上安装的即时通信软件发送数据信息,通过即时通信软件的后台服务器向成像设备转发所述数据信息。
这种方式需要在移动终端和成像设备上都安装即时通信软件,并且用户预先注册的账号登录移动终端和成像设备端即时通讯软件,上述即时通讯软件包括但不限于腾讯公司的微信、QQ,微软公司的MSN、Skype,AOL公司的ICQ,淘宝公司的旺旺,网易公司的泡泡,小米公司的米聊,中国移动公司的飞信等。
以下以微信为例说明登录过程。在移动终端上登录微信是众所周知的操作,以下描述在成像设备端登录微信的过程。该过程至少可以通过以下两种方法之一来实现。
一种方法是,在成像设备出厂时,已经内置了一个微信账号,或者提供一个接口让用户可以配置成像设备的微信账号。当然,这种登录方式的前提是都需要在成像设备内部安装微信客户端。登录微信账号时,需要用户输入相应的“微信号”和“微信登录密码”,这可以通过成像设备内嵌的webpage页面和/或成像设备操作面板来完成。完成登录后,用户即可使用移动终端微信向成像设备端微信发送数据信息。
另一种方法是,通过微信网页版接口登录。在成像设备中内置一个WEB浏览器,用户通过WEB浏览器的用户界面来启动网页版微信客户端,之后网页版微信客户端会给出登录所需的二维码(该二维码可以显示在用户界面上,也可以直接打印出来)。用户通过移动终端扫描该二维码后,进行确认,成像设备端即可登录网页版微信。然后,用户可以通过移动终端微信向成像设备端微信发送数据信息,也可以通过分享(微信客户端中众所周知的功能)的方式向成像设备端微信发送数据信息。
在另一个优选的示例中,用户利用移动终端上的app应用程序经由后台服务器(可以为一个或多个)构成的通信平台向成像设备发送数据信息。例如,用户 利用移动终端上的微信app经由微信服务器、成像设备厂商服务器构成的微信公众号平台向成像设备发送数据信息。此时需要用户预先关注成像设备厂商提供的微信公众号。又比如,用户利用移动终端上的云打印app(通过云打印服务器执行远程打印任务的应用程序)经由云打印服务器构成的通信平台向成像设备发送数据信息。这种情况需要用户在移动终端上预先安装相应的app应用程序,并使用预先注册的账号登录app。上述移动终端上的app包括但不限于微信app、云打印app等。
下文以用户通过微信公众号平台向成像设备发送数据信息的过程为例进行说明。
首先,用户需要在移动终端的微信客户端关注成像设备厂商公众号。用户可以使用移动终端通过扫描成像设备厂商提供的二维码(二维码可以提供在成像设备上,用户手册上,或者宣传手册上,或者以其他合理方式提供);或者在微信客户端的“添加朋友”界面直接搜索成像设备厂商的公众号名称;或者通过他人分享的成像设备厂商公众号名片来关注成像设备厂商公众号。关注微信公众号是众所周知的操作,故在此不予详述,并且本发明实施例中关注公众号的途径不限于上述途径。
在关注成像设备厂商公众号后,用户需要将成像设备绑定到自己的微信账号,所述绑定是指在微信账号与成像设备之间建立对应关系。上述关注成像设备厂商公众号步骤中,厂商提供在成像设备上的二维码可以包含成像设备编码等特定信息(成像设备编码是区别于其他设备的唯一标识),当用户通过扫描成像设备上的二维码来关注公众号时,即可同时将成像设备编码等特定信息与用户微信账号建立关联,即实现成像设备的绑定;若用户扫描厂商在其他地方提供的二维码来关注公众号,或通过其他途径来关注公众号,则需要用户在成像设备厂商微信公众号界面通过菜单命令的方式手动输入成像设备编码来绑定成像设备。绑定成像设备后,用户可查看已绑定的成像设备列表及其状态信息(包括但不限于设备在线/离线、待机/忙碌、正常/故障等状态信息)。
需要说明的是,一个微信账号可以绑定多台成像设备,一台成像设备也可以与多个微信账号建立绑定关系。
绑定成像设备后,用户即可通过微信公众号平台向成像设备发送数据信息。用户选择移动终端上存储的文件发送到微信公众号服务器;在上述发送文件之前或之后,用户需要选择欲使用的成像设备,即目标成像设备;微信公众号服务器 将接收到的数据信息发送到厂商服务器;厂商服务器将接收到的数据信息经由与成像设备之间的通信链路发送到目标成像设备。
以上示例为数据接收单元10接收数据信息的不同实现方式。
不限于此,数据格式确定单元11和格式转换单元13还可以设置在与成像设备进行通信的移动终端或者操作终端上,也可以设置在音频处理服务器上,以提供更加灵活的实现方式。
在图1b的示例中,数据格式确定单元11、数据内容识别单元12和格式转换单元13均设置在音频处理服务器上。这样在成像装置内仅集成设置有数据接收单元10和打印输出单元14。打印控制系统可以保留现有成像装置的基本结构,借助音频处理服务器的功能来实现对音频数据的识别,可以降低控制系统的制造成本。
在图1c的示例中,数据格式确定单元11设置在移动终端上。本领域技术人员容易理解,数据格式确定单元11还可以设置在操作终端上。这种设置主要适用于数据接收单元10接收的数据信息来自移动终端或者操作终端的情况。数据格式确定单元11先确定数据信息为音频数据、视频数据或者其他格式,再将数据信息发送至设置在成像设备上的数据接收单元10。
需要说明的是,图1a至图1c仅为打印控制系统结构的一些示例。本领域技术人员可以进行其他类似的配置。例如,当数据接收单元10接收的数据信息来自移动终端或操作时,格式转换单元13还可以设置在移动终端或操作终端中。音频处理服务器可以是位于网络上的网络服务器,也可以是内置于成像设备中的服务器。
本发明实施例中的移动终端、操作终端和成像设备等装置均接入因特网,彼此之间可以互相数据通信,同时可以与位于网络上的音频处理服务器进行数据通信。
以下结合图1a和图2对本实施例提供的打印控制方法的步骤流程进行详细说明。
在步骤S201中,成像设备通过数据接收单元10接收数据信息。具体来说可以采用上文所述的不同实现方式接收数据信息,此处不再赘述。
在步骤S202中,数据格式确定单元11确定出所述数据信息中的音频数据。具体而言,数据格式确定单元11获取数据信息中的数据头部分,解析数据头部分中的音频格式键值,将音频格式键值与系统预存储的音频格式键值列表进行比 较来判断所述数据信息是否包括音频数据。所述预存储的音频格式键值列表包括但不限于PCM、WAVE、AIFF、MP3、ACC、AU、AMR等格式数据信息的音频格式键值。
若判断所述数据信息包括有音频数据,则执行步骤S204进一步进行数据转换和打印输出的后续处理。若判断所述数据信息并不包括音频数据,则执行步骤S203。
以下通过MP3格式音频数据的判断过程来举例说明。
在MP3等格式的音频数据文件中包含有AudioFormat(音频格式)键值,表示当前的音频数据属于哪一种通用的音频格式。
成像设备接收到数据信息后,数据格式判断单元解析该数据信息获取其中的AudioFormat键值,当AudioFormat=“MP3”时,判断该数据信息为MP3格式数据,也即音频数据。
数据格式确定单元11对支持的音频格式(包括但不限于上述PCM、WAVE、AIFF、MP3、ACC、AU、AMR等格式)逐一进行判断。当所有支持的音频格式均已进行判断,而仍无法识别当前数据信息的格式类型后,则判断数据信息不是音频数据,执行步骤S203。
在步骤S203中,打印控制系统向用户发送提示信息,以提示用户打印操作无法继续,然后返回执行步骤S201。例如,在成像设备的webpage页面、成像设备操作面板上,或者在操作终端的应用程序(包括但不限于驱动程序)界面上,或者在移动终端的app应用程序界面等位置显示提示信息。提示信息的内容例如为“数据信息格式错误”或“无可打印内容”。容易理解,本实施例中的提示信息的内容以及提示信息的显示位置不限于此。
此外,在步骤S203中还可以丢弃数据信息,不再对数据信息进行任何处理。同时,可以对用户进行提示,或者不对用户进行提示。
在步骤S204中,成像设备将音频数据发送到音频处理服务器,音频处理服务器上的数据内容识别单元12将接收到的音频数据进行解析并与数据库中的数据进行对比以识别音频数据,并经过一系列的计算将音频数据转换为文本数据。
上述音频处理服务器可以是位于网络上的网络服务器,也可以是成像设备中内置的服务器。
在步骤S205中,音频处理服务器上的数据内容识别单元12将音频数据转换为文本数据后,将文本数据发送到服务器端(或成像设备端)的格式转换单元 13,格式转换单元13将文本数据转换为成像设备能够识别并进行打印的可打印数据。此外,不限于图1a所示的结构,当步骤S201中数据接收单元10接收的数据信息来自于移动终端或操作终端时,格式转换单元13还可以设置于移动终端或操作终端中,此时,音频处理服务器上的数据内容识别单元12将音频数据转换为文本数据后,将文本数据发送到移动终端或操作终端的格式转换单元13进行格式转换。
在步骤S206中,成像设备的打印输出单元14将经格式转换后的文本数据打印在记录介质上以进行输出,所述记录介质包括但不限于纸张、胶片等。
本实施例中的打印控制系统和方法,由于会对打印控制系统支持的音频数据格式逐一进行判断,因此打印控制系统能够识别处理几乎所有的现有音频数据格式,将识别的音频数据转换为文本数据并打印输出。
实施例二
本实施例提供的打印控制系统用于识别数据信息中的视频数据,并从视频数据中分离音频数据进行打印输出。
图3是本实施例提供的打印控制系统的结构示意图。其中,数据接收单元30、数据内容识别单元32、格式转换单元33和打印输出单元34与实施例一中的相应单元功能一致,不再赘述。
与实施例一不同的是,本实施例中的数据格式确定单元31还用于确定出数据信息中的视频数据。图3中的打印控制系统还包括音频数据提取单元39,用于从视频数据中提取音频数据。
具体而言,数据格式确定单元31获取数据信息中的数据头,解析数据头中的视频格式键值,将视频格式键值与系统预存储的视频格式键值列表进行比较来确定所述数据信息中的视频数据。音频数据提取单元39解析视频数据中的数据体,提取数据体中记载的音频数据。具体而言,依次提取数据体记载的音频数据,并将提取到的音频数据合并为音频数据文件。下文将对音频数据的提取过程进行详细说明。
在图3的示例中,音频数据提取单元39设置在音频处理服务器上,不限于此,音频数据提取单元39还可以设置在成像设备上。此外,当数据接收单元30接收的数据信息来自移动终端或操作终端时,音频数据提取单元39还可以设置于移动终端或操作终端中,用于从将发送给成像设备的视频数据中分离出音频数据。
图4是本实施例提供的打印控制方法的步骤流程图。该方法主要包括如下步骤。
在步骤S401中,成像设备通过数据接收单元30接收数据信息。
在步骤S402中,数据格式确定单元31确定出所述数据信息中的视频数据。具体而言,数据格式确定单元31获取数据信息中的数据头,解析数据头中的视频格式键值,将视频格式键值与系统预存储的视频格式键值列表进行比较来确定所述数据信息中的视频数据。所述预存储的视频格式键值包括但不限于FLV、DVDRip、RMVB、MKV、AVI、MPEG、RM、MP4等格式数据信息的视频格式键值。
若判断所述数据信息包括有视频数据,则执行步骤S404进一步进行数据转换和打印输出的后续处理。若判断所述数据信息并不包括视频数据,则执行步骤S403。
在步骤S403中,打印控制系统向用户发送提示信息,以提示用户打印操作无法继续,然后返回执行步骤S401。此外,在步骤S403中还可以丢弃数据信息,不再对数据信息进行任何处理。同时,可以对用户进行提示,或者不对用户进行提示。
在步骤S404中,音频数据提取单元39解析视频数据中的数据体,依次提取数据体各个元数据记载的音频数据,并将提取到的音频数据合并为音频数据文件,并将音频数据文件发送到数据内容识别单元32。
在步骤S405中,数据内容识别单元32将接收到的音频数据转换为文本数据。
在步骤S406中,格式转换单元33将文本数据转换为成像设备能够识别并进行打印的可打印数据。
在步骤S407中,成像设备的打印输出单元34将经格式转换后的文本数据打印在记录介质上以进行输出。
在以上步骤中,步骤S401、S403、S405至S407与实施例一中的相关步骤分别相同,不再赘述。
以下通过对FLV格式视频数据的处理来举例说明步骤S402和步骤S404的具体过程。
FLV(Flash Video)格式被众多新一代视频分享网站所采用,也是目前增长最快、最为广泛的视频数据格式。
FLV文件是一种二进制文件,由数据头(FLV Header)和数据体(FLV Body) 组成,如图7所示。数据头(FLV Header)中包括文件类型标识(Signature)、版本(Version)、音频标志(TypeFlagsAudio,表示是否包含音频数据)、视频标志(TypeFlagsVideo,表示是否包含视频数据)、数据头长度(DataOffset,代表整个数据头的长度)。其中,TypeFlagsAudio=0表示不存在音频数据,TypeFlagsAudio=1表示存在音频数据;TypeFlagsVideo=0表示不存在视频数据,TypeFlagsVideo=1表示存在视频数据。数据体(FLV Body)由多个元数据(Tag)组成。
在步骤S402中,数据格式确定单元31解析数据信息后,获取数据信息数据头中的Signature值,校验该Signature值是否为“FLV”。当Signature=FLV时,判断该数据信息为FLV格式数据,也即视频数据。
除此以外,数据格式判断单元对支持的视频格式(包括但不限于上述FLV、DVDRip、RMVB、MKV、AVI、MPEG、RM、MP4等格式)逐一进行判断。当所有支持的视频格式均已进行判断,而仍无法识别当前数据信息的格式类型后,判断数据信息不包含视频数据。
在步骤S404中,音频数据提取单元39对视频文件中的音视频数据进行分离抽取,获取出其中的音频数据。
FLV文件的数据体(FLV Body)由多个元数据(Tag)组成。每个元数据(Tag)里面包含多种参数信息,如图8所示。上述多种参数信息中包括数据类型(TagType,代表当前Tag记载的数据类型)、音频数据头(AudioTagHeader)、数据(Data,记载有与TagType对应的数据)。其中TagType=8表示当前Tag记载的是音频数据,即当前Tag中的Data记载的是音频数据;TagType=9表示当前Tag记载的是视频数据,即当前Tag中的Data记载的是视频数据;TagType=18表示当前Tag记载的是脚本数据,即当前Tag中的Data记载的是脚本数据。
数据信息被解析后,音频数据提取单元39首先判断数据信息中是否存在音频数据,即判断FLV Header中的TypeFlagsAudio值是否为1,当TypeFlagsAudio=1时,继续进行后续处理;当TypeFlagsAudio=0时,步骤S404的处理结束(即获取到的音频数据为空)。
当TypeFlagsAudio=1时,音频数据提取单元39读取解析后的数据信息的第一个Tag,判断读取的Tag是否记载有音频数据,即判断Tag中的TagType值是否为8,当TagType=8时,从Tag中的Data中读取音频数据并存储在缓存中, 当TagType=9或TagType=18时,读取下一个Tag,并依次进行上述处理。
当所有的Tag均已进行上述处理,将存储在缓存中的所有音频数据合并成音频数据文件,即为步骤S404中从视频数据里面分离出的音频数据。
应用本实施例中的打印控制系统和方法,由于会对打印控制系统支持的视频数据格式逐一进行判断,因此打印控制系统能够识别处理几乎所有的现有视频数据格式,分离出视频数据当中的音频数据,并将音频数据转换为文本数据后打印输出。
实施例三
本实施例提供的打印控制系统和方法在将音频数据转换为文本数据后,对文本数据进行错误识别和更正,还可以将用户的音频数据翻译为不同的语言,用户还能利用音频数据中的特定内容来控制成像设备进行对应操作。
图5为本实施例提供的打印控制系统的结构示意图。其中,数据接收单元50、数据内容识别单元52、音频数据提取单元59、格式转换单元53和打印输出单元54与实施例二中的相应单元功能一致,不再赘述。
本实施例中的数据格式确定单元51与实施例一中的设置方式相同,不同之处在于,本实施例中的数据格式确定单元51用于确定出数据信息中的音频数据,并进一步用于确定出所述数据信息中的视频数据。数据格式确定单元51确定出数据信息中的音频数据的方法与实施例一相同,确定出所述数据信息中的视频数据的方法与实施例二相同,不再赘述。
与实施例二不同的是,文本数据翻译单元56设置在音频处理服务器上,用于将数据内容识别单元52转换得到的文本数据翻译为另一种语言的文本数据。例如将英文音频数据识别后转换的英文文本数据翻译为中文文本数据。具体而言,文本数据翻译单元56将数据内容识别单元52转换的文本数据与数据库中的数据进行对比,经过一系列计算将文本数据转换为另一语言的文本数据。此外,当数据接收单元50接收的数据信息来自移动终端或操作终端时,文本数据翻译单元56还可以设置于移动终端或操作终端中。
文本数据处理单元57设置在音频处理服务器上,用于识别翻译完成的文本数据中的错误,并对错误的内容进行更正。不限于此,文本数据处理单元57也可以设置在成像设备中。此外,当数据接收单元50接收的数据信息来自移动终端或操作终端时,文本数据处理单元57还可以设置于移动终端或操作终端中。
在一优选的示例中,文本数据处理单元57包括设置于音频处理服务器上的 自动更正子单元(图中未示出)和设置于成像设备、移动终端或操作终端中的手动更正子单元(图中未示出),用于同时对文本数据翻译单元56翻译的文本数据中的识别错误进行自动更正和接受用户的手动更正。
格式化指令确定单元58设置在成像设备中,用于根据预设的格式化指令列表来判断接收的文本数据是否是格式化指令,若是,则成像设备可以执行格式化指令确定单元58确定出的格式化指令。所述格式化指令是对成像设备进行特定操作控制的命令,例如“设置纸张”表示对成像设备默认的纸张类型、纸张尺寸等进行设置,再如“省墨打印”表示按照省墨模式执行打印任务。这样可通过音频数据中的特定内容控制成像设备执行对应的操作,给用户使用带来良好的体验。
此外,当数据接收单元50接收的数据信息来自移动终端或操作终端时,格式化指令判断单元58还可以设置于移动终端或操作终端中。
图6为本实施例提供的打印控制方法的步骤流程图。该方法主要包括如下步骤。
在步骤S601中,成像设备通过数据接收单元50接收数据信息。
在步骤S602中,数据格式确定单元51判断所述数据信息中是否包括音频数据。若是,则执行步骤S606,数据内容识别单元52将音频数据转换为文本数据。若否,则执行步骤S603,数据格式确定单元51判断所述数据信息中是否包括视频数据。
如果在步骤S603中判断数据信息并不包括视频数据,则执行步骤S604。在步骤S604中,打印控制系统向用户发送提示信息,以提示用户打印操作无法继续,然后返回执行步骤S601。与实施例二类似的,在步骤S604中还可以丢弃数据信息。
如果在步骤S603中判断数据信息包括视频数据,则执行步骤S605,提取视频数据中的音频数据。随后在步骤S606中,数据内容识别单元52将音频数据转换为文本数据。
在步骤S607中,文本数据翻译单元56将数据内容识别单元52生成的文本数据翻译为另一种语言的文本数据。具体而言,文本数据翻译单元56将数据内容识别单元52生成的文本数据与数据库中的数据进行对比,经过一系列计算将文本数据转换为另一语言的文本数据。
在步骤S608中,识别文本数据中的错误,对错误内容进行更正。
音频处理服务器上的音频数据识别单元将音频数据转换为文本数据后,将文本数据发送到位于成像设备或计算机或移动终端的文本数据处理单元57,在成像设备webpage页面、成像设备操作面板、计算机应用程序界面、或移动终端app界面显示文本数据内容,用户可以对文本数据中识别错误的内容进行更正或者重新输入数据信息;音频处理服务器上的音频数据识别单元将音频数据转换为文本数据后,也可以将文本数据发送到位于音频处理服务器上的文本数据错误识别和更正单元,由服务器通过分析和计算来进行自动更正。
以下通过示例对文本数据进行错误识别和更正的过程进行说明,但本发明不限于此。
例如,通过移动终端上的移动打印app选择一音频数据文件后,将音频数据文件经由无线网络(例如WiFi)发送到成像设备的数据接收单元50,成像设备将音频数据发送到服务器端的数据内容识别单元52进行识别并转换为文本数据,然后服务器将文本数据发回到成像设备,成像设备将文本数据发回到移动终端,并在移动终端app界面显示文本数据内容,用户确认文本数据内容有误后,可通过长按屏幕的方式选中错误内容,并输入更正后的内容,然后将更正后的内容以文本数据发送到成像设备。
在步骤S609中,判断文本数据是否为格式化指令。格式化指令确定单元58将文本数据与预设的格式化指令列表进行对比,来判断文本数据是否为格式化指令。若判断为是格式化指令,则执行步骤S610,成像设备的处理器执行格式化指令对应的操作。若判断为不是格式化指令,则执行步骤S611,对文本数据进行格式转换,转换为成像设备能识别并进行打印的可打印数据。
在步骤S612中将打印数据打印输出。
上述步骤S611、S612与实施例二中的步骤S406、S407基本相同,在此不再描述。
应用本实施例中的打印控制方法,由于在将数据信息转换为文本数据之后,进一步将文本数据翻译为另一语言的文本数据,可将使用不同语言进行交流的用户之间的数据信息打印输出;进一步地,由于会判断文本数据是否为格式化指令,可将数据信息中的特定内容转换为文本数据控制指令后发送给成像设备,由此可通过数据信息中的特定内容控制成像设备执行对应的操作,给用户使用带来良好的体验。
虽然本发明所公开的实施方式如上,但所述的内容只是为了便于理解本发明 而采用的实施方式,并非用以限定本发明。任何本发明所属技术领域内的技术人员,在不脱离本发明所公开的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。

Claims (12)

  1. 一种打印控制系统,其特征在于,包括:
    数据接收单元,用于接收数据信息;
    数据格式确定单元,用于确定出所述数据信息中的音频数据和/或视频数据;
    数据内容识别单元,当所述数据格式确定单元确定所述数据信息是音频数据时,所述数据内容识别单元用于识别所述音频数据,并将所述音频数据转换为文本数据;
    格式转换单元,用于将所述文本数据转换为成像设备能够识别并进行打印的可打印数据;
    打印输出单元,用于将所述可打印数据记录在打印介质上。
  2. 如权利要求1所述的打印控制系统,其特征在于,
    所述数据格式确定单元获取数据信息中的数据头部分,解析所述数据头部分中的音频格式键值,将所述音频格式键值与系统预存储的音频格式键值列表进行比较来确定所述数据信息中的音频数据。
  3. 如权利要求1所述的打印控制系统,其特征在于,
    所述打印控制系统进一步包括音频数据提取单元,当所述数据格式确定单元确定所述数据信息是视频数据时,所述音频数据提取单元用于从所述视频数据中提取音频数据;以及,
    所述数据内容识别单元用于识别从所述视频数据中提取的音频数据,并将所述音频数据转换为文本数据。
  4. 如权利要求3所述的打印控制系统,其特征在于,
    所述数据格式确定单元获取数据信息中的数据头,解析所述数据头中的视频格式键值,将所述视频格式键值与系统预存储的视频格式键值列表进行比较来确定所述数据信息中的视频数据;
    所述音频数据提取单元解析视频数据中的数据体,提取所述数据体中记载的音频数据。
  5. 如权利要求1至4中任一项所述的打印控制系统,其特征在于,所述打印控制系统还包括:
    文本数据处理单元,用于识别所述文本数据中的错误,对错误内容进行更正。
  6. 如权利要求1至4中任一项所述的打印控制系统,其特征在于,所述打 印控制系统还包括:
    文本数据翻译单元,用于将数据内容识别单元生成的文本数据翻译为另一种语言的文本数据。
  7. 如权利要求1至4中任一项所述的打印控制系统,其特征在于,所述打印控制系统还包括:
    格式化指令确定单元,用于根据预设的格式化指令列表从文本数据中确定出格式化指令,以使得成像设备执行格式化指令。
  8. 一种打印控制方法,其特征在于,包括以下步骤:
    接收数据信息;
    确定出所述数据信息中的音频数据和/或视频数据;
    当确定所述数据信息为音频数据时,识别所述音频数据并将音频数据转换为文本数据;
    当确定所述数据信息为视频数据时,从所述视频数据中提取音频数据,识别所述提取的音频数据并将音频数据转换为文本数据;
    将所述文本数据转换为成像设备能够识别并进行打印的可打印数据;
    将所述可打印数据记录在打印介质上。
  9. 如权利要求8所述的打印控制方法,其特征在于,在确定出所述数据信息中的音频数据和/或视频数据的步骤中包括:
    获取数据信息中的数据头部分,解析数据头部分中的音频格式键值,将所述音频格式键值与系统预存储的音频格式键值列表进行比较来确定所述数据信息中的音频数据;以及/或者
    获取数据信息中的数据头部分,解析数据头部分中的视频格式键值,将所述视频格式键值与系统预存储的视频格式键值列表进行比较来确定所述数据信息中的视频数据。
  10. 如权利要求8或9所述的打印控制方法,其特征在于,所述打印控制方法还包括步骤:
    识别所述文本数据中的错误,对错误内容进行更正。
  11. 如权利要求8或9所述的打印控制方法,其特征在于,所述打印控制方法还包括步骤:
    将数据内容识别单元生成的文本数据翻译为另一种语言的文本数据。
  12. 如权利要求8或9所述的打印控制方法,其特征在于,所述打印控制方 法还包括步骤:
    根据预设的格式化指令列表从文本数据中确定出格式化指令,以使得成像设备执行格式化指令。
PCT/CN2016/105461 2015-12-25 2016-11-11 一种打印控制系统和方法 WO2017107698A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511003776.X 2015-12-25
CN201511003776.XA CN105653216A (zh) 2015-12-25 2015-12-25 一种打印控制系统和方法

Publications (1)

Publication Number Publication Date
WO2017107698A1 true WO2017107698A1 (zh) 2017-06-29

Family

ID=56477104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/105461 WO2017107698A1 (zh) 2015-12-25 2016-11-11 一种打印控制系统和方法

Country Status (2)

Country Link
CN (1) CN105653216A (zh)
WO (1) WO2017107698A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653216A (zh) * 2015-12-25 2016-06-08 珠海奔图电子有限公司 一种打印控制系统和方法
CN106569754A (zh) * 2016-10-31 2017-04-19 河南嵩云网络科技有限公司 一种基于微信控制的打印机
CN110210455B (zh) * 2019-06-18 2022-03-01 石家庄捷弘科技有限公司 一种打印内容格式化提取方法
CN110489066B (zh) * 2019-07-26 2023-04-07 庄世健 数据打印方法及相关产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102476509A (zh) * 2010-11-24 2012-05-30 研能科技股份有限公司 具有语音识别功能的打印装置及其打印方法
CN104050221A (zh) * 2013-03-15 2014-09-17 国际商业机器公司 用于在虚拟会议中自动记笔记的方法和系统
CN104391924A (zh) * 2014-11-21 2015-03-04 南京讯思雅信息科技有限公司 一种混合音视频检索方法及系统
CN104427294A (zh) * 2013-08-29 2015-03-18 中兴通讯股份有限公司 支持电视会议同声传译的方法及云端服务器
CN105653216A (zh) * 2015-12-25 2016-06-08 珠海奔图电子有限公司 一种打印控制系统和方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7302048B2 (en) * 2004-07-23 2007-11-27 Marvell International Technologies Ltd. Printer with speech transcription of a recorded voice message
CN102663143A (zh) * 2012-05-18 2012-09-12 徐信 一种音视频语音处理与检索的系统和方法
CN105187684B (zh) * 2015-07-29 2018-11-30 珠海奔图电子有限公司 对即时通信信息进行解析的图像形成系统和图像形成方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102476509A (zh) * 2010-11-24 2012-05-30 研能科技股份有限公司 具有语音识别功能的打印装置及其打印方法
CN104050221A (zh) * 2013-03-15 2014-09-17 国际商业机器公司 用于在虚拟会议中自动记笔记的方法和系统
CN104427294A (zh) * 2013-08-29 2015-03-18 中兴通讯股份有限公司 支持电视会议同声传译的方法及云端服务器
CN104391924A (zh) * 2014-11-21 2015-03-04 南京讯思雅信息科技有限公司 一种混合音视频检索方法及系统
CN105653216A (zh) * 2015-12-25 2016-06-08 珠海奔图电子有限公司 一种打印控制系统和方法

Also Published As

Publication number Publication date
CN105653216A (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2017088670A1 (zh) 一种打印控制系统和方法
US10225416B2 (en) Server storing authentication information in association with device information in storage
WO2017107698A1 (zh) 一种打印控制系统和方法
CN102789374B (zh) 多功能图像形成装置
CN103168288B (zh) 打印应用
JP5344560B2 (ja) 画像形成装置、ログ記録方法、及びプログラム
EP2668571B1 (en) Document workflow architecture
CN105474253A (zh) 利用印刷品提供内容传输服务的方法
US20100020353A1 (en) Image forming system and image forming apparatus
US20170093865A1 (en) Server Transmitting Device Information Assigned to Service Identification Information
US20150309996A1 (en) Information processing system, information processing apparatus, and information processing method
US10136005B2 (en) Image processing apparatus and image processing system capable of generating scan data and metadata
CN102591597A (zh) 信息处理装置及其控制方法
US10554666B2 (en) Information processing device, information processing system, information processing method, and non-transitory computer-readable medium
US9774756B2 (en) Control server and image processing apparatus
US20160259760A1 (en) Automated document translation
US11563701B2 (en) Message modification based on message format
EP1857920A2 (en) Printing method and system
US11870744B2 (en) Message modification based on device compatability
CN111625204A (zh) 控制系统、服务器系统和控制方法
US20220129211A1 (en) Converting voice command into text code blocks that support printing services
US20140337413A1 (en) Relaying device, image processing device, and system comprising image processing device, relaying device and service server
CN112804317A (zh) 一种移动终端图片上传的方法及装置
US20190317703A1 (en) Printing system and control method
US8482763B2 (en) Method and apparatus for generating a file using address and information tags

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877509

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877509

Country of ref document: EP

Kind code of ref document: A1