Embodiment
The present invention has on the computer platform of Windows one, and a kind of data structure editing system is provided, in order to when the user operates the data structure, and the function of instant editing data structure.
Windows with general personal computer (PC) collocation windows series is an example, as form windows95 system is the very personalized application software of a cover, its characteristic is easy operation, and the 32 bit operating systems that belong to the multiplex (MUX), as long as the user opens computing machine, this operating system promptly can start voluntarily and enters key frame, and need not the pre-edit automatic execution file.The user then can learn which has can click application program operating at present by the diagram on the key frame, as click " file manager " project, then begin the operation of this application program, can occur the work form as Figure 1A on the screen, it comprises menu 11 and tree structure such as 10a, 10b and 10c etc.
And one of principal feature of windows operating system is that to handle for all incidents (event) all be to drive by message (message), and all message then need enter message column and divide and deliver to each application program.In addition, windows95 has subsidiary function on the line, its position " explanation " in menu, can open HELPER APPLICATIONS by clicking this project, form work form 12 as 1B figure, it comprises that " content " reaches " index " two big labels page 13a, at this is example with " content " labels page then, inventory under it can select the user to want the theme project of understanding, in general the theme project that is anti-white state is represented to be selected, each theme project still comprises many crosshead projects after clicking, the beginner then can obtain the information of windows95 from its content.
Yet, the conventional art background is described as described above, and the content of existing aid illustration application program may not be complete, and some project of introducing software function may have only diagrammatic illustration and detailed inadequately, perhaps also have not by the aid illustration application program person of listing in, the user promptly can't obtain information needed from here.In addition, at present the aid illustration application program is narrated then less than the function of carrying out instant translation with different languages such as Japanese, English or Chinese for some project because of not adding apparent dull barren of functions such as Multimedia Program or instant language translation.Therefore present aid illustration application program also can't provide a software teaching platform of getting close to the user.
Therefore if can utilize data structure editing system of the present invention on the aid illustration application program (winhelp) that windows95 provides, then owing to can learn the operation of user in the aid illustration form at any time, and current shown exercisable theme project increased functional graphic mark such as multimedia function pictorial symbolization, so can be when the user clicks the multimedia pictorial symbolization, instant theme project and the multimedia function that is clicked of carrying out perhaps carried out multi-lingual translation immediately to shown theme project (comprising crosshead).It should be noted that data structure editing system of the present invention, be not limited to the utilization of aid illustration application program (winhelp) and tree structure, the data structure of the various kenels in other application programs also can be carried out aforesaid editing operation.
See also Fig. 6, it shows data structure editing system calcspar of the present invention.Editing system is applicable to a Windows, is example at this and with general common tree structure, and present embodiment can be expanded the function of this tree structure immediately when the tree structure of user's application programs is operated.Wherein input media 61, can instruct according to the user as slide-mouse, keyboard or light pen and export a message.Windows 62, as be used for the winCE of palmtop computer or be applicable to win31, the win95 of desktop PC, mobile computer or present win98 series, then can receive this message and be sent to a message column 63 (messagequeue), so that message column 63 is sent to corresponding application program with this message.64 relevant tree structure message that message column 63 is transmitted of (tree-shaped) data structure owning application are handled.Utilize clasp joint portion 65 can tackle relevant tree structure message immediately in addition in addition, editing and processing portion 66 then energy filters out required message from the relevant tree structure message that clasp joint portion 65 is tackled.Database 67 has the data of corresponding this required message, for 66 retrievals of editing and processing portion, and exports result 68 in view of the above and comes tree structure is edited or function subsidiary (bundle) processing.
Wherein database 67 can store predefined data by a storing media, for example storer or hard disk etc., with the readable/writeable memory is example, and then the user can write database storer and at any time in advance upgrading, and editor belongs to individual's special graph mark or specific information etc.
Visible as the Fig. 2 of the principle of clasp joint portion 65,3 explanation in addition.At first according to shown in Figure 2, because multitask mode (multi-tasking) is adopted by Windows system, therefore the message transitive relation of 24,26,28 of existing legacy operating system 20 and application programs, be to reach by message column 22, that is operating system must transmit many message and application program, also must receive many message from each application program.
Yet as shown in Figure 3, clasp joint of the present invention portion 33 to advance passerby be a system-level clasp joint operation, that is the message transitive relation of 34,36,38 of operating system 30 and application programs, though be to reach by message column 32, but from the message that message column transmits all is 33 interceptions of clasp joint portion simultaneously, and does corresponding processing after judging.
Clasp joint portion must have the dynamic binding routine library of a shared data section in addition, sees also the 4th to 5 figure explanation.
As shown in Figure 4, shown that a conventional dynamic with shared data section links routine library (dll:dynamic lunk library).In the Windows of windows series, for (tree-shaped) data structure owning application, unless other application programs can with its shared data, otherwise have no way of to the employed tree structure of this application program edit or function subsidiary, for example traditional dynamic binding routine library 40 generally comprises a code segment 41 and a data segment, wherein different application programs such as aid illustration application program winhelp42 and user's application program operating 44, code segment 41 that can shared dynamic binding routine library 40, but data are then indivedual independent, that is when application program 44 changes the data segment 43 that dynamically links routine library 40, this change is also invisible concerning aid illustration application program winhelp42, can keep the complete data segment 45 of another part because dynamically link routine library 40, therefore, the tree structure owning application can't with other application program shared datas.
See also the 5th figure, system of clasp joint of the present invention portion finishes with a dynamic binding routine library with shared data section.That is dynamically link routine library 50 except that comprising code segment 51 and data segment 53,55, other comprises definition one shared data segment 57, wherein different application programs such as aid illustration application program winhelp52 and user's application program operating 54, except that can the code segment 51 of shared dynamic binding routine library 50, when each application program was made change as 52,54 pairs of data, as seen this change all belonged to concerning each uses this application program that dynamically links routine library 50.Therefore, the tree structure owning application can with other application program shared datas.
See also the 7th figure in addition, aforementioned data structure editing system can reach by data structure edit methods of the present invention, and it comprises following flow process after the beginning step of S710, still is example with the tree structure at this.
At first shown in step S715, be written into a fixed in advance database.S720 set by step then, initialization one clasp joint function is to carry out a system-level clasp joint job.
Then shown in step S725, wait for the arrival of news, and utilize the clasp joint function that the message that message column in the Windows transmits is tackled, and, judge whether it is the work window type that needs supervision, if not, continue to wait for the arrival of news according to those message; If then carry out next step.
Shown in step S730, according to this work window type that need monitor, judge whether it is work form under the tree structure, if not, get back to step S725, arrival again waits for the arrival of news; If then carry out next step.
Shown in step S735, for the form of working under the tree structure, can obtain its window title, and carry out next step.
Secondly, shown in step S740, can judge whether its owning application needs editor or expansion, if not, gets back to step S715, is written into predefined database again according to this window title; If then carry out next step.
Then, according to step S745, S750 carries out index to this predefined database, with the tree structure in this application view that need edit or expand, but obtains the identification code of operation item.
According to step S755, obtain the identification code of date of this item recognition sign indicating number correspondence then.
And then shown in step S760, come those projects are edited or the subsidiary processing of function according to item recognition sign indicating number and identification code of date.
Shown in step S765, after editing and processing finishes, prepare to handle next message at last, get back to step S715.
The aid illustration application program (winhelp) that provides with windows95 is an example, then utilize data structure editing system of the present invention to increase the functional graphic mark, carry out theme project and the multimedia function that is clicked with instant (on-line) as the multimedia function pictorial symbolization to current shown exercisable theme project.Therefore aforementioned flow process comprises the square of Fig. 8 A, 8B in addition, as following explanation.
See also Fig. 8 A, shown according to closing among Fig. 7 and sticked the local process flow diagram of pictorial symbolization.
At first shown in step S81, after obtaining the identification code that to operate supporting item, can obtain this supporting item according to this identification code that can operate supporting item and in the tree structure of form inventory, occupy.
Then shown in step S82, before aforementioned supporting item occupies in the tree structure of form inventory, produce at least one and can operate the pictorial symbolization form.
Secondly, shown in step S83, attach required pictorial symbolization in operating the pictorial symbolization form, for example compact disc graphics waits for that the user operates.
See also Fig. 8 B, shown local process flow diagram according to the editing and processing of relevant correspondence among the 7th figure.
At first shown in step S85, wait for that the user operates the supporting item in the tree structure in this form inventory.
Secondly shown in step S86, user's point is chosen and can be operated pictorial symbolization, is labeled as example at this with compact disc graphics.
Then shown in step S87, obtain the supporting item identification code of this compact disc graphics mark.
Shown in step S88, predefined database is carried out index then, to obtain to identification code of date that should compact disc graphics mark supporting item identification code.
At last, shown in step S89, carry out editing and processing, handle module as using multimedia according to this identification code of date.
In addition, for making aforementioned flow process of the present invention more clear, provide a preferred embodiment to give explanation at this.
See also Figure 10, it is presented in the trial balance aid illustration form, an inventory that does not have the multimedia aid illustration, and suppose that a beginner does not understand the method for operating of trial balance application software, then it can click " EXCEL " project earlier on the screen key frame, to open the trial balance application program, because windows95 has subsidiary function on the line, its position " explanation " in menu, so can open HELPER APPLICATIONS by clicking this project, form work form 14 as the 10th figure, it comprises that " content " reaches " index " two big labels page, at this is example with " content " labels page 15a then, inventory under it can select the user to want the theme project of understanding, and the theme project that in general is anti-white state is represented to be selected, as " changing the preset value of new loose-leaf notebook and worksheet " 14b, and each master project still comprises many crosshead projects after clicking, and the beginner can obtain the operation information of trial balance from its content.
Yet because trial balance aid illustration application program does not add functions such as Multimedia Program or instant language translation at present, dull barren so seem, utilization then can improve aforesaid drawbacks by data structure edit methods of the present invention, for example, add animated image and voice, make form of teaching lively, carry out instant translation for some project narration with different languages such as Japanese, English or Chinese in addition, can increase and understand and language ability, make present aid illustration application program become a software teaching platform of getting close to the user.
In other words, present embodiment was suitable for to as if in the key frame of Windows, the employed aid illustration application program of the secondary file of each application program winhelp, wherein in the inventory of aid illustration application program winhelp, each supporting item promptly manages by tree structure.Therefore the purpose of present embodiment system is to the secondary file of pure words its function of being edited or increase, for example change with multimedia mode and replace the pure words narration, and the user is carried out software teaching with regard to some supporting item, so that the user can more direct study and operation, at this, have multimedia teaching merit able one, with before the supporting item institute in addition the compact disc graphics sign represent, therefore when the user clicks the compact disc graphics mark, the content that can make supporting item shows in the mode of multimedia.
See also the 9th figure, existing promptly with regard to the data structure edit methods explanation of present embodiment, its flow process is then carried out behind beginning step S910.
At first shown in step S915, be written into a predefined database.S920 set by step then, initialization one clasp joint function is to carry out a system-level clasp joint job.
Then shown in step S925, wait for the arrival of news, and utilize the clasp joint function that the message that message column in the Windows transmits is tackled, and according to those message, judge whether it is for from work form with tree structure.
Shown in step S930, judge further whether this tree structure owning application is the aid illustration application program.
Shown in step S935,,, receive corresponding message with when the user operates the inventory content in the work form if the aid illustration application program is then carried out intercept process for the message from the form of working under the tree structure.
Then, shown in step S940, according to present exercisable auxiliary theme (crosshead) project of this corresponding information query, to obtain the identification code that to operate supporting item.
Shown in step S945, this can operate the identification code of supporting item according to predefined database index, then carries out next step if exist.
Shown in step S950, obtain the position of supporting item in the work form according to the identification code that can operate supporting item.
Shown in step S955, produce at least one operationable optical disc pictorial symbolization, its corresponding separately supporting item identification code.
Shown in step S960, the operationable optical disc pictorial symbolization was attached to supporting item before the position of work in the form, wait for that the user operates.
Shown in step S965, when user's point is chosen the compact disc graphics mark, obtain the supporting item identification code of this compact disc graphics mark.
Shown in step S970, this predefined database is carried out index, to obtain multi-medium data identification code to supporting item identification code that should the compact disc graphics mark.
At last, shown in step S975, use multimedia to handle module according to the multi-medium data identification code.
As shown in figure 11, it is to show in the secondary file to trial balance the work form of the tree structure extended multimedia function of the HELPER APPLICATIONS that uses according to the embodiment of Fig. 9.That is on screen, can open HELPER APPLICATIONS by " explanation " in the point selection function table, form work form 16 as Figure 11, it comprises that " content " reaches " index " two big labels page, at this is example with " content " labels page 16a then, inventory under it can select the user to want the theme project of understanding, therefore the theme project that is anti-white state is represented to be selected as " showing the worksheet of hiding " 16b, and the position before the question mark pictorial symbolization of this supporting item, be formed with a compact disc graphics mark 16b ', therefore, the user can click this compact disc graphics mark 16b ', and obtains the operation information of trial balance by multimedia teaching.
Comprehensively above-mentioned, utilize data structure editing system of the present invention and method, remove and to detect the mode of operation of user, can edit and do not influence the original function of application program own this data structure simultaneously the application program of the data management structure of tool such as tree-shaped form etc.For example, under the tree structure original function, the employed tree structure of application programs increases, deletes or revises; Or in tree structure, increase irrealizable function originally.
In the embodiments of the invention utilization, then can realize the instant translation function of secondary file, can not destroy simultaneously the connection between secondary file and original application program such as trial balance, simultaneously, can realize the multimedia subsidiary function in addition according to embodiments of the invention, it utilizes the basis of original secondary file, on the supporting item that needs the multimedia demonstration teaching, increase the multimedia mark, when clicking the multimedia mark of this supporting item, the user is carried out the explanation of this supporting item with video-audio with convenient user.
Yet utilization of the present invention is not limited to as embodiment disclosed, for example, though its application program with the tool tree structure form of windows series is an example, yet, the application program of the various data management structure forms of Windows that other are cross-platform and tool is also applicable, the user can utilize the special pictorial symbolization of predefined database collocation in addition, similarly be the file manager of setting up the individual with the caricature pictorial symbolization, perhaps prevent that to save the lock pictorial symbolization from damage others from understanding or read specific information in the computing machine etc.Though so the present invention with a preferred embodiment openly as above, so it is not in order to qualification the present invention, and any people that have the knack of this technology without departing from the spirit and scope of the present invention, still can do some and change and modification.Therefore protection scope of the present invention should be as the criterion with the scope defined in the appending claims.