TWI531910B - Data management method, computer program product and managing server - Google Patents

Data management method, computer program product and managing server Download PDF

Info

Publication number
TWI531910B
TWI531910B TW103139749A TW103139749A TWI531910B TW I531910 B TWI531910 B TW I531910B TW 103139749 A TW103139749 A TW 103139749A TW 103139749 A TW103139749 A TW 103139749A TW I531910 B TWI531910 B TW I531910B
Authority
TW
Taiwan
Prior art keywords
code
data
user
server
list
Prior art date
Application number
TW103139749A
Other languages
Chinese (zh)
Other versions
TW201619848A (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 TW103139749A priority Critical patent/TWI531910B/en
Application granted granted Critical
Publication of TWI531910B publication Critical patent/TWI531910B/en
Publication of TW201619848A publication Critical patent/TW201619848A/en

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Description

資料管理方法、電腦程式產品及管理伺服器端 Data management method, computer program product and management server

本發明是有關於一種資料管理方法,特別是指一種應用程式與伺服器間的資料管理方法、電腦程式產品及管理伺服器端。 The invention relates to a data management method, in particular to a data management method between an application and a server, a computer program product and a management server end.

現有的手機、平板電腦等行動裝置,可透過網際網路與一伺服器以及多個週邊設備例如網路監視器(IP Cam)進行連線,使得行動裝置可接收網路監視器攝錄的畫面。為達到前述功能,行動裝置會安裝並執行應用程式,應用程式會先逐一接收週邊設備的連線資訊,並將該連線資訊逐一通知伺服器,伺服器再經網際網路連接行動裝置與週邊設備。 Existing mobile devices, such as mobile phones and tablets, can be connected to a server and a plurality of peripheral devices such as a network monitor (IP Cam) via the Internet, so that the mobile device can receive the video captured by the network monitor. . In order to achieve the above functions, the mobile device installs and executes the application, and the application first receives the connection information of the peripheral devices one by one, and informs the server one by one of the connection information, and the server connects the mobile device and the surrounding area via the Internet. device.

而也有一些週邊設備支援訊息推播的功能,詳細舉例來說,當想要新增週邊設備時,行動裝置需先安裝並執行應用程式後,再透過行動裝置的攝影機讀取第一網路監視器的二維條碼,解析出其第一裝置識別碼後,結合手機裝置識別碼組成一第一組合碼傳送給伺服器,使伺服器紀錄該第一組合碼以完成週邊設備的新增;欲刪除週邊 設備時,行動裝置執行應用程式,發出刪除該第一組合碼之指令至伺服器,使伺服器刪除該第一組合碼以完成週邊設備的刪除。 There are also some peripheral devices that support the function of pushing information. For example, when you want to add peripheral devices, the mobile device needs to install and execute the application, and then read the first network monitoring through the camera of the mobile device. The two-dimensional barcode of the device is parsed out of the first device identification code, and combined with the mobile phone device identification code to form a first combined code to be transmitted to the server, so that the server records the first combined code to complete the addition of the peripheral device; Delete the perimeter In the device, the mobile device executes the application, sends an instruction to delete the first combination code to the server, and causes the server to delete the first combination code to complete the deletion of the peripheral device.

然而,此種機制下,行動裝置已執行應用程式傳送該第一組合碼給伺服器,在伺服器完成紀錄後,若此時行動裝置在沒有網際網路狀況下刪除該應用程式,而後連上網際網路再次重新安裝該應用程式時,改為讀取第二網路監視器的第二裝置識別碼後,產生一第二組合碼傳送給伺服器,此時伺服器可以成功紀錄該第二組合碼,但該第一組合碼卻仍留存在伺服器中,且由於此時行動裝置的應用程式中亦已無保留第一組合碼,故已屬於未知資訊,因此行動裝置已無法下達該第一組合碼的刪除指令,此時當第一網路監視器發出一通知訊息,伺服器則會將該通知訊息傳送至該行動裝置,而造成使用者的困擾。 However, under this mechanism, the mobile device has executed the application to transmit the first combination code to the server, and after the server completes the record, if the mobile device deletes the application without the Internet condition, and then connects When the Internet re-installs the application again, after reading the second device identifier of the second network monitor, a second combination code is generated and transmitted to the server, and the server can successfully record the second. The combination code, but the first combination code remains in the server, and since the first combination code is not retained in the application of the mobile device at this time, it is already unknown information, so the mobile device cannot release the first code. A combination code delete command, when the first network monitor sends a notification message, the server will transmit the notification message to the mobile device, causing user confusion.

針對上述問題目前亦有解決方式,即當該行動裝置端移除該應用程式時,隨即將伺服器中屬於該行動裝置之相應組合碼全部刪除,當使用者重新安裝應用程式並增加網路監視器後,再紀錄新產生的組合碼,然而此方式則會出現「時間相依性」的問題,也就是說,當部分周邊設備具有可提供客製化的設定,例如具有可設定接收通知訊息區間之計時功能時,若刪除全部組合碼則會造成正在計時的資料遭清空。舉例來說,行動裝置端已設定一小時內只傳送一次來自第二網路監視器之訊息給行動裝置,故當傳送一次訊息後伺服器即會開始計時,阻止接下來一小 時內該第二網路監視器的其他通知訊息傳送;但這段期間伺服器若刪除行動裝置的全部組合碼後再重新記錄新的組合碼,雖然伺服器端中第二網路監視器的組合碼被刪除後已再新增,但伺服器端相關於第二網路監視器的計時記錄亦會同時被刪除後全部重新計時,也就是伺服器端資訊(計時記錄)已產生誤差,如此會導致伺服器只要收到來至周邊設備的通知訊息,立即又可以再透過推訊伺服器傳送訊息給行動裝置,不論距上一次傳送是否已間隔一小時,而造成使用者在一小時內收到一則以上的通知訊息。 At present, there is also a solution to the above problem, that is, when the mobile device removes the application, all the corresponding combination codes belonging to the mobile device in the server are deleted, and the user reinstalls the application and increases network monitoring. After the device, the newly generated combination code is recorded. However, this method will have the problem of "time dependency", that is, when some peripheral devices have customized settings, for example, there is a settable notification message interval. In the timing function, if all the combination codes are deleted, the data being timed will be cleared. For example, the mobile device has set up to transmit only the message from the second network monitor to the mobile device within one hour, so when the message is transmitted once, the server will start timing and prevent the next small one. The other notification message of the second network monitor is transmitted during the period; but during this period, the server deletes the entire combination code of the mobile device and then re-records the new combination code, although the second network monitor in the server side After the combination code is deleted, it has been added again, but the timing record related to the second network monitor on the server side will also be deleted and all re-timed, that is, the server-side information (timekeeping record) has generated an error. As long as the server receives the notification message from the peripheral device, it can immediately send the message to the mobile device through the tweet server, regardless of whether the last transmission has been separated by one hour, causing the user to receive it within one hour. More than one notification message.

另外一個問題在於,當行動裝置處於離線狀態時,執行了刪除、新增多筆資料的動作,在進入連線狀態後由於每個刪除及新增的動作都必須配合一次資料驗證,使伺服器確認要對應哪一行動裝置執行動作,速度緩慢。因此,應用程式與伺服器間的管理方式,有必要做進一步的改良。 Another problem is that when the mobile device is offline, the action of deleting and adding multiple data is performed. After entering the connection state, each deletion and new action must cooperate with the data verification to make the server It is determined that which mobile device is to perform the action, and the speed is slow. Therefore, it is necessary to further improve the management method between the application and the server.

本發明之其中一目的,即在提供一種避免伺服器端資訊誤差且更為快速的資料管理方法。 One of the objects of the present invention is to provide a faster data management method that avoids server-side information errors.

本發明之其中另一目的,即在提供一種避免伺服器端資訊誤差且更為快速的電腦程式產品。 Another object of the present invention is to provide a computer program product that avoids server-side information errors and is faster.

本發明之其中又一目的,即在提供一種避免伺服器端資訊誤差且更為快速的管理伺服器端。 Yet another object of the present invention is to provide a faster management of the server side by avoiding server-side information errors.

本發明資料管理方法在一些實施態樣中,是由一管理伺服器端執行,該管理伺服器端包含一資料庫,該 資料庫可存多筆包含來自多個使用者端的多個連結碼、多個應用程式唯一碼、多個裝置識別碼及多個使用者端設定資訊的鍵結資料,該方法適用於一使用者端,該使用者端儲存有一連結碼、一應用程式唯一碼及一使用者端裝置清單,該方法包含以下步驟: In some implementations, the data management method of the present invention is executed by a management server, and the management server includes a database. The database can store a plurality of key data including a plurality of link codes from a plurality of user terminals, a plurality of application unique codes, a plurality of device identification codes, and a plurality of user end setting information, and the method is applicable to a user. End, the user end stores a link code, an application unique code, and a list of user devices, and the method includes the following steps:

接收該使用者端的該連結碼、該應用程式唯一碼及該使用者端裝置清單。 Receiving the link code of the user end, the application unique code, and the list of the client device.

刪除該資料庫中與該使用者端具有相同該連結碼,但相異該應用程式唯一碼的所有鍵結資料。 Delete all key data in the database that has the same connection code as the user but differs from the unique code of the application.

判斷該使用者端裝置清單是否為空白清單,若否,則該使用者端裝置清單的資料內容包括至少一筆具有一裝置識別碼及一使用者端設定資訊的使用者端裝置清單資料,並逐筆讀取該使用者端裝置清單資料。 Determining whether the user equipment list is a blank list, and if not, the data content of the user equipment list includes at least one user equipment list data having a device identification code and a user end setting information, and The pen reads the user device list data.

判斷所接收之該使用者端的該連結碼、該應用程式唯一碼及該筆使用者端裝置清單資料的該裝置識別碼是否於該資料庫中存在有一包含相同該連結碼、相同該應用程式唯一碼及相同該裝置識別碼的對應鍵結資料,若是,則更新該資料庫中的該對應鍵結資料中的該使用者端設定資訊為該筆使用者端裝置清單資料的該使用者端設定資訊,並將該對應鍵結資料加入一白名單。 Determining whether the device identifier of the user terminal, the application unique code, and the device identifier of the user device list data in the database have the same connection code and the same application identifier The code and the corresponding key data of the same device identification code, if yes, updating the user terminal setting information in the corresponding key binding data in the database as the user end setting of the user terminal device list data Information, and add the corresponding key information to a white list.

刪除該資料庫中不存在於該白名單上,但與該使用者端具有相同之該連結碼及該應用程式唯一碼的所有鍵結資料。 Delete all the key data in the database that does not exist on the white list but has the same link code and the application unique code as the user end.

在一些實施態樣中,其中判斷所接收之該使用 者端的該連結碼、該應用程式唯一碼及該筆使用者端裝置清單資料的該裝置識別碼是否於該資料庫中存在有相同之該對應鍵結資料之步驟,若否,包含以下步驟: In some implementations, wherein the received use is determined The connection code of the terminal, the application unique code, and the device identifier of the user device list data have the same step of the corresponding key data in the database. If not, the method includes the following steps:

新增包括該連結碼、該應用程式唯一碼、該裝置識別碼的該對應鍵結資料至該資料庫。 The corresponding key data including the link code, the application unique code, and the device identification code is added to the database.

在一些實施態樣中,其中判斷該使用者端裝置清單是否為空白清單之步驟,若是,包含以下步驟: In some implementations, the step of determining whether the user device list is a blank list, if yes, includes the following steps:

刪除該資料庫中具有相同之該連結碼及該應用程式唯一碼的所有鍵結資料。 Delete all key data in the database that has the same link code and the unique code of the application.

在一些實施態樣中,該連結碼是用以連結該使用者端與一推播伺服器,而使該使用者端能接收來自該推播伺服器的一推播訊息。 In some implementations, the link code is used to connect the user terminal to a push server, so that the user terminal can receive a push message from the push server.

在一些實施態樣中,該裝置識別碼對應至一週邊設備,該週邊設備發出一通知資訊至該管理伺服器端,該管理伺服器端將該通知資訊及對應該裝置識別碼之該連結碼傳送至該推播伺服器,使該推播伺服器傳送對應該通知資訊之該推播訊息至該使用者端。 In some implementations, the device identifier corresponds to a peripheral device, and the peripheral device sends a notification message to the management server, and the management server uses the notification information and the link code corresponding to the device identifier. And transmitting to the push server, causing the push server to transmit the push message corresponding to the notification information to the user end.

在一些實施態樣中,該筆使用者端裝置清單資料包括該裝置識別碼,該對應鍵結資料包括該連結碼、該應用程式唯一碼、該裝置識別碼、該使用者端設定資訊及一伺服器端保留資訊;其中,更新該對應鍵結資料之步驟,還包含以下步驟: In some implementations, the user equipment list data includes the device identification code, the corresponding key information includes the connection code, the application unique code, the device identification code, the user end setting information, and a The server retains information; wherein the step of updating the corresponding key data further includes the following steps:

保留該伺服器端保留資訊。 Keep the server-side retention information.

在一些實施態樣中,該使用者端設定資訊包括 一要求推播的最小間隔值,該伺服器端保留資訊包括該管理伺服器端前一次將該通知資訊及對應該裝置識別碼之該連結碼傳送至該推播伺服器的一前次傳訊時間。 In some implementations, the user setting information includes a minimum interval value required to be pushed, the server-side retention information includes a previous communication time that the management server transmits the notification information and the connection code corresponding to the device identification code to the push server for the previous time. .

在一些實施態樣中,該管理伺服器端每次在傳送該通知資訊及該連結碼至該推播伺服器前,還包含以下步驟: In some implementations, the management server includes the following steps each time before transmitting the notification information and the link code to the push server:

判斷當前時間減去該前次傳訊時間是否大於該要求推播的最小間隔值,若是,才進行傳送。 It is judged whether the current time minus the previous communication time is greater than the minimum interval value of the required push, and if so, the transmission is performed.

本發明電腦程式產品在一些實施態樣中,是經由電腦載入該程式執行如所述資料管理方法。 In some implementations, the computer program product of the present invention loads the program via a computer to perform the data management method as described.

本發明管理伺服器端在一些實施態樣中,是執行如所述資料管理方法。 In some implementations, the management server of the present invention performs the data management method as described.

本發明之功效在於:透過刪除不在該白名單上的鍵結資料,能成功解決無法刪除未知週邊設備的問題;透過更新該對應鍵結資料之使用者端設定資訊,保留伺服器端保留資訊,可避免管理伺服器端資訊產生誤差;透過一次性地傳輸使用者端裝置清單資料可減少資料驗證的時間,加快處理速度。 The effect of the present invention is that by deleting the key data not on the white list, the problem that the unknown peripheral device cannot be deleted can be successfully solved; by updating the user end setting information of the corresponding key binding data, the server retaining information is retained. It can avoid the error of managing the information on the server side; it can reduce the time of data verification and speed up the processing by transmitting the data of the user equipment list at one time.

1‧‧‧管理伺服器端 1‧‧‧Manage server side

11‧‧‧管理伺服器 11‧‧‧Management Server

12‧‧‧資料庫 12‧‧‧Database

2‧‧‧行動裝置 2‧‧‧Mobile devices

3‧‧‧推播伺服器 3‧‧‧Pushing server

4‧‧‧週邊設備 4‧‧‧ peripheral equipment

S1至S9‧‧‧步驟 S1 to S9‧‧ steps

S51、S61、S62‧‧‧步驟 S51, S61, S62‧‧‧ steps

S11至S18‧‧‧步驟 S11 to S18‧‧‧ steps

S111‧‧‧步驟 S111‧‧‧Steps

本發明之其他的特徵及功效,將於參照圖式的實施例詳細說明中清楚地呈現,其中:圖1是一系統方塊圖,說明本發明實施例的管理伺服器端及其配合之一使用者端、一推播伺服器及一週邊設備;圖2是一流程圖,說明本發明實施例的資料管理方法; 圖3是一流程圖,說明該實施例的步驟S1;及圖4是一流程圖,說明該實施例的步驟S1的另一實施態樣。 Other features and advantages of the present invention will be apparent from the following detailed description of the embodiments of the invention, wherein: FIG. 1 is a system block diagram illustrating the use of the management server end and its cooperation in accordance with an embodiment of the present invention. a server, a push server and a peripheral device; FIG. 2 is a flowchart illustrating a data management method according to an embodiment of the present invention; Figure 3 is a flow chart showing the step S1 of the embodiment; and Figure 4 is a flow chart showing another embodiment of the step S1 of the embodiment.

參閱圖1與圖2,本發明資料管理方法之實施例,由一管理伺服器端1執行,適用於配合一使用者端、一推播伺服器3及一週邊設備4。 Referring to FIG. 1 and FIG. 2, an embodiment of the data management method of the present invention is executed by a management server terminal 1 and is adapted to cooperate with a user terminal, a push server 3, and a peripheral device 4.

該管理伺服器端1是提供應用程式服務的伺服器端,包括相互資訊連接的一管理伺服器11及一資料庫12,在本實施例中是使用一獨立的資料庫來做說明,也就是說該資料管理伺服器11及資料庫12兩者位在不同但相互連線的電腦中,但不以此為限,也可以位在同一台電腦中。 The management server terminal 1 is a server terminal for providing application services, and includes a management server 11 and a database 12 for mutual information connection. In this embodiment, an independent database is used for explanation, that is, It is said that the data management server 11 and the database 12 are located in different but interconnected computers, but not limited thereto, and may be located in the same computer.

該使用者端在本實施例中是一行動裝置2,儲存有一用以接收推播訊息之連結碼(token)、一應用程式唯一碼及一使用者端裝置清單。行動裝置2例如是一智慧型行動電話、平板電腦、筆記型電腦等可攜式電子裝置。 In this embodiment, the user terminal is a mobile device 2, and stores a link (token) for receiving a push message, an application unique code, and a list of user devices. The mobile device 2 is, for example, a portable electronic device such as a smart mobile phone, a tablet computer, or a notebook computer.

詳細而言,該連結碼是用以連結該行動裝置2與推播伺服器3而使該行動裝置2能接收來自該推播伺服器3的推播訊息。當行動裝置2上的應用程式欲使用推播訊息功能時,會向與其作業系統相關的推播伺服器3註冊提出請求,該推播伺服器3會回傳該連結碼,而行動裝置2再將該連結碼傳送給管理伺服器11,往後管理伺服器11欲傳送推播訊息時,只要將欲推播的內容及該連結碼傳送 給推播伺服器3,推播伺服器3便可傳送推播訊息至該行動裝置2。 In detail, the link code is used to connect the mobile device 2 and the push server 3 to enable the mobile device 2 to receive the push message from the push server 3. When the application on the mobile device 2 wants to use the push message function, it will make a request to the push server 3 associated with its operating system, and the push server 3 will return the link code, and the mobile device 2 Transmitting the link code to the management server 11, and when the management server 11 wants to transmit the push message, the content to be pushed and the link code are transmitted. To the push server 3, the push server 3 can transmit a push message to the mobile device 2.

至於應用程式唯一碼,在本實施例中,需要當每一應用程式安裝於任一裝置時,能獨立無二地產生。以安卓(Android)系統為例,因安卓系統未提供此一服務,故在本實施例中,是使應用程式唯一碼包含應用程式編號(Application ID)及硬體編號,其中,相同應用程式的相同版本會有相同的應用程式編號,而硬體編號包含序列號、媒體存取控制位址(Media Access Control Address,MAC位址)及隨機資料而產生。而蘋果公司的行動裝置2作業系統(iOS)的應用程式唯一碼的產生方式未公開,但其提供了一可產生應用程式唯一碼的應用程式界面(Application Programming Interface,API),應用程式於安裝時向該應用程式界面請求即可得到本次安裝的應用程式唯一碼。總結來說,相同應用程式的相同版本在相同或不同的硬體進行兩次安裝,或者是相同應用程式在更新前與更新後,應用程式唯一碼都會不同。該應用程式唯一碼可以協助管理伺服器11辨識其溝通的對象。 As for the application unique code, in this embodiment, it is necessary to independently generate each application when it is installed in any device. For example, in the Android system, since the Android system does not provide the service, in this embodiment, the application unique code includes an application ID (Application ID) and a hardware number, wherein the same application The same version will have the same application number, and the hardware number will be generated by serial number, Media Access Control Address (MAC Address) and random data. The application unique code generation method of Apple's mobile device 2 operating system (iOS) is not disclosed, but it provides an application programming interface (API) that can generate the application unique code, and the application is installed. When you request from the application interface, you can get the unique code of the application installed this time. In summary, the same version of the same application is installed twice on the same or different hardware, or the same application will be different before and after the update. The application unique code can assist the management server 11 in identifying the objects it communicates with.

週邊設備4例如是一網路攝影機(IP Cam)、網路監視器、各類智能家電、警報器或網路硬碟等具備網路連線功能之週邊設備,具有一裝置識別碼用於識別該周邊設備4,其連上網際網路後會與管理伺服器11進行註冊。通常情況下,裝置識別碼亦可以例如一貼紙貼付於週邊設備4表面供使用者知悉並供輸入至行動裝置2,其中,行動 裝置2需安裝應用程式後才能輸入該裝置識別碼並執行後續步驟,或是透過其他像是說明文件提供使用者知悉其周邊設備4之裝置識別碼。詳細而言,行動裝置2安裝應用程式後,將所接收輸入之該裝置識別碼傳送至管理伺服器11。而在本實施例中是以使用者端裝置清單為之,該行動裝置2是將包含其儲存的所有裝置識別碼的使用者端裝置清單傳送至管理伺服器11。 The peripheral device 4 is, for example, a network camera (IP Cam), a network monitor, various smart appliances, an alarm device, or a network hard disk and other peripheral devices having a network connection function, and has a device identification code for identification. The peripheral device 4 is registered with the management server 11 after being connected to the Internet. In general, the device identification code can also be attached to the surface of the peripheral device 4 for a user to know and input to the mobile device 2, for example, a action. The device 2 needs to install the application before inputting the device identification code and performing the subsequent steps, or providing the device identification code of the peripheral device 4 by the user through other description files. In detail, after the mobile device 2 installs the application, the device identification code received and transmitted is transmitted to the management server 11. In the present embodiment, the mobile device device list is a list of user device devices that transmit a list of user device devices including all device identification codes stored therein to the management server 11.

配合前述之連結碼,傳送推播訊息的情況例如是,根據使用者設定,當網路攝影機偵測到某區塊有特定行為發生,會發出一通知資訊至該管理伺服器11,該管理伺服器11根據該網路攝影機的裝置識別碼由資料庫12中查詢出對應的行動裝置2的連結碼,再將該通知資訊及該連結碼傳送至該推播伺服器3,推播伺服器3便能將對應該通知資訊的推播訊息推播傳送至該行動裝置2。 In the case of the above-mentioned link code, the push message is transmitted, for example, according to the user setting, when the network camera detects that a certain behavior occurs in a certain block, a notification message is sent to the management server 11, the management server. The device 11 queries the corresponding code of the mobile device 2 from the database 12 according to the device identification code of the network camera, and transmits the notification information and the connection code to the push server 3 to push the server 3 The push message corresponding to the notification information can be transmitted to the mobile device 2.

整體而言,該管理伺服器11統合前述行動裝置2、推播伺服器3及週邊設備4,使得週邊設備4發出通知資訊時,能經由推播伺服器3送達行動裝置2。然而能夠順利運作的前提是該管理伺服器11中有關週邊設備4的資料必須要與行動裝置2上的相關資料以合適的方式來處理,通知資訊才可順利無誤的送達。因此,所述本發明資料管理方法的實施例包含管理伺服器11執行的以下步驟: In general, the management server 11 integrates the mobile device 2, the push server 3, and the peripheral device 4 so that when the peripheral device 4 issues notification information, it can be sent to the mobile device 2 via the push server 3. However, the premise of being able to operate smoothly is that the information about the peripheral device 4 in the management server 11 must be processed in an appropriate manner with the relevant information on the mobile device 2, and the notification information can be delivered smoothly and without error. Accordingly, the embodiment of the data management method of the present invention includes the following steps performed by the management server 11:

步驟S1-接收行動裝置2的連結碼、應用程式唯一碼及使用者端裝置清單並進行資料驗證。資料驗證的部分容後說明,以下進入步驟S2。 Step S1: receiving the link code of the mobile device 2, the application unique code, and the list of the client device, and performing data verification. The part of the data verification is described later, and the following proceeds to step S2.

步驟S2-與該行動裝置2的該連結碼及該應用程式唯一碼相比,刪除資料庫12中具有相同之連結碼但相異之應用程式唯一碼的所有鍵結資料。鍵結資料的詳細內容格式容後說明。需說明的是,資料庫12中可能儲存有0筆、1筆或2筆以上符合前述條件之鍵結資料,因此本步驟符合條件之「所有」鍵結資料之筆數可能為0筆、1筆或2筆以上,不論是何種情況,均在本步驟中全數刪除。更進一步地,資料庫12中可能儲存有0筆(尚未儲存任何鍵結資料的情況)、1筆或2筆以上之鍵結資料,不論是何種情況均不影響本實施例中所有步驟之進行。 In step S2, compared with the link code of the mobile device 2 and the application unique code, all the key data of the database 12 having the same link code but different application unique codes are deleted. The details of the keying data are described in the format. It should be noted that, in the database 12, there may be 0, 1 or more key binding data that meet the foregoing conditions. Therefore, the number of "all" keying data that meets the requirements in this step may be 0, 1 Pen or more than 2 strokes, in any case, are deleted in this step. Further, the database 12 may store 0 pens (when no key data has been stored), 1 or more key data, which does not affect all the steps in this embodiment. get on.

相同之連結碼意謂對應至相同的行動裝置,換言之,凡是相同之一組連結碼,便會對應到同一部行動裝置。因此,如果資料庫12中存在一或多筆具有相異之應用程式唯一碼的鍵結資料,但是具有相同的連結碼,有可能是對應該連結碼的行動裝置先前安裝應用程式時留下來的資訊。先前安裝的應用程式雖具有與現在使用之應用程式唯一碼相異之應用程式唯一碼,但卻是在相同的行動裝置上與推播伺服器3連結,故具有相同的連結碼。而在應用程式遭移除或更新後,目前該行動裝置對應之應用程式唯一碼已經變更,因此舊有之該一或多筆具有相異之應用程式唯一碼的鍵結資料可全部刪除。以下進入步驟S3。 The same link code means that it corresponds to the same mobile device, in other words, any one of the same set of link codes will correspond to the same mobile device. Therefore, if there are one or more keying materials with different application unique codes in the database 12, but have the same linking code, it may be that the mobile device corresponding to the linking code is left when the application is previously installed. News. The previously installed application has the same application unique code as the currently used application unique code, but is connected to the push server 3 on the same mobile device, and therefore has the same link code. After the application is removed or updated, the application unique code corresponding to the mobile device has been changed, so that the one or more key binding data with different application unique codes can be deleted. The process proceeds to step S3 below.

步驟S3-判斷該使用者端裝置清單是否為空白清單,若是,進入步驟S4,若否,進入步驟S5。詳細而言,當使用者端裝置清單內具有資料時,則代表此行動裝置 2已經新增週邊設備4之裝置識別碼,故需要進行資料更新;若為空白清單則反之。 Step S3 - determining whether the user terminal device list is a blank list, and if so, proceeds to step S4, and if not, proceeds to step S5. In detail, when there is data in the user device list, it represents the mobile device. 2 The device identification code of the peripheral device 4 has been added, so the data update is required; if it is a blank list, the reverse is true.

步驟S4-與該行動裝置2的該連結碼及該應用程式唯一碼相比,刪除資料庫12中具有相同之連結碼及應用程式唯一碼的所有鍵結資料。此舉意味使用者端在失去網際網路過程中將所有裝置識別碼資訊移除,故在資料庫12中亦需同步刪除保留在資料庫12中的鍵結資料。完成上述流程後結束流程。 Step S4 - Delete all the keying data of the database 12 having the same concatenated code and the application unique code compared with the concatenated code of the mobile device 2 and the application unique code. This means that the user side removes all device identification code information during the process of losing the Internet, so the key data retained in the database 12 also needs to be deleted synchronously in the database 12. End the process after completing the above process.

步驟S5-讀取該使用者端裝置清單中的一筆使用者端裝置清單資料,該筆使用者端裝置清單資料包括該裝置識別碼及一使用者端設定資訊。 Step S5-Reading a piece of user device list data in the list of the user device, the user device device list data includes the device identification code and a user terminal setting information.

該使用者端設定資訊是於該行動裝置2,也就是該使用者端,設定之有關週邊設備4之資訊,例如包括一要求推播的最小間隔值及其他設定資訊,該要求推播的最小間隔值是設定要求接收有關該週邊設備4之推播訊息之最小時間間隔,在本實施例中,若該要求推播的最小間隔值小於零,則意謂設定為永不接收,但不以此為限。該其他設定資訊例如包括一顯示的裝置名稱。該使用者端裝置清單如表1所示。 The user terminal setting information is information about the peripheral device 4 set by the mobile device 2, that is, the user terminal, for example, including a minimum interval value for requesting push and other setting information, and the minimum required for the push broadcast. The interval value is a minimum time interval for setting the request to receive the push message about the peripheral device 4. In this embodiment, if the minimum interval value of the request push is less than zero, it means that the setting is never received, but not Limited. The other setting information includes, for example, a displayed device name. The list of user equipments is shown in Table 1.

其中,在本實施例中,該裝置識別碼為20碼英數組合表示,該要求推播的最小間隔值之單位為秒,該顯示的裝置名稱之長度限制為30個字,但不以上述為限。以下進入步驟S51。 In this embodiment, the device identification code is represented by a combination of 20 codes and an English number. The unit of the minimum interval value of the required push is seconds, and the length of the displayed device name is limited to 30 words, but not the above. Limited. The process proceeds to step S51.

步驟S51-判斷該裝置識別碼所屬的周邊設備4是否已上線服務。詳細而言,資料庫12儲存有一現有裝置清單,儲存所有已註冊之週邊設備4的裝置識別碼及裝置資訊。透過記錄該現有裝置清單,可得知管理伺服器11會收到哪些週邊設備4所提供的推播訊息。 Step S51 - determining whether the peripheral device 4 to which the device identification code belongs has been online. In detail, the database 12 stores a list of existing devices storing device identification codes and device information of all registered peripheral devices 4. By recording the list of existing devices, it can be known which paging devices 4 are provided by the management server 11.

在本實施例中,資料庫12還儲存有一鍵結清單,前述鍵結資料在本實施例即儲存於該鍵結清單中。該鍵結清單的欄位包括分別用以儲存該連結碼、該應用程式唯一碼、該裝置識別碼、該使用者端設定資訊及一伺服器端保留資訊的欄位,藉此儲存行動裝置2上的應用程式與週邊設備4的鍵結關係,其中該伺服器端保留資訊容後說明。在前述的步驟S2中,是刪除資料庫12之該鍵結清單中具有相同之連結碼但相異之應用程式唯一碼的所有鍵結資料。以下進入步驟S6。 In this embodiment, the database 12 also stores a key list, and the key data is stored in the key list in this embodiment. The field of the key list includes fields for storing the link code, the application unique code, the device identification code, the user terminal setting information, and a server end reservation information, thereby storing the mobile device 2 The binding relationship between the application on the peripheral device 4 and the peripheral device 4, wherein the server end retains the information after the description. In the foregoing step S2, all the key data of the application unique code having the same contig code but different in the key list of the database 12 are deleted. The process proceeds to step S6 below.

步驟S6-判斷該筆使用者端裝置清單資料的裝置識別碼是否已鍵結於資料庫12之該鍵結清單中。詳細而言,本步驟是判斷行動裝置2的該連結碼、該應用程式唯一碼及該筆使用者端裝置清單資料的裝置識別碼是否於該管理伺服器端1中存在有一對應鍵結資料。若是,進入步 驟S61,若否,進入步驟S62。 Step S6 - determining whether the device identification code of the user equipment list data of the pen has been keyed in the key list of the database 12. In detail, in this step, it is determined whether the connection code of the mobile device 2, the application unique code, and the device identification code of the user device list data have a corresponding keying data in the management server terminal 1. If yes, enter the step At step S61, if no, the process proceeds to step S62.

步驟S61-更新資料庫12中該對應鍵結資料。本步驟是將該資料庫12之該鍵結清單中的該對應鍵結資料的該使用者端設定資訊,更新為該使用者端裝置清單的該筆資料的該使用者端設定資訊。 Step S61 - update the corresponding keying material in the database 12. In this step, the user end setting information of the corresponding key data in the key list of the database 12 is updated to the user end setting information of the piece of data of the user device list.

而前述伺服器端保留資訊並未因本步驟之更新而被修改或刪除。該伺服器端保留資訊是於該管理伺服器端1保留之有關週邊設備4之資訊,例如是管理伺服器11前一次將該通知資訊及對應該裝置識別碼之該連結碼傳送至該推播伺服器3的一前次傳訊時間,而該管理伺服器11每次在傳送該通知資訊及該連結碼至該推播伺服器3前,會先判斷當前時間減去該前次傳訊時間是否大於該要求推播的最小間隔值,若是,才進行傳送;若不是則等待下一次的通知訊息再進行相同判斷。但若更新方式是直接將資料庫12之該鍵結清單中的整筆鍵結資料刪除,則該伺服器端保留資訊亦會被刪除,就會產生先前技術中「時間相依性」的問題。由於本步驟僅是更新該使用者端設定資訊,可避免該伺服器端保留資訊產生誤差。完成本步驟後進入步驟S7。 The aforementioned server-side reservation information has not been modified or deleted due to the update of this step. The server-side reservation information is information about the peripheral device 4 retained by the management server terminal 1, for example, the management server 11 transmits the notification information and the link code corresponding to the device identification code to the push broadcast. a previous communication time of the server 3, and the management server 11 first determines whether the current time minus the previous communication time is greater than before transmitting the notification information and the connection code to the push server 3 The minimum interval value for the request is pushed, and if so, the transmission is performed; if not, the next notification message is waited for the same determination. However, if the update method is to directly delete the entire key data in the key list of the database 12, the server-side reservation information will also be deleted, which will cause the problem of "time dependency" in the prior art. Since this step only updates the user-side setting information, the server can be prevented from retaining information and generating errors. After completing this step, the process proceeds to step S7.

步驟S62-新增該對應鍵結資料到資料庫12。詳細而言,本步驟是於資料庫12之該鍵結清單中新增包括該連結碼、該應用程式唯一碼、該裝置識別碼、該使用者端設定資訊及該伺服器端保留資訊的對應鍵結資料,惟其中該伺服器端保留資訊可能於新增時尚無內容。以下進入 步驟S7。 Step S62 - adding the corresponding keying data to the database 12. In detail, in this step, a new link including the link code, the application unique code, the device identifier, the user terminal setting information, and the server-side reservation information is added to the key list of the database 12. Key data, but the server side retains information may be added to the fashion no content. Enter below Step S7.

步驟S7-將該對應鍵結資料加入白名單。加入白名單之鍵結資料為已完成更新之最新的正確資料。以下進入步驟S8。 Step S7 - adding the corresponding key data to the white list. The whitelisted keying information is the latest and correct information that has been updated. The process proceeds to step S8 below.

步驟S8-判斷是否已讀取該使用者端裝置清單中的所有使用者端裝置清單資料,若否,重新進入步驟S5,若是,進入步驟S9。 Step S8 - determining whether all the user equipment list data in the user equipment list has been read, and if not, re-entering step S5, and if yes, proceeding to step S9.

步驟S9-與該行動裝置2的該連結碼及該應用程式唯一碼相比,刪除資料庫12中不在該白名單上但具有相同之連結碼及應用程式唯一碼的所有鍵結資料,結束管理流程。藉由記錄該白名單,本步驟可刪除如先前技術段所述之未知裝置之鍵結資料。詳細而言,未知週邊設備4可能是曾經與行動裝置2建立鍵結關係之舊款網路攝影機,在管理伺服器端1完成該舊款網路攝影機的鍵結資料之新增後,行動裝置2刪除該應用程式。而後行動裝置2再次安裝應用程式時,未再新增該舊款網路攝影機的裝置識別碼,使得該舊款網路攝影機成為未知裝置。在本步驟中,由於資料庫12中對應該舊款網路攝影機的裝置識別碼的對應鍵結資料不會被加入白名單,因此該對應鍵結資料會被刪除。至此,資料庫12中的資料已與行動裝置2正確地同步完成。以上即為本發明資料管理方法之實施例的全部主要步驟,以下進一步補充步驟S1之細節。 Step S9-Complete the connection code of the mobile device 2 and the application unique code, and delete all the key data of the database 12 that are not on the white list but have the same connection code and the application unique code, and end management. Process. By recording the whitelist, this step deletes the keying material of the unknown device as described in the previous paragraph. In detail, the unknown peripheral device 4 may be an old network camera that has established a key relationship with the mobile device 2, and after the management server terminal 1 completes the addition of the key data of the old network camera, the mobile device 2 Delete the app. When the mobile device 2 installs the application again, the device identification code of the old network camera is not added, so that the old network camera becomes an unknown device. In this step, since the corresponding key data corresponding to the device identification code of the old network camera in the database 12 is not added to the white list, the corresponding key data will be deleted. So far, the data in the database 12 has been correctly synchronized with the mobile device 2. The above is all the main steps of the embodiment of the data management method of the present invention, and the details of step S1 are further supplemented below.

參閱圖1及圖3,以下說明步驟S1進行資料註冊與驗證之詳細步驟。 Referring to FIG. 1 and FIG. 3, the detailed steps of data registration and verification in step S1 will be described below.

步驟S11-接收行動裝置2的連結碼、應用程式唯一碼及註冊指令。但不以此為限,例如還可以接收其他使用者端裝置環境資訊。進入步驟S12。 Step S11 - receiving the link code, the application unique code, and the registration command of the mobile device 2. However, it is not limited thereto, for example, it can also receive other user device environment information. Go to step S12.

步驟S12-判斷應用程式唯一碼是否存在於資料庫12,若否,進入步驟S13,若是,進入步驟S14。 Step S12 - determining whether the application unique code exists in the database 12, and if not, proceeds to step S13, and if yes, proceeds to step S14.

在本實施例中,資料庫12還儲存有一註冊清單,用以儲存註冊資料,註冊資料包括行動裝置2的連結碼、應用程式唯一碼及使用者端裝置環境資訊,其中,使用者端裝置環境資訊可包含行動裝置2的作業系統種類、版本、使用語系資訊等等。本步驟是判斷應用程式唯一碼是否存在於該註冊清單中。補充說明的是,使用者端裝置環境資訊是有關行動裝置2整體操作環境資訊,而步驟S5所述之使用者端設定資訊是有關該週邊設備4之應用資訊,在有多個週邊設備4的情況下則會對應有多筆使用者端設定資訊。 In this embodiment, the database 12 further stores a registration list for storing the registration data, including the connection code of the mobile device 2, the application unique code, and the environment information of the user device, wherein the user device environment The information may include the type of operating system of the mobile device 2, the version, the usage language information, and the like. This step is to determine whether the application unique code exists in the registration list. It is to be noted that the user terminal device environment information is related to the overall operating environment information of the mobile device 2, and the user terminal setting information described in step S5 is related to the application information of the peripheral device 4, and there are multiple peripheral devices 4 In this case, there will be multiple user-side setting information.

需說明的是,本實施例中雖以註冊清單及前述鍵結清單來分別管理註冊資料及鍵結資料,但不以此為限,也可以是以單一清單來管理,或是以類似的其他清單來管理。 It should be noted that, in this embodiment, although the registration list and the key list are separately used to manage the registration data and the key information, but not limited thereto, it may be managed by a single list, or similarly. List to manage.

步驟S13-新增連結碼及應用程式唯一碼的註冊資料到資料庫12,註冊完成,進入步驟S16。在本實施例中,新增該使用者端裝置環境資訊到資料庫12,以做為其他用途,像說是該行動裝置2使用語系,當週邊設備4傳來該通知資訊時,管理伺服器11方能將正確推播訊息內 容與使用語系,轉送給推播伺服器3發送給行動裝置2顯示給使用者端知道,但不以此為限。 Step S13 - The registration data of the link code and the application unique code is added to the database 12, and the registration is completed, and the process proceeds to step S16. In this embodiment, the user equipment environment information is added to the database 12 for other purposes, such as the mobile device 2 using the language system. When the peripheral device 4 transmits the notification information, the management server 11 can correctly push the message The content and the usage language are forwarded to the push server 3 for transmission to the mobile device 2 for display to the user, but not limited thereto.

步驟S14-判斷連結碼是否與資料庫12中對應註冊資料的連結碼相同,若是,驗證完成進入步驟S16,若否,進入步驟S15。 Step S14 - determining whether the concatenated code is the same as the concatenated code of the corresponding registration material in the database 12, and if so, the verification is completed to proceed to step S16, and if not, proceeding to step S15.

步驟S15-更新資料庫12的註冊資料中的連結碼與使用者端資訊,驗證完成,進入步驟S16。 Step S15 - Update the link code and the user end information in the registration data of the database 12, and the verification is completed, and the process proceeds to step S16.

步驟S16-接收行動裝置2的連結碼、應用程式唯一碼、使用者端裝置清單及同步指令。進入步驟S17。 Step S16 - receiving the link code of the mobile device 2, the application unique code, the user device list, and the synchronization command. Proceed to step S17.

步驟S17-判斷資料庫12的註冊清單中是否存在具相同之應用程式唯一碼及連結碼之註冊資料,若是,則已確保註冊資料的正確性,進入步驟S2(參閱圖2),若否,進入步驟S18。 Step S17 - determining whether the registration data of the same application unique code and the link code exists in the registration list of the database 12, and if so, the correctness of the registration data is ensured, and the process proceeds to step S2 (see FIG. 2), and if not, Go to step S18.

步驟S18-回傳錯誤訊息並結束流程。 Step S18 - Return the error message and end the process.

經上述步驟S11至S18,即可確保資料庫12中已存在具相同之應用程式唯一碼及連結碼之註冊資料,完成行動裝置2的連結碼、應用程式唯一碼之註冊及驗證。 Through the above steps S11 to S18, it is ensured that the registration data having the same application unique code and the connection code already exist in the database 12, and the registration code of the mobile device 2 and the registration and verification of the application unique code are completed.

在本實施例中,由於一次性地將欲同步的裝置識別碼以使用者端裝置清單傳送至管理伺服器11,不需在每一筆裝置識別碼進行資料更新前均執行一次資料驗證,可加快處理速度,特別是當行動裝置2是於離線狀態下執行多次刪除、新增資料的動作的情況下,當進入連線狀態時,可一次性傳輸所需資料,執行一次步驟S12、S17之資料註冊與驗證即可。以上即為步驟S1之細節的一實施態樣 ,以下進一步補充本實施例中步驟S1另一實施態樣。 In this embodiment, since the device identification code to be synchronized is transmitted to the management server 11 in the user terminal device list at one time, it is not necessary to perform data verification before each device identification code performs data update, which can speed up The processing speed, especially when the mobile device 2 performs the actions of deleting multiple times and adding data in an offline state, when entering the connection state, the required data can be transmitted at one time, and the steps S12 and S17 are performed once. Data registration and verification can be. The above is an embodiment of the details of step S1. Further embodiment of step S1 in this embodiment is further supplemented below.

參閱圖1及圖4,在另一實施態樣中,首先進行以下步驟S111: Referring to FIG. 1 and FIG. 4, in another embodiment, the following step S111 is first performed:

步驟S111-接收行動裝置2的連結碼、應用程式唯一碼及使用者端裝置清單。 Step S111 - receiving the link code of the mobile device 2, the application unique code, and the list of the client device.

而後,於步驟S13至S15完成後省略步驟S16至S18,直接進入步驟S2(參閱圖2)。其中,省略步驟S16至S18的主因是步驟S17可以被省略,其原因在於,在進行步驟S12至S15後,理論上步驟S17之判斷將必定為是,步驟S17僅是再次確保註冊資料的正確性。 Then, after steps S13 to S15 are completed, steps S16 to S18 are omitted, and the process proceeds directly to step S2 (see FIG. 2). The main reason for omitting steps S16 to S18 is that step S17 can be omitted because the determination of the theoretical step S17 will be YES after step S12 to S15, and step S17 is only to ensure the correctness of the registration data again. .

綜上所述,透過刪除不在該白名單上的鍵結資料,能成功解決無法刪除未知週邊設備的問題;透過更新該對應鍵結資料之使用者端設定資訊,保留伺服器端保留資訊,可避免管理伺服器端資訊產生誤差;透過一次性地傳輸需同步的使用者端裝置清單資料可減少資料驗證的時間,加快同步速度,故確實能達成本發明之目的。 In summary, by deleting the keying data that is not on the whitelist, the problem of not being able to delete the unknown peripheral device can be successfully solved; by updating the user-side setting information of the corresponding keying data, the server-side retention information can be retained. Avoiding the error in managing the information on the server side; by transmitting the list of user device devices to be synchronized at one time, the time for data verification can be reduced, and the synchronization speed can be accelerated, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only the embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and the patent specification of the present invention are still It is within the scope of the patent of the present invention.

S1至S9‧‧‧步驟 S1 to S9‧‧ steps

S51、S61、S62‧‧‧步驟 S51, S61, S62‧‧‧ steps

Claims (10)

一種資料管理方法,由一管理伺服器端執行,該管理伺服器端包含一資料庫,該資料庫可存多筆包含來自多個使用者端的多個連結碼、多個應用程式唯一碼、多個裝置識別碼及多個使用者端設定資訊的鍵結資料,該方法適用於一使用者端,該使用者端儲存有一連結碼、一應用程式唯一碼及一使用者端裝置清單,該方法包含以下步驟:接收該使用者端的該連結碼、該應用程式唯一碼及該使用者端裝置清單;刪除該資料庫中與該使用者端具有相同該連結碼,但相異該應用程式唯一碼的所有鍵結資料;判斷該使用者端裝置清單是否為空白清單,若否,則該使用者端裝置清單的資料內容包括至少一筆具有一裝置識別碼及一使用者端設定資訊的使用者端裝置清單資料,並逐筆讀取該使用者端裝置清單資料;判斷所接收之該使用者端的該連結碼、該應用程式唯一碼及該筆使用者端裝置清單資料的該裝置識別碼是否於該資料庫中存在有一包含相同該連結碼、相同該應用程式唯一碼及相同該裝置識別碼的對應鍵結資料,若是,則更新該資料庫中的該對應鍵結資料中的該使用者端設定資訊為該筆使用者端裝置清單資料的該使用者端設定資訊,並將該對應鍵結資料加入一白名單;及 刪除該資料庫中不存在於該白名單上,但與該使用者端具有相同之該連結碼及該應用程式唯一碼的所有鍵結資料。 A data management method is executed by a management server, and the management server includes a database, and the database can store a plurality of multiple connection codes from multiple users, multiple application unique codes, and multiple The device identification code and the binding data of the plurality of user end setting information, the method is applicable to a user end, wherein the user end stores a link code, an application unique code and a user device list, the method The method includes the following steps: receiving the link code of the user end, the unique code of the application, and the list of the client device; deleting the link code in the database that is the same as the user end, but different from the application unique code All the keying data; determining whether the user equipment list is a blank list; if not, the data content of the user equipment list includes at least one user end having a device identification code and a user end setting information Device list data, and reading the user device list data one by one; determining the received link code of the user end, the application only Whether the code and the device identifier of the user terminal device list have corresponding key data in the database that includes the same link code, the same application unique code, and the same device identifier, and if so, Updating the user-side setting information in the corresponding keying data in the database for the user-side setting information of the user-side device list data, and adding the corresponding keying information to a whitelist; and Delete all the key data in the database that does not exist on the white list but has the same link code and the application unique code as the user end. 如請求項1所述資料管理方法,其中判斷所接收之該使用者端的該連結碼、該應用程式唯一碼及該筆使用者端裝置清單資料的該裝置識別碼是否於該資料庫中存在有相同之該對應鍵結資料之步驟,若否,包含以下步驟:新增包括該連結碼、該應用程式唯一碼、該裝置識別碼的該對應鍵結資料至該資料庫。 The data management method of claim 1, wherein determining whether the connection code of the user end, the application unique code, and the device identification code of the user device list data are present in the database The step of the corresponding keying data, if not, includes the following steps: adding the corresponding keying data including the linking code, the application unique code, and the device identification code to the database. 如請求項1所述資料管理方法,其中判斷該使用者端裝置清單是否為空白清單之步驟,若是,包含以下步驟:刪除該資料庫中具有相同之該連結碼及該應用程式唯一碼的所有鍵結資料。 The data management method of claim 1, wherein the step of determining whether the user device list is a blank list, if yes, comprising the steps of: deleting all the same link code and the application unique code in the database Bond data. 如請求項1所述資料管理方法,其中,該連結碼是用以連結該使用者端與一推播伺服器,而使該使用者端能接收來自該推播伺服器的一推播訊息。 The data management method of claim 1, wherein the link code is used to connect the user terminal to a push server, so that the user terminal can receive a push message from the push server. 如請求項4所述資料管理方法,其中,該裝置識別碼對應至一週邊設備,該週邊設備發出一通知資訊至該管理伺服器端,該管理伺服器端將該通知資訊及對應該裝置識別碼之該連結碼傳送至該推播伺服器,使該推播伺服器傳送對應該通知資訊之該推播訊息至該使用者端。 The data management method of claim 4, wherein the device identification code corresponds to a peripheral device, and the peripheral device sends a notification message to the management server, and the management server identifies the notification information and the corresponding device. The link code of the code is transmitted to the push server, so that the push server transmits the push message corresponding to the notification information to the user end. 如請求項1所述資料管理方法,其中,該筆使用者端裝置清單資料包括該裝置識別碼,該對應鍵結資料包括該連結碼、該應用程式唯一碼、該裝置識別碼、該使用者 端設定資訊及一伺服器端保留資訊;其中,更新該對應鍵結資料之步驟,還包含以下步驟:保留該伺服器端保留資訊。 The data management method of claim 1, wherein the user equipment list data includes the device identification code, the corresponding key information includes the connection code, the application unique code, the device identification code, and the user The terminal setting information and a server-side reservation information; wherein, the step of updating the corresponding keying data further includes the following steps: retaining the server-side reservation information. 如請求項1所述資料管理方法,其中,該使用者端設定資訊包括一要求推播的最小間隔值,該伺服器端保留資訊包括該管理伺服器端前一次將該通知資訊及對應該裝置識別碼之該連結碼傳送至該推播伺服器的一前次傳訊時間。 The data management method of claim 1, wherein the user-side setting information includes a minimum interval value required to be pushed, and the server-side reservation information includes the management server last time to notify the information and the corresponding device. The link code of the identification code is transmitted to a previous communication time of the push server. 如請求項7所述資料管理方法,其中,該管理伺服器端每次在傳送該通知資訊及該連結碼至該推播伺服器前,還包含以下步驟:判斷當前時間減去該前次傳訊時間是否大於該要求推播的最小間隔值,若是,才進行傳送。 The data management method of claim 7, wherein the management server further includes the following steps each time before transmitting the notification information and the connection code to the push server: determining the current time minus the previous communication. Whether the time is greater than the minimum interval value required to be pushed, and if so, the transmission is performed. 一種電腦程式產品,經由電腦載入該程式執行如請求項1至8中任一請求項所述資料管理方法。 A computer program product for loading a program via a computer to execute a data management method as claimed in any one of claims 1 to 8. 一種管理伺服器端,執行如請求項1至8中任一請求項所述資料管理方法。 A management server that performs the data management method as claimed in any one of claims 1 to 8.
TW103139749A 2014-11-17 2014-11-17 Data management method, computer program product and managing server TWI531910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103139749A TWI531910B (en) 2014-11-17 2014-11-17 Data management method, computer program product and managing server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103139749A TWI531910B (en) 2014-11-17 2014-11-17 Data management method, computer program product and managing server

Publications (2)

Publication Number Publication Date
TWI531910B true TWI531910B (en) 2016-05-01
TW201619848A TW201619848A (en) 2016-06-01

Family

ID=56509192

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103139749A TWI531910B (en) 2014-11-17 2014-11-17 Data management method, computer program product and managing server

Country Status (1)

Country Link
TW (1) TWI531910B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI601023B (en) * 2016-06-30 2017-10-01 三菱電機股份有限公司 Data collection server and method of complementing missing data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI601023B (en) * 2016-06-30 2017-10-01 三菱電機股份有限公司 Data collection server and method of complementing missing data

Also Published As

Publication number Publication date
TW201619848A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2018219178A1 (en) Data synchronization method and apparatus, server, and storage medium
US9185063B1 (en) System and method for sharing and synchronization of information within a specified information context among users with a mobile electronic device
US10110536B2 (en) System for managing event notifications to client devices
US10455542B2 (en) Method of synchronizing notification messages for electronic devices and electronic devices
EP3082353A1 (en) Method and terminal device for sending and receiving user data
JP2017514201A5 (en)
US20150220245A1 (en) Branded computer devices and apparatus to connect user and enterprise
WO2015117426A1 (en) File management method and device
EP3087487A1 (en) Providing access to a cloud based content management system on a mobile device
WO2015101320A1 (en) Account number generation method, terminal and background server
CN104635543B (en) It is managed the method and apparatus of operation
WO2019019642A1 (en) Application information pushing method and apparatus, and computer device and storage medium
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
US20150032828A1 (en) Friendly Names for Stored CPM Conversation Histories
JP2016212656A (en) Information processor, terminal, system having information processor and terminal, and information processing method and program
KR20150084284A (en) Status message service providing method of electronic apparatus and electronic apparatus thereof
CN109213955B (en) Data processing method and related equipment
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
JP4719732B2 (en) Backup server, mobile device, communication system using these, and backup method
CN107733674B (en) Component upgrading method and terminal
TWI531910B (en) Data management method, computer program product and managing server
CN109905260A (en) Method, management equipment and the service processing equipment of device configuration
WO2016197884A1 (en) Identity-based data processing method and device
CN110995767B (en) Request processing method and device
US11423108B2 (en) Interactive media network system