TWI484797B - Method and system for merging and splitting the contact entry - Google Patents

Method and system for merging and splitting the contact entry Download PDF

Info

Publication number
TWI484797B
TWI484797B TW099132911A TW99132911A TWI484797B TW I484797 B TWI484797 B TW I484797B TW 099132911 A TW099132911 A TW 099132911A TW 99132911 A TW99132911 A TW 99132911A TW I484797 B TWI484797 B TW I484797B
Authority
TW
Taiwan
Prior art keywords
contact
marked
false
contact entry
entry
Prior art date
Application number
TW099132911A
Other languages
Chinese (zh)
Other versions
TW201215080A (en
Inventor
Cen Ma
hong-juan Li
Original Assignee
Chi Mei Comm Systems Inc
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 Chi Mei Comm Systems Inc filed Critical Chi Mei Comm Systems Inc
Priority to TW099132911A priority Critical patent/TWI484797B/en
Publication of TW201215080A publication Critical patent/TW201215080A/en
Application granted granted Critical
Publication of TWI484797B publication Critical patent/TWI484797B/en

Links

Description

聯繫人條目合併與分拆方法及系統 Contact entry merging and splitting method and system

本發明涉及一種聯繫人條目合併與分拆方法及系統。 The invention relates to a method and system for merging and splitting contact entries.

現代人的交際面越來越廣,需要儲存的聯繫人和聯繫號碼也越來越多。當需要記錄聯繫人號碼時,人們通常會隨手記在手機的電話簿裡。手機的這一功能給人們的生活帶來了方便,但是也經常發生這種情況:同一聯繫人可能有不止一個號碼,有辦公室或家庭的聯繫電話、固定電話或移動電話號碼等,因此同一聯繫人在電話簿中可能以多個相同或相近的聯繫人姓名存在,而號碼各不相同,這種情況會使電話簿顯得混亂,不便於查詢。如果對同一聯繫人的聯繫人條目進行合併整理,則過程繁瑣,需要先把相近的幾條記下,編輯到一條裡,然後把其餘的條目刪除。若需要將合併後的聯繫人條目分拆,過程也同樣繁瑣。 Modern people have more and more communicative faces, and more and more contacts and contact numbers need to be stored. When a contact number needs to be recorded, people usually keep it in the phone book of the phone. This feature of the mobile phone brings convenience to people's lives, but this often happens: the same contact may have more than one number, there is an office or home contact number, landline or mobile phone number, etc., so the same contact A person may have multiple identical or similar contact names in the phone book, and the numbers are different. This situation makes the phone book appear confusing and inconvenient to query. If the contact entries of the same contact are merged, the process is cumbersome. It is necessary to write down a few related articles, edit them into one, and then delete the remaining entries. The process is equally cumbersome if the merged contact entries need to be split.

鑒於以上內容,有必要提供一種聯繫人條目合併與分拆方法,可以通過簡單的操作合併與分拆電話簿的聯繫人條目,呈現給用戶清爽的電話簿和友好的操作方式。 In view of the above, it is necessary to provide a method for merging and splitting contact entries, which can be combined with the user's refreshed phone book and friendly operation mode by simple operation of merging and splitting the contact entries of the phone book.

還有必要提供一種聯繫人條目合併與分拆系統,可以通過簡單的操作合併與分拆電話簿的聯繫人條目,呈現給用戶清爽的電話簿 和友好的操作方式。 It is also necessary to provide a contact entry merging and splitting system that can merge and disconnect the contact entries of the phone book by a simple operation to present the user with a refreshed phone book. And friendly operation.

一種聯繫人條目合併與分拆方法,該方法包括以下步驟:(a)獲取用戶在電話簿中選擇的聯繫人條目,並將所獲取的聯繫人條目標記為False;(b)判斷對標記為False的聯繫人條目是進行合併操作還是分拆操作,若進行合併操作,則進入步驟(c),若進行分拆操作,則進入步驟(f);(c)創建一個新聯繫人條目,並將該新聯繫人條目標記為True;(d)將所有標記為False的聯繫人條目的所有姓名移入到該標記為True的聯繫人條目中;(e)將所有標記為False的聯繫人條目的所有號碼移入到該標記為True的聯繫人條目中,進入步驟(j);(f)計算標記為False的聯繫人條目中號碼的個數,設為N;(g)創建N個新聯繫人條目,並將該N個新聯繫人條目全都標記為True;(h)將標記為False的聯繫人條目的所有姓名全部移入到每一個標記為True的聯繫人條目中,使每一個標記為True的聯繫人條目中有標記為False的聯繫人條目中的所有姓名;(i)向每個標記為True的聯繫人條目中移入一個來自標記為False的聯繫人條目中不同號碼子域的號碼;及(j)將標記為False的聯繫人條目刪除。 A contact entry merging and splitting method, the method comprising the steps of: (a) obtaining a contact entry selected by a user in a phone book, and marking the obtained contact entry as False; (b) determining that the pair is marked as False's contact entry is a merge operation or a split operation. If the merge operation is performed, the process proceeds to step (c). If the split operation is performed, the process proceeds to step (f); (c) a new contact entry is created, and Mark the new contact entry as True; (d) move all names of all contact entries marked as False into the contact entry marked True; (e) place all contact entries marked as False All numbers are moved into the contact entry marked True, proceed to step (j); (f) calculate the number of numbers in the contact entry labeled False, set to N; (g) create N new contacts Entries, and mark all N new contact entries as True; (h) move all names of the contact entries marked as False into each contact entry marked as True, marking each one as True Marked in the contact entry All names in the contact entry of False; (i) move each contact number marked with True into a number from a different number subdomain in the contact entry labeled False; and (j) will be marked as False The contact entry is deleted.

一種聯繫人條目合併與分拆系統,運行於手機中,該手機包括電話薄,該系統包括:獲取模組,用於獲取用戶在電話簿中選擇的聯繫人條目;標記模組,用於將所獲取的聯繫人條目標記為False;判斷模組,用於判斷對標記為False的聯繫人條目進行合併操作還是分拆操作;計數模組,用於當進行分拆操作時,計算在一個標記為False的聯繫人條目中號碼的個數,設為N;創建模組,用於當進行合併操作時,創建一個新聯繫人條目,以及當進 行分拆操作時,創建N個新聯繫人條目;所述標記模組,還用於將創建模組創建的新聯繫人條目標記為True;姓名移動模組,用於當進行合併操作時,將所有標記為False的聯繫人條目中的所有姓名移入到一個標記為True的聯繫人條目中,以及當進行分拆操作時,將一個標記為False的聯繫人條目的所有姓名全部移入到每一個標記為True的聯繫人條目中,使每一個標記為True的聯繫人條目中都有標記為False的聯繫人條目中的所有姓名;號碼移動模組,用於當進行合併操作時,將所有標記為False的聯繫人條目的所有號碼移入到一個標記為True的聯繫人條目中,以及當進行分拆操作時,向每個標記為True的聯繫人條目中移入一個來自標記為False的聯繫人條目中不同號碼子域的號碼;及更新模組,用於在合併或分拆標記為False的聯繫人條目後,將該標記為False的聯繫人條目刪除,以及將所有聯繫人條目的標記刪除。 A contact entry merging and splitting system, running in a mobile phone, the mobile phone including a phone book, the system comprising: an obtaining module for acquiring a contact item selected by the user in the phone book; and a marking module for The obtained contact entry is marked as False; the judgment module is configured to determine whether the contact entry marked as False is merged or split; the counting module is used to calculate a mark when performing the split operation Set the number of numbers in the contact entry for False, set to N; create a module for creating a new contact entry when doing the merge operation, and when During the line split operation, N new contact entries are created; the markup module is also used to mark the new contact entry created by the creation module as True; the name move module is used when performing the merge operation. Move all names in all contact entries marked as False into a contact entry marked as True, and when splitting, move all names of a contact entry marked as False to each one In the contact entry labeled True, each contact marked as True has all the names in the contact entry labeled False; the number movement module is used to mark all the tags when the merge operation is performed All numbers for the contact entry for False are moved into a contact entry marked as True, and when the split operation is performed, a contact entry from the tag labeled False is moved into each contact entry marked as True The number of the different number subdomain; and the update module for the contact entry marked as False after merging or splitting the contact entry marked as False In addition, and will mark all contact entries deleted.

相較於習知技術,所述聯繫人條目合併與分拆方法及系統,通過對電話簿中混亂的聯繫人條目以簡單的操作進行合併與分拆的整理,呈現給用戶清爽的電話簿和友好的操作方式。 Compared with the prior art, the contact entry merging and splitting method and system are presented to the user's refreshing phone book by merging and splitting the confusing contact entries in the phone book with a simple operation. Friendly operation.

1‧‧‧手機 1‧‧‧Mobile phone

2‧‧‧記憶體 2‧‧‧ memory

3‧‧‧CPU 3‧‧‧CPU

21‧‧‧合併與分拆系統 21‧‧‧Consolidation and Separation System

22‧‧‧資料庫 22‧‧‧Database

23‧‧‧電話簿 23‧‧‧ phone book

24‧‧‧應用程式 24‧‧‧Application

25‧‧‧電話簿功能表項 25‧‧‧Phone Book Menu Item

101‧‧‧獲取模組 101‧‧‧Getting module

102‧‧‧標記模組 102‧‧‧Marking module

103‧‧‧判斷模組 103‧‧‧Judgement module

104‧‧‧計數模組 104‧‧‧Counting module

105‧‧‧創建模組 105‧‧‧Create module

106‧‧‧姓名移動模組 106‧‧‧Name Mobile Module

107‧‧‧號碼移動模組 107‧‧‧Number Mobile Module

108‧‧‧更新模組 108‧‧‧Update Module

圖1係本發明聯繫人條目合併與分拆系統較佳實施例的運行環境圖。 1 is a diagram showing the operating environment of a preferred embodiment of a contact entry merging and splitting system of the present invention.

圖2係圖1中合併與分拆系統21的功能模組圖。 2 is a functional block diagram of the merge and split system 21 of FIG.

圖3係本發明聯繫人條目合併與分拆方法較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of a method for merging and splitting contact entries of the present invention.

圖4和圖5係合併聯繫人條目的一個實施例。 4 and 5 are one embodiment of a merged contact entry.

圖6和圖7係分拆聯繫人條目的一個實施例。 Figures 6 and 7 are one embodiment of a split contact entry.

參閱圖1所示,係本發明聯繫人條目合併與分拆系統較佳實施例的運行環境圖。 Referring to Figure 1, there is shown an operational environment diagram of a preferred embodiment of the contact entry merging and splitting system of the present invention.

在本實施例中,該手機1包括記憶體2和CPU 3。該CPU 3用於處理存儲在該記憶體2中的各種軟體程式,以執行手機1的各種功能並處理資料。在本實施例中,存儲在記憶體2中的軟體程式包括合併與分拆系統21、資料庫22和應用程式24。 In the embodiment, the mobile phone 1 includes a memory 2 and a CPU 3. The CPU 3 is for processing various software programs stored in the memory 2 to perform various functions of the mobile phone 1 and process data. In the present embodiment, the software programs stored in the memory 2 include the merge and split system 21, the database 22, and the application 24.

資料庫22中存有電話簿23,該電話簿23中有若干個聯繫人條目,每個聯繫人條目都有一個姓名域和一個號碼域,姓名域和號碼域中都有若干子域,每個姓名子域中可存放一個姓名,每個號碼子域中可存放一個號碼。 There is a phone book 23 stored in the database 22, and the phone book 23 has a plurality of contact entries, each of which has a name field and a number field, and the name field and the number field have several sub-domains, each of which has a plurality of sub-domains. One name can be stored in a subdomain, and one number can be stored in each number subdomain.

例如圖4所示,圖4顯示了四個聯繫人條目,從上至下第一個聯繫人條目中有一個姓名即“張三”,一個號碼即“123***”,說明在該聯繫人條目的姓名域中有一個姓名子域存放了姓名,號碼域中有一個號碼子域存放了號碼。例如圖5所示,圖5中顯示了一個聯繫人條目,在該聯繫人條目中有四個姓名和四個號碼,這四個姓名分別是“張三”、“張三”、“張三(1)”和“張三最新”,說明在該聯繫人條目的姓名域中有四個姓名子域分別存放了姓名,這四個號碼分別是“123***”、“456***”、“789***”和“321***”,說明在該聯繫人條目的號碼域中有四個號碼子域分別存放了號碼。 For example, as shown in Figure 4, Figure 4 shows four contact entries. From top to bottom, the first contact entry has a name called "Zhang San" and a number is "123***", indicating that the contact is in the contact. There is a name subdomain in the name field of the person entry that stores the name, and a number subdomain in the number field stores the number. For example, as shown in FIG. 5, a contact entry is shown in FIG. 5, in which there are four names and four numbers, which are respectively "Zhang San", "Zhang San", and "Zhang San". (1)" and "Zhangsan latest", indicating that there are four name subdomains in the name field of the contact entry, respectively, the names are respectively "123***", "456*** ", 789***" and "321***" indicate that there are four number subdomains in the number field of the contact entry to store the numbers respectively.

應用程式24運行於用戶模式,可與用戶進行交互,具有可視的用 戶介面。在本實施例中,該應用程式24包括電話簿功能表項25,可以為用戶提供查看和操作電話簿23的介面,並接收用戶對電話簿23的操作資訊,如用戶選擇電話簿23中某個聯繫人條目進行編輯、撥打或發送該聯繫人條目等。用戶還可以通過該電話簿功能表項25在電話簿23中選擇某幾個聯繫人條目進行合併,或選擇某一個聯繫人條目進行分拆。合併或分拆後的聯繫人條目同樣可以由用戶通過該電話簿功能表項25進行編輯。 The application 24 runs in user mode and can interact with the user for visual use. User interface. In this embodiment, the application 24 includes a phone book function table item 25, which can provide a user with an interface for viewing and operating the phone book 23, and receive operation information of the user on the phone book 23, such as the user selecting a phone book 23 Contact entries for editing, dialing or sending the contact entry, and so on. The user can also select a few contact entries in the phone book 23 for merging through the phone book menu item 25, or select one of the contact entries for splitting. The merged or split contact entry can also be edited by the user through the phone book menu item 25.

參閱圖2所示,係圖1中合併與分拆系統21的功能模組圖。該合併與分拆系統21包括獲取模組101、標記模組102、判斷模組103、計數模組104、創建模組105、姓名移動模組106、號碼移動模組107和更新模組108。 Referring to FIG. 2, it is a functional module diagram of the merge and split system 21 in FIG. The merging and splitting system 21 includes an obtaining module 101, a marking module 102, a determining module 103, a counting module 104, a creating module 105, a name moving module 106, a number moving module 107, and an updating module 108.

獲取模組101用於獲取用戶通過電話簿功能表項25在電話簿23中選擇的聯繫人條目,以及對所選擇的聯繫人條目操作的資訊,該操作的資訊為合併或分拆的其中一個操作。 The obtaining module 101 is configured to acquire a contact item selected by the user in the phone book 23 through the phone book function table item 25, and information about the operation of the selected contact item, and the information of the operation is one of the merged or split. operating.

標記模組102用於將獲取模組101所獲取的聯繫人條目標記為False。如圖4和圖6所示,圖4為用戶選擇合併的四條標記為False的聯繫人條目,圖6為用戶選擇分拆的一條標記為False的聯繫人條目。 The tag module 102 is configured to mark the contact entry acquired by the obtaining module 101 as False. As shown in FIG. 4 and FIG. 6, FIG. 4 is a list of four contact entries marked as False selected by the user, and FIG. 6 is a contact entry marked as False selected by the user.

判斷模組103用於根據標記為False的聯繫人條目的個數是否符合用戶所選擇的操作,來判斷對標記為False的聯繫人條目進行合併操作還是分拆操作。該標記為False的聯繫人條目的個數可由判斷模組103通過遍曆計算的方法計算得出。當用戶選擇合併操作,且標記為False的聯繫人條目大於一個時,進行合併操作;當用戶選擇分拆操作,且標記為False的聯繫人條目為一個時, 進行分拆操作。 The judging module 103 is configured to determine whether to perform a merge operation or a split operation on the contact entry marked as False according to whether the number of the contact entries marked as False meets the operation selected by the user. The number of contact entries marked as False can be calculated by the judging module 103 by the traversal calculation method. When the user selects the merge operation and the contact entry marked as False is greater than one, the merge operation is performed; when the user selects the split operation and the contact entry marked as False is one, Perform a spin-off operation.

計數模組104用於當進行分拆操作時,通過遍曆計算的方法計算在一個標記為False的聯繫人條目中號碼的個數,設為N。如在圖6中所示的標記為False的聯繫人條目,計數模組104通過遍曆計算的方法可以計算出該聯繫人條目的號碼域中共有四個號碼子域存放了號碼,則在該聯繫人條目中號碼的個數N為4。 The counting module 104 is configured to calculate the number of numbers in a contact entry marked as False by setting the traversal calculation when the splitting operation is performed, and set it to N. As shown in FIG. 6, the contact module labeled False, the counting module 104 can calculate that there are four number subdomains in the number field of the contact entry, and the number is stored by the traversal calculation method. The number N of numbers in the contact entry is 4.

創建模組105用於當進行合併操作時,創建一個新聯繫人條目,以及當進行分拆操作時,創建N個新聯繫人條目。 The creation module 105 is configured to create a new contact entry when the merge operation is performed, and to create N new contact entries when the split operation is performed.

標記模組102還用於將創建模組105創建的新聯繫人條目標記為True。 The tagging module 102 is also used to mark the new contact entry created by the creation module 105 as True.

姓名移動模組106用於當進行合併操作時,將所有標記為False的聯繫人條目中的所有姓名移入到一個標記為True的聯繫人條目中,以及當進行分拆操作時,將一個標記為False的聯繫人條目的所有姓名全部移入到每一個標記為True的聯繫人條目中,使每一個標記為True的聯繫人條目中都有標記為False的聯繫人條目中的所有姓名。 The name movement module 106 is configured to move all the names in all contact entries marked as False into a contact entry marked as True when performing the merging operation, and when the split operation is performed, mark one as All names of the False contact entries are moved into each of the contact entries marked as True, so that each contact in the contact entry labeled True has all the names in the contact entry labeled False.

當進行合併操作時,如圖4和圖5所示,圖4中標記為False的聯繫人條目合併後成為圖5中標記為True的聯繫人條目。圖4中有四個標記為False的聯繫人條目,每個聯繫人條目中有一個姓名子域存放有姓名,合併後,如圖5所示,在標記為True的這一個聯繫人條目中,有四個姓名子域存放有姓名。 When the merging operation is performed, as shown in FIGS. 4 and 5, the contact entries marked as False in FIG. 4 are merged to become the contact entries marked as True in FIG. In Figure 4, there are four contact entries marked as False. Each contact entry has a name subdomain containing the name. After merging, as shown in Figure 5, in the contact entry labeled True. There are four name subdomains with names.

當進行分拆操作時,如圖6和圖7所示,圖6中標記為False的聯繫人條目分拆後成為圖7中標記為True的聯繫人條目。圖6中標記為 False的聯繫人條目中有兩個姓名子域存放有姓名,分拆後,如圖7所示,在標記為True的每一個聯繫人條目中,都有兩個姓名子域存有姓名。 When the split operation is performed, as shown in FIGS. 6 and 7, the contact entries marked as False in FIG. 6 are separated into the contact entries marked as True in FIG. Marked in Figure 6 as In the contact entry of False, there are two name sub-domains with names. After the split, as shown in Figure 7, in each contact entry marked as True, there are two name sub-domains with names.

號碼移動模組107用於當進行合併操作時,將所有標記為False的聯繫人條目的所有號碼移入到一個標記為True的聯繫人條目中,以及當進行分拆操作時,向每個標記為True的聯繫人條目中移入一個來自標記為False的聯繫人條目中不同號碼子域的號碼。 The number movement module 107 is configured to move all the numbers of all contact entries marked as False into a contact entry marked as True when performing the merging operation, and to mark each of them as being split during the merging operation. The True contact entry is moved into a number from a different number subdomain in the contact entry labeled False.

當進行合併操作時,如圖4和圖5所示,圖4中標記為False的聯繫人條目合併後成為圖5中標記為True的聯繫人條目。圖4中有四個標記為False的聯繫人條目,每個聯繫人條目中有一個號碼子域存放有號碼,合併後,如圖5所示,在標記為True的這一個聯繫人條目中,有四個號碼子域存放有號碼。 When the merging operation is performed, as shown in FIGS. 4 and 5, the contact entries marked as False in FIG. 4 are merged to become the contact entries marked as True in FIG. In Figure 4, there are four contact entries marked as False. Each contact entry has a number subdomain in which the number is stored. After merging, as shown in Figure 5, in the contact entry labeled True. There are four number subdomains that store numbers.

當進行分拆操作時,如圖6和圖7所示,圖6中標記為False的聯繫人條目分拆後成為圖7中標記為True的聯繫人條目。圖6中標記為False的聯繫人條目中有四個號碼子域存放有號碼,分拆後,如圖7所示,在標記為True的每一個聯繫人條目中,都有一個號碼子域存有號碼,且號碼來自圖6中標記為False的聯繫人條目的不同號碼子域。 When the split operation is performed, as shown in FIGS. 6 and 7, the contact entries marked as False in FIG. 6 are separated into the contact entries marked as True in FIG. In the contact entry marked as False in Figure 6, there are four number subdomains stored with numbers. After the split, as shown in Figure 7, in each contact entry marked as True, there is a number subdomain. There is a number, and the number comes from a different number subfield of the contact entry labeled False in Figure 6.

更新模組108用於在合併或分拆標記為False的聯繫人條目後,將該標記為False的聯繫人條目刪除,以及將所有聯繫人條目的標記刪除。 The update module 108 is configured to delete the contact entries marked as False and delete the tags of all contact entries after merging or splitting the contact entries marked as False.

更新模組108還用於當標記為False的聯繫人條目的個數不符合用戶所選擇的操作時,即當用戶選擇合併操作,但標記為False的 聯繫人條目不大於一個時,或當用戶選擇分拆操作,但標記為False的聯繫人條目不為一個時,將所有聯繫人條目的標記刪除。 The update module 108 is further configured to: when the number of contact entries marked as False does not match the operation selected by the user, that is, when the user selects a merge operation, but is marked as False When the contact entry is no more than one, or when the user selects the spin-off operation, but the contact entry marked as False is not one, the tags of all contact entries are deleted.

參閱圖3所示,係本發明聯繫人條目合併與分拆方法較佳實施例的流程圖。 Referring to Figure 3, there is shown a flow chart of a preferred embodiment of the method for merging and splitting contact entries of the present invention.

步驟S100,所述獲取模組101獲取用戶通過電話簿功能表項25在電話簿23中選擇的聯繫人條目,以及對該選擇的聯繫人條目操作的資訊,該操作的資訊為合併或分拆的其中一個操作,所述標記模組102將獲取模組101所獲取的聯繫人條目標記為False。 In step S100, the obtaining module 101 acquires a contact item selected by the user in the phone book 23 through the phone book function table item 25, and information about the operation of the selected contact item, and the information of the operation is merged or split. In one of the operations, the tag module 102 marks the contact entry acquired by the acquisition module 101 as False.

步驟S101,所述判斷模組103根據標記為False的聯繫人條目的個數是否符合用戶所選擇的操作,來判斷是進行合併操作還是分拆操作。若標記為False的聯繫人條目的個數不符合用戶所選擇的操作,即用戶選擇合併操作但標記為False的聯繫人條目不大於一個時,或用戶選擇分拆操作但標記為False的聯繫人條目不為一個時,所述更新模組108將所有聯繫人條目的標記刪除。 In step S101, the determining module 103 determines whether to perform a merge operation or a split operation according to whether the number of contact entries marked as False meets the operation selected by the user. If the number of contact entries marked as False does not match the operation selected by the user, that is, the user selects the merge operation but the contact entry marked as False is no more than one, or the user selects the split operation but is marked as False. When the entry is not one, the update module 108 deletes the tags of all contact entries.

若用戶選擇合併操作,且標記為False的聯繫人條目大於一個時,進行合併操作,進入步驟S102,若用戶選擇分拆操作,且標記為False的聯繫人條目為一個時,進行分拆操作,進入步驟S105。 If the user selects the merge operation and the contact entry marked as False is greater than one, the merge operation is performed, and the process proceeds to step S102. If the user selects the split operation and the contact entry marked as False is one, the split operation is performed. Proceed to step S105.

步驟S102,所述創建模組105創建一個新聯繫人條目,所述標記模組102將該新聯繫人條目標記為True。 In step S102, the creating module 105 creates a new contact entry, and the marking module 102 marks the new contact entry as True.

步驟S103,所述姓名移動模組106將所有標記為False的聯繫人條目的所有姓名移入到該標記為True的聯繫人條目中。 In step S103, the name movement module 106 moves all the names of all the contact entries marked as False into the contact entry marked as True.

步驟S104,所述號碼移動模組107將所有標記為False的聯繫人條目的所有號碼移入到該標記為True的聯繫人條目中。 In step S104, the number moving module 107 moves all the numbers of all contact entries marked as False into the contact entry marked as True.

步驟S105,所述計數模組104通過遍曆計算的方法計算標記為False的聯繫人條目中號碼的個數,設為N。 In step S105, the counting module 104 calculates the number of numbers in the contact entries marked as False by the method of traversing calculation, and sets it to N.

步驟S106,所述創建模組105創建N個新聯繫人條目,並由所述標記模組102將該N個新聯繫人條目全都標記為True。 In step S106, the creating module 105 creates N new contact entries, and the marking module 102 marks all N new contact entries as True.

步驟S107,所述姓名移動模組106將標記為False的聯繫人條目的所有姓名全部移入到每一個標記為True的聯繫人條目中,使每一個標記為True的聯繫人條目中有標記為False的聯繫人條目中的所有姓名。 Step S107, the name movement module 106 moves all the names of the contact entries marked as False into each contact entry marked as True, so that each contact entry marked as True is marked as False. All names in the contact entry.

步驟S108,所述號碼移動模組107向每個標記為True的聯繫人條目中移入一個來自標記為False的聯繫人條目中不同號碼子域的號碼。 In step S108, the number moving module 107 moves a number from a different number sub-domain in the contact entry labeled False to each contact entry marked as True.

步驟S109,所述更新模組108將標記為False的聯繫人條目刪除,以及將所有聯繫人條目的標記刪除。 In step S109, the update module 108 deletes the contact entries marked as False and deletes the tags of all the contact entries.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,本發明之範圍並不以上述實施例為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.

21‧‧‧合併與分拆系統 21‧‧‧Consolidation and Separation System

101‧‧‧獲取模組 101‧‧‧Getting module

102‧‧‧標記模組 102‧‧‧Marking module

103‧‧‧判斷模組 103‧‧‧Judgement module

104‧‧‧計數模組 104‧‧‧Counting module

105‧‧‧創建模組 105‧‧‧Create module

106‧‧‧姓名移動模組 106‧‧‧Name Mobile Module

107‧‧‧號碼移動模組 107‧‧‧Number Mobile Module

108‧‧‧更新模組 108‧‧‧Update Module

Claims (6)

一種聯繫人條目合併與分拆方法,該方法包括以下步驟:(a)獲取用戶在電話簿中選擇的聯繫人條目,並將所獲取的聯繫人條目標記為False;(b)計算標記為False的聯繫人條目的個數,若用戶選擇合併操作,且標記為False的聯繫人條目大於一個,判斷進行合併操作,進入步驟(c),若用戶選擇分拆操作,且標記為False的聯繫人條目為一個,判斷進行分拆操作,進入步驟(f);(c)創建一個新聯繫人條目,並將該新聯繫人條目標記為True;(d)將所有標記為False的聯繫人條目的所有姓名移入到該標記為True的聯繫人條目中;(e)將所有標記為False的聯繫人條目的所有號碼移入到該標記為True的聯繫人條目中,進入步驟(j);(f)計算標記為False的聯繫人條目中號碼的個數,設為N;(g)創建N個新聯繫人條目,並將該N個新聯繫人條目全都標記為True;(h)將標記為False的聯繫人條目的所有姓名全部移入到每一個標記為True的聯繫人條目中,使每一個標記為True的聯繫人條目中有標記為False的聯繫人條目中的所有姓名;(i)向每個標記為True的聯繫人條目中移入一個來自標記為False的聯繫人條目中不同號碼子域的號碼;及(j)將標記為False的聯繫人條目刪除。 A contact entry merging and splitting method, the method comprising the steps of: (a) obtaining a contact entry selected by a user in a phone book, and marking the obtained contact entry as False; (b) calculating the mark as False The number of contact entries. If the user selects the merge operation and the contact entry marked as False is greater than one, it is judged that the merge operation is performed, and the process proceeds to step (c). If the user selects the split operation and the contact marked as False The entry is one, judge the split operation, go to step (f); (c) create a new contact entry, and mark the new contact entry as True; (d) mark all the contact entries marked as False All names are moved into the contact entry marked as True; (e) all numbers of all contact entries marked as False are moved into the contact entry marked True, proceeding to step (j); (f) Calculate the number of numbers in the contact entry labeled False, set to N; (g) create N new contact entries, and mark all N new contact entries as True; (h) will be marked as False Place of contact entry The names are all moved into each contact entry marked as True, so that each contact marked as True has all the names in the contact entry labeled False; (i) each contact marked as True The person entry is moved into a number from a different number subdomain in the contact entry labeled False; and (j) the contact entry marked as False is deleted. 如申請專利範圍第1項所述的聯繫人條目合併與分拆方法,所述步驟(f)通過遍曆計算的方法,計算在一個標記為False的聯繫人條目中號碼的 個數。 The contact entry merging and splitting method according to item 1 of the patent application scope, wherein the step (f) calculates the number in a contact entry marked as False by traversing the calculation method. Number. 如申請專利範圍第1項所述的聯繫人條目合併與分拆方法,所述步驟(j)還包括:將所有聯繫人條目的標記刪除。 In the contact entry merging and splitting method described in claim 1, the step (j) further comprises: deleting the tags of all the contact entries. 一種聯繫人條目合併與分拆系統,運行於手機中,該手機包括電話薄,該系統包括:獲取模組,用於獲取用戶在電話簿中選擇的聯繫人條目;標記模組,用於將所獲取的聯繫人條目標記為False;判斷模組,用於計算標記為False的聯繫人條目的個數,若用戶選擇合併操作,且標記為False的聯繫人條目大於一個,判斷進行合併操作,若用戶選擇分拆操作,且標記為False的聯繫人條目為一個,判斷進行分拆操作;計數模組,用於當進行分拆操作時,計算在一個標記為False的聯繫人條目中號碼的個數,設為N;創建模組,用於當進行合併操作時,創建一個新聯繫人條目,以及當進行分拆操作時,創建N個新聯繫人條目;所述標記模組,還用於將創建模組創建的新聯繫人條目標記為True;姓名移動模組,用於當進行合併操作時,將所有標記為False的聯繫人條目中所有姓名移入到一個標記為True的聯繫人條目中,以及當進行分拆操作時,將一個標記為False的聯繫人條目所有姓名全部移入到每一個標記為True的聯繫人條目中,使每一個標記為True的聯繫人條目中都有標記為False的聯繫人條目中的所有姓名;號碼移動模組,用於當進行合併操作時,將所有標記為False的聯繫人條目所有號碼移入到一個標記為True的聯繫人條目中,以及當進行分拆操作時,向每個標記為True的聯繫人條目中移入一個來自標記為False的聯繫人條目中不同號碼子域的號碼;及 更新模組,用於在合併或分拆標記為False的聯繫人條目後,將該標記為False的聯繫人條目刪除,以及將所有聯繫人條目的標記刪除。 A contact entry merging and splitting system, running in a mobile phone, the mobile phone including a phone book, the system comprising: an obtaining module for acquiring a contact item selected by the user in the phone book; and a marking module for The obtained contact entry is marked as False; the judgment module is configured to calculate the number of contact entries marked as False. If the user selects a merge operation and the contact entry marked as False is greater than one, it is determined to perform the merge operation. If the user selects the spin-off operation and the contact entry marked as False is one, it is judged to perform the split operation; the counting module is used to calculate the number in the contact entry marked as False when the split operation is performed. Number, set to N; create a module for creating a new contact entry when the merge operation is performed, and N new contact entries when the split operation is performed; the markup module is also used Mark the new contact entry created by the creation module as True; the name movement module is used to mark all the contact entries marked as False when the merge operation is performed. The name is moved into a contact entry marked as True, and when the split operation is performed, all the names of a contact entry marked as False are moved into each contact entry marked as True, so that each mark All the contacts in the contact entry marked as False in the True contact entry; the number movement module is used to move all the contacts of the contact entry marked as False into a tag when the merge operation is performed. In True's contact entry, and when splitting, move in a contact entry marked True to a number from a different number subdomain in the contact entry labeled False; and An update module for deleting a contact entry marked as False and deleting the tags of all contact entries after merging or splitting the contact entry marked as False. 如申請專利範圍第4項所述的聯繫人條目合併與分拆系統,所述計數模組通過遍曆計算的方法,計算在一個標記為False的聯繫人條目中號碼的個數。 In the contact entry merging and splitting system described in claim 4, the counting module calculates the number of numbers in a contact entry marked as False by traversing the calculation method. 如申請專利範圍第4項所述的聯繫人條目合併與分拆系統,所述更新模組還用於當標記為False的聯繫人條目的個數不符合用戶所選擇的操作時,將所有聯繫人條目的標記刪除。 The contact entry merging and splitting system described in claim 4, wherein the update module is further configured to: when the number of contact entries marked as False does not match the operation selected by the user, all contacts are The tag of the person entry is deleted.
TW099132911A 2010-09-29 2010-09-29 Method and system for merging and splitting the contact entry TWI484797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099132911A TWI484797B (en) 2010-09-29 2010-09-29 Method and system for merging and splitting the contact entry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099132911A TWI484797B (en) 2010-09-29 2010-09-29 Method and system for merging and splitting the contact entry

Publications (2)

Publication Number Publication Date
TW201215080A TW201215080A (en) 2012-04-01
TWI484797B true TWI484797B (en) 2015-05-11

Family

ID=46786645

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099132911A TWI484797B (en) 2010-09-29 2010-09-29 Method and system for merging and splitting the contact entry

Country Status (1)

Country Link
TW (1) TWI484797B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200735592A (en) * 2005-11-14 2007-09-16 Broadcom Corp Voice communication device with PSTN and internet pathway analysis, selection and handoff
US20070277100A1 (en) * 2005-12-07 2007-11-29 Networks In Motion, Inc. Method and system for a user input solution for a limited telecommunication device
TW200816780A (en) * 2006-07-24 2008-04-01 Qualcomm Inc Subscriber unit for a cellular communication system
TW200922265A (en) * 2007-11-09 2009-05-16 Chi Mei Comm Systems Inc Apparatus and method for keeping secret of mobile phone data
TW200937972A (en) * 2008-02-27 2009-09-01 Mediatek Inc Methods for handling proactive commands in a mobile system and systems utilizing the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200735592A (en) * 2005-11-14 2007-09-16 Broadcom Corp Voice communication device with PSTN and internet pathway analysis, selection and handoff
US20070277100A1 (en) * 2005-12-07 2007-11-29 Networks In Motion, Inc. Method and system for a user input solution for a limited telecommunication device
TW200816780A (en) * 2006-07-24 2008-04-01 Qualcomm Inc Subscriber unit for a cellular communication system
TW200922265A (en) * 2007-11-09 2009-05-16 Chi Mei Comm Systems Inc Apparatus and method for keeping secret of mobile phone data
TW200937972A (en) * 2008-02-27 2009-09-01 Mediatek Inc Methods for handling proactive commands in a mobile system and systems utilizing the same

Also Published As

Publication number Publication date
TW201215080A (en) 2012-04-01

Similar Documents

Publication Publication Date Title
US20190243888A1 (en) Place-based information processing method and apparatus
TWI512491B (en) Data synchronization methods for synchronizing data in communication systems and communication systems
CN107577750B (en) Method and system for drawing navigation data vector intersection
KR101184515B1 (en) Method for operating user information providing server with user moving pattern and emotion information
KR20100028056A (en) Automatic contact information entry via location sensing
KR20110088273A (en) Mobile terminal and method for forming human network using mobile terminal
JP2007323311A (en) Social networking site service device and processing method
CN102413223A (en) Contact item merging and dividing method and system
WO2017005038A1 (en) Contact obtaining method, apparatus, and user terminal
JP2013058181A (en) Method, system, terminal device, server device, and program for sharing data associated with geographic location
CN113656615B (en) Intelligent sharing method and device of travel information and computer equipment
JP5214933B2 (en) Map display system
JP5576440B2 (en) Social network service providing system and method for setting relationship between users using position and movement pattern of mobile terminal
TWI484797B (en) Method and system for merging and splitting the contact entry
WO2017071212A1 (en) Method and device for processing recommendation of frequently used contact
WO2017026146A1 (en) Information processing device, information processing method, and program
CN102662995B (en) A kind of method that quick position mobile phone application data upgrades
CN110990610B (en) Recommendation method and system for data objects
CN109002447A (en) A kind of information collection method for sorting and device
JP5147666B2 (en) Attendance management system
JP2012178071A (en) Application program
CN103365993B (en) A kind of social contact match method based on platform
JP6587372B2 (en) System for managing relationship and history of SOI (Space of Interest) objects and content combined objects
JP2017182004A (en) Communication terminal device and program
JP3468087B2 (en) 3D CAD model verification system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees