1309806 故、發明說明: 【發明所屬之技術領域】 ^ 一種運用在網路填報問卷自動生成系統之自動跳題功能之產生方法及 系統,其可以針對問卷填答者的答題結果依設計的規則,而產生跳題效果 的方法,係利用一個由JavaScript電腦程式所實作出來的固定運算函數,來 ,合由網路問卷自動生成系統所自動化產生的問卷網頁,達成受訪者在回 答5亥網路問卷時,可依答題時狀態產生由上而下順序式的跳題動作。 【先前技術】 内電月式所自動化產生的網路問卷畫面,要一次將問卷的所有題目 面屬於不需跳題的靜態問卷。需要有跳題效果出現 ΐΖίρία回答3⑵if严接讀取關連式資料庫(RelationalDat—e) i情跳題的設定内容,織再依照所指定的跳題順 日内容1f示,得將問卷内容分頁且分多次顯示,並 有見,上述習用方式仍 新,盒習所f生的各項缺點,乃亟思加以改良創 報問卷自動生成系統ϋ跳^力能;完ί本件運用在網路填 【發明目的】 自動可2用/網路填報問卷自触成系統之 HTML為主體内容的撰寫$式° *電腦#呈式自動產生以 連接上提供網路問卷之網頁久’二I由填答者透過網際網路(Internet) 事件驅動跳題的』答的結果針對需要的) 產生跳題的縣。 取雜期卷4者的預設的闕結果,及時 【發明内容】 能之卷自«統之自動跳題功 序填入該問卷題目的Ητ= ί | ί卷網頁的同時,依題目順 目標題目ID名稱。 私戴的名稱與各組題目選項個別需要跳題的 5 1309806 【實施方式】 ^請參關—及圖二所示,圖—為自動跳題功能之產生方法及系統簡易 & J示意圖在本發日月方法套用在網路問卷的Ητ胤文件時,此問卷題目 _容_遵循以下格式的輪出才能產生跳題的效果。 在HTML文件中舄要包含兩大區塊,第_區塊是以命吻= Α噴:/?/Ρ7Ά籤所包含的程式區塊,此程式區塊必須依題魏序提供本 、罔路問卷所有題目所屬的表格標籤<^>中的文件識別1〇纟稱,並將上述 資訊儲存在陣列(Array)變數中,$外,本發明之所以採用作為自 動化網路問卷跳題的是因為它適合用來執行在用戶端的計算及驗證, 以減少祠服1端的計算及網m透過填答者回答問題祕果作出跳題 動作的事件驅動(Event Driven)。本發明提出一個電腦程式的演算函數來配 合自動化產生問卷網頁時,所有的由上而下順序式的跳題動作。在圖一❶ 所表示的虛線區塊的Function函數程式碼範例可以如下所示: <html> <Head> .·' <script LANGUA GE= "JA VASCRIPT"> ; varArrayI = newArray(”Ql」D”,,,Q2-ID,’,,,Q3jD’,,,,Q4j£>,,,·..); 1 function跳題功能函數(,本題ID',跳題目標ID,“,一 ”··, I "跳題功能開始運作 \ 呼叫重新顯示題目函數('本題ID':); \ Sl=計算本題Π)在本問卷中的題目實際題號; 一、 S2=計算跳題目標ID在本問卷中的題目實際題號; \ 若(S2-S1>1>則將所跳過的題目依序設定爲隱^ I } I function重新顯示題目函數(,本題1D,){ \ }1309806 Therefore, the invention description: [Technical field to which the invention belongs] ^ A method and system for generating an automatic jump function function for automatically generating a system in a questionnaire, which can be based on the design rules of the questionnaire respondent's answer result. The method of generating the effect of jumping is to use a fixed arithmetic function made by a JavaScript computer program to generate a questionnaire webpage automatically generated by the online questionnaire automatic generation system, and the respondent answers the question. When the questionnaire is used, the top-down sequential jump action can be generated according to the state of the answer. [Prior Art] The online questionnaire screen automatically generated by the internal electricity monthly model must be a static questionnaire that does not need to skip the question. Need to have the effect of jumping questions ΐΖίρία answer 3 (2) if the strict reading of the relational database (RelationalDat-e) i love jumping question setting content, weaving according to the specified jumping title content 1f, the questionnaire content should be paged and It has been displayed many times, and it has been seen that the above-mentioned methods of use are still new, and the shortcomings of the box-study program are the result of the improvement of the report-making questionnaire automatically generated by the system. [Inventive purpose] Automatically use 2/network to report the self-touching system's HTML as the main content of the writing of the text type * computer # rendering automatically generated to connect to the web page providing the online questionnaire for a long time. Through the Internet (Internet) events, the results of the "answers for the answer" are needed. The default result of the person who took the miscellaneous period 4, in time [invention content] can be filled into the Ητ= ί | ί _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Title ID name. The name of the private wear and the options of each group need to jump 5 1309806 [Embodiment] ^Please refer to - and Figure 2, the figure - the method and system for generating the automatic jump function is simple & J schematic in this When the method of sending the sun and the moon is applied to the Ητ胤 file of the online questionnaire, the question of the questionnaire _ _ follows the rotation of the following format to produce the effect of the hop. In the HTML file, you need to include two large blocks. The first block is the program block included in the kiss: ?喷: /?/Ρ7Ά, this program block must provide the original and the road in accordance with the title. The file in the table label <^> of all the questionnaires of the questionnaire identifies 1 nickname, and the above information is stored in the array (Array) variable, and the invention is used as an automated network questionnaire. It is suitable for performing calculations and verifications on the user side to reduce the calculation of the service and the event drive of the network m to make a jump action through the answerer's answer to the problem. The present invention proposes a computer program calculus function to coordinate all of the top-down sequential jump action actions when automatically generating a questionnaire web page. An example of the Function function code of the dotted line block shown in Figure 1 can be as follows: <html><Head> .·' <script LANGUA GE= "JA VASCRIPT">; varArrayI = newArray( "Ql"D",,,Q2-ID,',,,Q3jD',,,,Q4j£>,,,..); 1 function jump function function (, the title ID', jump target ID , ",一"··, I " Jumping function starts to work\Call redisplay title function ('This question ID':); \ Sl=Calculate this question Π) The actual title of the topic in this questionnaire; 1. S2 = Calculate the actual problem number of the topic ID of the jump question in this questionnaire; \ If (S2-S1>1>, set the skipped title to be hidden ^ I } I function redisplay the title function (, title 1D) ,){ \ }
\ function實際題號計算函數(’題目丨D’M </scripf> </Head> 13〇98〇6 產生自動跳題動作的程式酬可_部處理魏分為以下三個部分。 、/題力自b函數·將所傳入的本題題目ID與跳題目標,作出跳題動 2判斷與處理,跳題處理後被跳過的題目將會把該題所在之表格讀> 籤(代表題目的織//>)以”秋~坤=Wf,,的語法設鳩藏狀態。 •重新顯示題目函數:依陣列變數(ArraylH的内容,將指定題目仍之 後的題目表格標籤以,,離~%=⑽,,的語法重新設為顯示狀態。 •實際職計算函數:依陣賴數(Arra谢的畔,計算題目id在本 問卷的實際題號順序。 圖二為顯示自動跳題魏之產生方法及系統之運作流糊。流程說明 如下: •輸入資訊内容 A"ayl :將本問卷所_目的1D,按闕目職或湖齡的順序存 放於此\ function actual question number calculation function ('title 丨D'M </scripf></Head> 13〇98〇6 The program that generates the automatic jump action can be divided into the following three parts. / Question force from the b function · will be passed the title ID of the title and the target of the jump, make the jump question 2 judgment and processing, the title that is skipped after the jump question processing will read the form where the question is located > (On behalf of the title of woven / />) with "Autumn ~ Kun = Wf,, the grammar set the state of occlusion. · Redisplay the title function: According to the array variable (the contents of ArraylH, the specified topic is still after the title table label ,, from ~%=(10), the grammar is reset to the display state. • The actual job calculation function: according to the arbitrage number (Arra Xie's side, calculate the topic id in the actual title sequence of this questionnaire. Figure 2 shows the automatic The process of generating the method and the operation of the system are described in the following: • Input information content A"ayl: The 1D of the questionnaire is stored in the order of the position or the age of the lake.
ThisID :正在填答的題目ID JumpID :跳題指定的題目ID •自動跳題功能運作步驟 梦驟-:顯示TMD之後的問卷題目,主要用途在於填答者改變已填答 的結果,故需要重新顯示之前已被隱藏的題目 夕驟二··施仍與Array所存放的資訊比對,得到tmd在本問卷中的 題目順序(S1) 少驟三:Jumpm與Array所存放的資訊比對,得到漏D在本問卷中的 7 1309806 步驟四:判斷當(S2-S1 > 1)B夺,有跳題情況的產生則繼續步驟五,否則跳 到步驟六 步驟五:將問卷題目順序為(S1+1)至(S2-1)的題目隱藏 步驟六:程式結束 在第二區塊是以<如办> 標籤所包含的HTML文件本體,此區塊必須將 每一問卷題目個別用所屬的表格標籤<^^^包含起來,格式可以如下範例所 示: <body><form name= "FORM1" method^ "post" action="^^..asp">ThisID: The ID of the question being IDID JumpID: The title ID specified by the jump question • The automatic jump question function operation step Dream--: Display the questionnaire question after TMD, the main purpose is to change the completed result, so you need to re-request Displaying the previously hidden topic, the second step is still compared with the information stored in the Array, and the order of the title of the tmd in this questionnaire is obtained (S1). The third step: the information stored in the Jumpm and the Array is compared. Leak D in this questionnaire 7 1309806 Step 4: Judgment when (S2-S1 > 1) B win, if there is a jump situation, continue with step five, otherwise skip to step six, step five: the order of the questionnaire is ( The title of S1+1) to (S2-1) is hidden. Step 6: The end of the program in the second block is the HTML file body contained in the <such as the > tag. This block must be used individually for each questionnaire. The associated table label <^^^ is included, and the format can be as follows: <body><form name= "FORM1" method^ "post"action="^^..asp">
• <table於"Q1」D” namWQl 題目一的內容文字敘述• <table in the content text of "Q1"D" namWQl
<input type=radio ναΙηβ^Ιβία ' name= Ί_1Α " onclick= "^M00CQ1JD·, 'Q2_ID'); ">M0^A <inputtype=radiovalue^^iB'name="IJB" onclick^MMMCQlJD'/QSJD');'^^13 • </tdx/tr></table><input type=radio ναΙηβ^Ιβία ' name= Ί_1Α " onclick= "^M00CQ1JD·, 'Q2_ID'); ">M0^A <inputtype=radiovalue^^iB'name="IJB"Onclick^MMMCQlJD'/QSJD');'^^13 • </tdx/tr></table>
<tableid= "Q2JD"name^Q2jD"xtrxtd><tableid= "Q2JD"name^Q2jD"xtrxtd>
<input type^radio value='^Ιβ2Α' name= "I_2A " onclick^'Q4 ID'); ">M^2A 〈input type=radiQ value='選項2B,name=”I_2B” mdick="MM函數'Q2—ID’,'Q4JD');">選項28 </td></trx/table> ζ <iableid=”Q3」D”name=”Q3JD"xtfxtd>題目三的內容文字敘述 <inputtype=textvalue=’塡寫文字name=,,! —3A” 〇ncUek="跳題函數(IQ3 —ID,,,Q4jD,);, l*· </tdx/trx/table> <tableid= "Q4JD" name="Q4jD"xtrxtd><input type^radio value='^Ιβ2Α' name= "I_2A " onclick^'Q4 ID'); ">M^2A <input type=radiQ value='option 2B,name=”I_2B” Mdick="MM function 'Q2—ID', 'Q4JD');">Option 28 </td></trx/table> ζ <iableid=”Q3”D”name=”Q3JD"Xtfxtd> The content text of the title 3 <inputtype=textvalue='塡写字 name=,,! —3A” 〇ncUek="jump function (IQ3 —ID,,,Q4jD,);, l*· < ;/tdx/trx/table><tableid="Q4JD"name="Q4jD"xtrxtd>
〈input type=radio valued選項u’name=”I_4A” mclick="跳題函數CQ4—IDVQ5_ID,};">選項4A <input type=mdi。valUf選項 4B,name=,’UB,’ mdid^’跳題函數(IQ41D,,,q5jD');">^J04B <Ad></trx/table> .........</form> </body> </html> 由以上範例可以得知此問卷第一題包含兩個選項:選項1A與選項IB, 1309806 由以上|ϋ例可以得知此問卷第一題包含兩個選項:選項ία與選項 1Β,當問卷填答者選取選項1Β時,將驅動跳題函數作出跳題處理,因目標 題目ID指向問卷第三題的ID,此問卷第二題所屬的"奴_仍" 式區域將會改變為隱藏狀態,第二題標示為②的區塊將直 接從晝面上消失,填答畫面焦點將放在問卷第三題上,填完第三題後,由 於下一個目標題目ID指向問卷第四題的ID,即繼續往第四題填答,此時無 跳題作答之效果。 若是填答者改變問卷第-題已選擇的選項,選取選項1A時,此時被隱 藏的問卷第二題標示為②_塊將會改變為顯示狀態,填答者將可以繼續在 第二題中填答,«卷第二題填答之後,由於跳題設定的目標題目ID指向 問卷第四題的m,因此問卷第三題所屬的猶心= 程式區域將會由齡狀態改㈣隱餘態,問卷第三題標示為③的區塊將從 晝面上消失,填答焦點將放在問卷第四題上。填答者在回答此網路問卷時, 將依循此運作赋_繼齡τ作答至問卷錢—題,填答結束後再一併 將此問卷财回答結果送回指定_服器㈣中接收。 本發明並可糊树她細_朗,娜⑽的料 結果產生必要的跳題互動,並控_卷題目顯示與隱藏的狀態切換。 【特點及功效】 本發明所提供之—種翻在網關卷自動生衫狀自義題功能之 產生方法枝㈣細輸㈣咖,議下列優點: 1.本《明可大.局在問卷受訪者填寫問卷時的穩定性與保持即時互 !309806 2. 本發明可降低伺服器端的計算及轉流量,更可確保與減少網路傳 輸和比·料畴待_,其轉效《常明顯。 3. 本發明可運用在所有依題目昇冪排列由上而下的順序作跳題運 算,達成軟體程式再利用的高效益性。 上歹J詳細說明乃針對本發明之一可行實施例進行具體說明,惟該實施 例並非用赚縣發.補制,絲馨本發雜藝難所為之等效 實施或變更,均應包含於本案之專利範圍中。 ’-τ上所述本案不僅於技術思想上確屬創新,並具備習用之傳統方法 斤不及之上述多項功效,已充分符合新穎性及進步性之法定發明專利要 件’麦依法提出申請,想請貴局核准本件發明專利申請案,以勵發明, 至感德便。 【圖式簡單說明】 °奪參閱以下有關本發明之詳細說明及其附圖,將可進一步瞭解本發明 之技術内容及其目的功效;有關附圖為: 圖一為本發明一種運用在網路問卷自動生成系統之自動跳題功能之產 生方法,運用在單頁網路問卷的HTML原始碼簡易範例示意圖; 圖二為該一種運用在網路問卷自動生成系統之自動跳題功能之產生方 法之運作流程圖。 【主要部份代表符號】 〇 代表JAVASCRIPT語法中的Function函數程式 ^ 代表HTML語法中的TABLE標籤 1309806 ,題目二為隱藏狀態 ❸ 代表HTML語法中的INPUT標籤 ® 跳題函數執行焦點轉移至目標題目三 ❺ 跳題函數執行焦點轉移至目標題目二<input type=radio valued option u’name=”I_4A” mclick="jumping function CQ4—IDVQ5_ID,};"> Option 4A <input type=mdi. valUf option 4B, name=, 'UB, 'mdid^' jump function (IQ41D,,,q5jD');">^J04B <Ad></trx/table> ....... ..</form></body></html> From the above example, we can see that the first question of this questionnaire contains two options: Option 1A and Option IB, 1309806. The first question contains two options: option ία and option 1Β. When the questionnaire respondent selects option 1Β, the jump function will be driven to make the jump question. The target title ID points to the ID of the third question of the questionnaire. The "slave_still" area to which the question belongs will be changed to the hidden state. The block labeled 2 in the second question will disappear directly from the face, and the focus of the answer will be placed on the third question of the questionnaire. After the third question, since the next target title ID points to the ID of the fourth question of the questionnaire, it will continue to answer the fourth question. At this time, there is no effect of answering the question. If the respondent changes the option selected in the first question of the questionnaire, when option 1A is selected, the second question of the hidden questionnaire is marked as 2_block will be changed to the display state, and the respondent will be able to continue in the second question. In the answer, after the second question of the volume, the target title ID set by the jump question points to the m of the fourth question of the questionnaire, so the conscience of the third question belongs to the program area will be changed from the age state (four) State, the third part of the questionnaire marked with 3 will disappear from the face, and the focus will be placed on the fourth question of the questionnaire. When answering this online questionnaire, the respondent will follow the operation _ 继 τ τ to answer the questionnaire money-question, and then return the result of the questionnaire to the designated _ server (4). The invention can be used to paste her fine _ Lang, Na (10) material results in the necessary jump interaction, and control _ volume title display and hidden state switching. [Features and Efficacy] The present invention provides a method for generating a function of automatic self-study function in the gateway volume. (4) Fine-transfer (four) coffee, and discusses the following advantages: 1. This "Ming Keda. The stability and instantness of the interviewer fill in the questionnaire! 309806 2. The invention can reduce the calculation and traffic flow of the server side, and can ensure the network transmission and the reduction of the network traffic. . 3. The present invention can be applied to all the top-down orders in the ascending order of the problem to achieve the high efficiency of software program reuse. The detailed description of the above is a specific description of one of the possible embodiments of the present invention, but the embodiment is not equivalent to the implementation of the county, and the equivalent implementation or modification of the silkworm is necessary. The patent scope of this case. The case described in '-τ is not only innovative in terms of technical thinking, but also has many of the above-mentioned functions that are not in the traditional methods of customary use. It has fully complied with the statutory invention patent requirements of novelty and progressiveness. You have approved this invention patent application, in order to invent the invention, to the sense of virtue. BRIEF DESCRIPTION OF THE DRAWINGS The technical content of the present invention and its effects can be further understood by referring to the following detailed description of the present invention and the accompanying drawings. FIG. 1 is a schematic diagram of the present invention. The questionnaire automatically generates the automatic jumping function generation method of the system, and the simple example of the HTML source code used in the single-page network questionnaire is used; FIG. 2 is a method for generating the automatic jumping function of the online questionnaire automatic generation system. Operation flow chart. [Main part of the representative symbol] 〇 represents the function function program in JAVASCRIPT grammar ^ represents the TABLE tag 1309806 in the HTML grammar, the second topic is the hidden state ❸ represents the INPUT tag in the HTML grammar о jump function execution focus shift to the target topic three ❺ Jump function execution focus shift to target topic 2