CN103713864B - Book ticket output device and book ticket output method - Google Patents

Book ticket output device and book ticket output method Download PDF

Info

Publication number
CN103713864B
CN103713864B CN201310442800.4A CN201310442800A CN103713864B CN 103713864 B CN103713864 B CN 103713864B CN 201310442800 A CN201310442800 A CN 201310442800A CN 103713864 B CN103713864 B CN 103713864B
Authority
CN
China
Prior art keywords
attribute
book ticket
file
project
conversion
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.)
Active
Application number
CN201310442800.4A
Other languages
Chinese (zh)
Other versions
CN103713864A (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Publication of CN103713864A publication Critical patent/CN103713864A/en
Application granted granted Critical
Publication of CN103713864B publication Critical patent/CN103713864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of book ticket output device and book ticket output method, can cut down being designed and set up for form definition body and change spent cost and time, to realize high efficiency.The present invention is stored with: the item attribute conversion at least defining the form definition body of the attribute of book ticket project and defining the attribute to be converted in the book ticket project of form definition body defines file, and file is defined based on item attribute conversion, the attribute of book ticket project in form definition body is converted, file and input data are defined based on form definition body, item attribute conversion, output control is carried out to the book ticket with the book ticket project for having had converted attribute.

Description

Book ticket output device and book ticket output method
Technical field
The present invention relates to book ticket output devices and book ticket output method.
Background technique
Currently, exploitation has the technologies such as editor of the setting for carrying out transaction processing system and maintenance, book ticket
Such as it has been known that there is following technologies:, can be by utilizing form definition in order to keep table corresponding with multilingual It defines content and replaces template, each display area setting multilingual performance to table, wherein the template is designated as corresponding to Form definition use template (referring to patent document 1).
Furthermore it is known that there is following technology: extracting the attribute information of Classifying Sum row, display is extracted for setting with this The different attribute information of attribute information setting screen, by the attribute information set on setting screen reflection to book ticket data And generate the book ticket data that can be exported (referring to patent document 2).In addition, limited in SVFX-Designer(WingArc share Company manufacture) dynamic attribute function in, it is known to dynamically change project display/it is non-display or according to numerical value dynamic Change the technology of the attribute values such as size or the color of project in ground.
Patent document 1: Japanese Unexamined Patent Publication 2006-331356 bulletin
Patent document 2: Japanese Unexamined Patent Publication 2007-328670 bulletin
Summary of the invention
However, in the prior art, in the desired situation corresponding with multilingual number or wanting to carry out meeting user's When customization, corresponding definition body must be made every time, there are problems that spending cost and time.
The present invention is to complete in view of the above problems, and its purpose is to provide a kind of book ticket output devices and book ticket to export Method can cut down the cost and time for resetting that form definition body is spent, to realize high efficiency.
To achieve the goals above, book ticket output device of the invention, at least has storage unit and control unit, the book ticket Output device is characterized in that: above-mentioned storage unit storage: form definition body at least defines the attribute of book ticket project;And item The conversion of mesh attribute defines file, and the attribute to be converted, above-mentioned control are defined in the above-mentioned book ticket project of above-mentioned form definition body Portion processed includes: attribute converting unit, file is defined based on the conversion of above-mentioned item attribute, to above-mentioned in above-mentioned form definition body The above-mentioned attribute of book ticket project is converted;And book ticket output control unit, it is based on above-mentioned form definition body, above-mentioned project Attribute conversion defines file and input data, to the above-mentioned book ticket that converted above-mentioned attribute by above-mentioned attribute converting unit The book ticket of project carries out output control.
In addition, book ticket output method of the invention, in the book ticket output device at least having storage unit and control unit It executes, wherein above-mentioned storage unit storage: form definition body at least defines the attribute of book ticket project;And item attribute conversion File is defined, the attribute to be converted, above-mentioned book ticket output method are defined in the above-mentioned book ticket project of above-mentioned form definition body It is characterised by comprising the following step executed in above-mentioned control unit: attribute switch process, is turned based on above-mentioned item attribute Definition file is changed, the above-mentioned attribute of the above-mentioned book ticket project in above-mentioned form definition body is converted;And book ticket output control Step processed defines file and input data based on above-mentioned form definition body, the conversion of above-mentioned item attribute, to in above-mentioned category The book ticket for the above-mentioned book ticket project for having had converted above-mentioned attribute in property switch process carries out output control.
According to the present invention, it is stored with: at least defining the form definition body of the attribute of book ticket project and in form definition body Book ticket project in define the attribute to be converted item attribute conversion define file, and based on item attribute conversion definition text Part converts the attribute of the book ticket project in form definition body, defines file based on form definition body, item attribute conversion And input data, output control is carried out to the book ticket with the book ticket project for having had converted attribute.The present invention is in output account as a result, When ticket, due to being converted to the conversion letter by the item attribute of document definition different and independent from form definition body and input data Breath is exported, it is therefore not necessary to which people's manual implementation operation, plays the design that can cut down form definition body or setting change is spent The cost taken and time, to realize efficient effect.More specifically, because being carried out in the system of output book ticket a variety of When language is unfolded or when system maintenance, without making corresponding form definition body every time, therefore, production and amendment can be cut down The working hour of form definition body can more efficiently carry out the design of form definition body.In addition, independent item attribute conversion definition Attribute in file before and after defined conversion, even if not grasping the application method for the tool being modified to form definition body, only File is defined using the conversion of the direct editings item attributes such as text editor, it will be able to repair with using to form definition body The level of positive tool is unrelated, and changes the output of book ticket as a result, to improve operability and operating efficiency.
Detailed description of the invention
Fig. 1 is an exemplary block diagram for indicating the structure of book ticket output device 100.
Fig. 2 is the figure for indicating the output example of the book ticket defined by form definition body.
Fig. 3 is to indicate that item attribute conversion defines an exemplary figure of the structure of file 106b.
Fig. 4 is an exemplary figure for indicating input data.
Fig. 5 be indicate the book ticket output device 100 in present embodiment book ticket conversion output processing one it is exemplary Flow chart.
Fig. 6 has been expressed as being converted to book ticket into the item attribute conversion definition text supporting English and using from support Japanese One exemplary figure of the structure of part 106b.
Fig. 7 is the item attribute of the form definition body for indicating to illustrate based on Fig. 2, the input data that Fig. 4 is illustrated and Fig. 6 illustration Conversion defines an exemplary figure of file generated, support English book ticket output result.
Fig. 8 is to indicate that form definition body and item attribute conversion define an exemplary figure of the corresponding relationship of file.
Fig. 9 is to indicate that item attribute conversion defines file 106b and by attribute converter section 102a generation and is temporarily stored in and deposits The figure of the relationship of book ticket data in storage portion 106.
Figure 10 is to indicate an exemplary stream executed by book ticket output device 100, the building processing of book ticket output system Cheng Tu.
Figure 11 is indicated by an exemplary figure of the attribute information extraction unit 102c setting screen shown.
Figure 12 is before schematically showing editor and the conversion of edited item attribute defines the figure of information.
Figure 13 be contrastively indicate the book ticket defined in basic form definition body and based on the form definition body, Item attribute conversion defines the figure of the book ticket of information and input data output.
Figure 14 is an exemplary flow chart for indicating book ticket output processing.
Figure 15 is schematically shown by the figure of the attribute converter section 102a data flow executed.
Symbol description
100 book ticket output devices
102 control units
102a attribute converter section
102b book ticket output control unit
102c attribute information extraction unit
102d character string Translation Service
102f item attribute editorial office
102g application department
106 storage units
106a form definition body file
The conversion of 106b item attribute defines file
106c data file
104 Communications Control Interface portions
108 input and output control interface portions
112 input units
114 output sections
300 networks
200 external equipments
Specific embodiment
In the following, being carried out based on embodiment of the attached drawing to book ticket output device according to the present invention and book ticket output method It is described in detail.In addition, the present invention is not limited by the embodiment.
(structure of book ticket output device)
Firstly, an example to the structure of book ticket output device 100 involved in present embodiment is illustrated, so Afterwards, an example of book ticket output device 100 is illustrated.Here, Fig. 1 is the structure for indicating book ticket output device 100 One exemplary block diagram only conceptually shows part related to the present invention in the structure.
As shown in Figure 1, the book ticket output device 100 of present embodiment, in summary includes that the entire book ticket of centralized control is defeated Out the control units such as CPU of device 100 102, connect with input unit 112 and output section 114 input and output control interface portion 108, And the storage unit 106 of the various data of storage and table etc., above-mentioned each portion by arbitrary communication path in a manner of it can communicate Connection.
In Fig. 1, (form definition body file 106a, item attribute turn for the various data and table that are stored in storage unit 106 Change and define file 106b and data file 106c) be fixed magnetic-disk drives etc. storage unit, storage is each for various processing Kind program, table, file, database etc..
Form definition body file 106a in each component of above-mentioned storage unit 106 is to store at least to define book ticket project The form definition body storage unit of the form definition body of attribute.In addition, form definition body file 106a also can store one or Multiple form definition bodies.Here, Fig. 2 is the figure for indicating the output example of the book ticket defined by form definition body.As shown in Fig. 2, In form definition body, although defining book ticket project (book ticket title, Business Name, name of product, unit price, quantity etc.), It is that input data is input in data items not yet.As an example, form definition body can also be by definition body information (paper Size separates editor's symbol etc.), (project name, item length, fractional part digit, that whether there is or not decimal points is defeated for Project Information Table Out, the edit format etc. of fractional part), font name table (font name etc.), expanded editing form table (date editing character string Deng), fixed character string list (character string etc.), tab character string list (label etc.), item attribute information table and currency symbol text Table (currency symbol etc.) etc. is constituted.As an example, form definition body file 106a can also be by the information of form definition body It is kept as binary data.In addition, being such as defined to the sequence of data items, position for the information of form definition body Sequence information or the layout of the data items as shown by the electronic document of book ticket etc. can be defined.
In addition, it is to define the category to be converted in the book ticket project of form definition body that item attribute conversion, which defines file 106b, Property item attribute conversion define file.Although defining file 106b in addition, illustrating an item attribute in Fig. 1 and converting, However, not limited to this, also can store multiple item attribute conversions in storage unit 106 defines file 106b.That is, item attribute Conversion defines file 106b storage to the attribute information of the conversion source of the book ticket project of form definition body and the attribute of switch target The data that information is defined.Item attribute conversion defines file 106b preferably with can be by the text of the editors such as text editor Data mode saves.As an example, item attribute conversion define file 106b can by the project name of form definition body, The attribute value of conversion source and the attribute value of switch target accordingly store.In addition, attribute value is either character string, symbol, It can be the empty data not inputted.In addition, account can not be specified in the case where replacing the attribute value of conversion source in entire book ticket Ticket defines the project name of body.Here, Fig. 3 is one of the structure for indicating that item attribute conversion defines file 106b exemplary Figure.In addition, being converted to attribute value " the △ △ on right side to the attribute value " 000 " (before changing) from left side in each row of Fig. 3 △ " (after change) is defined.
As shown in the second row~the third line of Fig. 3, when exporting book ticket, character string " 000 " before changing is whole In the case where character string " △ △ △ " after being converted to change, book ticket project can not be specified and be defined.On the other hand, such as Shown in the fifth line of Fig. 3~the 7th row, when exporting book ticket, in desired book ticket project, from attribute value " zero before changing It 00 ", can also be in a manner of " Form1, Item1 " with book ticket name in the case where the attribute value " △ △ △ " after being converted to change Claim and project name is specified book ticket project and is defined.In addition, it is not limited to hand over word string, it also can be such as the 6th row and the 7th Shown in row like that, position or symbol of decimal point etc. are changed.
In addition, data file 106c is input number of the storage by input datas generated such as execution user applications According to storage unit.Here, Fig. 4 is an exemplary figure for indicating input data.As shown in figure 4, being stored in the data file Input data in 106c is sequentially to enumerate the data of the character string of data items unit of book ticket.In addition, input data is unlimited In this CSV(Comma Separated Values, comma separated value) form, it can be constituted with any form.
In addition, storage unit 106 can also be used as and temporarily store the memories of the data to carry out book ticket output and function. In this case, storage unit 106 is the attribute for projects based on the book ticket output format defined by form definition body Information (data length, font information etc.) and keep the data area on the memory of the input data of projects, will be from input The string data project information generated that data extract corresponding data items is kept.
In addition, input and output control interface portion 108 controls input unit 112 and output section 114 in Fig. 1.This In, in addition to display (including home-use television set), additionally it is possible to use printer, external memory etc. as output section 114(is in addition, be recorded as display for output section 114 sometimes below).Furthermore it is possible to be made using keyboard, mouse and microphone etc. For input unit 112.
In addition, in Fig. 1, control unit 102 has for storing OS(Operating System, operating system) etc. control The program of program, the various processing steps of regulation etc. and the internal storage of required data, are used for by these programs etc. Execute the information processing of various processing.Control unit 102 functionally conceptually includes attribute converter section 102a, book ticket output control Portion 102b, attribute information extraction unit 102c, character string Translation Service 102d, item attribute editorial office 102f and application department processed 102g。
Wherein, attribute converter section 102a is to define file 106b based on item attribute conversion, to form definition body file The attribute converting unit that the attribute of book ticket project in the form definition body of 106a is converted.For example, attribute converter section 102a Can also based on by project name with conversion front and back attribute information it is corresponding made of item attribute conversion define file 106b, by The attribute information of the book ticket project of form definition body corresponding with the project name is replaced into the attribute information of switch target.This Outside, attribute converter section 102a can also define file 106b to corresponding in form definition body by converting based on item attribute Table is matched, and carries out the correspondence of the attribute of converting objects to execute conversion process.As a result, due to the carry out table when attribute is converted Matching the item attribute of change object therefore can be extracted by matching, the account of the item attribute has been changed in automatic production Ticket.In addition, attribute converter section 102a can also be based on item attribute in the case where the book ticket projects such as no technical routine title Conversion defines file 106b, and the attribute information in retrieval conversion source believes the attribute that the attribute information met is replaced into switch target Breath.As a result, when attribute is converted, due to being replaced to the attribute met, even if book ticket project can not specified, Automatically the attribute met can be replaced by the attribute of retrieval character string defined in form definition body etc. to make Book ticket.In addition, attribute converter section 102a both can according to conversion process, to the form definition body of form definition body file 106a into Row is rewritten, and can not also rewrite to the form definition body of form definition body file 106a, but will have and have converted attribute The book ticket of book ticket project be stored in storage unit 106.
In addition, book ticket output control unit 102b is book ticket output control unit, it is based on being stored in form definition body file The input data that form definition body, item attribute conversion in 106a define file 106b and be stored in data file 106c, Output control has been carried out by the book ticket of the attribute converter section 102a book ticket project that converted attribute to having.Such as book ticket output control Portion 102b processed can also export book ticket to output section 114, which is to be temporarily stored in storage unit by attribute converter section 102a It is in 106, in the book ticket of book ticket project for having had converted attribute, input the input data being stored in data file 106c And make.As an example, book ticket output control unit 102b can both make the output section 114 as display show account Ticket can also export book ticket to the output section 114 as printer and be printed, can also be to as the defeated of external memory Book ticket is written in portion 114 out.In addition, book ticket output control unit 102b is also possible to answer by executing book ticket output used by a user The function of being realized with program.As an example, by exporting application program technical routine category by book ticket used by a user Property conversion define file 106b, book ticket output control unit 102b is converted by reading the item attribute specified by user and is defined file 106b is exported so as to make attribute converter section 102a converting attribute information with specified book ticket.
In addition, attribute information extraction unit 102c is extracted from the form definition body being stored in form definition body file 106a The attribute information extraction unit of the attribute information of book ticket project.Such as attribute information extraction unit 102c is from being stored in form definition body Form definition body in file 106a accordingly extracts project name with attribute information, production item attribute conversion definition text Part 106b.In this way, due to the attribute information for extracting book ticket project from form definition body, it can be automatically from form definition System makees item attribute conversion and defines file 106b, can reduce design, spent cost and time are changed in setting.More specifically For, whens multilingual expansion or system maintenance etc. in the system for exporting book ticket, the prior art is needed to averagely reaching 200~300 multiple form definition bodies are directly corrected, but according to the present embodiment, then it does not need to form definition body Directly modified operation is carried out, the extraction that can reduce amendment position is omitted, corrected mistake, correcting the generation of the mistakes such as omission A possibility that.In addition, attribute is believed there are when multiple identical attribute value (proper strings etc.) in form definition body Cease extraction unit 102c in order to convert the attribute value by the gross, can not technical routine and extract attribute information, to make item attribute Conversion defines file 106b.
In addition, character string Translation Service 102d is character string translation unit, item attribute is converted and defines file 106b's The string attribute information (including character string or symbol etc.) of conversion source translates into specified language and is appointed as switch target Attribute.Such as character string Translation Service 102d is also referred to the dictionary database (not shown) being stored in storage unit 106, obtains Translation character string corresponding with the character string of conversion source converts the attribute for defining the switch target of file 106b as item attribute Information storage.In this way, since the string attribute information for the conversion source that item attribute is converted to definition file 106b translates into finger The fixed language and attribute for being appointed as switch target therefore can be to automatic by the string attribute information of the project extracted The result that appointed language is translated on ground carries out file output, can be realized the reduction of mistake and translates the reduction of cost. In particular, in multilingual expansion, the prior art needs to extract from form definition body and needs to turn in the system of output book ticket The character string translated is translated, but in the present embodiment, extracting for the character string translated from needs is realized using program Process until machine translation, so as to cut down translation cost.
In addition, item attribute editorial office 102f is to convert to define in file 106b to the attribute to be converted in item attribute The item attribute edit cell that information is controlled in a manner of it can edit.Such as item attribute editorial office 102f is that text is compiled Device etc. is collected, file 106b is defined based on item attribute conversion and is shown in the progress text of output section 114, so that user passes through input unit The mode of 112 inputs or editor's attribute information etc. is controlled, and it is fixed that the attribute information of input is stored in item attribute conversion It is updated in adopted file 106b.In this way, defining the control in a manner of it can edit in file 106b due to converting in item attribute The information of the attribute to be converted is made, it is therefore, different from complicated form definition body, use the project for defining the attribute to be converted Attribute conversion defines file 106b, can simply be customized.
In addition, application department 102g is application program unit, journey is applied by executing the users such as business application Sequence functions, generate the input data of book ticket and is output to data file 106c.Such as application department 102g can lead to The management etc. such as execution user application is crossed, and has the function of the storage, retrieval, reading of electronic document.
The above is the structural outline explanation of this book ticket output device.Here, this book ticket output device 100 can also be adopted Pass through the structure that network 300 is connect in a manner of it can communicate with external equipment 200, which provides and book ticket External programs such as related external data base or business forms control application program etc..
In this case, book ticket output device 100 is also equipped with Communications Control Interface portion 104, and is connected to communication line The communication devices such as the router on road etc. connection (not shown), by the way that the communication devices such as router and special circuit etc. be wired or nothing The communication line of line is connect with network 300 in a manner of it can communicate.That is, in Fig. 1, Communications Control Interface portion 104 have into Row book ticket output device 100 and the communication devices such as network 300(or router) between communication control, and pass through communication line The function of data communication is carried out with other terminals.Here, network 300 has book ticket output device 100 and 200 phase of external equipment The function of connecting, e.g. internet etc..
In addition, in Fig. 1, external equipment 200 is connected with each other by network 300 and book ticket output device 100, is had to making User provides the function of external programs such as external data base related with book ticket or business forms control application program etc..
Here, external equipment 200 can be used as the composition such as WEB server or ASP server, which generally can be with It is made of the information processing units such as marketed work station, computer (PC) and its auxiliary equipment.In addition, external equipment 200 Each function by the hardware configuration of external equipment 200 CPU, disk set, memory device, input unit, output fill It sets, communication control unit etc. and the program that is controlled to them etc. are realized.
(processing of book ticket output device)
Then, referring to Fig. 5~Figure 15 to this book ticket output device 100 in present embodiment formed as described above An example of processing be described in detail.
(book ticket converts output processing)
Firstly, referring to Fig. 5 to the detailed of the book ticket conversion output processing executed by the book ticket output device 100 of present embodiment Details condition is illustrated.Fig. 5 is one for indicating the book ticket conversion output of the book ticket output device 100 in present embodiment and handling Exemplary flow chart.
As shown in figure 5, firstly, attribute converter section 102a, which is based on item attribute conversion, defines file 106b, to form definition The attribute of book ticket project in body file 106a is converted (step SA-1).For example, attribute converter section 102a can be based on inciting somebody to action Item attribute conversion made of project name is corresponding with the attribute information of conversion front and back defines file 106b, will be with the project name The attribute information of the book ticket project of corresponding form definition body is replaced into the attribute information of switch target.Here, Fig. 6 is expressed as Book ticket is supported into English and the item attribute conversion that uses defines one of structure of file 106b from supporting that Japanese is converted to Exemplary figure.
As shown in fig. 6, can be based on will in the case where being converted into supporting the book ticket of English when multilingual is unfolded The item attribute conversion that the result automatically translated by character string Translation Service 102d is stored as the attribute value after change defines File 106b carries out the attribute conversion of book ticket project.More specifically, as shown in each row of Fig. 6, from form definition body text Part 106a reads the book ticket project specified in a manner of " Form1, Static1 " with book ticket title and project name, in the book ticket In project, attribute value before changing is converted into the attribute value after change.In addition, being not limited to hand over word string, can also convert The position of decimal point or unit etc..In addition, in the case where the book ticket project of not specified project name etc., attribute converter section 102a The attribute information met can also be replaced into the attribute information of switch target with the attribute information in retrieval conversion source.In this implementation In mode, the book ticket with the book ticket project for having converted attribute according to conversion process can be different from by attribute converter section 102a The form definition body of form definition body file 106a, is additionally stored in storage unit 106.
Fig. 5 is again returned to, book ticket output control unit 102b is fixed based on the book ticket being stored in form definition body file 106a The input data that adopted body, item attribute conversion define file 106b and be stored in data file 106c, to by attribute The book ticket that converter section 102a converted the book ticket project of attribute carries out output control (step SA-2).More specifically, book ticket is defeated Control unit 102b can export book ticket to output section 114 out, which is to be temporarily stored in storage by attribute converter section 102a It is in portion 106, in the book ticket of book ticket project for having had converted attribute, input the input number being stored in data file 106c According to and produce.Here, Fig. 7 is that the form definition body for indicating to be illustrated based on Fig. 2, the input data of Fig. 4 illustration and Fig. 6 are illustrated Item attribute conversion define file 106b and generate, supports English book ticket output result an exemplary figure.
As shown in fig. 7, book ticket output control unit 102b can based on as illustrated in Fig. 6 for from supporting Japanese to be converted to branch The item attribute conversion for holding English defines file 106b, and output converted the support English of each book ticket project by attribute converter section 102a The book ticket of language.In addition, an example as the way of output, book ticket output control unit 102b can both make as the defeated of display Portion 114 shows book ticket out, can also export book ticket to the output section 114 as printer and be printed, can also be to as outer Book ticket is written in the output section 114 of portion's storage device.In addition, book ticket output control unit 102b also can have by executing user institute The function that the book ticket used exports application program to realize.Furthermore, it is also possible to be applied by being exported by book ticket used by a user The conversion of program technical routine attribute defines file 106b, and book ticket output control unit 102b is by reading the project category specified by user Property conversion define file 106b, to make attribute converter section 102a converting attribute information, exported with specified book ticket.
Processing terminate for book ticket conversion output as a result,.
(matching treatment)
Here, referring to Fig. 8 and Fig. 9, to executed in above-mentioned step SA-1 by attribute converter section 102a, form definition The example that body converts the matching treatment of table for defining file 106b with item attribute is illustrated.Fig. 8 is to indicate that book ticket is fixed Adopted body and item attribute conversion define an exemplary figure of the corresponding relationship of file 106b.
The example data structure for defining file 106b, in above-mentioned Fig. 3 and Fig. 6, " LITERAL_ are converted as item attribute STRING ", " NUM_DECIMAL_PLACES " etc. be for identification thereafter as defined in the attribute values such as character string or number species Attribute-identifier.As an example, attribute converter section 102a uses the attribute-identifier, each table with form definition body It is matched.Such as it is defined in body information as as corresponding to double-head arrow, " NUM_DECIMAL_FORMAT " is specified in Fig. 8 Separation edit symbol.In addition, " NUM_DECIMAL_PLACES ", " NUM_DECIMAL_PLACES_SUPPRESS " and " NUM_ DECIMAL_PLACES_FORMAT " respectively specifies that fractional part digit on Project Information Table, whether there is or not decimal point output and decimals Partial edit format.In addition, the fontname on " FONT_JAPANESE " and " FONT_ENGLISH " specific font title table Claim.In addition, " DATE_FORMAT_STRING " specifies the date editing character string on expanded editing form table.In addition, " LITERAL_STRING " specifies the character string on fixed character string list.In addition, " LITERAL_LABEL " specifies tab character string Label on table.In addition, the currency symbol on " CURRENCY_SYMBOL " designated currency lexigraphy table.In this way, in project category Property conversion define file 106b in, for it is each book ticket export when want conversion attribute respectively in each row with book ticket name Claim, project name and attribute-identifier accordingly store.
As an example, attribute converter section 102a is based on the attribute being stored in item attribute conversion definition file 106b Identifier identifies the species of item attribute, is become the attribute of the book ticket project of corresponding form definition body according to the species of attribute Attribute when more exporting.Here, Fig. 9 is to indicate that item attribute conversion defines file 106b and generates with by attribute converter section 102a And it is temporarily stored in the figure of the relationship of book ticket data in storage unit 106.
As shown in figure 9, according to item attribute conversion definition the first row ", FONT_ENGLISH, the Ming Dynasty, Mincho ", The english font of font name table was changed in whole projects (Item1,2 ...) from " Ming Dynasty " by attribute converter section 102a "Mincho".In addition, according to item attribute conversion definition the second row ", LITERAL_STRING, " character string ", " number According to " ", attribute converter section 102a retrieves " character from the character string of the proper string string list of whole projects (Item1,2 ...) String ", is changed to " data " for " character string " that meets.In addition, according to item attribute conversion definition the third line " Form1, Item2, NUM_DECIMAL_PLACES, 0,2 ", item of the attribute converter section 102a in book ticket title Form1, project name Item2 In mesh, fractional part digit is changed to 2 from 0.In addition, according to item attribute conversion definition fourth line " Form1, Item2, CURRENCY_SYMBOL_PLACES, " Yen ", " $ " ", attribute converter section 102a are in book ticket title Form1, entry name In the project for claiming Item2, currency symbol is changed to " $ " from " Yen ".It is had converted in this way, attribute converter section 102a production has The book ticket of the book ticket project of attribute and by book ticket data temporary storage in storage unit 106.
(book ticket output system building processing)
Then, 0 and Figure 11 constructs the one of processing to executed by book ticket output device 100, book ticket output system referring to Fig.1 A example is illustrated.Here, Figure 10 is to indicate executed by book ticket output device 100, book ticket output system building processing One exemplary flow chart.
The book ticket output system building processing in, its object is to carry out book ticket output actual motion before, into The confirmation that confirms book ticket export of the row from form definition body, the system of building output book ticket.
As shown in Figure 10, firstly, the control unit 102 of book ticket output device 100 makes and/or edit basic form definition Body (step SB-1).Such as control unit 102 can be by keeping the building person of system fixed from book ticket is stored in by means of input unit 112 Selection meets the form definition body of purpose in multiple form definition bodies in adopted body file 106a, to make form definition body.This Outside, control unit 102 can also be by making the building person of system be changed by means of input unit 112 layout of basic form definition body Deng the editor of Lai Jinhang book ticket.
Then, attribute information extraction unit 102c is extracted from the form definition body being stored in form definition body file 106a The attribute information of book ticket project, production and/or the conversion of edit item attribute define file 106b(step SB-2).Such as attribute letter Breath extraction unit 102c can also show can to for make item attribute conversion define file 106b extraction object or whether there is or not Translation etc. carries out the setting screen of selection.Here, Figure 11 is the setting screen for indicating to be shown by attribute information extraction unit 102c One exemplary figure.In addition, in this example, by the item attribute as the template before the attribute information of input switch target Conversion defines file 106b and is known as template file.
As shown in figure 11, picture is specified by the form that the setting screen that attribute information extraction unit 102c is shown includes template file Face MA-1, the assigned picture MA-2 of item attribute of output and the picture MA-3 of related with the multilingual transitional information of output and It constitutes.Here, in the form assigned picture MA-1 of template file, if by clicking output book ticket title/project name Check box etc. is chosen, then attribute information extraction unit 102c presses book ticket/item extraction item attribute, makes template file (item The conversion of mesh attribute defines file 106b).
In addition, in the assigned picture MA-2 of the item attribute of output, if choosing classification (Quan Xuan, word of item attribute Body, text, numerical value, currency, date etc.) check box, then attribute information extraction unit 102c is equal from book ticket according to attribute-identifier Define the categorical attribute that the item attribute is extracted in body, production template file (item attribute conversion defines file 106b).
In addition, in the picture MA-3 for exporting transitional information related with multilingual, if choosing " translation text " Check box, then character string Translation Service 102d translates the attribute being extracted, and translation result is appointed as to the category of switch target Property value, production item attribute conversion define file 106b.In addition, as shown in figure 11, in this example, due to character string Translation Service 102d is translated using specified translation application, and therefore, picture MA-3 includes the setting screen of translation application MA-4.In addition, without machine translation, item attribute editorial office 102f is for the attribute that extracts, Ke Yirang User inputs the attribute information of switch target by input unit 112, thus carries out item attribute conversion and defines file 106b's Editor.Here, Figure 12 is before schematically showing editor and the conversion of edited item attribute defines the figure of information.
In the case where choosing text in the assigned picture MA-2 of the item attribute of above-mentioned output, such as the arrow tail side of Figure 12 Rectangle shown in, item attribute conversion defines file 106b and is only stored with the attribute value (character string etc.) of conversion source, does not input and turns Change the attribute value of target.Therefore, text editing function etc. also can be used in item attribute editorial office 102f, and display is stored in project Attribute conversion defines the data of the text form in file 106b, and is controlled such that system architects pass through input Portion 112 inputs the attribute value of switch target, thus carries out editing and processing.In this example, such as the rectangle of the arrow tail side of Figure 12 It is shown, by inputting " △ △ limited liability company " after " 00 limited liability company ", by " 00 shares in book ticket The mode that Co., Ltd " is replaced as " △ △ limited liability company " by the gross carries out specified editor.
Figure 10 is again returned to, book ticket output control unit 102b is in order to confirm system architects, based in step SB- The form definition body file 106a for making and/or editing in 1 and the item attribute for making and/or editing in step SB-2 Conversion defines file 106b, and the book ticket for inputting input data also not is shown in output section 112(step SB-3 as preview). That is, the conversion of technical routine attribute defines parameter of the file 106b as preview when.
Then, item attribute editorial office 102f keeps system architects fixed in item attribute conversion by the selection of input unit 112 It needs to correct (step SB-4) with the presence or absence of the mistake of setting in adopted file 106b.Such as item attribute editorial office 102f can be with Make that output section 114 shows " updating converted contents? " sentence and Yes/No button.
Then, need to carry out in the modified situation of converted contents being specified by system architects (step SB-4, "Yes"), item attribute editorial office 102f makes that the place of above-mentioned steps SB-2 and SB-3 is repeated processing returns to step SB-2 Reason.
On the other hand, (the step SB- in the case where specifying the modified situation for not needing to carry out converted contents by system architects 4, "No"), control unit 102 makes whether system architects need to repair by the selection of input unit 112 about the layout of form definition body Positive (step SB-5).Such as control unit 102 can make output section 114 display " change layout? " sentence and Yes/No button.
Then, in the case where specifying the modified situation for needing to be laid out by system architects (step SB-5, "Yes"), control Portion 102 processed makes that the processing of above-mentioned steps SB-1~SB-4 is repeated processing returns to step SB-1.
On the other hand, in the case where specifying the modified situation for not needing to be laid out by system architects (step SB-5, "No"), control unit 102 carries out the exploitation (step SB-6) of book ticket output application program.More specifically, system developer is to wrap The mode of selected and book ticket output control unit 102b function containing interface makes book ticket output application program.In addition, specifying The item attribute conversion for making and/or editing in step SB-2 defines parameter of the file 106b as book ticket output application program. Item attribute conversion is specified to define file as parameter, energy in application program by exporting in book ticket used by a user as a result, It is enough to make target book ticket automatically and diversely based on basic form definition body.
Then, the book ticket output control unit 102b functioned by executing the book ticket produced output application program, File 106b is defined based on the item attribute conversion for being designated as parameter in book ticket output application program, is turned by its item attribute It changes and defines the specified form definition body being stored in form definition body file 106a of information and be stored in data file 106c Input data, by have by attribute converter section 102a converted attribute book ticket project book ticket be used as operation test carry out Output control (step SB-7).That is, in operation test, it is different from the preview described in step SB-3, to have had input The practical book ticket output form output of input data.Here, Figure 13 is contrastively to indicate to define in basic form definition body Book ticket and based on the form definition body, item attribute conversion define information and input data output book ticket figure.This Outside, the rectangle of the arrow tail side of Figure 13 shows the book ticket defined in basic form definition body, and the rectangle of arrow side shows The book ticket as operation test output is gone out.
As shown in figure 13, in this example, as being used as item attribute conversion to define shown in information in Figure 12, due to It is defined in such a way that " 00 limited liability company " in book ticket is replaced as " △ △ limited liability company " by the gross, because This, makes the book ticket with the book ticket project that converted attribute by attribute converter section 102a, and book ticket output control unit 102b also inputs input data, is exported in the form of shown display under actual operating status.
Then, item attribute editorial office 102f keeps system architects fixed in item attribute conversion by the selection of input unit 112 It needs to correct (step SB-8) with the presence or absence of the mistake of setting in adopted file 106b.As described above, item attribute editorial office 102f can make that output section 114 shows " updating converted contents? " sentence and Yes/No button.
Then, need to carry out in the modified situation of converted contents being specified by system architects (step SB-8, "Yes"), item attribute editorial office 102f makes that the place of above-mentioned steps SB-2~SB-7 is repeated processing returns to step SB-2 Reason.
On the other hand, (the step SB- in the case where specifying the modified situation for not needing to carry out converted contents by system architects 8, "No"), control unit 102 makes whether system architects need to repair by the selection of input unit 112 about the layout of form definition body Positive (step SB-9).As described above, control unit 102 can make that output section 114 shows " change layout? " sentence and be/ No button.
Then, in the case where specifying the modified situation for needing to be laid out by system architects (step SB-9, "Yes"), control Portion 102 processed makes that the processing of above-mentioned steps SB-1~SB-8 is repeated processing returns to step SB-1.
On the other hand, by the specified amendment for not needing to be laid out of system architects and operation test passes (step SB-9, "No"), processing terminate for the building of book ticket output system, and the system building for exporting book ticket is completed.Thereby, it is possible to will make The book ticket output system made is for operation.
(book ticket output processing)
Then, 4 and Figure 15 handles the book ticket output that the book ticket output system constructed as described above executes referring to Fig.1 An example be illustrated.Figure 14 is an exemplary flow chart for indicating book ticket output processing.
Firstly, as shown in figure 14, being exported by executing the book ticket that developed book ticket exports application program to function Control unit 102b reads specified form definition body (step SC-1) referring to form definition body file 106a.
Then, book ticket output control unit 102b judges export item attribute conversion whether is specified in application program in book ticket File 106b is defined as parameter (step SC-2).(the step in the case where not specified item attribute is converted and defines file 106b SC-2, "No"), since book ticket output control unit 102b is without converting turn for defining the book ticket project of information based on item attribute It changes, and book ticket output is carried out based on form definition body and input data, therefore, processing is made to be transferred to step SC-5.
On the other hand, the feelings for defining file 106b as the parameter of book ticket output application program are converted in technical routine attribute Under condition (step SC-2, "Yes"), book ticket output control unit 102b passes through the processing of attribute converter section 102a, from corresponding project category Property conversion define file 106b read item attribute conversion define information (step SC-3).
Then, book ticket output control unit 102b passes through the processing of attribute converter section 102a, fixed using being converted by item attribute Adopted file 106b specified attribute information is rewritten (step to the item attribute of the form definition body read in step SC-1 SC-4).In addition, in the present embodiment, book ticket output control unit 102b is changed in form definition body file 106a It writes, but rewrites attribute information in the book ticket data on the memory for being temporarily stored in storage unit 106.Here, Figure 15 is to show Indicate by the figure of the attribute converter section 102a data flow executed to meaning property.
As shown in figure 15, item attribute conversion defines file 106b and is stored with book ticket title and project name as change pair As the specific information of project, it is stored with specific information of the attribute species (attribute-identifier etc.) as the type of item attribute, is deposited Contain specific information of the data (attribute value etc.) before changing defined by form definition body as change object.Attribute converter section 102a is matched with form definition body, is extracted based on the above-mentioned data being stored in item attribute conversion definition file 106b Change the item attribute of object.Also, by the way that the item attribute of extracted change object is replaced as in data before changing Data to be changed can export the book ticket for having had converted the attribute of book ticket project.
Figure 14 is again returned to, book ticket output control unit 102b has the account that converted attribute by attribute converter section 102a In the book ticket of ticket project, the input data obtained from data file 106c is inputted, and make the layout weight defined by form definition body It is folded, to make the book ticket (step SC-5) of output form.
Finally, book ticket output control unit 102b is controlled (step SC-6) in a manner of exporting book ticket generated.Example It, can also be to as printer if book ticket output control unit 102b can both make the output section 114 as display show book ticket Output section 114 export book ticket printed, can also to as external memory output section 114 check account ticket data carry out File output.
Description of the present embodiment leaves it at that.
(other embodiments)
In this way, so far embodiments of the present invention are illustrated, but the present invention is other than above embodiment, It can also be in the range of technical idea documented by claims with the implementation of a variety of different embodiments.
Such as book ticket output device 100 can also according to from as server etc. by network connection and book ticket The request of the client terminal of the different frameworks of output device 100 is handled, and the processing result is returned to the client terminal.
In addition, handling in embodiments everywhere in explanation in reason as what is automatically carried out come the whole illustrated or one Processing is divided also can manually to carry out, or all or part of processing as the processing manually carried out to illustrate also can It is automatically carried out using well known method.
In addition to this, about in above-mentioned document and processing step shown in the drawings, rate-determining steps, specific title, packet Information, the picture example, database structure of the parameter of registration data, search condition containing each processing etc., in addition to what is especially recorded Other than situation, can arbitrarily it change.
In addition, each structural element of diagram is functionally conceptually to indicate, physically about book ticket output device 100 Composition as shown in Figure is not necessarily required.
Such as the processing function that has of each device with regard to book ticket output device 100, especially carried out by control unit 102 Various processing functions for, all or any a part can be by CPU(Central Processing Unit, center to it Processing unit) and by the CPU explain that the program executed is realized, or can also be used as hardware based on hard wired logic and carry out reality It is existing.In addition, program is including the aftermentioned programmed command for making computer execute method according to the present invention, non-provisional The recording medium that can read of computer in record, mechanically read by book ticket output device 100 as needed.That is, in ROM Or HDD(Hard Disk Drive, hard disk drive) etc. storage units 106 it is equal in, record is used for and OS(Operating System, operating system) computer program for order being provided, carrying out various processing is operated to CPU together.The computer program is logical It crosses and is loaded into RAM to execute, running constitutes control unit together with CPU.
In addition, the computer program also can store in the application being connect by arbitrary network with book ticket output device 100 In program servers, it can also download its all or part of as needed.
In addition it is also possible to program according to the present invention is stored in the recording medium that computer can be read, or Also it can be configured to program product.Here, should " recording medium " include storage card, USB storage, SD card, floppy disk, disk, ROM, EPROM, EEPROM, CD-ROM, MO, DVD and Blu-ray Disc (Blue-ray Disc) etc. are arbitrary " can to carry physics Jie Matter ".
In addition, " program " refers to the data processing method with arbitrary language or description method description, whether source code Or the forms such as binary code.In addition, " program " is not necessarily limited to single composition, also comprising being used as multiple program modules or program Library dispersedly constitute or with OS(Operating System, operating system) be that other programs of representative operates together Realize the program of its function.In addition, in each device shown in embodiment, in relation to the specific knot for reading recording medium Installation steps etc. after structure, read step or reading, can use well known structure or step.
It is stored in (form definition body file 106a and the item attribute conversion definition such as various databases in storage unit 106 File 106b) it is the storage units such as the fixed magnetic-disk drives such as the memory devices such as RAM, ROM, hard disk, floppy disk and CD, storage is used In various programs, table, database and webpage file etc. that various processing or website provide.
In addition, book ticket output device 100 can be used as the information processing units such as existing computer, work station and constitute, Or arbitrary peripheral device can also be connect with the information processing unit and be constituted.In addition, book ticket output device 100 can also To realize software (comprising procedure, data etc.) Lai Shixian of method of the invention by installing in the information processing unit.
In turn, the concrete mode of dispersion, the combination of device is not limited to the mode of diagram, can according to various additional equal or According to function and load, with arbitrary unit it is functional or physically by its all or part of dispersion, in conjunction with and constituted. That is, can both implement above embodiment in any combination, also implement embodiment to the property of can choose.
Such as above-mentioned detailed description, according to the present invention, due to be capable of providing can cut down form definition body design or Setting changes spent cost and time to realize efficient book ticket output device and book ticket output method, therefore, energy It is enough to be used in the various fields such as information terminal relevant to book ticket output or the information communications field.

Claims (7)

1. a kind of book ticket output device, at least has storage unit and control unit, which is characterized in that:
The storage unit storage:
Form definition body at least defines the attribute of book ticket project;And
Item attribute conversion defines file, and the attribute to be converted is defined in the book ticket project of the form definition body,
The control unit includes:
Attribute converting unit, in the case where not specifying the book ticket project, is based on the project category in attribute conversion Property conversion define file, the attribute in retrieval conversion source, by the book ticket project in the form definition body met The attribute is converted to the attribute of switch target;And
Book ticket output control unit defines file and input data based on the form definition body, item attribute conversion, Output control is carried out to the book ticket with the book ticket project that converted the attribute by the attribute converting unit.
2. book ticket output device according to claim 1, it is characterised in that:
The control unit is also equipped with attribute information extraction unit, for extracting the attribute letter of book ticket project from the form definition body Breath.
3. book ticket output device according to claim 1 or 2, it is characterised in that:
The control unit is also equipped with character string translation unit, for the item attribute to be converted to the word for defining the conversion source of file Symbol string attribute information translates into specified language and is appointed as the attribute of switch target.
4. book ticket output device according to claim 1 or 2, it is characterised in that:
The control unit is also equipped with item attribute edit cell, defines in file for converting in the item attribute with editable Mode the information of the attribute to be converted is controlled.
5. book ticket output device according to claim 1 or 2, it is characterised in that:
In book ticket used by a user output application program, the item attribute conversion is specified to define file.
6. book ticket output device according to claim 1 or 2, it is characterised in that:
The attribute converting unit carries out the matching of table when attribute is converted.
7. a kind of book ticket output method executes, wherein institute in the book ticket output device at least having storage unit and control unit State storage unit storage: form definition body at least defines the attribute of book ticket project;And item attribute conversion defines file, The attribute to be converted is defined in the book ticket project of the form definition body, the book ticket output method is characterized in that, Including the following step executed in the control unit:
Attribute switch process, in the case where not specifying the book ticket project, is based on the project category in attribute conversion Property conversion define file, the attribute in retrieval conversion source, by the book ticket project in the form definition body met The attribute is converted to the attribute of switch target;And
Book ticket exports rate-determining steps, defines file and input data based on the form definition body, item attribute conversion, Output control is carried out to the book ticket with the book ticket project for having had converted the attribute in the attribute switch process.
CN201310442800.4A 2012-09-28 2013-09-25 Book ticket output device and book ticket output method Active CN103713864B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-218094 2012-09-28
JP2012218094A JP6121126B2 (en) 2012-09-28 2012-09-28 Form output device, form output method, and program

Publications (2)

Publication Number Publication Date
CN103713864A CN103713864A (en) 2014-04-09
CN103713864B true CN103713864B (en) 2019-05-03

Family

ID=50406878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310442800.4A Active CN103713864B (en) 2012-09-28 2013-09-25 Book ticket output device and book ticket output method

Country Status (2)

Country Link
JP (1) JP6121126B2 (en)
CN (1) CN103713864B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015225530A (en) * 2014-05-28 2015-12-14 沖電気工業株式会社 Form format management system, form format management server, form format management method and program
CN106855807B (en) * 2016-12-16 2020-04-21 北京创世乐享科技有限公司 Method and system for presenting multi-language form

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388102A (en) * 2007-09-14 2009-03-18 株式会社理光 Information processing system, information processing device, program and recording media
CN102685347A (en) * 2011-03-11 2012-09-19 富士施乐株式会社 Image processing apparatus and image processing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05289857A (en) * 1992-04-06 1993-11-05 Hitachi Ltd Program generating method
JPH0877167A (en) * 1994-09-07 1996-03-22 Fuji Xerox Co Ltd Document processor
JP2002049435A (en) * 2000-08-03 2002-02-15 Naretsuji Moderingu Kenkyusho:Kk Method and device for managing license
JP2004287853A (en) * 2003-03-20 2004-10-14 Toshiba Solutions Corp Form editing device, form editing program and form editing method
JP2007328670A (en) * 2006-06-09 2007-12-20 Canon Inc Information processor, document processing method, storage medium, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388102A (en) * 2007-09-14 2009-03-18 株式会社理光 Information processing system, information processing device, program and recording media
CN102685347A (en) * 2011-03-11 2012-09-19 富士施乐株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
CN103713864A (en) 2014-04-09
JP2014071726A (en) 2014-04-21
JP6121126B2 (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN1997990B (en) Electronic service manual creating method and electronic service manual creating apparatus
US20180357055A1 (en) System and method for computer language migration
Antkiewicz et al. FeaturePlugin: Feature modeling plug-in for Eclipse
CN101661512B (en) System and method for identifying traditional form information and establishing corresponding Web form
KR101885089B1 (en) Excel export method for bim design files
US20050021513A1 (en) Mapping tool graphical user interface
US9817811B2 (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
EP1830275A1 (en) Information distribution system
CN104823158A (en) Method and system for simplified knowledge engineering
CN111752565A (en) Interface generation method and device, computer equipment and readable storage medium
CN103713864B (en) Book ticket output device and book ticket output method
CN113986248A (en) Code generation method and device, computer equipment and storage medium
JP2006244283A (en) Database management device and database management method
US20080159633A1 (en) Method and Apparatus for Managing Data-Analysis Parts in a Word Processor Application
CN102289367A (en) Command line shell command generation based on schema
CN116028062A (en) Target code generation method, NPU instruction display method and device
JP7148804B2 (en) SOURCE FILE GENERATION PROGRAM, SOURCE FILE GENERATION METHOD, AND INFORMATION PROCESSING DEVICE
JP2018181073A (en) Information processing apparatus, processing method thereof, and program
JP2007164503A (en) System production method, system and program, and data structure of definition information used in system production
WO2017090054A1 (en) Editfile
CN113297856A (en) Document translation method and device and electronic equipment
JP2016157411A (en) Information management device and file management method
KR20210040545A (en) Multilingual manual authoring apparatus based on XML and method thereof
CN113704257B (en) Data table updating method and device
CN117667196B (en) UXUI efficient collaboration low-code method based on intermediate representation model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant