TW202022729A - Online reporting method and system - Google Patents
Online reporting method and system Download PDFInfo
- Publication number
- TW202022729A TW202022729A TW107143227A TW107143227A TW202022729A TW 202022729 A TW202022729 A TW 202022729A TW 107143227 A TW107143227 A TW 107143227A TW 107143227 A TW107143227 A TW 107143227A TW 202022729 A TW202022729 A TW 202022729A
- Authority
- TW
- Taiwan
- Prior art keywords
- message
- server
- socket server
- reporting method
- option
- Prior art date
Links
Images
Abstract
Description
本發明是關於一種電腦程式軟體及包括該種電腦程式軟體的一系統,特別是一種線上檢舉方法及系統。The invention relates to a computer program software and a system including the computer program software, in particular to an online reporting method and system.
如果發現違法或犯罪行為,民眾通常會想到向警察機關、檢察機關、司法機關、或其他主管機關進行通報,但民眾往往不願意親身前往這些機關,甚至不願意透過電話或信件來聯繫這些機關,如此一來,可能無人揭發違法或犯罪行為,放任違法者或犯罪者逍遙法外。If illegal or criminal behavior is discovered, people usually think of reporting to the police, prosecutors, judiciary, or other competent authorities, but people are often unwilling to go to these authorities in person, or even contact these authorities by phone or letter. In this way, no one may expose illegal or criminal acts, and the offenders or criminals may be allowed to go unpunished.
幸運的是,有賴於網際網路的發達,民眾頻繁地使用即時通訊軟體來溝通交流,因此,可能更有意願使用即時通訊軟體來檢舉違法或犯罪行為。Fortunately, due to the development of the Internet, people frequently use instant messaging software to communicate. Therefore, they may be more willing to use instant messaging software to report illegal or criminal activities.
有鑑於此,本發明的一種觀點是為了便利民眾進行線上檢舉,提供美觀且簡潔的一人性化介面,並可依序引導民眾點選或填寫各種檢舉資料,增添檢舉的有效性,並減輕政府機關的負擔。根據這種觀點,本發明的線上檢舉方法包括: 步驟S1:由一套接字伺服器的一直譯器來執行一程式碼段落,以生成一選項問題訊息,該選項問題訊息是對應於多個判斷條件; 步驟S2:由一訊息伺服器經由一應用程式介面來轉送該套接字伺服器所生成的該選項問題訊息,並轉送一選項回覆訊息至該套接字伺服器; 步驟S3:由該套接字伺服器來判斷該選項回覆訊息是否關聯於該些判斷條件的任何一個,以生成一敘述問題訊息,該敘述問題訊息是對應於一檢舉資料庫的一欄位; 步驟S4:由該訊息伺服器經由該應用程式介面來轉送該套接字伺服器所生成的該敘述問題訊息,並轉送一敘述回覆訊息至該套接字伺服器;及 步驟S5:由該套接字伺服器來判斷該敘述回覆訊息是否具有一合法格式,以將該敘述回覆訊息儲存於該檢舉資料庫的該欄位。In view of this, one of the viewpoints of the present invention is to facilitate online reporting by the public, provide a beautiful and concise one-person interface, and guide the public to click or fill in various reporting information in order, increase the effectiveness of reporting, and reduce the government The burden of the agency. Based on this point of view, the online reporting method of the present invention includes: Step S1: A code segment is executed by a translator of a set of word servers to generate an option question message, and the option question message corresponds to multiple Judgement conditions; Step S2: A message server forwards the option problem message generated by the socket server through an application program interface, and forwards an option response message to the socket server; Step S3: From The socket server determines whether the option response message is related to any of the determination conditions to generate a narrative problem message, the narrative problem message corresponding to a field in a report database; Step S4: From The message server forwards the narrative problem message generated by the socket server through the application program interface, and forwards a narrative reply message to the socket server; and step S5: from the socket server To determine whether the narrative reply message has a legal format, and store the narrative reply message in the field of the report database.
選擇性地或較佳地,該選項問題訊息或該敘述問題訊息是關聯於一被檢舉人單位、一被檢舉人、一違法時間、一違法地點、一違法行為、或一違法事實證據。Optionally or preferably, the option question message or the narrative question message is related to an informant unit, an informant, an illegal time, an illegal location, an illegal act, or an illegal factual evidence.
選擇性地或較佳地,該五個步驟S1至S5是依序執行,且接續地執行於該程式碼段落的另一程式碼段落是根據該選項回覆訊息來選定。其中,所謂的「依序」是指在時間上依照先後順序,但不必然在時間上密接,也就是說,先後兩步驟之間可能穿插其他步驟。Optionally or preferably, the five steps S1 to S5 are executed in sequence, and another code segment executed successively in the code segment is selected according to the option reply message. Among them, the so-called "sequential" refers to the sequence in time, but not necessarily close in time, that is, other steps may be interspersed between two successive steps.
選擇性地或較佳地,該選項問題訊息或該敘述問題訊息包括前一使用者所回答的前一選項回覆訊息或前一敘述回覆訊息的一部或全部。Optionally or preferably, the option question message or the narrative question message includes part or all of the previous option reply message or the previous narrative reply message answered by the previous user.
此外,為了確保通訊的保密性及資料傳輸的正確性,本發明的線上檢舉方法更包括: 步驟A1:寫入一頻道密鑰及一頻道存取代碼至該套接字伺服器,以建立該套接字伺服器與該訊息伺服器之間的一通訊頻道。In addition, in order to ensure the confidentiality of communication and the accuracy of data transmission, the online reporting method of the present invention further includes: Step A1: Write a channel key and a channel access code to the socket server to establish the A communication channel between the socket server and the message server.
選擇性地或較佳地,本發明的線上檢舉方法更包括: 步驟A2:由該套接字伺服器來判斷若一接收訊息的一路徑資訊不是回呼位址,則回應一偵錯訊息。Optionally or preferably, the online reporting method of the present invention further includes: Step A2: The socket server determines if a path information of a received message is not a callback address, and responds with a debugging message.
選擇性地或較佳地,本發明的線上檢舉方法,更包括: 步驟A3:由該套接字伺服器來判斷若一接收訊息的一請求方式不是貼文方式,則回應一偵錯訊息。Optionally or preferably, the online reporting method of the present invention further includes: Step A3: The socket server determines if a request method for receiving a message is not a post method, and responds with a debugging message.
選擇性地或較佳地,本發明的線上檢舉方法更包括: 步驟B1:由該訊息伺服器,根據一登錄請求,將一使用者的一使用者識別資料登錄至該訊息伺服器的一使用者清單。Optionally or preferably, the online reporting method of the present invention further includes: Step B1: The message server registers a user identification data of a user to a use of the message server according to a registration request List of people.
選擇性地或較佳地,該選項問題訊息或該敘述問題訊息是適合於傳送至一使用者的一終端裝置的一即時通訊應用程式。Optionally or preferably, the option question message or the narrative question message is suitable for sending to an instant messaging application of a terminal device of a user.
選擇性地或較佳地,該選項問題訊息是由該訊息伺服器經由該應用程式介面來轉換成用於一即時通訊應用程式的一樣板訊息,且該樣板訊息是一按鈕樣板、一確認樣板、或一輪播樣板。Optionally or preferably, the option question message is converted by the message server through the application program interface into a template message for an instant messaging application, and the template message is a button template and a confirmation template , Or a sample round.
選擇性地或較佳地,該選項問題訊息是由該訊息伺服器經由該應用程式介面來轉換,據以啟用一即時通訊應用程式的一操作介面的一圖文選單。Optionally or preferably, the option question message is converted by the message server through the application program interface, thereby enabling a graphic menu of an operation interface of an instant messaging application.
此外,本發明所提供的線上檢舉方法可將蒐集到的多個檢舉資料輸入而儲存於一檢舉資料庫,甚至彙整而輸出成一表單,以便提供給警察機關、檢察機關、司法機關、或其他主管機關。此外,經過彙整的檢舉資料庫可用於統計檢舉案件的數目或交叉比對檢舉案件的真實性。據此,本發明的線上檢舉方法更包括: 步驟C1:由該訊息伺服器,根據一登錄請求,將一管理員的一管理員識別資料登錄至該訊息伺服器的一管理員清單。In addition, the online reporting method provided by the present invention can input and store a plurality of collected reporting data in a reporting database, or even aggregate and output into a form, so as to provide it to police agencies, prosecutors, judicial agencies, or other competent authorities. organ. In addition, the consolidated report database can be used to count the number of reported cases or cross-compare the authenticity of the reported cases. Accordingly, the online reporting method of the present invention further includes: Step C1: The message server registers an administrator identification data of an administrator to an administrator list of the message server according to a login request.
選擇性地或較佳地,本發明的線上檢舉方法更包括: 步驟C2:由該訊息伺服器經由該應用程式介面來轉送一瀏覽請求至該套接字伺服器;及 步驟C3:由該套接字伺服器,根據該瀏覽請求,將該檢舉資料庫的至少一欄位的一資料傳送至該套接字伺服器。Optionally or preferably, the online reporting method of the present invention further includes: Step C2: The message server transmits a browsing request to the socket server via the application program interface; and Step C3: The socket server The socket server sends a data of at least one field of the report database to the socket server according to the browsing request.
選擇性地或較佳地,本發明的線上檢舉方法更包括: 步驟C4:由該套接字伺服器來統計或交叉比對該檢舉資料庫的多個欄位的多個資料。Optionally or preferably, the online reporting method of the present invention further includes: Step C4: The socket server counts or cross-compares multiple data in multiple fields of the reporting database.
選擇性地或較佳地,該檢舉資料庫是建置於該套接字伺服器或一第三方伺服器,該第三方伺服器不屬於該套接字伺服器及該訊息伺服器。Optionally or preferably, the report database is built on the socket server or a third-party server, and the third-party server does not belong to the socket server and the message server.
此外,本發明所提供的線上檢舉方法適用於蒐集多種證據形式,例如,文字、照片、影片、或錄音。據此,該套接字伺服器是組態成將包括一影片、一圖片、一聲音、或一非文字檔案的一接收訊息儲存在該檢舉資料庫,並將用於讀取該接受訊息的一網址回傳至該訊息伺服器。In addition, the online reporting method provided by the present invention is suitable for collecting multiple forms of evidence, such as text, photos, videos, or audio recordings. Accordingly, the socket server is configured to store a received message including a video, a picture, a sound, or a non-text file in the report database, and will be used to read the received message A URL is returned to the message server.
本發明的另一種觀點是將上述線上檢舉方法實現成一種系統。根據這另一種觀點,本發明的線上檢舉系統包括至少一電腦設備,是經組態成執行上述線上檢舉方法。Another viewpoint of the present invention is to implement the above online reporting method into a system. According to this other viewpoint, the online reporting system of the present invention includes at least one computer device that is configured to execute the above-mentioned online reporting method.
以下提供本發明的不同實施例。這些實施例是用於說明本發明的技術內容,而非用於限制本發明的權利範圍。可將本發明的特徵進行修飾、置換、組合、分離、或設計,以應用於其他實施例。Different embodiments of the invention are provided below. These embodiments are used to illustrate the technical content of the present invention, rather than to limit the scope of rights of the present invention. The features of the present invention can be modified, substituted, combined, separated, or designed to be applied to other embodiments.
值得注意的是,在本發明中,除了特別指明者之外,所謂的「第一」或「第二」等序數,只是用於區別具有相同名稱的多個元件(element),並不表示其等的位階、執行、排列、或製程的先後順序。It is worth noting that, in the present invention, unless otherwise specified, the so-called "first" or "second" ordinal numbers are only used to distinguish multiple elements with the same name, and do not mean that they The order of rank, execution, arrangement, or manufacturing process.
在本發明中,所謂的「系統」、「設備」、「裝置」、「模組」、或「單元」等用語,是指一電子元件或由多個電子元件所組成的一數位電路、一類比電路、或其他更廣義的電路,且除了特別指明者之外,它們不必然有階層或從屬關係。In the present invention, the terms "system", "equipment", "device", "module", or "unit" refer to an electronic component or a digital circuit composed of multiple electronic components, Analog circuits, or other circuits in a broader sense, and unless otherwise specified, they do not necessarily have a hierarchy or affiliation.
此外,本發明的方法、或其中的步驟或手段可以任何所需及適合方式來實現。例如,它們可實現於硬體或軟體。除了特別指明者之外,本發明的多種功能性元件、層級及手段可包括一適合處理器、一控制器、一功能性單元、一電路、一程序邏輯、一微處理器的設置等,可操作成執行該些功能。可能存在一專用的硬體元件及/或可程式硬體元件,可組態成以所需及適合方式來操作。In addition, the method of the present invention, or the steps or means therein can be implemented in any desired and suitable manner. For example, they can be implemented in hardware or software. Unless otherwise specified, the various functional elements, levels and means of the present invention may include a suitable processor, a controller, a functional unit, a circuit, a program logic, a microprocessor setting, etc. Operate to perform these functions. There may be a dedicated hardware component and/or programmable hardware component that can be configured to operate in a required and suitable manner.
(線上檢舉系統)(Online reporting system)
圖1顯示本發明的一實施例的線上檢舉系統1。在下文中,其他圖式亦是配合圖1一併參考。Fig. 1 shows an online reporting system 1 according to an embodiment of the present invention. In the following, other drawings are also referred to in conjunction with FIG. 1.
該線上檢舉系統1包括一套接字伺服器(socket server)10及一訊息伺服器(message server)20,兩者透過一有線網路或一無線網路的一通訊頻道30來聯繫彼此。典型地,該套接字伺服器10與該訊息伺服器20之間的通訊需要滿足安全通訊協定(secure sockets layer,SSL)。The online reporting system 1 includes a socket server 10 and a message server 20. The two communicate with each other through a
該套接字伺服器10可為一本地伺服器或一雲端伺服器。該套接字伺服器10包括一直譯器11,以執行一程式碼12,該程式碼12包括多個程式碼段落(或稱為模組)121、122、或123等。在此僅示意性地顯示三個多個程式碼段落121、122、及123,但其數目不限於此。該些程式碼段落雖然依序排列,但不必然依序執行,特別是,接續地執行於一程式碼段落的另一程式碼段落是根據一選項回覆訊息來選定。該選項回覆訊息的生成及作用將在下文中詳細說明。該程式碼12可使用高階程式語言Python來撰寫,但不限於此,例如,Visual Basic、Delphi、Perl、PHP、ECMAScript、Ruby、或C#亦是可能的工具。The socket server 10 can be a local server or a cloud server. The socket server 10 includes a
該套接字伺服器10較佳是包括一檢舉資料庫41,以便儲存一接收訊息,特別是其中的一影片、一圖片、一聲音、或一非文字檔案。此外,該套接字伺服器10在完成儲存後,可產生一網址,以便讀取該影片、該圖片、該聲音、或該非文字檔案。作為示範性而非限制性的例子,這種位址功能的程式碼段落可能具有下列形式: for p in multimedia_path: line_bot_api.push_message(lineid, TextSendMessage(text="https://www.網域名稱.com/%s" % p['path']))The socket server 10 preferably includes a report database 41 to store a received message, especially a video, a picture, a sound, or a non-text file. In addition, the socket server 10 can generate a URL after the storage is completed, so as to read the video, the picture, the sound, or the non-text file. As an exemplary and non-limiting example, the code segment of this address function may have the following forms: for p in multimedia_path: line_bot_api.push_message(lineid, TextSendMessage(text="https://www.domain name. com/%s"% p['path']))
然而,該檢舉資料庫41不必然存在於該套接字伺服器10中,而可改以建置於一第三方伺服器40,該第三方伺服器40不屬於該套接字伺服器10及該訊息伺服器20,如圖2所示。舉例而言,為了方便線上製作、公開、或填寫,可使用建置於Google伺服器的Google表單作為該檢舉資料庫41。該套接字伺服器10與該第三方伺服器40之間的通訊方式可比照該套接字伺服器10與該訊息伺服器20之間的通訊方式。However, the report database 41 does not necessarily exist in the socket server 10, but can be modified to be built in a third-party server 40, and the third-party server 40 does not belong to the socket server 10 and The message server 20 is shown in FIG. 2. For example, in order to facilitate online production, publication, or filling, a Google form built on a Google server can be used as the report database 41. The communication method between the socket server 10 and the third-party server 40 can be compared with the communication method between the socket server 10 and the message server 20.
該訊息伺服器20包括一應用程式介面(application programming interface,API)21。該應用程式介面21可將一訊息自該訊息伺服器20轉送至該套接字伺服器10,或自該套接字伺服器10轉送至該訊息伺服器20。該套接字伺服器10的該程式碼12可導入(import)該API介面21所規定的一變數(variable)、一資料結構(data structure)、或一函式(function)等物件(object)。The message server 20 includes an application programming interface (API) 21. The
該訊息伺服器20除了與該套接字伺服器10通訊之外,更可與一終端裝置50通訊,特別是收發多個訊息於該終端裝置50所安裝的一即時通訊應用程式51,或加以控制之。該終端裝置50例如是智慧型手機、平板電腦、筆記型電腦、或桌上型電腦,亦可能是另一伺服器。In addition to communicating with the socket server 10, the message server 20 can also communicate with a
(建置系統環境)(Build system environment)
圖3顯示本發明的一實施例的線上檢舉方法的用於建置系統環境的流程圖。典型地,必須在系統環境建置完成後,才可執行本發明的主要功能,即線上檢舉功能。建置系統環境的流程包括多個步驟:FIG. 3 shows a flow chart of an online reporting method for building a system environment according to an embodiment of the present invention. Typically, the main function of the present invention, that is, the online reporting function, can only be executed after the system environment is built. The process of building a system environment includes multiple steps:
步驟A1是寫入一頻道密鑰(channel secret)及一頻道存取代碼(channel access token)至該套接字伺服器10,以建立該套接字伺服器10與該訊息伺服器20之間的該通訊頻道30,特別是,作為身分驗證之用。該頻道密鑰及該頻道存取代碼是由該訊息伺服器20所指派,特別是,可由該套接字伺服器10的一管理員在該訊息伺服器20上註冊而取得。Step A1 is to write a channel secret and a channel access token to the socket server 10 to establish a connection between the socket server 10 and the message server 20 This
步驟A2是由該套接字伺服器10來判斷若一接收訊息的一路徑資訊不是回呼位址,則回應一偵錯訊息。作為示範性而非限制性的例子,這種判斷功能的程式碼段落可能具有下列形式: if environ['PATH_INFO'] != '/callback': start_response('404 Not Found', []) return create_body('Not Found')In step A2, the socket server 10 determines if a path information of a received message is not a callback address, and responds with a debugging message. As an exemplary and non-limiting example, the code paragraph of this judgment function may have the following forms: if environ['PATH_INFO'] !='/callback': start_response('404 Not Found', []) return create_body ('Not Found')
步驟A3是由該套接字伺服器10來判斷若一接收訊息的一請求方式不是貼文方式,則回應一偵錯訊息。作為示範性而非限制性的例子,這種判斷功能的程式碼段落可能具有下列形式: if environ['REQUEST_METHOD'] != 'POST': start_response('405 Method Not Allowed', []) return create_body('Method Not Allowed')In step A3, the socket server 10 determines if a request method for receiving a message is not a post method, and responds with a debugging message. As an exemplary and not restrictive example, the code paragraph of this judgment function may have the following forms: if environ['REQUEST_METHOD'] !='POST': start_response('405 Method Not Allowed', []) return create_body ('Method Not Allowed')
(線上檢舉)(Online report)
圖4顯示本發明的一實施例的線上檢舉方法的主要功能的流程圖。在系統環境建置完成後,即可執行本發明的線上檢舉方法的主要功能,即線上檢舉功能,其包括多個步驟:FIG. 4 shows a flowchart of main functions of an online reporting method according to an embodiment of the present invention. After the system environment is built, the main function of the online reporting method of the present invention, namely the online reporting function, can be executed, which includes multiple steps:
步驟S1是由該套接字伺服器10的該直譯器11來執行一程式碼段落,例如,121,以生成一選項問題訊息,該選項問題訊息是對應於多個判斷條件。In step S1, the
步驟S2是由該訊息伺服器20經由該應用程式介面21來轉送該套接字伺服器10所生成的該選項問題訊息,並轉送一選項回覆訊息至該套接字伺服器10。In step S2, the message server 20 forwards the option problem message generated by the socket server 10 through the
選擇性地或較佳地,該選項問題訊息是由該訊息伺服器20經由該應用程式介面21來轉換,據以啟用該即時通訊應用程式51的一操作介面511的一圖文選單512,如圖5A所示,該選項問題訊息在經過轉換後,在該即時通訊應用程式51的該操作介面511上呈現為一「用文字訊息檢舉」按鈕、一「上傳照片證據檢舉」按鈕、一「上傳錄影證據檢舉」按鈕、一「上傳錄音證據檢舉」按鈕、一「報票」按鈕、及一「私訊」按鈕。上述按鈕只是用於示範,並非用於限制,而可依照實際應用增減按鈕。Optionally or preferably, the option question message is converted by the message server 20 via the
接著,該「用文字訊息檢舉」按鈕可對應至一"/report"指令,該「上傳照片證據檢舉」按鈕可對應至一"/report_image"指令,該「上傳錄影證據檢舉」按鈕可對應至一"/report_video"指令,而一「上傳錄音證據檢舉」按鈕可對應至一"/report_audio"指令,諸如此類。例如,在一使用者點選該「用文字訊息檢舉」按鈕後,該"/report_image"指令就會作為該選項回覆訊息,自該訊息伺服器20經由該應用程式介面21來傳送至該套接字伺服器10,進而作為一判斷條件。換句話說,多個按鈕所分別蘊含的多個指令分別是對應至多個判斷條件。作為示範性而非限制性的例子,這種判斷功能的程式碼段落可能具有下列形式: if event.message.text.lower() == "/report" or event.message.text.lower() == "hi" or event.message.text == "檢舉": dblib.insert_report_by_line(event.source.user_id) dblib.insert_report_stage_by_line(event.source.user_id, "report") strtogo = MessageDict["briber"][0] line_bot_api.reply_message(event.reply_token, strtogo)Then, the "Report with text message" button can correspond to a "/report" command, the "Upload photo evidence report" button can correspond to a "/report_image" command, and the "Upload video evidence report" button can correspond to a "/report_video" command, and a "upload recording evidence report" button can correspond to a "/report_audio" command, and so on. For example, after a user clicks the "Report with text message" button, the "/report_image" command will be used as the option to reply to the message, which is sent from the message server 20 to the socket via the
選擇性地或較佳地,該選項問題訊息是由該訊息伺服器20經由該應用程式介面21來轉換成用於該即時通訊應用程式51的一對話框513的一樣板訊息(template message)514,且該樣板訊息是一按鈕樣板、一確認樣板、或一輪播樣板,如圖5B所示,該選項問題訊息在經過轉換後,在該即時通訊應用程式51的該對話框513中呈現為一「我知道是誰買票」按鈕、一「我聽說是誰買票」按鈕、及一「風聞誰買票」按鈕。上述按鈕只是用於示範,並非用於限制,而可依照實際應用增減按鈕。Alternatively or preferably, the option question message is converted by the message server 20 through the
步驟S3是由該套接字伺服器10來判斷該選項回覆訊息是否關聯於該些判斷條件的任何一個,以生成一敘述問題訊息,該敘述問題訊息是對應於一檢舉資料庫41的一欄位411,如圖6所示即為本發明的一實施例的檢舉資料庫41。In step S3, the socket server 10 determines whether the option response message is related to any of the determination conditions to generate a narrative question message, the narrative question message corresponding to a column of a report database 41
步驟S4是由該訊息伺服器20經由該應用程式介面21來轉送該套接字伺服器10所生成的該敘述問題訊息,並轉送一敘述回覆訊息至該套接字伺服器10。In step S4, the message server 20 forwards the narrative problem message generated by the socket server 10 through the
步驟S5是由該套接字伺服器10來判斷該敘述回覆訊息是否具有一合法格式,以將該敘述回覆訊息儲存於該檢舉資料庫41的該欄位411,如圖6所示。In step S5, the socket server 10 determines whether the narrative reply message has a legal format, and stores the narrative reply message in the
圖5A至圖5D顯示本發明的一實施例的「用文字訊息檢舉」的線上檢舉方法的畫面,以闡釋上述步驟S1至S5的執行。5A to 5D show the screens of the online reporting method of "reporting with text messages" according to an embodiment of the present invention to explain the execution of the above steps S1 to S5.
最初,如圖5A所示,該套接字伺服器10透過該訊息伺服器20經由該應用程式介面21控制該即時通訊應用程式51在該操作介面511上顯示該圖文選單512,包括該「用文字訊息檢舉」按鈕、該「上傳照片證據檢舉」按鈕、該「上傳錄影證據檢舉」按鈕、該「上傳錄音證據檢舉」按鈕、該「報票」按鈕、及該「私訊」按鈕。Initially, as shown in FIG. 5A, the socket server 10 controls the
一使用者點選該「用文字訊息檢舉」按鈕,就會產生該"/report_image"指令,進而由該訊息伺服器20經由該應用程式介面21轉送至該套接字伺服器10。When a user clicks the "report with text message" button, the "/report_image" command will be generated, and the message server 20 will forward it to the socket server 10 via the
接著,如圖5B所示,該套接字伺服器10控制該即時通訊應用程式51在該對話框513中顯示該「我知道是誰買票」按鈕、該「我聽說是誰買票」按鈕、及該「風聞誰買票」按鈕。Next, as shown in FIG. 5B, the socket server 10 controls the
該使用者點選該「我知道是誰買票」按鈕,同樣地,就會產生另一選項回覆訊息,進而回傳至該套接字伺服器10。The user clicks the "I know who bought the ticket" button, and similarly, another option response message will be generated, which will then be sent back to the socket server 10.
接著,如圖5B所示,該套接字伺服器10控制即時通訊應用程式在該對話框中顯示一敘述問題訊息,即「我知道買票的是……填入候選人陣營/買票者」。Then, as shown in Figure 5B, the socket server 10 controls the instant messaging application to display a message describing the problem in the dialog box, that is, "I know that the ticket purchaser is... fill in the candidate camp/buyer ".
該使用者輸入「王小明」並送出,就會產生一敘述回覆訊息,回傳至該套接字伺服器10。When the user enters "Wang Xiaoming" and sends it out, a narrative reply message will be generated and sent back to the socket server 10.
由於該敘述回覆訊息預設是具有一字串格式,而「王小明」符合該字串格式,而為合法,該套接字伺服器10就會將「王小明」儲存在該檢舉資料庫41的一「賄選人」欄位,如圖6所示。Since the narrative reply message has a string format by default, and "Wang Xiaoming" conforms to the string format and is legal, the socket server 10 will store "Wang Xiaoming" in one of the report database 41 The column of "bribery person" is shown in Figure 6.
(照片檢舉)(Photo report)
圖7顯示本發明的一實施例的「上傳照片證據檢舉」的線上檢舉方法的畫面,是在該使用者點選該「上傳照片證據檢舉」按鈕後所顯示的一畫面。其中,該套接字伺服器10控制該即時通訊應用程式51在該對話框513中顯示一選項問題訊息,即「請依序上傳照片檔,並在上傳完全部的照片檔後,點選輸入說明,描述一下內容,幫助我們理解。」及在該使用者點選一「輸入說明」按鈕後,接著顯示一敘述問題訊息,即「輸入說明」。FIG. 7 shows a screen of the online reporting method of "uploading photo evidence to report" according to an embodiment of the present invention, which is a screen displayed after the user clicks the "uploading of photo evidence to report" button. Among them, the socket server 10 controls the
(錄影檢舉)(Video report)
圖8顯示本發明的一實施例的「上傳錄影證據檢舉」的線上檢舉方法的畫面,是在該使用者點選該「上傳錄影證據檢舉」按鈕後所顯示的一畫面。其中,該套接字伺服器10控制該即時通訊應用程式51在該對話框513中顯示一選項問題訊息,即「請依序上傳錄影檔,並在上傳完全部的錄影檔後,點選輸入說明,描述一下內容,幫助我們理解。」及在該使用者點選一「輸入說明」按鈕後,接著顯示一敘述問題訊息,即「請說明一下上傳的影片大致的內容」。此外,該套接字伺服器10在接收到該使用者所輸入一敘述回覆訊息後,會產生一網址,例如,https://www.網域名稱.com/流水號.mp4,同樣地,由該訊息伺服器20經由該應用程式介面21來轉送至該即時通訊應用程式51,以便該使用者確認及備查。FIG. 8 shows a screen of the online reporting method of "uploading video evidence reporting" according to an embodiment of the present invention, which is a screen displayed after the user clicks the "uploading video evidence reporting" button. Among them, the socket server 10 controls the
(錄音檢舉)(Recording report)
圖9顯示本發明的一實施例的「上傳錄音證據檢舉」的線上檢舉方法的畫面,是在該使用者點選該「上傳錄音證據檢舉」按鈕後所顯示的一畫面。其執行步驟相似於前述實施例,故相似之處在此不再贅述。惟較為特別之處在於,在本實施例中,該套接字伺服器10可組態成啟用該即時通訊應用程式51的一麥克風功能515。FIG. 9 shows a screen of the online reporting method of "upload recording evidence report" according to an embodiment of the present invention, which is a screen displayed after the user clicks the "upload recording evidence report" button. The execution steps are similar to the foregoing embodiment, so the similarities are not repeated here. The only special feature is that in this embodiment, the socket server 10 can be configured to enable a
由上述範例可知,該選項問題訊息或該敘述問題訊息可關聯於一被檢舉人單位、一被檢舉人、一違法時間、一違法地點、一違法行為、或一違法事實證據,且不限於此。As can be seen from the above example, the option problem message or the narrative problem message can be related to an informant unit, an informant, an illegal time, an illegal place, an illegal act, or an illegal factual evidence, and it is not limited to this .
此外,由上述範例可知,其中,該五個步驟S1至S5是依序執行,具體而言,先出現該選項問題訊息及收到該選項回覆訊息,然後才出現該敘述問題訊息及收到該敘述回覆訊息。其中,所謂的「依序」是指在時間上依照先後順序,但不必然在時間上密接,也就是說,先後兩步驟之間可能穿插其他步驟。In addition, it can be seen from the above example that the five steps S1 to S5 are executed in sequence. Specifically, the option problem message appears first and the option reply message is received, and then the narrative problem message appears and the response message is received. Describe the reply message. Among them, the so-called "sequential" refers to the sequence in time, but not necessarily close in time, that is, other steps may be interspersed between two successive steps.
進一步地,該些程式碼段落121、122、及123雖然依序排列,但不必然依序執行,例如,先執行該程式碼段落121,即詢問該使用者欲選擇何種檢舉方式,然後在該使用者選定特定檢舉方式,因而產生該選項回覆訊息後,接續地執行該另一程式碼段落123,該另一程式碼123是關於該特定檢舉方式。Further, although the code paragraphs 121, 122, and 123 are arranged in sequence, they are not necessarily executed in sequence. For example, the code paragraph 121 is executed first, that is, the user is asked which report method he wants to choose, and then The user selects a specific reporting method, and after generating the option reply message, the other code segment 123 is executed successively, and the other code 123 is related to the specific reporting method.
選擇性地或較佳地,該選項問題訊息或該敘述問題訊息包括前一使用者所回答的前一選項回覆訊息或前一敘述回覆訊息的一部或全部。比方說,前一使用者可能檢舉未記錄於該檢舉資料庫41的一候選人,此時,就將該候選人的姓名匯入該選項問題訊息,而在該樣本訊息514中成為一選項,以供現前的該使用者點選。也就是說,本發明的該選項問題訊息,及其所轉換成的該樣本訊息514可自動更新,使檢舉選項更加完備。Optionally or preferably, the option question message or the narrative question message includes part or all of the previous option reply message or the previous narrative reply message answered by the previous user. For example, the previous user may report a candidate that is not recorded in the report database 41. At this time, the name of the candidate is imported into the option question message, and it becomes an option in the
(登錄使用者)(Login user)
圖10顯示本發明的一實施例的線上檢舉方法的用於登錄使用者的流程圖。該流程包括至少一步驟:FIG. 10 shows a flowchart for logging in a user in an online reporting method according to an embodiment of the present invention. The process includes at least one step:
步驟B1是由該訊息伺服器20,根據一登錄請求,將一使用者的一使用者識別資料登錄至該訊息伺服器20的一使用者清單。In step B1, the message server 20 registers a user identification data of a user in a user list of the message server 20 according to a registration request.
選擇性地或較佳地,該選項問題訊息或該敘述問題訊息是適合於傳送至該使用者的該終端裝置50的該即時通訊應用程式51。Optionally or preferably, the option question message or the narrative question message is suitable for transmission to the
舉例而言,一檢舉人(即該使用者)有意願使用本發明的線上檢舉系統1,他可在他的智慧型手機(即該終端裝置)50上安裝該即時通訊應用程式51,例如,LINE、WeChat、Facebook Messenger、Skype、或WhatsApp等。該檢舉人可透過該即時通訊應用程式51來傳送該登錄請求,以加入本發明的線上檢舉系統1所設置的一檢舉群組。一旦同意該檢舉人的該登錄請求,該檢舉人的該使用者識別資料即可登錄至該訊息伺服器20的該使用者清單。該檢舉人即可傳送一檢舉訊息至該檢舉群組。該檢舉訊息更會透過該訊息伺服器20傳送至該套接字伺服器10,以供進一步處理。For example, if a reporter (that is, the user) wants to use the online reporting system 1 of the present invention, he can install the
(登錄管理員)(Login Administrator)
圖11顯示本發明的一實施例的線上檢舉方法的用於登錄管理員的流程圖。該流程包括多個步驟:FIG. 11 shows a flowchart for logging in an administrator of an online reporting method according to an embodiment of the present invention. The process includes multiple steps:
步驟C1是由該訊息伺服器20,根據一登錄請求,將一管理員的一管理員識別資料登錄至該訊息伺服器20的一管理員清單。In step C1, the message server 20 registers an administrator identification data of an administrator to an administrator list of the message server 20 according to a login request.
舉例而言,該管理員可在他的智慧型手機上安裝該即時通訊應用程式51,例如,LINE、WeChat、Facebook Messenger、Skype、或WhatsApp等。該管理員可透過該即時通訊應用程式51來傳送該登錄請求,以加入本發明的線上檢舉系統1所設置的一檢舉群組。一旦同意該管理員的該登錄請求,該管理員的該使用者識別資料即可登錄至該訊息伺服器20的該管理員清單。該管理員即可傳送一控制命令至該檢舉群組,以便存取本發明的線上檢舉系統1。For example, the administrator can install the
步驟C2是由該訊息伺服器20經由該應用程式介面21來轉送一瀏覽請求至該套接字伺服器10。In step C2, the message server 20 forwards a browsing request to the socket server 10 via the
步驟C3是由該套接字伺服器10,根據該瀏覽請求,將如圖6所示的該檢舉資料庫41的至少一欄位411的一資料傳送至該套接字伺服器10。In step C3, the socket server 10 sends a piece of data in at least one
步驟C4是由該套接字伺服器10來統計或交叉比對該檢舉資料庫41的多個欄位411的多個資料。In step C4, the socket server 10 counts or cross-compares multiple data in
舉例而言,該管理員可能需要瀏覽該檢舉資料庫41的某一列的多個欄位411的多個資料,他就傳送該瀏覽請求至該套接字伺服器10,以指定所欲瀏覽的該些資料,特別是,亦可請求該套接字伺服器10來針對該檢舉資料庫41進行統計,例如,針對一期間、一選區、一政黨、或一候選人來統計涉及賄選的檢舉案件的數目。此外,多個資料可能重複,而可用於交叉比對,以驗證檢舉的可信度。For example, the administrator may need to browse multiple data in
選擇性地或較佳地,該檢舉資料庫41的幾個欄位411可設定有有一存取權限或一存取密碼,以供特定管理員存取。非該特定管理員若欲存取一不開放欄位,則會接收到一拒絕存取訊息。Optionally or preferably,
綜上所述,本發明為了便利民眾進行線上檢舉,結合一即時通訊應用程式,提供美觀且簡潔的一人性化介面,並可依序引導民眾點選或填寫各種檢舉資料,增添檢舉的有效性,並減輕政府機關的負擔。To sum up, in order to facilitate online reporting by the public, the present invention combines an instant messaging application to provide a beautiful and concise and user-friendly interface, and can guide the public to click or fill in various reporting information in order to increase the effectiveness of reporting , And reduce the burden on government agencies.
儘管本發明已透過上述實施例加以說明,可理解的是,只要不悖離本發明精神及所主張的申請專利範圍,可進行許多其他修飾及變化,而實現其他實施例。Although the present invention has been described through the above-mentioned embodiments, it is understandable that many other modifications and changes can be made to realize other embodiments as long as they do not depart from the spirit of the present invention and the claimed scope of patent application.
1:線上檢舉系統 10:套接字伺服器 11:直譯器 12:程式碼 121、122、123:程式碼段落 20:訊息伺服器 21:應用程式介面 30:通訊頻道 40:第三方伺服器 41:檢舉資料庫 411:欄位 50:終端裝置 51:即時通訊應用程式 511:操作介面 512:圖文選單 513:對話框 514:樣板訊息 515:麥克風功能 1: Online reporting system 10: Socket server 11: interpreter 12: Code 121, 122, 123: Code paragraph 20: Message server 21: Application Programming Interface 30: Communication channel 40: Third-party server 41: Report database 411: field 50: terminal device 51: Instant messaging applications 511: Operation interface 512: Graphic Menu 513: Dialog 514: sample message 515: Microphone function
圖1顯示本發明的一實施例的線上檢舉系統。 圖2顯示本發明的另一實施例的線上檢舉系統,其中,檢舉資料庫是改以建置於第三方伺服器。 圖3顯示本發明的一實施例的線上檢舉方法的用於建置系統環境的流程圖。 圖4顯示本發明的一實施例的線上檢舉方法的主要功能的流程圖。 圖5A至圖5D顯示本發明的一實施例的「用文字訊息檢舉」的線上檢舉方法的畫面。 圖6顯示本發明的一實施例的檢舉資料庫。 圖7顯示本發明的一實施例的「上傳照片證據檢舉」的線上檢舉方法的畫面。 圖8顯示本發明的一實施例的「上傳錄影證據檢舉」的線上檢舉方法的畫面。 圖9顯示本發明的一實施例的「上傳錄音證據檢舉」的線上檢舉方法的畫面。 圖10顯示本發明的一實施例的線上檢舉方法的用於登錄使用者的流程圖。 圖11顯示本發明的一實施例的線上檢舉方法的用於登錄管理員的流程圖。Figure 1 shows an online reporting system according to an embodiment of the present invention. Figure 2 shows an online reporting system according to another embodiment of the present invention, in which the reporting database is modified to be built on a third-party server. FIG. 3 shows a flow chart of an online reporting method for building a system environment according to an embodiment of the present invention. FIG. 4 shows a flowchart of main functions of an online reporting method according to an embodiment of the present invention. 5A to 5D show screens of an online reporting method of "reporting with text message" according to an embodiment of the present invention. Fig. 6 shows a report database according to an embodiment of the present invention. FIG. 7 shows a screen of the online reporting method of "uploading photo evidence to report" according to an embodiment of the present invention. FIG. 8 shows a screen of the online reporting method of "uploading video evidence reporting" according to an embodiment of the present invention. FIG. 9 shows a screen of the online reporting method of "upload recording evidence reporting" according to an embodiment of the present invention. FIG. 10 shows a flowchart for logging in a user in an online reporting method according to an embodiment of the present invention. FIG. 11 shows a flowchart for logging in an administrator of an online reporting method according to an embodiment of the present invention.
1:線上檢舉系統 1: Online reporting system
10:套接字伺服器 10: Socket server
11:直譯器 11: interpreter
12:程式碼 12: Code
121、122、123:程式碼段落 121, 122, 123: Code paragraph
20:訊息伺服器 20: Message server
21:應用程式介面 21: Application Programming Interface
30:通訊頻道 30: Communication channel
50:終端裝置 50: terminal device
51:即時通訊應用程式 51: Instant messaging applications
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107143227A TWI665617B (en) | 2018-12-03 | 2018-12-03 | Online reporting method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107143227A TWI665617B (en) | 2018-12-03 | 2018-12-03 | Online reporting method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI665617B TWI665617B (en) | 2019-07-11 |
TW202022729A true TW202022729A (en) | 2020-06-16 |
Family
ID=68049813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107143227A TWI665617B (en) | 2018-12-03 | 2018-12-03 | Online reporting method and system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI665617B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI507009B (en) * | 2012-02-24 | 2015-11-01 | Wei Ping Chang | System and method of smartphone for preventing fraud |
TWI614717B (en) * | 2016-10-21 | 2018-02-11 | Illegal incident reporting system and operation method | |
TWM550519U (en) * | 2017-06-30 | 2017-10-11 | 萬能學校財團法人萬能科技大學 | Driving recorder with violation report function |
TWM561280U (en) * | 2017-12-12 | 2018-06-01 | 勤業眾信風險管理諮詢股份有限公司 | Third-party reporting system |
-
2018
- 2018-12-03 TW TW107143227A patent/TWI665617B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
TWI665617B (en) | 2019-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9128782B2 (en) | Consolidated data services apparatus and method | |
US9189774B2 (en) | System that supports automatic blogging and social group interactions | |
US20130159443A1 (en) | System and method for providing customizable communications | |
US20150326512A1 (en) | Message transmission system and method for a structure of a plurality of organizations | |
US11240224B2 (en) | Systems, methods and apparatuses for identity access management and web services access | |
US20140164504A1 (en) | System and method for providing customizable communications | |
CN103944872A (en) | System for muti-point publication syndication | |
US11595701B2 (en) | Systems and methods for a video sharing service within controlled environments | |
CN102474432A (en) | Social network virtual private network | |
US9300913B2 (en) | Communication system, communication management apparatus, and recording medium | |
TW201533674A (en) | Accessing and configuring meeting attributes | |
JP6107196B2 (en) | Management system, management method and program | |
US20150326513A1 (en) | Message transmission system and method suitable for individual and organization | |
TWI558131B (en) | System and method of having a plurality of organizations to dispatch a message | |
EP3457622B1 (en) | Electronic voting system | |
US20150242813A1 (en) | User certification systems and methods for relationship and other services | |
KR20130128026A (en) | Group managing system and method for transmitting and reciving school information including counceling information | |
AU2018286643A1 (en) | Method and system for identity proofing | |
Peter et al. | Development of mobile application for e-voting system using 3-step security for preventing phishing attack | |
TWI665617B (en) | Online reporting method and system | |
US10225224B1 (en) | Web and voice message notification system and process | |
KR101750493B1 (en) | Web based Realtime Service system and server device supporting the same | |
Akinyede et al. | Development of a Software System for Realtime Management of Crime Reports in Southwestern Nigeria: The Administrative Approach | |
JP2013088927A (en) | Authentication management device and authentication management method | |
JP2022530962A (en) | Electronic systems and methods for assessing emotional states |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |