TWI795922B - Data modification method, and data modification method at client end and at server end - Google Patents

Data modification method, and data modification method at client end and at server end Download PDF

Info

Publication number
TWI795922B
TWI795922B TW110135869A TW110135869A TWI795922B TW I795922 B TWI795922 B TW I795922B TW 110135869 A TW110135869 A TW 110135869A TW 110135869 A TW110135869 A TW 110135869A TW I795922 B TWI795922 B TW I795922B
Authority
TW
Taiwan
Prior art keywords
modification
server
client
data
instruction
Prior art date
Application number
TW110135869A
Other languages
Chinese (zh)
Other versions
TW202314483A (en
Inventor
侯智仁
傅新燈
林志豪
林志昂
Original Assignee
技鋼科技股份有限公司
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 技鋼科技股份有限公司 filed Critical 技鋼科技股份有限公司
Priority to TW110135869A priority Critical patent/TWI795922B/en
Application granted granted Critical
Publication of TWI795922B publication Critical patent/TWI795922B/en
Publication of TW202314483A publication Critical patent/TW202314483A/en

Links

Images

Abstract

A data modification method, includes: obtaining a modification command by a client-end device, wherein the modification command includes a client-end verification command and a server-end verification command, determining by the client-end device whether the client-end verification command fits client-end data, transmitting the modification command to a server-end device when the client-end verification command fits the client-end data, determining by the server-end device whether the server-end verification command fits server-end data, generating and outputting a modification response to the client-end device by the server-end device when the server-end verification command fits the server-end data, wherein the modification response is associated with an execution file corresponding to the modification command, and the modification response is not associated with execution file when the server-end verification command does not fit the server-end data, and obtaining and executing the executing file by the client-end device when the modification response is associated with the execution file.

Description

資料修改方法以及客戶端及伺服端的資料修改方法 Data modification method and data modification method of client and server

本發明係關於一種資料修改方法、客戶端的資料修改方法及伺服端的資料修改方法。The invention relates to a method for modifying data, a method for modifying data at a client end, and a method for modifying data at a server end.

隨著目前電腦系統的應用越來越廣泛,許多廠商推出許多與電腦相關的軟體或韌體產品,以優化使用者體驗並提升電腦的效能。此外,藉由研發團隊的努力,同一個廠商還可能對同樣的產品推出不同的版本,以滿足不同使用者的需求。而這些產品在出廠前,通常就已經由廠商先行對產品進行設定(例如預先設定產品的運行參數、版本等)。With the current application of computer systems more and more widely, many manufacturers have launched many computer-related software or firmware products to optimize user experience and improve computer performance. In addition, with the efforts of the R&D team, the same manufacturer may launch different versions of the same product to meet the needs of different users. And before these products leave the factory, the manufacturer has already pre-set the product (for example, preset the operating parameters and version of the product, etc.) by the manufacturer.

然而,在產品出廠後,客戶端就難以根據自身的使用需求對該些設定進行修改。因此,當客戶對該產品有客製化的需求時,必須與廠商端的產品研發人員聯繫,由研發人員進行修改,而這往往花費了過多往來溝通以及商品運送的時間。此外,若廠商端要開放權限,讓客戶可以直接對原始碼(source code)進行修改,則很有可能會使原始碼被錯誤地修改,導致產品故障而無法正常運行。However, after the product leaves the factory, it is difficult for the client to modify these settings according to its own usage requirements. Therefore, when customers have customized needs for this product, they must contact the product development personnel of the manufacturer for modification, which often takes too much time for communication and product delivery. In addition, if the manufacturer wants to open permissions so that customers can directly modify the source code, it is very likely that the source code will be incorrectly modified, resulting in product failure and malfunction.

鑒於上述,本發明提供一種以滿足上述需求的資料修改方法以及客戶端及伺服端的資料修改方法。In view of the above, the present invention provides a data modification method and a data modification method of the client and the server to meet the above requirements.

依據本發明一實施例的一種客戶端的資料修改方法,適用於一客戶端裝置,該方法包含:取得一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;判斷該客戶端驗證指令是否符合一客戶端資料,其中該客戶端資料係儲存於該客戶端裝置中;當判斷該客戶端驗證指令符合該客戶端資料時,傳輸該修改指令至一伺服端裝置;從該伺服端裝置接收對應該修改指令的一修改回應,其中該修改回應選擇性地關聯於一執行檔;以及於該修改回應關聯於該執行檔時,依據該修改回應取得並執行該執行檔;於該修改回應與該執行檔無關聯時,產生一警示訊息。A client data modification method according to an embodiment of the present invention is applicable to a client device. The method includes: obtaining a modification instruction, wherein the modification instruction includes a client verification instruction and a server verification instruction; judging that the client Whether the terminal verification instruction conforms to a client data, wherein the client data is stored in the client device; when it is judged that the client verification instruction conforms to the client data, the modification instruction is transmitted to a server device; from the The server device receives a modification response corresponding to the modification command, wherein the modification response is selectively associated with an execution file; and when the modification response is associated with the execution file, obtains and executes the execution file according to the modification response; When the modification response is not associated with the executable file, a warning message is generated.

依據本發明一實施例的一種伺服端的資料修改方法,適用於一伺服端裝置,該方法包含:從一客戶端裝置接收一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;判斷該伺服端驗證指令是否符合一伺服端資料;以及產生並輸出一修改回應至該客戶端裝置;其中當判斷該伺服端驗證指令符合該伺服端資料時,該修改回應關聯於一執行檔,且該執行檔對應於該修改指令;當判斷該伺服端驗證指令不符合該伺服端資料時,該修改回應與該執行檔無關聯。A server-side data modification method according to an embodiment of the present invention is applicable to a server-side device, and the method includes: receiving a modification command from a client device, wherein the modification command includes a client-side verification command and a server-side verification command; determine whether the server-side verification command conforms to a server-side data; and generate and output a modification response to the client device; wherein when it is determined that the server-side verification command conforms to the server-side data, the modification response is associated with an execution file, and the execution file corresponds to the modification instruction; when it is judged that the server verification instruction does not conform to the server data, the modification response is not associated with the execution file.

依據本發明一實施例的一種伺服端的資料修改方法,適用於一伺服端裝置,該方法包含:從一客戶端裝置接收一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;判斷該伺服端驗證指令是否符合一伺服端資料;以及產生並輸出一修改回應至該客戶端裝置;其中當判斷該伺服端驗證指令符合該伺服端資料時,該修改回應關聯於一執行檔,且該執行檔對應於該修改指令;當判斷該伺服端驗證指令不符合該伺服端資料時,該修改回應與該執行檔無關聯。A server-side data modification method according to an embodiment of the present invention is applicable to a server-side device, and the method includes: receiving a modification command from a client device, wherein the modification command includes a client-side verification command and a server-side verification command; determine whether the server-side verification command conforms to a server-side data; and generate and output a modification response to the client device; wherein when it is determined that the server-side verification command conforms to the server-side data, the modification response is associated with an execution file, and the execution file corresponds to the modification instruction; when it is judged that the server verification instruction does not conform to the server data, the modification response is not associated with the execution file.

綜上所述,依據本發明一或多個實施例所示的資料修改方法、伺服端及客戶端的資料修改方法,可以允許客戶端透過遠端來客製化其電子產品的軟體/韌體,讓客戶可以在不具有開發者權限的情況下透過遠端來實現產品參數客製化的目的。此外,本案透過先在客戶端裝置驗證一部分的修改指令,可進一步降低整體檢查及資料來回傳輸時間,以及避免客戶端裝置執行超出能力的執行檔,並讓客戶可以即時知道其輸入的客戶端驗證指令是否可行,進而改善使用者體驗。To sum up, according to the data modification method shown in one or more embodiments of the present invention, the data modification method of the server end and the client end, the client end can be allowed to customize the software/firmware of its electronic product through the remote end, so that Customers can realize the purpose of product parameter customization through remote without developer permission. In addition, this case can further reduce the overall inspection and data transmission time by first verifying part of the modification instructions on the client device, and prevent the client device from executing execution files that exceed its capabilities, and allow customers to know the client verification they input in real time Whether the command is feasible, thereby improving the user experience.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the implementation are used to demonstrate and explain the spirit and principle of the present invention, and provide a further explanation of the patent application scope of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are described in detail below in the implementation mode, and its content is enough to make any person familiar with the related art understand the technical content of the present invention and implement it accordingly, and according to the content disclosed in this specification, the scope of the patent application and the drawings , anyone skilled in the art can easily understand the purpose and advantages of the present invention. The following examples are to further describe the concept of the present invention in detail, but not to limit the scope of the present invention in any way.

本發明多個實施例所示的資料修改方法可允許客戶端在非開發人員模式下,透過遠端地修改產品中部份的軟體/韌體資料。換言之,本發明多個實施例所示的資料修改方法,可讓客戶端在未取得原始碼(source code)的情況下根據需求修改軟體/韌體的資料(例如,配置、參數、檔案)。所述的產品可以是顯示卡(Video card、Display card、Graphics card、Video adapter)、中央處理器(CPU)、圖形處理器(GPU)、單晶片系統(System  on chip,SoC)、機上裝置或外接卡的週邊組件互連(PCI)/快速週邊組件互連(PCIE)、記憶體映射輸入輸出(memory mapped input/output,MMIO)、輸入輸出(input/output,I/O)介面、不變性隨機存取記憶體(nonvolatile random access memory,NVRAM)、快閃記憶體(flash)、電子抹除式可複寫唯讀記憶體(Electrically-erasable programmable read-only memory,EEPROM)、互補式金氧半導體(Complementary metal oxide semiconductor,CMOS)記憶體、隨機存取記憶體(RAM)等裝置及記憶體,本發明不對產品的具體類型予以限制。The data modification method shown in multiple embodiments of the present invention can allow the client to remotely modify part of the software/firmware data in the product in the non-developer mode. In other words, the data modification methods shown in the multiple embodiments of the present invention allow the client to modify software/firmware data (eg, configuration, parameters, files) according to requirements without obtaining the source code. The said product can be a display card (Video card, Display card, Graphics card, Video adapter), a central processing unit (CPU), a graphics processing unit (GPU), a single chip system (System on chip, SoC), an on-board device Peripheral Component Interconnect (PCI)/Peripheral Component Interconnect Express (PCIE), memory mapped input/output (MMIO), input/output (I/O) interface, not Nonvolatile random access memory (NVRAM), flash memory (flash), electronically erasable programmable read-only memory (EEPROM), complementary metal oxide Semiconductor (Complementary metal oxide semiconductor, CMOS) memory, random access memory (RAM) and other devices and memory, the present invention is not limited to specific types of products.

請參考圖1,圖1係依據本發明一實施例所繪示的客戶端的資料修改方法。圖1所示的客戶端的資料修改方法適用於一客戶端裝置。客戶端裝置可以是具備通訊能力的電子裝置,用以通訊連接於一伺服端裝置。舉例而言,客戶端裝置可以是本地端的電腦、伺服器、平板電腦或是智慧型手機等,但本發明不對客戶端裝置的具體類型予以限制。Please refer to FIG. 1 . FIG. 1 shows a method for modifying data of a client according to an embodiment of the present invention. The data modification method of the client shown in FIG. 1 is applicable to a client device. The client device may be an electronic device capable of communicating with a server device. For example, the client device may be a local computer, server, tablet computer or smart phone, etc., but the present invention is not limited to the specific type of the client device.

步驟S11:以客戶端裝置取得修改指令,其中修改指令包含一客戶端驗證指令及一伺服端驗證指令。修改指令是由客戶端的使用者輸入至客戶端裝置的資料,其中客戶端驗證指令是由客戶端裝置驗證,而伺服端驗證指令是由客戶端裝置輸出至伺服端裝置後,由伺服端裝置進行驗證。客戶端驗證指令的具體內容將於後與步驟S13的客戶端資料一併說明。Step S11: Obtain the modification instruction by the client device, wherein the modification instruction includes a client verification instruction and a server verification instruction. The modification command is the data input by the user of the client terminal to the client device, wherein the client verification command is verified by the client device, and the server verification command is output from the client device to the server device, and then the server device performs verify. The specific content of the client verification instruction will be described later together with the client information in step S13.

伺服端裝置可以儲存有一參數表(如圖2所示),參數表包含至少一修改項目(例如I1~I4),其中參數表上所呈現的修改項目即為使用者可自行變更的內容。客戶端裝置即是在收到參數表後,接收使用者對修改項目對應的欄位(例如C1~C4)進行的修改,或是接收使用者輸入至修改項目對應的欄位的資料,以取得修改指令。具體地,客戶端裝置可以包含一應用程式(application),且應用程式可以通訊連接於伺服端裝置。因此,當應用程式被啟動時,客戶端裝置便可以透過應用程式從伺服端裝置取得參數表。由於修改項目會隨著前述產品的開發內容而有變動(例如,增加/刪減修改項目,或是擴大/縮減可供使用者自行變更的參數範圍),故透過應用程式從伺服端裝置取得參數表的方式,可以讓客戶端裝置每次都是取得最新的參數表。又或者,所述應用程式可以內建一資料庫,而資料庫用於儲存所述參數表,本發明不對客戶端裝置取得參數表的方式予以限制。總的來說,除了從網路去抓取客製化支援的範圍 (伺服器晶片的版本、機種、項目等)之外, 亦可在應用程式內建資料庫,而資料庫即儲存包含有上述客製化支援的範圍的資料。由於客製化支援的範圍會隨著開發內容而增加,所以透過網路去抓取更新的客製化支援的範圍(例如,向伺服端裝置抓取更新的內容),在後續的使用上可以更有優勢。The server device can store a parameter table (as shown in FIG. 2 ), the parameter table includes at least one modification item (such as I1-I4), and the modification items displayed on the parameter table are the contents that can be changed by the user. After receiving the parameter table, the client device receives the user's modification of the fields corresponding to the modification items (such as C1~C4), or receives the data input by the user into the fields corresponding to the modification items, so as to obtain Modify instructions. Specifically, the client device may include an application, and the application may communicate with the server device. Therefore, when the application program is activated, the client device can obtain the parameter list from the server device through the application program. Since the modification items will change with the development content of the aforementioned products (for example, adding/deleting modification items, or expanding/reducing the range of parameters that can be changed by the user), the parameters are obtained from the server device through the application The way of the table allows the client device to obtain the latest parameter table every time. Alternatively, the application program may have a built-in database, and the database is used to store the parameter table, and the present invention does not limit the method for obtaining the parameter table by the client device. In general, in addition to grabbing the scope of customized support (server chip version, model, project, etc.) from the Internet, it is also possible to build a database in the application program, and the database stores Information on the scope of customization support mentioned above. Since the scope of customized support will increase with the development of content, the scope of customized support for grabbing updates through the Internet (for example, grabbing updated content from server-side devices) can be used later. have more advantages.

接著,客戶端裝置便可以接收對應修改項目的一修改資料,並以所述修改資料作為修改指令。並且,客戶端裝置更可以根據修改指令產生一結構化查詢語言(Structured Query Language,SQL),並將所產生的結構化查詢語言作為輸出至伺服端裝置的修改指令,進而降低客戶端裝置所需儲存的資料量。Then, the client device can receive a modification data corresponding to the modification item, and use the modification data as a modification instruction. Moreover, the client device can generate a structured query language (Structured Query Language, SQL) according to the modification command, and use the generated structured query language as a modification command output to the server device, thereby reducing the need for the client device. The amount of data stored.

又或者,在一些情況下(例如對於長期合作的客戶或較重要的客戶),當應用程式被啟動時,客戶端裝置可以不用下載參數表,而是由應用程式直接呈現儲存在伺服端裝置的參數表,應用程式即可接收對應修改項目的修改資料,並將修改資料作為該修改指令(即使用者可以透過應用程式直接修改儲存在伺服端裝置的參數表)。Or, in some cases (such as for long-term cooperation customers or more important customers), when the application program is activated, the client device can not download the parameter table, but the application program directly presents the parameters stored in the server device. The parameter table, the application program can receive the modification data corresponding to the modification item, and use the modification data as the modification command (that is, the user can directly modify the parameter table stored in the server device through the application program).

在取得修改指令後,客戶端裝置接著執行步驟S13:判斷客戶端驗證指令是否符合客戶端資料,其中客戶端資料係儲存於客戶端裝置中。如前所述,客戶端驗證指令是由客戶端的使用者輸入的指令,而客戶端資料為對應客戶端驗證指令的預存資料,用於對客戶端驗證指令進行驗證。After obtaining the modification instruction, the client device then executes step S13: judging whether the client verification instruction conforms to the client data, wherein the client data is stored in the client device. As mentioned above, the client verification instruction is an instruction input by the client user, and the client data is the pre-stored data corresponding to the client verification instruction, and is used to verify the client verification instruction.

為了更詳細說明步驟S11及S13的內容,請先參考圖2,圖2係繪示本發明的參數表的示意圖。客戶端裝置所呈現的參數表R可以包含多個修改項目I1至I4,而每一該些修改項目I1至I4可以有對應的欄位C1至C4,用於接收伺服端驗證指令及/或客戶端驗證指令。亦即,在圖2的例子中,修改指令即包含透過欄位C1至C4所取得的資料。另需說明的是,所述的欄位亦可以是以包含一或多個選項的下拉式選單實現,而使用者所選的選項即為伺服端驗證指令及/或客戶端驗證指令,然而,本發明不對取得伺服端驗證指令及/或客戶端驗證指令的方式予以限制。In order to describe the contents of steps S11 and S13 in detail, please refer to FIG. 2 , which is a schematic diagram of a parameter table of the present invention. The parameter table R presented by the client device may include a plurality of modification items I1 to I4, and each of the modification items I1 to I4 may have corresponding fields C1 to C4 for receiving server verification instructions and/or client Terminal authentication command. That is to say, in the example of FIG. 2 , the modification command includes the data obtained through the fields C1 to C4. It should also be noted that the fields mentioned above can also be implemented as a drop-down menu containing one or more options, and the option selected by the user is the server-side verification command and/or the client-side verification command. However, The present invention does not limit the manner of obtaining the verification instruction from the server and/or the verification instruction from the client.

請一併參考圖1的步驟11以及圖2,以參數表R的第一修改項目I1為例,參數表R的第一修改項目I1可以為伺服器晶片版本號,在步驟S11所取得的伺服端驗證指令則可為使用者在第一欄位C1所輸入的版本號。Please refer to step 11 of FIG. 1 and FIG. 2 together. Taking the first modified item I1 of the parameter table R as an example, the first modified item I1 of the parameter table R may be the version number of the server chip. The servo chip obtained in step S11 The terminal verification instruction can be the version number input by the user in the first field C1.

請接著一併參考圖1的步驟11及S13以及圖2。舉例而言,參數表R的第二修改項目I2可以為使用者的身分資料,客戶端驗證指令則可為使用者在第一欄位C2所輸入的身分資料,而客戶端資料則為預存的身分資料。因此,當客戶端裝置判斷使用者在第一欄位C2輸入的身分資料符合預存的身分資料時,客戶端裝置即可判斷客戶端驗證指令符合客戶端資料。所述的身分資料可以是姓名、帳號、密碼、公司代號或員工代號等,本發明不對身分資料的內容予以限制。Please refer to steps 11 and S13 of FIG. 1 and FIG. 2 together. For example, the second modification item I2 of the parameter table R can be the identity data of the user, the client verification instruction can be the identity data input by the user in the first column C2, and the client data is the pre-stored identity information. Therefore, when the client device determines that the identity information input by the user in the first field C2 matches the pre-stored identity information, the client device can determine that the client authentication instruction matches the client information. The identity information may be name, account number, password, company code or employee code, etc., and the present invention does not limit the content of the identity information.

此外,客戶端裝置更可以對使用者輸入的參數進行驗證。具體地,在一範例中,客戶端驗證指令可以為參數表上的修改項目的一修改參數,而客戶端資料則為對應的參數可變更範圍。例如,參數表R的第三修改項目I3可以為伺服器晶片的熱設計功耗(Thermal Design Power,TDP),且所述伺服器晶片的版本號即為使用者在第一欄位C1輸入的版本號,修改參數即為使用者在第三欄位C3輸入的期望功耗,而參數可變更範圍則為由該伺服器晶片的功耗上限值及下限值所構成的範圍。因此,步驟S13的實現方式可以是客戶端裝置判斷客戶端驗證指令的修改參數(期望功耗)是否落於客戶端資料的參數可變更範圍(功耗上限值及下限值所構成的功耗範圍)。當客戶端裝置判斷修改參數落於參數可變更範圍時,客戶端裝置即可判斷客戶端驗證指令符合客戶端資料。本發明的修改項目更可以包含產品的時脈、頻率、風扇轉速等,且客戶端裝置亦可透過修改參數及參數可變更範圍的方式對這些修改項目進行驗證。In addition, the client device can further verify the parameters input by the user. Specifically, in an example, the client verification instruction can be a modification parameter of a modification item on the parameter table, and the client data is the corresponding variable range of the parameter. For example, the third modification item I3 of the parameter table R may be the thermal design power (Thermal Design Power, TDP) of the server chip, and the version number of the server chip is the one entered by the user in the first column C1 The version number, the modified parameter is the expected power consumption input by the user in the third field C3, and the changeable range of the parameter is the range formed by the upper limit and the lower limit of the power consumption of the server chip. Therefore, the implementation of step S13 may be that the client device judges whether the modified parameter (expected power consumption) of the client verification instruction falls within the variable range of the parameter of the client data (the function formed by the upper limit value and the lower limit value of power consumption). consumption range). When the client device determines that the modified parameter falls within the changeable range of the parameter, the client device can determine that the client verification instruction conforms to the client data. The modification items of the present invention can further include the clock, frequency, fan speed, etc. of the product, and the client device can also verify these modification items by modifying the parameters and the changeable range of the parameters.

除了上述的參數等資料之外,客戶端資料更可以包含每個修改項目的完整名稱或代號,以判斷客戶端驗證指令是否完整且正確。例如,參數表R的第四修改項目I4可以為基本輸入輸出系統(Basic Input/Output System,BIOS)的版本號,而對應的第四欄位C4即是用於接收使用者輸入的BIOS版本號(客戶端驗證指令)。因此,當客戶端裝置透過第四欄位C4收到使用者輸入的BIOS版本號時,客戶端裝置可以判斷該版本號是否完整。亦即,步驟S13的實現方式更可以包含客戶端裝置根據客戶端資料,判斷客戶端驗證指令的格式是否正確且無缺漏。In addition to the above parameters and other data, the client data can further include the complete name or code of each modification item, so as to determine whether the client verification command is complete and correct. For example, the fourth modification item I4 of the parameter table R may be the version number of the Basic Input/Output System (BIOS), and the corresponding fourth field C4 is the BIOS version number for receiving user input (client authentication directive). Therefore, when the client device receives the BIOS version number input by the user through the fourth field C4, the client device can determine whether the version number is complete. That is, the implementation of step S13 may further include the client device judging whether the format of the client verification instruction is correct and free of omissions according to the client data.

此外,客戶端資料還可以包含一可存取權限,例如步驟S13的實現方式可為判斷客戶端驗證指令是否符合可存取權限,其中可存取權限即為使用者有權限進行修改的修改項目。例如,當客戶端驗證指令包含使用者輸入的身分資料時,客戶端裝置可以判斷該使用者是否有權限輸入其他的客戶端驗證指令至客戶端裝置,或判斷該使用者是否有權限輸入伺服端驗證指令至客戶端裝置。又或者,客戶端裝置在收到對應某一修改項目(例如,熱設計功耗)的修改參數後,客戶端裝置可以判斷該使用者是否有權限對該修改項目進行修改。當客戶端裝置判斷使用者有權限輸入客戶端驗證指令/伺服端驗證指令至客戶端裝置,或判斷使用者有權限對特定的修改項目進行修改時,則客戶端裝置即可判斷客戶端驗證指令符合客戶端資料。In addition, the client data can also include an access permission. For example, the implementation of step S13 can be to determine whether the client verification command meets the access permission, where the access permission is the modification item that the user has the permission to modify. . For example, when the client verification command includes the identity information input by the user, the client device can determine whether the user has the right to input other client verification commands to the client device, or determine whether the user has the right to enter the server Verify command to client device. Alternatively, after the client device receives a modification parameter corresponding to a certain modification item (eg, thermal design power consumption), the client device may determine whether the user has permission to modify the modification item. When the client device judges that the user has the right to input the client verification command/server verification command to the client device, or judges that the user has the right to modify a specific modification item, then the client device can judge the client verification command Complies with client profile.

需說明的是,上述步驟S13的實現方式僅為示例,且本發明的步驟S13的實現方式可以為以上細節中一或多者的組合。It should be noted that the implementation of step S13 above is only an example, and the implementation of step S13 in the present invention may be a combination of one or more of the above details.

綜合以上對步驟S13的說明,當客戶端裝置判斷客戶端驗證指令不符合客戶端資料時,可以執行步驟S14:以客戶端裝置產生警示訊息。警示訊息可由客戶端裝置的輸出元件(例如,螢幕、喇叭等)呈現,警示訊息亦可透過email、簡訊等方式發送給使用者,以通知使用者其輸入的客戶端驗證指令可能有問題。Based on the description of step S13 above, when the client device determines that the client verification command does not match the client data, step S14 can be executed: generating a warning message by the client device. The warning message can be presented by the output components of the client device (for example, screen, speaker, etc.), and the warning message can also be sent to the user through email, short message, etc., to inform the user that there may be a problem with the client verification command input.

當客戶端裝置判斷客戶端驗證指令符合客戶端資料時,可接著執行步驟S15:以客戶端裝置傳輸修改指令至伺服端裝置,以及執行步驟S17:接收對應修改指令的修改回應。When the client device judges that the client verification command conforms to the client data, it can proceed to step S15: transmit the modification command to the server device through the client device, and perform step S17: receive a modification response corresponding to the modification command.

如上所述,修改指令包含客戶端驗證指令及伺服端驗證指令,在客戶端裝置完成對客戶端驗證指令的驗證後,客戶端裝置將包含該二指令的修改指令一起傳輸至伺服端裝置。舉例而言,伺服端裝置對伺服端驗證指令的驗證方式可以為,判斷使用者所選的某一伺服器晶片的版本號(伺服端驗證指令)是否存在,然本發明不對伺服端裝置對伺服端驗證指令的驗證方式予以限制。As mentioned above, the modification command includes the client verification command and the server verification command. After the client device completes the verification of the client verification command, the client device transmits the modification command including the two commands to the server device. For example, the verification method of the server-side device for the server-side verification command can be to determine whether the version number (server-side verification command) of a certain server chip selected by the user exists, but the present invention does not apply to the server-side device for the server-side verification command. The verification method of the terminal verification instruction is restricted.

接著,客戶端裝置可以定時或不定時地判斷是否從伺服端裝置收到修改回應。當伺服端裝置判斷伺服端驗證指令通過驗證時,客戶端裝置即可收到對應修改指令的修改回應,其中該修改回應包含伺服端裝置對伺服端驗證指令的驗證結果,且修改回應選擇性地關聯於一執行檔。亦即,當伺服端驗證指令通過驗證時,則從伺服端裝置收到的修改回應關聯於執行檔,且驗證結果可以包含「伺服端驗證指令通過驗證」的通知;當伺服端驗證指令未通過驗證時,則從伺服端裝置收到的修改回應不關聯於執行檔,且驗證結果可以包含「伺服端驗證指令未通過驗證」的通知。所述執行檔是根據修改指令而產生,可以供客戶端裝置執行。Then, the client device can determine whether to receive a modification response from the server device periodically or irregularly. When the server-side device judges that the server-side verification command has passed the verification, the client device can receive a modification response corresponding to the modification command, wherein the modification response includes the verification result of the server-side device for the server-side verification command, and the modification response is optionally Associated with an executable file. That is, when the server-side verification command passes the verification, the modification response received from the server-side device is associated with the execution file, and the verification result may include a notification of "the server-side verification command passed the verification"; when the server-side verification command fails When verifying, the modification response received from the server-side device is not associated with the execution file, and the verification result may include a notification that "the server-side verification command has not passed the verification". The execution file is generated according to the modification instruction and can be executed by the client device.

換言之,當伺服端驗證指令未通過驗證時,表示客戶端裝置收到的修改回應與執行檔無關聯(即客戶端裝置不會取得執行檔),則客戶端裝置可以產生警示訊息(步驟S14)。In other words, when the verification command of the server fails to pass the verification, it means that the modification response received by the client device is not related to the execution file (that is, the client device will not obtain the execution file), and the client device can generate a warning message (step S14) .

反之,當伺服端驗證指令通過驗證時,表示客戶端裝置收到的修改回應關聯於執行檔(即客戶端裝置可以取得執行檔),則客戶端裝置可以執行步驟S19:以客戶端裝置依據修改回應取得並執行對應於修改指令的執行檔。修改回應可以包含執行檔,或包含用於下載執行檔的網路連結或資料夾路徑等,本發明不對客戶端裝置取得執行檔的方式予以限制。因此,當客戶端裝置收到關聯於執行檔的修改回應時,表示修改指令已通過驗證,且伺服端裝置已根據修改指令產生對應的執行檔,而客戶端裝置可以執行該執行檔。Conversely, when the verification command on the server side passes the verification, it means that the modification response received by the client device is related to the execution file (that is, the client device can obtain the execution file), then the client device can execute step S19: modify the file based on the client device In response, an executable file corresponding to the modified command is fetched and executed. The modification response may include the execution file, or include a network link or folder path for downloading the execution file, and the present invention does not limit the way the client device obtains the execution file. Therefore, when the client device receives the modification response associated with the execution file, it means that the modification command has been verified, and the server device has generated a corresponding execution file according to the modification command, and the client device can execute the execution file.

請參考圖3,圖3係依據本發明一實施例所繪示的伺服端的資料修改方法。圖3所示的伺服端的資料修改方法適用於一伺服端裝置。伺服端裝置可以通訊連接於圖1實施例所述的客戶端裝置。伺服端裝置可以是遠端的電腦、伺服器、平板電腦或是智慧型手機等,本發明不對伺服端裝置的具體類型予以限制。Please refer to FIG. 3 . FIG. 3 is a data modification method of the server according to an embodiment of the present invention. The data modification method of the server shown in FIG. 3 is applicable to a server device. The server device can be communicatively connected to the client device described in the embodiment of FIG. 1 . The server device may be a remote computer, server, tablet computer, or smart phone, and the present invention does not limit the specific type of the server device.

步驟S21:從客戶端裝置接收修改指令,其中修改指令包含一客戶端驗證指令及一伺服端驗證指令。修改指令可以是由使用者輸入至客戶端裝置,再由客戶端裝置將修改指令輸出至伺服端裝置。此述的客戶端驗證指令可以為圖1實施例所述的客戶端驗證指令,由客戶端裝置進行驗證。並且,在客戶端裝置對客戶端驗證指令完成驗證後,伺服端裝置即可從客戶端裝置收到修改指令。因此,伺服端裝置可以對伺服端驗證指令進行驗證。伺服端驗證指令的具體內容將於下與步驟S23的伺服端資料一併說明。Step S21: Receive a modification instruction from the client device, wherein the modification instruction includes a client verification instruction and a server verification instruction. The modification command can be input by the user to the client device, and then the client device outputs the modification command to the server device. The above-mentioned client verification instruction may be the client verification instruction described in the embodiment of FIG. 1 , which is verified by the client device. Moreover, after the client device verifies the client verification command, the server device can receive the modification command from the client device. Therefore, the server device can verify the server verification command. The specific content of the server verification instruction will be described together with the server data in step S23.

在取得修改指令後,伺服端裝置接著執行步驟S23:判斷伺服端驗證指令是否符合伺服端資料,其中伺服端資料係儲存於伺服端裝置中。伺服端驗證指令是由客戶端的使用者輸入至客戶端裝置的指令,而伺服端資料為對應伺服端驗證指令的預存資料,用於對伺服端驗證指令進行驗證。After obtaining the modifying instruction, the server-end device then executes step S23: judging whether the server-end verification instruction conforms to the server-end data, wherein the server-end data is stored in the server-end device. The server verification instruction is an instruction input by the user of the client to the client device, and the server data is pre-stored data corresponding to the server verification instruction, and is used for verifying the server verification instruction.

同樣以圖2的參數表R為例,參數表R的第一修改項目I1為伺服器晶片版本號,伺服端驗證指令為使用者在第一欄位C1輸入的目標版本號,而伺服端資料即包含關聯於伺服器晶片的一或多種的可用版本號。此外,如前所述,當第一欄位C1是以下拉式選單實現時,第一欄位C1可以呈現一或多個版本號,伺服端驗證指令即為使用者在該選單中所選擇的版本號。Also take the parameter table R in Figure 2 as an example, the first modification item I1 of the parameter table R is the server chip version number, the server-side verification command is the target version number input by the user in the first column C1, and the server-side data That is, include one or more available version numbers associated with the server chip. In addition, as mentioned above, when the first column C1 is implemented as a pull-down menu, the first column C1 can display one or more version numbers, and the server-side verification command is the one selected by the user in the menu. version number.

換言之,伺服端裝置的工程師通常會對伺服器晶片進行多次的更新,而每次的更新即會產生一個新的版本號。並且,在過程中,更新的版本號及部分的舊有版本號可能被保存,並作為可用版本號,而另一部分的舊有版本號便可能被封存,讓客戶端裝置的用戶無法再存取被封存的版本號。因此,伺服端裝置可以存有多個一或多個可用版本號,而伺服端裝置即可判斷使用者所輸入或選擇的版本號是否存在(是否屬於可用版本號),以判斷伺服端驗證指令是否符合伺服端資料。In other words, the engineer of the server device usually updates the server chip several times, and each update generates a new version number. Moreover, during the process, the updated version number and part of the old version number may be saved and used as the available version number, while another part of the old version number may be sealed, so that the user of the client device can no longer access Archived version number. Therefore, the server-side device can store one or more available version numbers, and the server-side device can determine whether the version number input or selected by the user exists (whether it belongs to an available version number) to determine whether the server-side verification command Whether it matches the server data.

此外,伺服端裝置對伺服端驗證指令的驗證方式也可包含判斷所收到的伺服端驗證指令是否完整。換言之,若網路或伺服端裝置的儲存空間有異常狀況,則在伺服端驗證指令被傳送到伺服端裝置的過程中,便可能使伺服端驗證指令的部分內容遺失。此時,由於伺服端裝置存有伺服端資料,伺服端裝置便可判斷伺服端裝置是否符合伺服端資料,以判斷伺服端驗證指令是否符合伺服端資料。In addition, the verification method of the server verification instruction by the server device may also include judging whether the received server verification instruction is complete. In other words, if the network or the storage space of the server device is abnormal, part of the content of the server verification command may be lost during the process of the server verification command being transmitted to the server device. At this time, since the server device stores the server data, the server device can determine whether the server device conforms to the server data, so as to determine whether the server verification command conforms to the server data.

當修改項目還包含檔案格式時,則對應檔案格式的修改指令亦可以作為伺服端驗證指令,且所述檔案格式可包含標誌(Logo)的檔案格式。詳言之,當使用者欲修改開機時呈現的標誌時,可於輸入修改項目時上傳標誌的檔案(圖未繪示),當伺服端裝置收到伺服端驗證指令時,伺服端裝置可判斷檔案是否為可支援的檔案格式,例如BMP或JPEG等。When the modification item also includes a file format, the modification command corresponding to the file format can also be used as a server verification command, and the file format can include a logo (Logo) file format. In detail, when the user wants to modify the logo displayed at startup, he can upload the logo file (not shown) when entering the modification item. When the server-side device receives the server-side verification command, the server-side device can judge Whether the file is a supported file format, such as BMP or JPEG.

當伺服端裝置判斷使用者所選的版本號不屬於可用版本號、伺服端驗證指令不完整及/或變更的標誌的檔案格式不符時,表示伺服端驗證指令不符合伺服端資料,伺服端裝置接著會執行步驟S24:產生並輸出與執行檔無關聯的修改回應至客戶端裝置。反之,當伺服端裝置判斷使用者所選的版本號屬於可用版本號時,表示伺服端驗證指令符合伺服端資料,伺服端裝置接著會執行步驟S25:產生並輸出關聯於執行檔的修改回應至客戶端裝置,且該執行檔對應於該修改指令。When the server-side device judges that the version number selected by the user does not belong to the available version number, the server-side verification command is incomplete and/or the file format of the changed logo does not match, it means that the server-side verification command does not conform to the server-side data, and the server-side device Then step S24 is executed: generating and outputting a modification response unrelated to the execution file to the client device. Conversely, when the server-side device judges that the version number selected by the user belongs to the available version number, it means that the server-side verification command conforms to the server-side data, and the server-side device will then perform step S25: generate and output a modification response associated with the execution file to a client device, and the execution file corresponds to the modification instruction.

以圖2為例,當伺服端驗證指令符合伺服端資料時,伺服端裝置輸出的修改回應可以關聯於執行檔,而執行檔即為根據透過欄位C1到C4所取得的修改指令而產生。Taking FIG. 2 as an example, when the server verification command matches the server data, the modification response output by the server device can be associated with the execution file, and the execution file is generated according to the modification command obtained through the fields C1 to C4.

亦即,當伺服端驗證指令通過驗證時,則伺服端裝置輸出的修改回應關聯於執行檔,並可以輸出對應的驗證結果至客戶端裝置,其中驗證結果可以包含「伺服端驗證指令通過驗證」的通知;當伺服端驗證指令未通過驗證時,則伺服端裝置輸出的修改回應不關聯於執行檔,並可以輸出對應的驗證結果至客戶端裝置,其中驗證結果可以包含「伺服端驗證指令未通過驗證」的通知。That is, when the server-side verification command passes the verification, the modification response output by the server-side device is associated with the execution file, and the corresponding verification result can be output to the client device, wherein the verification result can include "the server-side verification command passed the verification" notification; when the server-side verification command fails the verification, the modification response output by the server-side device is not associated with the execution file, and the corresponding verification result can be output to the client device, wherein the verification result can include "the server-side verification command is not Verified" notification.

簡言之,當伺服端驗證指令未通過驗證時,表示伺服端裝置不會產生執行檔;反之,當伺服端驗證指令通過驗證時,表示伺服端裝置會產生執行檔。在步驟S25中產生並輸出的修改回應可以包含執行檔,或包含用於下載執行檔的網路連結或資料夾路徑等。本發明不對伺服端裝置產生並輸出執行檔的方式予以限制。In short, when the server-side verification command fails the verification, it means that the server-side device will not generate an execution file; otherwise, when the server-side verification command passes the verification, it means that the server-side device will generate an execution file. The modification response generated and output in step S25 may include the execution file, or include a network link or folder path for downloading the execution file. The present invention does not limit the way in which the server device generates and outputs the execution file.

此外,請再度參考圖2,伺服端裝置更可以刪減或增加參數表R中所列的修改項目。因此,當伺服端裝置判斷對應某一修改項目的修改指令的錯誤次數達一預設次數時,伺服端裝置即可將該修改項目從參數表R上移除,或是以不同顏色顯示該修改項目並且不提供使用者存取該修改項目。又或者,當伺服端裝置增加或開放了某一修改項目,伺服端裝置即可將該修改項目新增至參數表R。In addition, please refer to FIG. 2 again, the server device can further delete or add modification items listed in the parameter table R. Therefore, when the server-side device determines that the number of errors in the modification command corresponding to a certain modification item reaches a preset number of times, the server-side device can remove the modification item from the parameter table R, or display the modification in a different color. item and does not provide user access to modify the item. Alternatively, when the server device adds or opens a modification item, the server device can add the modification item to the parameter table R.

請參考圖4,圖4係依據本發明一實施例所繪示的資料修改方法。圖4所示的資料修改方法較佳適用於圖1實施例的客戶端裝置及圖3實施例的伺服端裝置。圖4的步驟S31、S33、S34、S35及S41是由客戶端裝置執行,且執行方式與圖1的步驟S11、S13、S14、S15及S19相同;圖4的步驟S37、S38及S39是由伺服端裝置執行,且執行方式與圖3的步驟S23、S24及S25相同,故相同之處不再於此贅述。Please refer to FIG. 4 . FIG. 4 shows a method for modifying data according to an embodiment of the present invention. The data modification method shown in FIG. 4 is preferably applicable to the client device in the embodiment of FIG. 1 and the server device in the embodiment of FIG. 3 . Steps S31, S33, S34, S35 and S41 of FIG. 4 are executed by the client device, and the execution method is the same as steps S11, S13, S14, S15 and S19 of FIG. 1; steps S37, S38 and S39 of FIG. The server device executes, and the execution method is the same as steps S23 , S24 and S25 in FIG. 3 , so the similarities will not be repeated here.

請參考圖4的步驟S38,當客戶端裝置收到的修改回應與執行檔無關聯時,則客戶端裝置可以執行步驟S34以產生警示訊息。請參考圖4的步驟S39及S41,當客戶端裝置收到的修改回應與執行檔關聯時,則客戶端裝置即可執行步驟S41,以執行(諸如下載及/或安裝)伺服端裝置產生的執行檔。另外,以圖2為例,執行檔的產生方式可以為,伺服端裝置根據第三欄位C3及第四欄位C4的資料,對第一欄位C1的版本號的伺服器晶片進行修改而產生。Please refer to step S38 of FIG. 4 , when the modification response received by the client device is not associated with the executable file, the client device may execute step S34 to generate a warning message. Please refer to steps S39 and S41 in FIG. 4. When the modification response received by the client device is associated with the execution file, the client device can execute step S41 to execute (such as download and/or install) the file generated by the server device. executable file. In addition, taking FIG. 2 as an example, the execution file can be generated in such a way that the server device modifies the version number of the server chip in the first column C1 according to the data in the third column C3 and the fourth column C4. produce.

另需說明的是,客戶端裝置與伺服端裝置之間的指令及資料傳輸方式可以是透過網路傳輸協定(例如,超文本傳輸協定(Http)、超文本傳輸安全協定(Https)、網路插座(socket))、檔案傳輸協定(FTP)(例如,檔案傳輸協定安全協定(FTPS)、SSH檔案傳輸協定(SFTP)、簡單檔案傳輸協定(TFTP)、蘋果歸檔協定(AFP))、網路檔案服務(例如,網路硬碟(NAS)、網路檔案系統(NFS))、或網路文件共享系統(例如,伺服器訊息區塊(SMB)、網路芳鄰共享(SAMBA)、公用網際網路檔案系統(CIFS))等,本發明不對客戶端裝置與伺服端裝置之間的指令及資料傳輸方式予以限制。It should also be noted that the instruction and data transmission method between the client device and the server device can be through a network transmission protocol (for example, hypertext transfer protocol (Http), hypertext transfer security protocol (Https), network socket), FTP (e.g. FTPS, SFTP, TFTP, AFP), network File services (e.g., Network Disk Drive (NAS), Network File System (NFS)), or network file sharing systems (e.g., Server Message Block (SMB), Network Neighborhood Sharing (SAMBA), public Internet Internet File System (CIFS)), etc., the present invention does not limit the instruction and data transmission methods between the client device and the server device.

綜上所述,依據本發明一或多個實施例所示的資料修改方法、伺服端及客戶端的資料修改方法,可以允許客戶端透過遠端來客製化其電子產品的軟體/韌體,讓客戶可以在不具有開發者權限的情況下透過遠端來實現產品參數客製化的目的。此外,本案透過先在客戶端裝置驗證一部分的修改指令,可進一步降低整體檢查及資料來回傳輸時間,以及避免客戶端裝置執行超出能力的執行檔,並讓客戶可以即時知道其輸入的客戶端驗證指令是否可行,進而改善使用者體驗。To sum up, according to the data modification method shown in one or more embodiments of the present invention, the data modification method of the server end and the client end, the client end can be allowed to customize the software/firmware of its electronic product through the remote end, so that Customers can realize the purpose of product parameter customization through remote without developer permission. In addition, this case can further reduce the overall inspection and data transmission time by first verifying part of the modification instructions on the client device, and prevent the client device from executing execution files that exceed its capabilities, and allow customers to know the client verification they input in real time Whether the command is feasible, thereby improving the user experience.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention is disclosed by the aforementioned embodiments, they are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, all changes and modifications are within the scope of patent protection of the present invention. For the scope of protection defined by the present invention, please refer to the appended scope of patent application.

R:參數表 I1~I4:修改項目 C1~C4:欄位 S11、S13~S15、S17、S19、S21、S23~S25、S31、S33~S35、S37~S39、S41:步驟 R: parameter table I1~I4: Modification items C1~C4: fields S11, S13~S15, S17, S19, S21, S23~S25, S31, S33~S35, S37~S39, S41: steps

圖1係依據本發明一實施例所繪示的客戶端的資料修改方法。 圖2係繪示本發明的參數表的示意圖。 圖3係依據本發明一實施例所繪示的伺服端的資料修改方法。 圖4係依據本發明一實施例所繪示的資料修改方法。 FIG. 1 shows a data modification method of a client according to an embodiment of the present invention. FIG. 2 is a schematic diagram illustrating a parameter table of the present invention. FIG. 3 shows a method for modifying data at the server end according to an embodiment of the present invention. FIG. 4 shows a method for modifying data according to an embodiment of the present invention.

S31、S33~S35、S37~S39、S41:步驟 S31, S33~S35, S37~S39, S41: steps

Claims (12)

一種客戶端的資料修改方法,適用於一客戶端裝置,該方法包含:取得一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;判斷該客戶端驗證指令是否符合一客戶端資料,其中該客戶端資料係儲存於該客戶端裝置中;當判斷該客戶端驗證指令符合該客戶端資料時,傳輸該修改指令至一伺服端裝置;從該伺服端裝置接收對應該修改指令的一修改回應,其中該修改回應選擇性地關聯於一執行檔;以及於該修改回應關聯於該執行檔時,依據該修改回應取得並執行該執行檔;於該修改回應與該執行檔無關聯時,產生一警示訊息,其中該伺服端裝置存有一參數表,該參數表包含至少一修改項目,該客戶端裝置包含一應用程式,該應用程式通訊連接於該伺服端裝置,取得該修改指令包含:當該應用程式被啟動時,以該客戶端裝置的該應用程式接收對應該至少一修改項目的一修改資料;以及以該修改資料作為該修改指令。 A method for modifying client data, suitable for a client device, the method includes: obtaining a modification instruction, wherein the modification instruction includes a client verification instruction and a server verification instruction; judging whether the client verification instruction conforms to a client end data, wherein the client data is stored in the client device; when it is judged that the client verification instruction conforms to the client data, the modification instruction is transmitted to a server device; the corresponding modification is received from the server device a modification response to an instruction, wherein the modification response is selectively associated with an execution file; and when the modification response is associated with the execution file, obtaining and executing the execution file according to the modification response; when the modification response is associated with the execution file When there is no association, a warning message is generated, wherein the server device stores a parameter table, the parameter table includes at least one modification item, the client device includes an application program, and the application program communicates with the server device to obtain the The modification instruction includes: when the application program is activated, the application program of the client device receives a modification data corresponding to the at least one modification item; and the modification data is used as the modification instruction. 一種客戶端的資料修改方法,適用於一客戶端裝置,該方法包含: 取得一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;判斷該客戶端驗證指令是否符合一客戶端資料,其中該客戶端資料係儲存於該客戶端裝置中;當判斷該客戶端驗證指令符合該客戶端資料時,傳輸該修改指令至一伺服端裝置;從該伺服端裝置接收對應該修改指令的一修改回應,其中該修改回應選擇性地關聯於一執行檔;以及於該修改回應關聯於該執行檔時,依據該修改回應取得並執行該執行檔;於該修改回應與該執行檔無關聯時,產生一警示訊息,其中該客戶端裝置包含一應用程式,該應用程式通訊連接於該伺服端裝置;取得該修改指令包含:當該應用程式被啟動時,以該客戶端裝置透過該應用程式從該伺服端裝置接收一參數表,其中該參數表包含至少一修改項目;以及以該客戶端裝置接收對應該至少一修改項目的一修改資料,並以該修改資料作為該修改指令,其中產生該修改指令包含:以該客戶端裝置根據對應該至少一修改項目的該修改資料產生一結構化查詢語言;以及以該結構化查詢語言作為該修改指令。 A client data modification method is applicable to a client device, the method comprising: Obtaining a modification instruction, wherein the modification instruction includes a client verification instruction and a server verification instruction; judging whether the client verification instruction matches a client data, wherein the client data is stored in the client device; When judging that the client verification command conforms to the client data, transmitting the modification command to a server device; receiving a modification response corresponding to the modification command from the server device, wherein the modification response is selectively associated with an execution file ; and when the modification response is associated with the execution file, obtain and execute the execution file according to the modification response; when the modification response is not associated with the execution file, generate a warning message, wherein the client device includes an application , the application program is connected to the server device in communication; obtaining the modification command includes: when the application program is activated, the client device receives a parameter table from the server device through the application program, wherein the parameter table includes at least one modification item; and the client device receives a modification data corresponding to the at least one modification item, and uses the modification data as the modification instruction, wherein generating the modification instruction includes: using the client device according to the at least one modification generating a structured query language for modifying the modification data of the item; and using the structured query language as the modification command. 如請求項1所述的方法,其中該客戶端驗證指令包含一修改參數,該客戶端資料包含一參數可變更範圍,以該客戶端裝置判斷該客戶端驗證指令是否符合該客戶端資料包含:以該客戶端裝置判斷該修改參數是否落於該參數可變更範圍內。 The method as described in claim item 1, wherein the client verification instruction includes a modification parameter, the client data includes a parameter changeable range, and the client device is used to determine whether the client verification instruction conforms to the client data includes: The client device is used to judge whether the modified parameter falls within the changeable range of the parameter. 如請求項1所述的方法,其中該客戶端資料包含一可存取權限,以該客戶端裝置判斷該客戶端驗證指令是否符合該客戶端資料包含:以該客戶端裝置判斷該客戶端驗證指令是否符合該可存取權限。 The method as described in claim 1, wherein the client data includes an access right, and judging whether the client verification instruction conforms to the client data with the client device includes: judging the client verification with the client device Whether the command complies with the access rights. 如請求項1所述的方法,其中該修改回應包含該伺服端裝置對該伺服端驗證指令進行驗證的結果。 The method according to claim 1, wherein the modification response includes a verification result of the server verification command by the server device. 一種伺服端的資料修改方法,適用於一伺服端裝置,該方法包含:從一客戶端裝置接收一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;判斷該伺服端驗證指令是否符合一伺服端資料;以及產生並輸出一修改回應至該客戶端裝置;其中當判斷該伺服端驗證指令符合該伺服端資料時,該修改回應關聯於一執行檔,且該執行檔對應於該修改指令;當判斷該伺服端驗證指令不符合該伺服端資料時,該修改回應與該執行檔無關聯, 其中該伺服端裝置存有一參數表,該參數表包含至少一修改項目,該客戶端裝置包含一應用程式,該應用程式通訊連接於該伺服端裝置,從該客戶端裝置接收該修改指令包含:以對應該至少一修改項目的一修改資料作為該修改指令,其中該修改資料係該客戶端裝置的該應用程式被啟動時所取得。 A server-side data modification method is applicable to a server-side device. The method includes: receiving a modification command from a client device, wherein the modification command includes a client-side verification command and a server-side verification command; judging whether the server-side verification whether the command matches a server data; and generating and outputting a modification response to the client device; wherein when it is judged that the server verification command conforms to the server data, the modification response is associated with an execution file, and the execution file corresponds to In the modification command; when it is judged that the server-side verification command does not conform to the server-side data, the modification response is not related to the execution file, Wherein the server device stores a parameter table, the parameter table includes at least one modification item, the client device includes an application program, the application program is connected to the server device, and receiving the modification command from the client device includes: A modification data corresponding to the at least one modification item is used as the modification instruction, wherein the modification data is obtained when the application program of the client device is activated. 如請求項6所述的方法,其中該伺服端驗證指令包含關聯於該伺服端裝置的一版本號,以該伺服端裝置判斷該伺服端驗證指令是否符合該伺服端資料包含:以該伺服端裝置判斷該版本號是否為一可用版本號。 The method as described in claim 6, wherein the server-side verification command includes a version number associated with the server-side device, and using the server-side device to determine whether the server-side verification command conforms to the server-side data includes: using the server-side device The device determines whether the version number is an available version number. 一種資料修改方法,包含:以一客戶端裝置取得一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;以該客戶端裝置判斷該客戶端驗證指令是否符合一客戶端資料,其中該客戶端資料係儲存於該客戶端裝置中;當以該客戶端裝置判斷該客戶端驗證指令符合該客戶端資料時,傳輸該修改指令至一伺服端裝置;以該伺服端裝置判斷該伺服端驗證指令是否符合一伺服端資料;當以該伺服端裝置判斷該伺服端驗證指令符合該伺服端資料時,產生並輸出一修改回應至該客戶端裝置,其中該修改回應關聯於一執行檔,且該執行檔對應於該修改指令;當判斷該伺服端驗證指令不符合該伺服端資料時,該修改回應與該執行檔無關聯;以及 於該修改回應關聯於該執行檔時,以該客戶端裝置依據該修改回應取得並執行該執行檔;於該修改回應與該執行檔無關聯時,以該客戶端裝置產生一警示訊息,其中該伺服端裝置存有一參數表,該參數表包含至少一修改項目,該客戶端裝置包含一應用程式,該應用程式通訊連接於該伺服端裝置,以該客戶端裝置取得該修改指令包含:當該應用程式被啟動時,以該客戶端裝置的該應用程式接收對應該至少一修改項目的一修改資料;以及以該修改資料作為該修改指令。 A method for modifying data, comprising: using a client device to obtain a modification instruction, wherein the modification instruction includes a client verification instruction and a server verification instruction; using the client device to determine whether the client verification instruction conforms to a client data, wherein the client data is stored in the client device; when the client device judges that the client verification instruction conforms to the client data, the modification instruction is transmitted to a server device; the server device judging whether the server-side verification command conforms to a server-side data; when the server-side device judges that the server-side verification command conforms to the server-side data, generate and output a modification response to the client device, wherein the modification response is associated with An execution file, and the execution file corresponds to the modification command; when it is judged that the server-side verification command does not conform to the server-side data, the modification response is not related to the execution file; and When the modification response is associated with the execution file, the client device obtains and executes the execution file according to the modification response; when the modification response is not associated with the execution file, the client device generates a warning message, wherein The server device stores a parameter table, the parameter table includes at least one modification item, the client device includes an application program, and the application program communicates with the server device, and obtaining the modification command by the client device includes: when When the application program is activated, the application program of the client device receives a modification data corresponding to the at least one modification item; and uses the modification data as the modification instruction. 一種資料修改方法,包含:以一客戶端裝置取得一修改指令,其中該修改指令包含一客戶端驗證指令及一伺服端驗證指令;以該客戶端裝置判斷該客戶端驗證指令是否符合一客戶端資料,其中該客戶端資料係儲存於該客戶端裝置中;當以該客戶端裝置判斷該客戶端驗證指令符合該客戶端資料時,傳輸該修改指令至一伺服端裝置;以該伺服端裝置判斷該伺服端驗證指令是否符合一伺服端資料;當以該伺服端裝置判斷該伺服端驗證指令符合該伺服端資料時,產生並輸出一修改回應至該客戶端裝置,其中該修改回應關聯於一執行檔,且該執行檔對應於該修改指令;當判斷該伺服端驗證指令不符合該伺服端資料時,該修改回應與該執行檔無關聯;以及 於該修改回應關聯於該執行檔時,以該客戶端裝置依據該修改回應取得並執行該執行檔;於該修改回應與該執行檔無關聯時,以該客戶端裝置產生一警示訊息,其中該客戶端裝置包含一應用程式,該應用程式通訊連接於該伺服端裝置,以該客戶端裝置取得該修改指令包含:當該應用程式被啟動時,以該客戶端裝置透過該應用程式從該伺服端裝置接收一參數表,其中該參數表包含至少一修改項目;以及以該客戶端裝置接收對應該至少一修改項目的一修改資料,並以該修改資料作為該修改指令,其中以該客戶端裝置產生該修改指令包含:以該客戶端裝置根據對應該至少一修改項目的該修改資料產生一結構化查詢語言;以及以該結構化查詢語言作為該修改指令。 A method for modifying data, comprising: using a client device to obtain a modification instruction, wherein the modification instruction includes a client verification instruction and a server verification instruction; using the client device to determine whether the client verification instruction conforms to a client data, wherein the client data is stored in the client device; when the client device judges that the client verification instruction conforms to the client data, the modification instruction is transmitted to a server device; the server device judging whether the server-side verification command conforms to a server-side data; when the server-side device judges that the server-side verification command conforms to the server-side data, generate and output a modification response to the client device, wherein the modification response is associated with An execution file, and the execution file corresponds to the modification instruction; when it is judged that the server verification instruction does not conform to the server data, the modification response is not related to the execution file; and When the modification response is associated with the execution file, the client device obtains and executes the execution file according to the modification response; when the modification response is not associated with the execution file, the client device generates a warning message, wherein The client device includes an application program, the application program is connected to the server device, and obtaining the modification command by the client device includes: when the application program is activated, the client device obtains the modification instruction from the application program through the application program The server device receives a parameter table, wherein the parameter table includes at least one modification item; and the client device receives a modification data corresponding to the at least one modification item, and uses the modification data as the modification instruction, wherein the client The terminal device generating the modification instruction includes: using the client device to generate a structured query language according to the modification data corresponding to the at least one modification item; and using the structured query language as the modification instruction. 如請求項8所述的方法,其中該客戶端驗證指令包含一修改參數,該客戶端資料包含一參數可變更範圍,以該客戶端裝置判斷該客戶端驗證指令是否符合該客戶端資料包含:以該客戶端裝置判斷該修改參數是否落於該參數可變更範圍內。 The method as described in claim 8, wherein the client verification instruction includes a modification parameter, the client data includes a parameter changeable range, and the client device is used to determine whether the client verification instruction conforms to the client data includes: The client device is used to judge whether the modified parameter falls within the changeable range of the parameter. 如請求項8所述的方法,其中該客戶端資料包含一可存取權限,以該客戶端裝置判斷該客戶端驗證指令是否符合該客戶端資料包含: 以該客戶端裝置判斷該客戶端驗證指令是否符合該可存取權限。 The method as described in claim item 8, wherein the client data includes an access right, and the client device is used to determine whether the client verification instruction matches the client data includes: The client device is used to judge whether the client verification instruction conforms to the access permission. 如請求項8所述的方法,其中該伺服端驗證指令包含關聯於該伺服端裝置的一版本號,以該伺服端裝置判斷該伺服端驗證指令是否符合該伺服端資料包含:以該伺服端裝置判斷該版本號是否為一可用版本號。 The method as described in claim 8, wherein the server-side verification command includes a version number associated with the server-side device, and using the server-side device to determine whether the server-side verification command conforms to the server-side data includes: using the server-side device The device determines whether the version number is an available version number.
TW110135869A 2021-09-27 2021-09-27 Data modification method, and data modification method at client end and at server end TWI795922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110135869A TWI795922B (en) 2021-09-27 2021-09-27 Data modification method, and data modification method at client end and at server end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110135869A TWI795922B (en) 2021-09-27 2021-09-27 Data modification method, and data modification method at client end and at server end

Publications (2)

Publication Number Publication Date
TWI795922B true TWI795922B (en) 2023-03-11
TW202314483A TW202314483A (en) 2023-04-01

Family

ID=86692161

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110135869A TWI795922B (en) 2021-09-27 2021-09-27 Data modification method, and data modification method at client end and at server end

Country Status (1)

Country Link
TW (1) TWI795922B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166911A (en) * 2011-12-09 2013-06-19 阿里巴巴集团控股有限公司 Version management server authority management method and version management server authority management equipment
US9052966B1 (en) * 2011-12-02 2015-06-09 Google Inc. Migrating code from a source format to a target format
CN105068796A (en) * 2015-07-22 2015-11-18 用友金融信息技术有限公司 Pushing method for patch program set and pushing system for patch program set
TWI517045B (en) * 2010-02-11 2016-01-11 Alibaba Group Holding Ltd JAVA cluster application system code loading and upgrading devices and methods
US9400645B2 (en) * 2009-09-30 2016-07-26 Zynga Inc. Apparatuses, methods and systems for a social networking application updater

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9400645B2 (en) * 2009-09-30 2016-07-26 Zynga Inc. Apparatuses, methods and systems for a social networking application updater
TWI517045B (en) * 2010-02-11 2016-01-11 Alibaba Group Holding Ltd JAVA cluster application system code loading and upgrading devices and methods
US9052966B1 (en) * 2011-12-02 2015-06-09 Google Inc. Migrating code from a source format to a target format
CN103166911A (en) * 2011-12-09 2013-06-19 阿里巴巴集团控股有限公司 Version management server authority management method and version management server authority management equipment
CN105068796A (en) * 2015-07-22 2015-11-18 用友金融信息技术有限公司 Pushing method for patch program set and pushing system for patch program set

Also Published As

Publication number Publication date
TW202314483A (en) 2023-04-01

Similar Documents

Publication Publication Date Title
WO2018137564A1 (en) Service processing method and apparatus
US9021462B2 (en) Systems and methods for provisioning equipment
CN104252342B (en) Embedded application implementation method and device capable of configuring parameters
US10250616B2 (en) Server and user terminal
US20170115981A1 (en) Apparatus and method for managing application
EP2132898B1 (en) System and method for upgrading the functionality of a controlling device via a secure portable adapter device
KR102358470B1 (en) Boot loader update firmware, method for updating boot loader
CN103645910A (en) Methods for updating applications
US10338933B2 (en) Method for generating custom BIOS setup interface and system therefor
JP2011257954A (en) Update management server, electronic device, update management system having the server and the device, and method of the system
CN115204423A (en) Equipment management method and management server
TW201944234A (en) Scalable life-cycle maintenance of hardware
US9703570B2 (en) Dynamic device drivers
EP3586256B1 (en) Remote administration of initial computer operating system setup options
US9614901B2 (en) Data infrastructure for providing interconnectivity between platforms, devices, and operating systems
WO2019237438A1 (en) System, electronic device, and method for online firmware upgrading
US11876676B2 (en) Network node firmware update
US10623489B2 (en) Sync gateway for mobile application download
CN108920171A (en) Firmware update and device, electronic equipment
CN104750706A (en) Drive program information providing method, device and system
TWI599906B (en) Program update device, complex cell device, update decision program product and program update method
EP3557409A1 (en) Network-connected devices and methods for executing operating programs in ram memory
TWI795922B (en) Data modification method, and data modification method at client end and at server end
US10365908B2 (en) Secure reprogramming of smart devices to alter device functionality based on license rights
WO2017036197A1 (en) Method and device for managing network element model