CN100472435C - Personal information management method based on personal information management software - Google Patents

Personal information management method based on personal information management software Download PDF

Info

Publication number
CN100472435C
CN100472435C CNB2005101378244A CN200510137824A CN100472435C CN 100472435 C CN100472435 C CN 100472435C CN B2005101378244 A CNB2005101378244 A CN B2005101378244A CN 200510137824 A CN200510137824 A CN 200510137824A CN 100472435 C CN100472435 C CN 100472435C
Authority
CN
China
Prior art keywords
telephone number
personal information
function
information management
management software
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CNB2005101378244A
Other languages
Chinese (zh)
Other versions
CN1991749A (en
Inventor
梁柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2005101378244A priority Critical patent/CN100472435C/en
Publication of CN1991749A publication Critical patent/CN1991749A/en
Application granted granted Critical
Publication of CN100472435C publication Critical patent/CN100472435C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a personal information managing method which is based on the personal information managing software, the method includes: the mouse hook function breaks the personal information managing software running course and border of course which is used to display information, codes which possesses intercept and capture function are infused into the virtual address space of course which is used to display information, the text information of mouse current position is gained by codes; telephone number can be picked up from gained text information; the picked up telephone number is saved to the personal information managing software. The method of the invention can simplify the step of adding new telephone number using the personal information managing software, saving and dialing the telephone number on the screen, it increases the enthusiasm of user.

Description

A kind of PIM method based on personal information management software
Technical field
The present invention relates to field of information management, relate in particular to a kind of PIM method based on personal information management software.
Background technology
Current, personal information management (PIM, Personal Information Management) application in daily life is more and more, and is also more and more important.Personal information management (PIM) software is the software that a class is used to manage all personal information of individual and good friend, for example, can manage information such as individual and good friend's telephone number, phone number, home address, birthday, referring to Fig. 1, Fig. 1 is a kind of basic interface figure of personal information management software.Use such software, the user can search, adds and delete user's contact person's information easily.In new PIM software, also increased packet voice (VOIP, Voice Over Internet Protocol) call function, promptly just can initiate a VOIP and call out by the telephone number of preserving in the direct click software, software will directly be dialed this phone.
Yet, in this class software, the telephone number that adds new contact person if desired is very inconvenient, needs the user to import telephone number by hand, perhaps this telephone number is duplicated and pastes on the relevant position of software from other place of screen, this has influenced user's use enthusiasm undoubtedly.
Summary of the invention
In view of this, the invention provides a kind of PIM method based on personal information management software, use this method, the user can add contact person's telephone number quickly in software, thereby improves the enthusiasm that the user uses software.
In order to realize the foregoing invention purpose, the invention provides a kind of PIM method based on personal information management software, this method comprises:
Mouse Hook Function in A, the personal information management software is broken the border that personal information management software operation process and system are used for the process of display message, virtual address space injection to the process that is used for display message contains the code of intercepting and capturing function, utilizes the text message on this code acquisition mouse current location;
B, from the text message that obtains, extract telephone number;
C, if telephone number extracts successfully, then the telephone number of extraction is saved in the personal information management software or according to the telephone number initiation packet voice VOIP calling of being extracted.
The process that system described in the steps A is used for display message is the process of the application programming interfaces API Calls of system.
Described steps A comprises:
A1, create the dynamic link library comprise the mouse Hook Function in personal information management software, start personal information management software, system installs the mouse Hook Function automatically;
A2, utilize the mouse Hook Function to break the border of the operation process and the system application interface API Calls process of personal information management software, in the API Calls process, load dynamic link library, be used for the address of the api function of videotex content by the code intercepting and capturing that have the intercepting and capturing function in the dynamic link library;
A3, the window transmitting system function under mouse repaint message, the address of calling the api function that is used for the videotex content obtains the text message that shows on the mouse current location.
Intercept and capture after the address of the api function that is used for videotex by having the code of intercepting and capturing function in the dynamic link library described in the steps A 2, further comprise: the address modification that will be used for the api function of videotex content is the address of the function that is used for the videotex content under the personal information management software.
Described step B comprises:
Whether first character of the text message that B1, judgement obtain is last, if finish leaching process; Otherwise, execution in step B2;
B2, judge whether first character meets the form of telephone number, if not, then counter O reset is got character late as first character, returns execution in step B1; Otherwise, execution in step B3;
B3, counter add 1 and judge that whether the count value of counter surpasses predetermined value, if, extract telephone number, finish leaching process; Otherwise, get character late as first character, return execution in step B1.
Described step B comprises: extract telephone number by choosing telephone number.
Can see from the above, method provided by the invention has following beneficial effect: the present invention is by increasing mouse screen word-selecting function in personal information management software, having simplified the user greatly uses personal information management software to add the step of new phone number, make the user can preserve the telephone number that occurs on the screen easily, and can directly dial the telephone number that occurs on the screen, thereby improve the enthusiasm that the user uses this class software.
Description of drawings
Fig. 1 is the basic interface figure of a kind of personal information management software in the prior art;
Fig. 2 is according to the process flow diagram that the present invention is based on the quick interpolation telephone number of personal information management software;
Fig. 3 is the process flow diagram that obtains the text message on the mouse current location according to the present invention;
Fig. 4 is the process flow diagram that extracts telephone number according to the present invention;
Fig. 5 is the interface synoptic diagram that adds telephone number according to the present invention or directly call.
Fig. 6 is by choosing telephone number to preserve or call the interface synoptic diagram of operation according to the present invention.
Embodiment
In order to make the features and advantages of the present invention clearer, the present invention is further illustrated in conjunction with specific embodiments with reference to the accompanying drawings.
Current, it is very not convenient to add new telephone number in PIM software, need manual telephone number or other place from the screen of adding to duplicate to paste and come, to this, the present invention adopts the method for screen word-selecting, directly extract telephone number from the screen, and offer the corresponding menu of user the user can directly be added to the telephone number that extracts on the screen in the address book of PIM software, perhaps directly click and be used to represent that the menu that dials phone number initiates the VOIP calling.Referring to Fig. 2, Fig. 2 is the process flow diagram according to quick interpolation telephone number of the present invention, and the specific implementation step is as follows:
Step 101, intercepting and capturing are to Graphics Device Interface (GDI, Graphics Device Interface) WINDOWS application programming interfaces (API, calling Application Programming Interface) is to obtain the text message of current mouse position on the screen;
Computing machine is content such as display text and image on screen, the application programming interfaces API of the Graphics Device Interface GDI that needs content displayed will call in system, the API Calls of relevant GDI is to carry out in the process of WINDOWS system, PIM software of the present invention operate in the process space that oneself is also arranged in the WINDOWS system.WINDOWS has given each course allocation address space of 4gb, but system keeps 2gb and forbids the process visit as virtual address space to the address space between the 4gb, in fact this part virtual address space is that all Win32 processes are shared, wherein loaded the dynamic link library of shared Win32, Memory Mapping File and its, memory manager and file system sign indicating number etc., in addition, in 0 to 2gb address space, WINDOWS also is that 16 operating system has kept 0 to 4mb address space, is the privately owned address space of each process so have only 4mb to the address space between the 2gb.In the WINDOWS system, the privately owned address space of each process is relatively independent, so PIM software wants to intercept and capture the boundary wall that content displayed on the screen just must be broken process, in the process of displaying contents on screen, inject the code of the API Calls of intercepting and capturing GDI, thus the information that shows on the acquisition screen.Particularly, referring to Fig. 3, Fig. 3 is the process flow diagram that obtains the text message on the mouse current location according to the present invention.Concrete steps are as follows:
Step 1011, create a dynamic link library that comprises system's Hook Function in PIM software, after the program that starts PIM software, system will install a system-level mouse Hook Function automatically;
The mouse Hook Function may be hooked to the location message of mouse, so under the situation that starts PIM software, no matter where mouse moves to, and can know the position of mouse by the mouse Hook Function.In addition, the mouse Hook Function can also be broken the border between the process, dynamic link library is loaded in the virtual address space of other program process.
Step 1012, break the boundary wall of process by the mouse Hook Function, in the process of API Calls, load dynamic link library, intercept and capture the memory address of all api functions that call by having the code of intercepting and capturing function in the dynamic link library, and incite somebody to action the address of the address modification of the api function that is used for videotex wherein for the function that is used for videotex under the PIM software;
Under the situation that starts the PIM software program, when showing the content of other program on the screen, when for example clicking IE and carrying out web displaying, rolling mouse, the API Calls process of IE will be called the mouse Hook Function, the WINDOWS system can break the API Calls process of IE and the boundary wall between the PIM running software process by the mouse Hook Function, so will be loaded into the dynamic link library at mouse Hook Function place in the virtual address space of API Calls process.That is to say, code in the dynamic link library at mouse Hook Function place is injected in the virtual address space of API Calls process, this code has the intercepting and capturing function, can intercept and capture the address and the content of the api function that calls, so PIM software just can be obtained the base address of all WINDOWS modules of the API Calls that the mouse Hook Function is hooked to, thereby the memory address of all api functions that further clear and definite PIM software need be intercepted and captured, what need here to obtain is the address that is used for the api function textouta of videotex;
After being injected into dynamic link library in the API Calls process and getting access to the address of the api function textouta that is used for videotex, can be the address that is used for the function m ytextouta of videotex under the PIM software with this address modification, so the function textouta that is used for videotex when system call is during with the content of videotex, owing to revised the address of this function, so that in fact call is the function m ytextouta of PIM software, PIM software just can obtain the text message under the mouse window like this.
Repaint message in step 1013, the PIM software transfer system function window transmitting system function under mouse, this repaints the text data which zone is message can setting obtain, at this moment, repainting message and can call the textouta function that is used for videotex in the system function, owing to revised the address of this function, so what in fact call is the mytextouta function of PIM software, so PIM software just can obtain the text message on the mouse current location, wherein comprised the telephone number that needs are preserved.
The text message that step 102, basis obtain extracts relevant telephone number;
Because most of telephone number meets the such form of * * * *-* * * * * * * (wherein * represents numeral), as long as have the character that meets such form just can think telephone number so judge in the text message of acquisition, so referring to Fig. 4, Fig. 4 is the process flow diagram that extracts telephone number according to the text message that obtains, and the concrete operations step is as follows:
Step 1021, obtain first character in the text message of intercepting and capturing;
Step 1022, judge that this character is last character, if finish to extract flow process; Otherwise, execution in step 1023;
Step 1023, judge that this character is numeral or minus sign, if, execution in step 1024-1025; Otherwise, execution in step 1026;
Step 1024, this character are numeral or minus sign, and the possibility that meets telephone number is arranged, so counter is added 1;
Step 1025, telephone number meet the such form of * * * *-* * * * * * * (wherein * represents numeral), then telephone number should have 12 length, so need to judge that whether the counting of counter is above 12, if, then can think and extract the telephone number in the text message, finish to extract flow process; Otherwise, get character late, return execution in step 1022;
Step 1026, this character are not numeral or minus sign, then do not meet the possibility of telephone number, so with counter O reset, get character late, return execution in step 1022.
Just can extract telephone number in the text message of intercepting and capturing through above step, and telephone number meets the such form of * * * *-* * * * * * * (wherein * represents digital).
Below only with extraction meet * * * *-* * * * * * * (wherein * represent numeral) like this telephone number of form be example, the flow process of extracting telephone number is illustrated, for the telephone number that meets other form, can expand determining step wherein, extract and improve the success ratio of number identification with telephone number other form.
Step 103, after having extracted relevant telephone number, just can directly preserve this telephone number or directly click the calling of this number initiation VOIP.
Telephone number extracts successfully will trigger the program that software transfer is preserved telephone number or called, so near the window the telephone number, button will occur, the user clicks this button and just can directly initiate VOIP and call out or this telephone number is saved in the address book of software, referring to Fig. 5, Fig. 5 is the interface synoptic diagram that adds telephone number or call.As can see from Figure 4, near the button menu that the telephone number that extracts, has the button menu of " coloured silk " word and have " preservation " to indicate, click has the button menu of " coloured silk " word, the program that software transfer dials phone number will be triggered, initiating VOIP calls out, click has the button menu of " preservation " sign, preserves the program of telephone number with triggering software transfer, and software is added to this telephone number in the address book automatically.
In addition, when telephone number is not easy to identify, can also be by the operation of choosing telephone number to dial or preserve, for example, referring to Fig. 6, Fig. 6 is by choosing telephone number to preserve or call the interface synoptic diagram of operation.As can see from Figure 6, after choosing telephone number, also can trigger the software transfer relative program, so also can occur the button menu preserving or dial on the window, as long as click the operation that corresponding button menu just can be realized preserving telephone number and directly initiate the VOIP calling.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (6)

1, a kind of PIM method based on personal information management software is characterized in that, this method comprises:
Mouse Hook Function in A, the personal information management software is broken the border that personal information management software operation process and system are used for the process of display message, virtual address space injection to the process that is used for display message contains the code of intercepting and capturing function, utilizes the text message on this code acquisition mouse current location;
B, from the text message that obtains, extract telephone number;
C, if telephone number extracts successfully, then the telephone number of extraction is saved in the personal information management software or according to the telephone number initiation packet voice VOIP calling of being extracted.
2, method according to claim 1 is characterized in that, the process that system described in the steps A is used for display message is the process of the application programming interfaces API Calls of system.
3, method according to claim 2 is characterized in that, described steps A comprises:
A1, create the dynamic link library comprise the mouse Hook Function in personal information management software, start personal information management software, system installs the mouse Hook Function automatically;
A2, utilize the mouse Hook Function to break the border of the operation process and the system application interface API Calls process of personal information management software, in the API Calls process, load dynamic link library, be used for the address of the api function of videotex content by the code intercepting and capturing that have the intercepting and capturing function in the dynamic link library;
A3, the window transmitting system function under mouse repaint message, the address of calling the api function that is used for the videotex content obtains the text message that shows on the mouse current location.
4, method according to claim 3 is characterized in that, intercepts and captures after the address of the api function that is used for videotex by having the code of intercepting and capturing function in the dynamic link library described in the steps A 2, further comprises:
The address modification that will be used for the api function of videotex content is the address of the function that is used for the videotex content under the personal information management software.
5, method according to claim 1 is characterized in that, described step B comprises:
Whether first character of the text message that B1, judgement obtain is last, if finish leaching process; Otherwise, execution in step B2;
B2, judge whether first character meets the form of telephone number, if not, then counter O reset is got character late as first character, returns execution in step B1; Otherwise, execution in step B3;
B3, counter add 1 and judge that whether the count value of counter surpasses predetermined value, if, extract telephone number, finish leaching process; Otherwise, get character late as first character, return execution in step B1.
6, method according to claim 1 is characterized in that, described step B comprises:
By choosing telephone number to extract telephone number.
CNB2005101378244A 2005-12-31 2005-12-31 Personal information management method based on personal information management software Active CN100472435C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101378244A CN100472435C (en) 2005-12-31 2005-12-31 Personal information management method based on personal information management software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101378244A CN100472435C (en) 2005-12-31 2005-12-31 Personal information management method based on personal information management software

Publications (2)

Publication Number Publication Date
CN1991749A CN1991749A (en) 2007-07-04
CN100472435C true CN100472435C (en) 2009-03-25

Family

ID=38214026

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101378244A Active CN100472435C (en) 2005-12-31 2005-12-31 Personal information management method based on personal information management software

Country Status (1)

Country Link
CN (1) CN100472435C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100958934B1 (en) * 2007-11-21 2010-05-19 엔에이치엔(주) Method, system and computer-readable recording medium for extracting text based on characteristic of web page
CN103458095A (en) * 2012-05-31 2013-12-18 深圳中兴网信科技有限公司 Method and device for triggering instant messaging application program to conduct communication
CN102868829A (en) * 2012-09-25 2013-01-09 东莞宇龙通信科技有限公司 Communication method and device
CN103327178B (en) * 2013-05-30 2015-10-07 广州市动景计算机科技有限公司 Automatically method and the device of extension telephone in the page is dialed
CN105072461B (en) * 2015-07-03 2019-03-08 北京奇虎科技有限公司 A kind of data processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
屏幕取词原理与实现. 顾平,刁红军.计算机工程与应用,第28期. 2004
屏幕取词原理与实现. 顾平,刁红军.计算机工程与应用,第28期. 2004 *

Also Published As

Publication number Publication date
CN1991749A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
CN100472435C (en) Personal information management method based on personal information management software
CN100565514C (en) A kind of method and system of copying windows content
CN109542287B (en) Message reminding method and device, mobile terminal and storage medium
US20090253444A1 (en) Method and System for Data Pushing
CN102420903A (en) Mobile phone-based software processing method and mobile phone
CN109684021A (en) Data processing method, device and storage medium
WO2016107465A1 (en) Method, device, and system for implementing card-type desktop
CN104049806A (en) Touch terminal and control method and system of touch terminal
CN102109998A (en) Managing method and managing device for shortcut icons of application programs and terminal adopting managing device
CN108459880A (en) voice assistant awakening method, device, equipment and storage medium
CN103812990A (en) Terminal device and control method thereof
CN106843644B (en) Method and device for establishing desktop icon
CN107610310A (en) One kind is lined up processing method, server and computer-readable storage medium
CN108021409B (en) APP service scenario restoration method and system
US7913187B2 (en) Method and system for unified communication
CN109740014B (en) Screenshot management method, terminal device and storage medium
CN110347995A (en) A kind of file saving method, device, equipment and storage medium
CN107479700A (en) Blank screen gestural control method, device, storage medium and mobile terminal
CN105989035A (en) In-page quick dialing method, device and mobile terminal
CN106681644B (en) Multi-open application method and system thereof
CN104506413B (en) Method, server and the terminal of information processing
US20160171736A1 (en) Information Processing Method and Electronic Device
CN109840113B (en) Application data processing method and equipment, storage medium and terminal thereof
KR101632573B1 (en) System and method for providing addition service based on presence information
CN107729088A (en) A kind of application management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant