CN103020024B - A kind of file layout change-over method - Google Patents

A kind of file layout change-over method Download PDF

Info

Publication number
CN103020024B
CN103020024B CN201210581502.9A CN201210581502A CN103020024B CN 103020024 B CN103020024 B CN 103020024B CN 201210581502 A CN201210581502 A CN 201210581502A CN 103020024 B CN103020024 B CN 103020024B
Authority
CN
China
Prior art keywords
file
conversion
conditioned
preceding document
information data
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
CN201210581502.9A
Other languages
Chinese (zh)
Other versions
CN103020024A (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201210581502.9A priority Critical patent/CN103020024B/en
Publication of CN103020024A publication Critical patent/CN103020024A/en
Application granted granted Critical
Publication of CN103020024B publication Critical patent/CN103020024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of file layout change-over method, described method comprises: receive conversion preceding document, extract the information data in described conversion preceding document, and described information data is stored according to default classifying rules, obtain the intermediate data file corresponding with described conversion preceding document, according to the transformation rule preset, described intermediate data file is generated the file after the conversion preset, the file achieving Excel table and this two type of proprietary file form accurately, is easily changed mutually.

Description

A kind of file layout change-over method
Technical field
The present invention relates to network field, particularly a kind of file layout change-over method.
Background technology
A vehicle network is made up of a lot of electronic control units often, the content that each electronic control unit needs to work in which way, work, how to divide the work to dispatch and the relevant rule needs such as management pre-establish, the file that these rules export constitutes communications database.
Usual use communications database defines whole vehicle network, define in communications database in a vehicle comprise in which network segment, the network attribute of each network segment, each network segment comprise which electronic control unit, which work each electronic control unit does and in which mode work, how to divide the work the contents such as scheduling and management between each electronic control unit.
The form of existing vehicle network communications database generally have the Excel of fixed form form to show and for emulating, the proprietary file form (as: * .ldf, * .dbc, * .Fibex, * .odx etc.) of the purposes such as simulation, based on different networks, there is different communication data library formats.Such as, the proprietary file form based on CAN network is * .dbc, * .mdc; Proprietary file form based on LIN network is * .ldf; Proprietary file form based on FlexRay network is * .Fibex; Proprietary file form based on MOST network is * .Fibex; Proprietary file form based on diagnostic network is * .odx, * .cdd; Proprietary file form based on demarcation network is * .a2l.
The file of Excel table and this two type of proprietary file form is essential at work.Usually, first can set up the Excel table of fixed form form, after determining the content of vehicle network communications database, then be created the file of proprietary file form by dedicated software tool.If the later stage needs to revise vehicle network; then need to revise the Excel table of fixed form form and the file of proprietary file form simultaneously; and in routine duties; vehicle network often can face the process repeatedly revised, determine; at present, the file of a kind of suitable method to Excel table and this two type of proprietary file form is not also had to carry out accurately, easily changing mutually.
Summary of the invention
Problem to be solved by this invention is: provide a kind of method that file layout is changed, to solve in prior art the problem lacking the file of a kind of suitable method to different-format and change.
Concrete scheme is as follows:
A kind of file layout change-over method, described method comprises:
Receive conversion preceding document;
Extract the information data in described conversion preceding document, and described information data is stored according to default classifying rules, obtain the intermediate data file corresponding with described conversion preceding document;
According to the transformation rule preset, described intermediate data file is generated the file after the conversion preset.
Preferably, the information data comprised in described intermediate data file comprises: any one or a few the combination in file information data, schedule information data, message information data, signal message data and version information data.
Preferably, before the information data in the described conversion preceding document of described extraction, described method also comprises:
Judge whether the file name formats of described conversion preceding document meets first pre-conditioned, if so, then extract the information data in described conversion preceding document, otherwise again receive conversion preceding document.
Preferably, described to judge whether the file name formats of described conversion preceding document meets first pre-conditioned, specifically comprises:
When the described file name formats changing preceding document is into file designation form, when file designation form and the default file of described conversion preceding document name form consistent, meet first pre-conditioned;
When the described file name formats changing preceding document is into file designation form and vehicle file layout, file designation form and the default file of described conversion preceding document name form consistent, and the vehicle file layout of described conversion preceding document consistent with default vehicle file layout time, meet first pre-conditioned.
Preferably, information data in the described conversion preceding document of described extraction, and described information data is stored according to default classifying rules, after obtaining the intermediate data file corresponding with described conversion preceding document, the transformation rule that described basis is preset, before described intermediate data file being generated the file after the conversion preset, also comprise:
Judge whether described intermediate data file meets second pre-conditioned, if so, then according to the transformation rule preset, described intermediate data file is generated the file after the conversion preset;
Wherein, described to judge whether described intermediate data file meets second pre-conditioned, specifically comprises:
When the information data in described intermediate data file is signal message data, judge whether described signal message data exceed the preset range of signal message data, if not, then described intermediate data file meets second pre-conditioned;
When the information data in described intermediate data file be signal message data and message information data time, judge whether described signal message data exceed the preset range of signal message data, if exceed, then described intermediate data file does not meet second pre-conditioned, if do not exceed, then judge whether described message information data exceed the preset range of message information data, if exceed, then described intermediate data file does not meet second pre-conditioned, if do not exceed, then judge whether described signal message data and message information data meet the condition of message information and signal message matching relationship, if, then described intermediate data file meets second pre-conditioned, if not, then described intermediate data file does not meet second pre-conditioned.
Preferably, also comprise:
When described intermediate data file do not meet described second pre-conditioned time, then output modifications suggestion content, by next conversion preceding document modify according to described amendment suggestion content.
Preferably, the transformation rule that described basis is preset, the process of the file after described intermediate data file is generated the conversion preset comprises:
Receive the file after the conversion preset, judge whether the file name formats of the file after described default conversion meets the 3rd pre-conditioned, if, described intermediate data file conversion is generated the file after the conversion preset, if not, the file name formats of the file after described default conversion is redefined.
Preferably, described judge described default conversion after the file name formats of file whether meet the 3rd pre-conditioned, specifically comprise:
Judge whether the file designation form of the file after described default conversion meets the file designation form of default output file, if so, then meet the 3rd pre-conditioned, otherwise, do not meet the 3rd pre-conditioned.
Preferably, described judge described default conversion after the file name formats of file whether meet the 3rd pre-conditioned, specifically comprise:
When the file designation form of the file after described default conversion and the file designation form of default output file consistent, and, the vehicle file layout of the file after described default conversion with preset export vehicle file layout consistent time, the file after described conversion meets the 3rd pre-conditioned.
Preferably, it is characterized in that, described intermediate data file is any one or a few the combination in array, stack, queue, chained list, tree, figure, heap, hash table, temporary variable.
As can be seen from the above technical solutions, the invention provides a kind of file layout change-over method, described method comprises: receive conversion preceding document, extract the information data in described conversion preceding document, and described information data is stored according to default classifying rules, obtain the intermediate data file corresponding with described conversion preceding document, according to the transformation rule preset, by the file after described intermediate data file T.G Grammar, the file achieving Excel table and this two type of proprietary file form accurately, is easily changed mutually.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of Fig. 1 a kind of file layout change-over method disclosed in the embodiment of the present invention one;
The schematic flow sheet of Fig. 2 a kind of file layout change-over method disclosed in the embodiment of the present invention two;
Fig. 3 disclosed in the embodiment of the present invention three a kind of judge described conversion before the file name formats of file whether meet the schematic flow sheet of the first pre-conditioned method;
Fig. 4 disclosed in the embodiment of the present invention four a kind of judge described conversion before the file name formats of file whether meet the schematic flow sheet of the first pre-conditioned method;
Fig. 5 is a kind of disclosed in the embodiment of the present invention five judges the schematic flow sheet whether described intermediate data file meets the second pre-conditioned method;
Fig. 6 is a kind of disclosed in the embodiment of the present invention six judges the schematic flow sheet whether described intermediate data file meets the second pre-conditioned method;
Fig. 7 disclosed in the embodiment of the present invention seven a kind of judge the conversion preset after the file name formats of file whether meet the schematic flow sheet of the 3rd pre-conditioned method;
Fig. 8 disclosed in the embodiment of the present invention eight a kind of judge the conversion preset after the file name formats of file whether meet the schematic flow sheet of the 3rd pre-conditioned method.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to protection scope of the present invention.
The embodiment of the present invention one discloses a kind of file layout change-over method, and in the process that the file that described method is used in Excel table and this two type of proprietary file form is changed mutually, shown in Figure 1, described method comprises:
Step S101: receive conversion preceding document;
Step S102: extract the information data in described conversion preceding document, and described information data stored according to default classifying rules, obtains the intermediate data file corresponding with described conversion preceding document;
Step S103: according to the transformation rule preset, generates the file after the conversion preset by described intermediate data file.
Present embodiment discloses a kind of file layout change-over method, conversion preceding document is received in described method, extract the information data in described conversion preceding document, and described information data is classified according to default classifying rules, obtain the intermediate data file corresponding with described conversion preceding document, according to the transformation rule preset, described intermediate data file is generated the file after the conversion preset, the file achieving Excel table and this two type of proprietary file form accurately, is easily changed mutually.
The embodiment of the present invention two discloses a kind of file layout change-over method, and in the process that the file that described method is used in Excel table and this two type of proprietary file form is changed mutually, shown in Figure 2, described method comprises:
Step S201: receive conversion preceding document;
Step S202: judge whether the file name formats of described conversion preceding document meets first pre-conditioned, if so, performs step S203, if not, then performs step S204;
Wherein, described first pre-conditionedly comprises: filename meets that the vehicle obtained in file designation call format, filename meets the requirements, the network segment/nodal information in filename meets the requirements, information data in file meets the requirements, wherein, define the field of the information such as vehicle, the network segment, node, network type in file name formats, each field uses identifier to separate;
Further, filename meets the criterion of file designation call format: whether the form of each field information meets the requirements, and whether field number meets the requirements;
The satisfactory criterion of the vehicle obtained in filename: whether the vehicle in file name segment information meets the requirement of existing vehicle;
The satisfactory criterion of the network segment/nodal information in filename the: whether the network segment/nodal information in the filename network segment/Node field information meets the requirement of place vehicle;
The satisfactory criterion of information data in file: whether the nodal information in file meets the requirement of place vehicle;
Step S203: extract the information data in described conversion preceding document, and described information data stored according to default classifying rules, obtains the intermediate data file corresponding with described conversion preceding document;
Wherein, the information data comprised in described intermediate data file comprises: any one or a few the combination in file information data, schedule information data, message information data, signal message data and version information data;
Step S204: again receive conversion preceding document;
Step S205: judge whether described intermediate data file meets second pre-conditioned, if so, performs step S206, if not, then performs step S208;
Step S206: receive the file after the conversion preset;
Step S207: judge whether the file name formats of the file after described default conversion meets the 3rd pre-conditioned, if so, then performs step S209, if not, performs step S210; ;
Step S208: output modifications suggestion content, modifies next conversion preceding document according to described amendment suggestion content;
Step S209: described intermediate data file conversion is generated the file after the conversion preset;
Step S210: the file name formats redefining the file after described conversion.
A kind of file layout change-over method disclosed in the present embodiment is on the basis of embodiment one, add the deterministic process of the file after to conversion preceding document, intermediate data file and default conversion, whether the file before conversion is judged to meet first pre-conditioned, described intermediate data file judges whether to meet second pre-conditioned, judged whether to meet the 3rd pre-conditioned to the file after described default conversion, three above-mentioned deterministic processes, the accuracy rate that the file that improve Excel table and this two type of proprietary file form is changed mutually.
For judging whether the file name formats of described conversion preceding document meets the first pre-conditioned method and comprise two kinds below, a kind ofly a kind ofly disclosed in the embodiment of the present invention three judge whether the file name formats of described conversion preceding document meets the first pre-conditioned method, shown in Figure 3, described procedure comprises:
Step S301: when the described file name formats changing preceding document is into file designation form;
Wherein, in the filename of described conversion preceding document, field number is consistent with the requirement of file designation form with identifier number;
Step S302: judge whether the file designation form of described conversion preceding document names form consistent with default file, if so, performs step S303, if not, performs step S304;
Step S303: meet described first pre-conditioned;
Step S304: do not meet described first pre-conditioned.
Another kind is a kind of disclosed in the embodiment of the present invention four judges whether the file name formats of described conversion preceding document meets the first pre-conditioned method, and shown in Figure 4, described procedure comprises:
Step S401: when the described file name formats changing preceding document is into file designation form and vehicle file layout;
Wherein, the vehicle in the file name segment information of described conversion preceding document meets the requirement of existing vehicle;
Step S402: judge whether the file designation form of described conversion preceding document names form consistent with default file, if so, performs step S403, if not, performs step S404;
Step S403: judge that whether the vehicle file layout of described conversion preceding document is consistent with default vehicle file layout, if unanimously, performs step S405, if inconsistent, performs step S404;
Step S404: do not meet described first pre-conditioned;
Step S405: then meet described first pre-conditioned.
In above-described embodiment three and embodiment four, whether the file designation form of the file before embodiment three has judged described conversion names form consistent with default file, avoid occurring that file designation form is different with the file designation form preset, cause the error of subsequent operation, improve the conversion accuracy rate of carrying out file layout, whether embodiment four adds the file vehicle file layout judging described conversion preceding document on the basis of embodiment three consistent with default vehicle file layout, above-mentioned two kinds judge the accuracy rate that the file all serving raising Excel table and this two type of proprietary file form is changed mutually, just the degree of accuracy of the mode of embodiment four can be higher.
For judging whether described intermediate data file meets the second pre-conditioned method and comprise two kinds below, a kind ofly a kind ofly disclosed in the embodiment of the present invention five judge whether described intermediate data file meets the second pre-conditioned method, shown in Figure 5, described procedure comprises:
Step S501: when the information data in described intermediate data file is signal message data;
Wherein, described signal message data are that form according to signal message from described conversion preceding document extracts;
Step S502: judge whether described signal message data exceed the preset range of signal message data, if so, performs step S503, if not, performs step S504;
Wherein, the preset range of described signal message data: whether the form of the information such as title, length, transmission types, start bit, start byte, arrangement mode, signal maximum, signal minimum, physical maximum, physics minimum value, side-play amount, scale factor, signal value list, receiving node of signal meets the requirements; Whether mate between signal maximum, signal minimum, physical maximum, physics minimum value, side-play amount, scale factor; Whether mate between signal maximum, signal minimum, signal value list; Arrange between signal and signal and whether repeat; Whether signal name repeats.
Step S503: described intermediate data file does not meet described second pre-conditioned, performs step S208;
Step S504: described intermediate data file meets described second pre-conditioned, performs step S206.
Another kind is a kind of disclosed in the embodiment of the present invention six judges whether described intermediate data file meets the second pre-conditioned method, and shown in Figure 6, described procedure comprises:
Step S601: when the information data in described intermediate data file be signal message data and message information data time;
Wherein, described signal message data are that the form according to signal message from described conversion preceding document extracts, and equally, described message information data are also that the form according to message information from described conversion preceding document extracts;
Step S602: judge whether described signal message data exceed the preset range of signal message data, if exceed, performs step S603, if do not exceed, performs step S604;
Wherein, so the preset range of signal message data: the form of the information such as title, length, transmission types, start bit, start byte, arrangement mode, signal maximum, signal minimum, physical maximum, physics minimum value, side-play amount, scale factor, signal value list, receiving node of signal meets the requirements; The length of signal, start bit, start byte relationship match; Relationship match between signal maximum, signal minimum, physical maximum, physics minimum value, side-play amount, scale factor; Relationship match between signal maximum, signal minimum, signal value list; Signal name does not repeat;
Step S603: described intermediate data file does not meet second pre-conditioned, performs step S208;
Wherein, described second pre-conditionedly includes: every data exceed preset range, node mates with vehicle, node has transmission message and receives message, message ID does not repeat, message name does not repeat, the signal length that the length of message and message comprise is suitable, the send mode of message conforms with the regulations, the transmission cycle of message and message ID relationship match, the type of message of message and message ID relationship match, signal arrangement in message does not have the occupy-place repeated, message has a sending node at least, signal name does not repeat, signal byte sequence number is mated with signal length and start bit, signal bits sequence number is mated with signal length and start bit, signal bus minimum value is mated with physics minimum value, signal bus maximal value is mated with physical maximum, signal minimum exceedes signal value scope, above second pre-conditioned in, have for test criterion every in five in described classified information data, also have the test criterion to these five information data matching relationships,
Step S604: judge whether described message information data exceed the preset range of message information data, if exceed, performs step S603, if do not exceed, performs step S605;
Wherein, the preset range of described message information data: the form that the ID of message, title, length, transmission types, transmission cycle, message send the information such as cycle, the quick transmission times of message, message delay time, sending node fast meets the requirements; Message ID does not repeat; Message name does not repeat; The transmission types of message, transmission cycle, message send cycle, the quick transmission times of message, message delay time Relationship coupling, the transmission cycle of message and message ID relationship match fast;
Step S605: judge whether described signal message data and message information data meet the condition of message information and signal message matching relationship, if so, performs step S606, if not, performs step S603
Wherein, described message information and signal message matching relationship condition for: the signal length that the length of message and message comprise is suitable, the type of message of message and message ID relationship match, signal in message arrange the occupy-place not having to repeat;
Step S606: described intermediate data file meets second pre-conditioned, performs step S206;
Wherein, when described classified information data include signal message data and message information data, judge that the pre-conditioned of signal message data is: whether described signal message data exceed preset range, judge that the pre-conditioned of message information data is, whether message information data exceed preset range, be exactly judge whether described signal message data and message information data meet the condition of message information and signal message matching relationship in addition, as can be seen here, when described classified information data comprise two or more information datas, except to need to judge that each information data will meet pre-conditioned, relation between described information data is also needed also to meet pre-conditioned.
In above-described embodiment five and embodiment six, it is second pre-conditioned that embodiment five has judged whether described intermediate data file meets, when the information data in described intermediate data file is signal message data, judge whether described signal message data meet and exceed preset range, disclose when described classified information data comprise two or more information datas in embodiment six, except needs judge each information data whether meet pre-conditioned except, also need to judge whether the relation between described information data also meets pre-conditioned, describedly pre-conditionedly can to preset according to the needs of client, the combination of any several that can be any one also can be, the needs of client can be met flexibly, usable range is expanded.
Whether the file name formats for the file after judging described default conversion meets the 3rd pre-conditioned method and comprises two kinds below, a kind of disclosed in the embodiment of the present invention seven a kind of judge the conversion preset after the file name formats of file whether meet the 3rd pre-conditioned process and comprise:
Step S701: when described default change after the file name formats of file into file designation form time;
Wherein, in the filename after described conversion, field number is consistent with the requirement of file designation form with identifier number;
Step S702: judge whether the file designation form of the file after described default conversion meets the file designation form of default output file, if so, performs step S703, if not, performs step S704;
Step S703: meet described 3rd pre-conditioned;
Step S704: do not meet described 3rd pre-conditioned.
Another kind of disclosed in the embodiment of the present invention eight a kind of judge the conversion preset after the file name formats of file whether meet the 3rd pre-conditioned process and comprise:
Step S801: when described default change after the file name formats of file into file designation form and vehicle file layout time;
Wherein, the vehicle in the file name segment information of the file after described conversion meets the requirement of existing vehicle;
Step S802: judge whether the file designation form of the file after described default conversion meets the file designation form of default output file, if so, performs step S803, if not, performs step S804;
Step S803: judge that whether the vehicle file layout of the file after described default conversion is consistent with default output vehicle file layout, if unanimously, performs step S805, if inconsistent, performs step S804;
Step S804: do not meet described 3rd pre-conditioned;
Step S805: meet described 3rd pre-conditioned.
In above-described embodiment seven and embodiment eight, whether meet the 3rd to the file name formats of the file after described default conversion pre-conditionedly to judge, that is: whether the file designation form of the file after judging described default conversion in embodiment seven meets the file designation form of default output file, if, then meet the 3rd pre-conditioned, judge in embodiment eight whether file designation form and the vehicle file layout of the file after described default conversion meet the file designation form of default output file and export vehicle file layout, if, then meet the 3rd pre-conditioned, before file after described intermediate data file converts described default conversion to, add Rule of judgment, further increase the accuracy rate of conversion mutually between file layout.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.Be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the most wide region consistent with principle disclosed herein and features of novelty.

Claims (3)

1. a file layout change-over method, is characterized in that, be applied to the mutual conversion of different-format file in vehicle network communications database, described method comprises:
Receive conversion preceding document;
Extract the information data in described conversion preceding document, and described information data is stored according to default classifying rules, obtain the intermediate data file corresponding with described conversion preceding document;
According to the transformation rule preset, described intermediate data file is generated the file after the conversion preset;
Wherein, the information data comprised in described intermediate data file comprises: any one or a few the combination in file information data, schedule information data, message information data, signal message data and version information data;
Wherein, before the information data in the described conversion preceding document of described extraction, described method also comprises:
Judge whether the file name formats of described conversion preceding document meets first pre-conditioned, if so, then extract the information data in described conversion preceding document, otherwise again receive conversion preceding document;
Wherein, described to judge whether the file name formats of described conversion preceding document meets first pre-conditioned, specifically comprises:
When the described file name formats changing preceding document is into file designation form, when file designation form and the default file of described conversion preceding document name form consistent, meet first pre-conditioned;
When the described file name formats changing preceding document is into file designation form and vehicle file layout, file designation form and the default file of described conversion preceding document name form consistent, and the vehicle file layout of described conversion preceding document consistent with default vehicle file layout time, meet first pre-conditioned;
Wherein, information data in the described conversion preceding document of described extraction, and described information data is stored according to default classifying rules, after obtaining the intermediate data file corresponding with described conversion preceding document, the transformation rule that described basis is preset, before described intermediate data file being generated the file after the conversion preset, also comprise:
Judge whether described intermediate data file meets second pre-conditioned, if so, then according to the transformation rule preset, described intermediate data file is generated the file after the conversion preset;
Wherein, described to judge whether described intermediate data file meets second pre-conditioned, specifically comprises:
When the information data in described intermediate data file is signal message data, judge whether described signal message data exceed the preset range of signal message data, if not, then described intermediate data file meets second pre-conditioned;
When the information data in described intermediate data file be signal message data and message information data time, judge whether described signal message data exceed the preset range of signal message data, if exceed, then described intermediate data file does not meet second pre-conditioned, if do not exceed, then judge whether described message information data exceed the preset range of message information data, if exceed, then described intermediate data file does not meet second pre-conditioned, if do not exceed, then judge whether described signal message data and message information data meet the condition of message information and signal message matching relationship, if, then described intermediate data file meets second pre-conditioned, if not, then described intermediate data file does not meet second pre-conditioned,
Wherein, the transformation rule that described basis is preset, the process of the file after described intermediate data file is generated the conversion preset comprises:
Receive the file after the conversion preset, judge whether the file name formats of the file after described default conversion meets the 3rd pre-conditioned, if, described intermediate data file conversion is generated the file after the conversion preset, if not, the file name formats of the file after described default conversion is redefined;
Wherein, described judge described default conversion after the file name formats of file whether meet the 3rd pre-conditioned, specifically comprise:
Judge whether the file designation form of the file after described default conversion meets the file designation form of default output file, if so, then meet the 3rd pre-conditioned, otherwise, do not meet the 3rd pre-conditioned;
Or,
When the file designation form of the file after described default conversion and the file designation form of default output file consistent, and, the vehicle file layout of the file after described default conversion with preset export vehicle file layout consistent time, the file after described conversion meets the 3rd pre-conditioned.
2. method according to claim 1, is characterized in that, also comprises:
When described intermediate data file do not meet described second pre-conditioned time, then output modifications suggestion content, by next conversion preceding document modify according to described amendment suggestion content.
3. according to the method in claim 1 or 2 described in any one, it is characterized in that, described intermediate data file is any one or a few the combination in array, stack, queue, chained list, tree, figure, heap, hash table, temporary variable.
CN201210581502.9A 2012-12-27 2012-12-27 A kind of file layout change-over method Active CN103020024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210581502.9A CN103020024B (en) 2012-12-27 2012-12-27 A kind of file layout change-over method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210581502.9A CN103020024B (en) 2012-12-27 2012-12-27 A kind of file layout change-over method

Publications (2)

Publication Number Publication Date
CN103020024A CN103020024A (en) 2013-04-03
CN103020024B true CN103020024B (en) 2016-01-27

Family

ID=47968643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210581502.9A Active CN103020024B (en) 2012-12-27 2012-12-27 A kind of file layout change-over method

Country Status (1)

Country Link
CN (1) CN103020024B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559285A (en) * 2013-11-07 2014-02-05 大连东方之星信息技术有限公司 Method for monitoring file folder in real time and supporting conversion of multi-format files
CN105279177A (en) * 2014-07-03 2016-01-27 北京联嘉众赢网络技术有限公司 Data structure conversion method and apparatus
CN108733674B (en) * 2017-04-14 2021-10-08 宁德时代新能源科技股份有限公司 A2L file merging method and device
CN107247697A (en) * 2017-07-05 2017-10-13 上海蔚赫信息科技有限公司 A kind of method that Excel file is converted to automotive networking DBC files
CN107644059A (en) * 2017-08-18 2018-01-30 广州视源电子科技股份有限公司 Method and apparatus, storage medium and terminal device derived from database file
CN107992567A (en) * 2017-11-29 2018-05-04 北京天健通泰科技有限公司 Collecting method and data collecting system
CN109213102B (en) * 2018-09-11 2022-01-18 深圳众城卓越科技有限公司 Multi-command monitoring method and device, computer equipment and storage medium
CN111103861B (en) * 2018-10-25 2023-04-07 上汽通用汽车有限公司 Method and apparatus for developing an integrated system based on vehicle after-market diagnostic needs
CN110851665B (en) * 2019-11-12 2022-07-12 上海元城汽车技术有限公司 Calibration information extraction method and device, electronic equipment and storage medium
CN111178004B (en) * 2019-12-30 2023-12-26 北京富通东方科技有限公司 Regular digital representation method for airport stand resource allocation
CN112559470A (en) * 2020-12-04 2021-03-26 北京车和家信息技术有限公司 File format conversion method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751461A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Document conversion method and device
CN102541903A (en) * 2010-12-27 2012-07-04 无锡华润上华半导体有限公司 Comma separated value (CSV) to microsoft excel (XLS) format conversion mode
CN102609400A (en) * 2011-01-19 2012-07-25 上海中信信息发展股份有限公司 Method for converting file formats and conversion tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205619A1 (en) * 2002-02-14 2004-10-14 Twede Roger S. Method and system for chained format translation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751461A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Document conversion method and device
CN102541903A (en) * 2010-12-27 2012-07-04 无锡华润上华半导体有限公司 Comma separated value (CSV) to microsoft excel (XLS) format conversion mode
CN102609400A (en) * 2011-01-19 2012-07-25 上海中信信息发展股份有限公司 Method for converting file formats and conversion tool

Also Published As

Publication number Publication date
CN103020024A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103020024B (en) A kind of file layout change-over method
CN111382174B (en) Multi-party data joint query method, device, server and storage medium
CN101877659B (en) Method, device and system for monitoring packet loss
CN109962847A (en) The packaging method and device and computer readable storage medium of business function chain message
CN109460219A (en) The method of rapid serial Interface Control File
CN103259718A (en) Flow table conversion method and device
CN113612654B (en) Vehicle-mounted gateway function test method based on database
CN100498787C (en) Report generating method, equipment and system
CN105005543A (en) Interface generation apparatus and method
CN101986282B (en) Topology adaptation method and device
CN109861998A (en) A kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement
CN101794283A (en) Method and system for processing character strings and matcher
CN102611741A (en) Method for extracting communication matrix from AUTOSAR (Automotive Open System Architecture) system allocation model
CN116341481B (en) Clock file confirmation method and device, electronic equipment and storage medium
CN107968722B (en) Method for converting interface control file into AFDX (avionics full Duplex switched Ethernet) network equipment configuration file
CN102624736B (en) TL1 (transaction language 1) command verification method and TL1 command verification device
CN104378362A (en) Method and device for carrying out conversion of message interfaces
CN108763127B (en) Method for realizing Modbus adapter capable of realizing interconversion of source data and target data
CN102752238A (en) General gateway equipment and Internet of things system
CN115776486A (en) Electronic file exchange method and system based on exchange node hierarchical grouping
CN105701048A (en) Multichannel data dynamic transmission method
CN113835712A (en) Fast data packet routing method for judging according to given field value
JP5353641B2 (en) Business process structure estimation method, program, and apparatus
CN105095239A (en) Uncertain graph query method and device
US10897401B2 (en) Determining the importance of network devices based on discovered topology, managed endpoints, and activity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 100101 Beijing city Chaoyang District Anxiang Beili 11 B block 8 layer

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.