CN113301203A - Method and device for updating historical information data based on address book - Google Patents

Method and device for updating historical information data based on address book Download PDF

Info

Publication number
CN113301203A
CN113301203A CN202110853101.3A CN202110853101A CN113301203A CN 113301203 A CN113301203 A CN 113301203A CN 202110853101 A CN202110853101 A CN 202110853101A CN 113301203 A CN113301203 A CN 113301203A
Authority
CN
China
Prior art keywords
information
telephone number
target
history
message
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.)
Granted
Application number
CN202110853101.3A
Other languages
Chinese (zh)
Other versions
CN113301203B (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.)
Shenzhen Andaxin Communication Equipment Co ltd
Original Assignee
Shenzhen Andaxin Communication Equipment 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 Shenzhen Andaxin Communication Equipment Co ltd filed Critical Shenzhen Andaxin Communication Equipment Co ltd
Priority to CN202110853101.3A priority Critical patent/CN113301203B/en
Publication of CN113301203A publication Critical patent/CN113301203A/en
Application granted granted Critical
Publication of CN113301203B publication Critical patent/CN113301203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/60Details of telephonic subscriber devices logging of communication history, e.g. outgoing or incoming calls, missed calls, messages or URLs

Abstract

The application provides a method and a device for updating historical information data based on an address book, wherein the method comprises the following steps: detecting the information of a target contact person with a new name of a target user and a target telephone number in the address list; if the selection operation of an information function button in the target contact information is not detected and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number and acquiring at least one history message related to the target contact information; updating the source identification of the currently processed historical message from the original telephone number to a target user name, and storing the original telephone number; generating record information of the current source identification updating event according to the current system time and the target contact information; the logging information is added to the history message currently processed. The method and the device for processing the historical messages can improve the intelligence and accuracy of the device for processing the historical messages.

Description

Method and device for updating historical information data based on address book
Technical Field
The application belongs to the field of general data processing of the Internet industry, and particularly relates to a method and a device for updating historical information data based on an address book.
Background
At present, after a user uses a phone book application program of a mobile phone to provide common contact information for a new phone number, historical information in short message application is not updated synchronously, which obviously does not meet the use requirements of the user.
Disclosure of Invention
The application provides a method and a device for updating historical information data based on an address book, so that the historical information data can be updated based on the address book, and the intelligence and accuracy of processing the historical information data by equipment are improved.
In a first aspect, the present application provides a method for updating historical information data based on an address book, including:
detecting the information of a target contact person with a new name of a target user and a target telephone number in the address list;
if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number, and acquiring at least one history message associated with the target contact information;
for each of the at least one history message, performing the following operations:
updating the source identification of the currently processed historical message from an original telephone number to the name of the target user, and storing the original telephone number;
generating record information of the current source identification updating event according to the current system time and the target contact information;
adding the recording information to the currently processed history message.
In the embodiment of the application, the device firstly detects the information of the target contact person of which the name is the name of the target user and the number is the target telephone number, which is newly added in the address book; secondly, if the selection operation of an information function button in the target contact information is not detected and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number and acquiring at least one history message associated with the target contact information; then, for each history message of the at least one history message, the following operations are performed: updating the source identification of the currently processed historical message from the original telephone number to a target user name, and storing the original telephone number; generating record information of the current source identification updating event according to the current system time and the target contact information; the logging information is added to the history message currently processed. Because the source identification in the historical message can be synchronously updated according to the creation of the contact information in the address list, the situation that the user creates the contact information but the corresponding historical message cannot synchronously update the source identification is avoided, and the intelligence and the accuracy of the device for processing the historical message data are improved.
In a second aspect, the present application provides an apparatus for updating history information data based on an address book, comprising a processing unit and a communication unit, wherein,
the processing unit is used for detecting the information of a target contact person with a new name of a target user and a target telephone number in the address list through the communication unit; if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number, and acquiring at least one history message associated with the target contact information; for each of the at least one history message, performing the following operations: updating the source identification of the currently processed historical message from an original telephone number to the name of the target user, and storing the original telephone number; generating record information of the current source identification updating event according to the current system time and the target contact information; adding the recording information to the currently processed history message.
In a third aspect, the present application provides an electronic device comprising a processor, a memory, and a communication interface; the memory and the communication interface are connected with the processor; the memory is for storing computer program code comprising instructions which, when executed by the processor, cause the electronic device to perform the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a computer program operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
Drawings
Fig. 1 is a schematic flowchart of a method for updating historical information data based on an address book according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a functional unit block diagram of an apparatus for updating history information data based on an address book according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be described below accurately and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1, an embodiment of the present application provides a method for updating historical information data based on an address book, which is applied to an electronic device, and the method includes:
step 101, detecting the information of a target contact person with a new name of a target user and a target telephone number in an address list.
By way of example, the electronic devices include, but are not limited to: cell-phone, panel, computer, smart watch etc..
For example, the target user name may be a user-defined name such as Xiaoming.
For example, the device may run a phone book application, which is a system application, and specifically may select a contact creation function on an address book function interface of the phone book application, and the device displays a contact information editing page to refer to a user to create new contact information.
And 102, if the selection operation of an information function button in a content page aiming at the target contact information is not detected and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number and acquiring at least one history message related to the target contact information.
For example, the history message set stores messages received by the device and sent by the other device, and/or messages sent by the electronic device to the other device.
103, for each history message in the at least one history message, performing the following operations from step 104 to step 106:
step 104, updating the source identification of the history message processed currently from an original telephone number to the name of the target user, and storing the original telephone number;
for example, the format of the original phone number may be, for example, an area code +11 mobile phone number, where the area code may be, for example: china +86, taiwan +886, hong kong +852, australia, china +853, etc., which are not limited herein.
For example, the source identifier is used to represent identity information of an opposite user device of the message, the identity information is default to a phone number, that is, before the device does not create contact information of the phone number, the device automatically saves the phone number as the source identifier of the message and displays a corresponding phone number in a name area, and if the device creates the contact information of the phone number, the device may update the source identifier of the message from the phone number to a user name in the contact information.
105, generating the record information of the current source identifier updating event according to the current system time and the target contact information;
for example, the specific representation form of the recorded information may be various, and is not limited herein.
And 106, adding the record information into the currently processed history message.
In the embodiment of the application, the device firstly detects the information of the target contact person of which the name is the name of the target user and the number is the target telephone number, which is newly added in the address book; secondly, if the selection operation of an information function button in the target contact information is not detected and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number and acquiring at least one history message associated with the target contact information; then, for each history message of the at least one history message, the following operations are performed: updating the source identification of the currently processed historical message from the original telephone number to a target user name, and storing the original telephone number; generating record information of the current source identification updating event according to the current system time and the target contact information; the logging information is added to the history message currently processed. Because the source identification in the historical message can be synchronously updated according to the creation of the contact information in the address list, the situation that the user creates the contact information but the corresponding historical message cannot synchronously update the source identification is avoided, and the intelligence and the accuracy of the device for processing the historical message data are improved.
In some embodiments, the querying the historical message set according to the target telephone number to obtain at least one historical message associated with the target contact information includes: acquiring a plurality of historical messages of which the source identifiers are mobile phone numbers in a historical message set; determining a network identification number segment and at least one other number field of the target telephone number as base number fields, the at least one other number field including at least one of: a region code segment and a user number segment; and inquiring the at least one historical message of which the digital information of the source identification field is consistent with the digital information of the basic number field in the historical messages by taking the digital information of the basic number field as an inquiry identification.
As can be seen, in this example, since there are a plurality of digital formats of the source identifier field in the history message, the history message actually matched with the source identifier may be lost due to format problems such as space in the direct matching, and the focused basic number field may further improve the search accuracy, avoid the loss of effective results, and improve the search accuracy and efficiency.
In some embodiments, obtaining a plurality of history messages of the set of history messages whose source is identified as a mobile phone number comprises: starting the information application by the background; querying, by the information application, a plurality of history messages of a set of history messages whose source is identified as a mobile telephone number.
For example, the condition for the device to launch the information application in the background may be various, and is not limited herein. For example, the system can be started in the state that the user does not perform interactive operation such as screen turning off, screen locking, charging and the like, the problem of blocking and the like is avoided, and the processing fluency is improved.
It can be seen that in this example, the device can start the information application in the background, and invoke the history message set through the information application, and query a plurality of history messages whose source is identified as the mobile phone number. The stability of historical message updating is improved.
In some embodiments, the format of the source identification field comprises a sequential number ordering format or a plurality of number group segment ordering modes; the historical information corresponding to the continuous digital sorting format is the information generated by the message sending event; the historical messages corresponding to the plurality of digit group segmentation and sorting modes are messages generated by receiving message events.
Illustratively, the sequential number ordering format may be, for example, 180111100XX (X representing any number), with no spaces between adjacent numbers, and the multiple number set segmentation ordering pattern may be, for example, + 86180111100 XX (with spaces between multiple number sets), wherein number set +86 corresponds to a region code.
In some embodiments, after detecting target contact information in the address book, the target contact information being named as a target user name and being named as a target telephone number, the method further includes: if the selection operation of an information function button in a content page aiming at the target contact information is detected, inquiring the historical message set according to the target telephone number, and acquiring at least one historical message associated with the target contact information; and updating the source identifier of the at least one historical message into the name of the target user, storing the original telephone number, generating the record information of the current source identifier updating event according to the current system time and the target contact information, and displaying the at least one historical message and the record information.
Illustratively, the info function button is used to display a history message for the corresponding number.
As can be seen, in this example, for the case where the user actively selects the information function button in the content page of the target contact information, the device can respond to the operation, update the source identifier of the history message, generate the record information, and jump to display the updated history message and record information. The flexibility and intelligence of the device for updating the history message are improved.
In some embodiments, the method further comprises: if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a fixed telephone number, inquiring a history notification set according to the target telephone number, and acquiring at least one history notification related to the target contact information; for each of the at least one historical notification, performing the following: and updating the source identification of the history notification processed currently to the target user name from the original telephone number, and storing the original telephone number.
As can be seen, in this example, since the history notification is associated with the fixed phone number, that is, the push message of the merchant main body is taken as the main part, such as a bank, a restaurant, and the like, and the tracing requirement of the update event of the source identifier of the history notification of the merchant main body is relatively weak, the device only performs the update of the source identifier without performing other additional operations (such as generating the record information of the updated event of the source identifier), so as to reduce data redundancy and improve processing efficiency.
In some embodiments, the method further comprises: the method further comprises the following steps: detecting a deletion update operation of the target user name for the target contact information; acquiring a history message or history notification associated with the target user name; and recovering the source identification of the history message or history notification from the target user name into the original telephone number, wherein the original telephone number contains an area code.
For example, if the user created contact information for the source identification of the history message + 861802532 XXXX (with area code and a space in the adjacent number group) and the name is small a, the source identification of the history message is updated to small a, the subsequent user deletes small a of the contact information, the device defaults to restore the source identification of the history message to 1802532XXXX (without space), missing the original phone number + 861802532 XXXX. The user cannot query this history message through + 861802532 XXXX.
As can be seen, in this example, for the problem that, after the user name of the contact information is deleted by the user at present, the source identifier of the history message is automatically updated to the number string in the continuous number format corresponding to the original phone number, so that the user cannot search the history message according to the original phone number, the device can accurately update the source identifier to the original phone number, thereby ensuring that the history message can be queried according to the original phone number, and improving accuracy and success rate.
In some embodiments, the method further comprises: detecting an information query request aiming at the original telephone number; taking the original telephone number as a query identifier, and acquiring a source identifier and/or a history message or a history notification of which the content information is matched with the original telephone number, wherein the content information refers to the text content of the history message or the history notification; displaying the history message or the history notification.
For example, if the user created contact information for a source identification of the history message of + 861802532 XXXX (with an area code and a space in adjacent digit groups) and the name is small a, the source identification of the history message is updated to small a, the user deletes small a of the contact information, and the device defaults to restore the source identification of the history message to + 861802532 XXXX. Subsequent users can accurately query the history message through + 861802532 XXXX.
As can be seen, in this example, for the problem that, after the user name of the contact information is deleted by the user at present, the source identifier of the history message is automatically updated to the number string in the continuous number format corresponding to the original phone number, so that the user cannot search the history message according to the original phone number, the device can accurately update the source identifier to the original phone number, thereby ensuring that the history message can be queried according to the original phone number, and improving accuracy and success rate.
Consistent with the above method embodiment, please refer to fig. 2, and fig. 2 is a schematic structural diagram of an electronic device 200 according to an embodiment of the present application, and as shown in the figure, the electronic device 200 includes a processor 210, a memory 220, a communication interface 220, and one or more programs 221, where the one or more programs 221 are stored in the memory 220 and configured to be executed by the processor 210, and the one or more programs 221 include instructions for performing any steps in the above method embodiment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 3 is a block diagram of functional units of the apparatus 3 for updating history information data based on an address book according to an embodiment of the present application. The device 3 for updating historical information data based on the address book is applied to electronic equipment and comprises:
the processing unit 30 is used for detecting target contact information with a name as a target user name and a number as a target telephone number newly added in the address book through the communication unit 31; if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number, and acquiring at least one history message associated with the target contact information; for each of the at least one history message, performing the following operations: updating the source identification of the currently processed historical message from an original telephone number to the name of the target user, and storing the original telephone number; generating record information of the current source identification updating event according to the current system time and the target contact information; adding the recording information to the currently processed history message.
In some embodiments, the processing unit 30 is specifically configured to: acquiring a plurality of historical messages of which the source identifiers are mobile phone numbers in a historical message set; determining a network identification number segment and at least one other number field of the target telephone number as base number fields, the at least one other number field including at least one of: a region code segment and a user number segment; and inquiring the at least one historical message of which the digital information of the source identification field is consistent with the digital information of the basic number field in the historical messages by taking the digital information of the basic number field as an inquiry identification.
In some embodiments, the processing unit 30 is specifically configured to: starting the information application by the background; querying, by the information application, a plurality of history messages of a set of history messages whose source is identified as a mobile telephone number.
In some embodiments, the format of the source identification field comprises a sequential number ordering format or a plurality of number group segment ordering modes; the historical information corresponding to the continuous digital sorting format is the information generated by the message sending event; the historical messages corresponding to the plurality of digit group segmentation and sorting modes are messages generated by receiving message events.
In some embodiments, the processing unit 30 is further configured to: if the selection operation of an information function button in a content page aiming at the target contact information is detected, inquiring the historical message set according to the target telephone number, and acquiring at least one historical message associated with the target contact information; and updating the source identifier of the at least one historical message into the name of the target user, storing the original telephone number, generating the record information of the current source identifier updating event according to the current system time and the target contact information, and displaying the at least one historical message and the record information.
In some embodiments, the processing unit 30 is further configured to: if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a fixed telephone number, inquiring a history notification set according to the target telephone number, and acquiring at least one history notification related to the target contact information; for each of the at least one historical notification, performing the following: and updating the source identification of the history notification processed currently to the target user name from the original telephone number, and storing the original telephone number.
In some embodiments, the processing unit 30 is further configured to: detecting a deletion update operation of the target user name for the target contact information; acquiring a history message or history notification associated with the target user name; and recovering the source identification of the history message or history notification from the target user name into the original telephone number, wherein the original telephone number contains an area code.
In some embodiments, the processing unit 30 is further configured to: detecting an information query request aiming at the original telephone number; taking the original telephone number as a query identifier, and acquiring a source identifier and/or a history message or a history notification of which the content information is matched with the original telephone number, wherein the content information refers to the text content of the history message or the history notification; displaying the history message or the history notification.
The Processing Unit 30 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module 51 may be a transceiver, an RF circuit or a communication interface, etc.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The apparatus 3 for updating history information data based on an address book may perform the steps performed by the electronic device in the method for updating history information data based on an address book shown in fig. 1.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for updating historical information data based on an address book is characterized by comprising the following steps:
detecting the information of a target contact person with a new name of a target user and a target telephone number in the address list;
if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number, and acquiring at least one history message associated with the target contact information;
for each of the at least one history message, performing the following operations:
updating the source identification of the currently processed historical message from an original telephone number to the name of the target user, and storing the original telephone number;
generating record information of the current source identification updating event according to the current system time and the target contact information;
adding the recording information to the currently processed history message.
2. The method of claim 1, wherein the querying the historical message set according to the target telephone number to obtain at least one historical message associated with the target contact information comprises:
acquiring a plurality of historical messages of which the source identifiers are mobile phone numbers in a historical message set;
determining a network identification number segment and at least one other number field of the target telephone number as base number fields, the at least one other number field including at least one of: a region code segment and a user number segment;
and inquiring the at least one historical message of which the digital information of the source identification field is consistent with the digital information of the basic number field in the historical messages by taking the digital information of the basic number field as an inquiry identification.
3. The method of claim 2, wherein obtaining a plurality of history messages of the set of history messages whose source is identified as a mobile phone number comprises:
starting the information application by the background;
querying, by the information application, a plurality of history messages of a set of history messages whose source is identified as a mobile telephone number.
4. The method of claim 3, wherein the format of the source identification field comprises a sequential digit ordering format or a plurality of digit group segment ordering modes;
the historical information corresponding to the continuous digital sorting format is the information generated by the message sending event;
the historical messages corresponding to the plurality of digit group segmentation and sorting modes are messages generated by receiving message events.
5. The method of claim 4, wherein after detecting the target contact information with a new name of the target user and a target telephone number in the address book, the method further comprises:
if the selection operation of an information function button in a content page aiming at the target contact information is detected, inquiring the historical message set according to the target telephone number, and acquiring at least one historical message associated with the target contact information; and updating the source identifier of the at least one historical message into the name of the target user, storing the original telephone number, generating the record information of the current source identifier updating event according to the current system time and the target contact information, and displaying the at least one historical message and the record information.
6. The method of claim 5, further comprising:
if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a fixed telephone number, inquiring a history notification set according to the target telephone number, and acquiring at least one history notification related to the target contact information;
for each of the at least one historical notification, performing the following:
and updating the source identification of the history notification processed currently to the target user name from the original telephone number, and storing the original telephone number.
7. The method of claim 6, further comprising:
detecting a deletion update operation of the target user name for the target contact information;
acquiring a history message or history notification associated with the target user name;
and recovering the source identification of the history message or history notification from the target user name into the original telephone number, wherein the original telephone number contains an area code.
8. The method of claim 7, further comprising:
detecting an information query request aiming at the original telephone number;
taking the original telephone number as a query identifier, and acquiring a source identifier and/or a history message or a history notification of which the content information is matched with the original telephone number, wherein the content information refers to the text content of the history message or the history notification;
displaying the history message or the history notification.
9. The device for updating the historical information data based on the address book is characterized by comprising a processing unit and a communication unit, wherein,
the processing unit is used for detecting the information of a target contact person with a new name of a target user and a target telephone number in the address list through the communication unit; if the selection operation of an information function button in a content page aiming at the target contact information is not detected, and the type of the target telephone number is identified to be a mobile telephone number, inquiring a history message set according to the target telephone number, and acquiring at least one history message associated with the target contact information; for each of the at least one history message, performing the following operations: updating the source identification of the currently processed historical message from an original telephone number to the name of the target user, and storing the original telephone number; generating record information of the current source identification updating event according to the current system time and the target contact information; adding the recording information to the currently processed history message.
10. An electronic device comprising a processor, a memory, and a communication interface; the memory and the communication interface are connected with the processor; the memory for storing computer program code comprising instructions which, when executed by the processor, the electronic device performs the method of any of claims 1-8.
CN202110853101.3A 2021-07-27 2021-07-27 Method and device for updating historical information data based on address book Active CN113301203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110853101.3A CN113301203B (en) 2021-07-27 2021-07-27 Method and device for updating historical information data based on address book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110853101.3A CN113301203B (en) 2021-07-27 2021-07-27 Method and device for updating historical information data based on address book

Publications (2)

Publication Number Publication Date
CN113301203A true CN113301203A (en) 2021-08-24
CN113301203B CN113301203B (en) 2021-10-29

Family

ID=77331292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110853101.3A Active CN113301203B (en) 2021-07-27 2021-07-27 Method and device for updating historical information data based on address book

Country Status (1)

Country Link
CN (1) CN113301203B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554011A (en) * 2022-02-14 2022-05-27 深圳市思特克电子技术开发有限公司 Intelligent tracing method and device for historical information data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065108A1 (en) * 2000-11-30 2002-05-30 Kabushiki Kaisha Toshiba Communication device and method for controlling the same
CN101277500A (en) * 2007-03-29 2008-10-01 三洋电机株式会社 Communication terminal
JP2010258961A (en) * 2009-04-28 2010-11-11 Panasonic Corp Communication terminal
CN102611777A (en) * 2012-01-18 2012-07-25 北京友录在线科技发展有限公司 Method for checking and updating address book of handheld communication device
CN102831165A (en) * 2012-07-23 2012-12-19 宇龙计算机通信科技(深圳)有限公司 Managing method and system of expired numbers in address book
CN104601772A (en) * 2014-12-08 2015-05-06 合肥联宝信息技术有限公司 Method and device for searching contacts of mobile terminal
CN105072238A (en) * 2015-09-10 2015-11-18 陈包容 Method and apparatus for creating contact list according to note information of newly-added number

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065108A1 (en) * 2000-11-30 2002-05-30 Kabushiki Kaisha Toshiba Communication device and method for controlling the same
CN101277500A (en) * 2007-03-29 2008-10-01 三洋电机株式会社 Communication terminal
JP2010258961A (en) * 2009-04-28 2010-11-11 Panasonic Corp Communication terminal
CN102611777A (en) * 2012-01-18 2012-07-25 北京友录在线科技发展有限公司 Method for checking and updating address book of handheld communication device
CN102831165A (en) * 2012-07-23 2012-12-19 宇龙计算机通信科技(深圳)有限公司 Managing method and system of expired numbers in address book
CN104601772A (en) * 2014-12-08 2015-05-06 合肥联宝信息技术有限公司 Method and device for searching contacts of mobile terminal
CN105072238A (en) * 2015-09-10 2015-11-18 陈包容 Method and apparatus for creating contact list according to note information of newly-added number

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554011A (en) * 2022-02-14 2022-05-27 深圳市思特克电子技术开发有限公司 Intelligent tracing method and device for historical information data

Also Published As

Publication number Publication date
CN113301203B (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN104737161A (en) Person-based information aggregation
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN105681566A (en) Incoming call number processing method and device
EP3565370B1 (en) Wireless fidelity (wi-fi) connection method and related product
CN104320161A (en) Method and system for rapid Bluetooth pairing
CN104486748B (en) Contact number update method and mobile terminal
CN103687063B (en) A kind of method of interconnection network, device and terminal equipment
CN109684022A (en) Word input processing method, device and electronic equipment
US9264870B2 (en) Mobile terminal, server and calling method based on cloud contact list
CN113301203B (en) Method and device for updating historical information data based on address book
CN104219356A (en) Method and device for displaying and searching contact man information and mobile terminal
CN108241515B (en) Application shortcut establishing method and terminal
US8170613B2 (en) Electronic apparatus with SIM card and phone directory management method thereof
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
CN106549860B (en) Information acquisition method and device
CN113329117B (en) Processing method and device for telephone record data in telephone book application
CN109710609B (en) Method and device for generating data table identification
CN109447582B (en) Business process processing method, device and storage medium
CN115795544A (en) File security attribute storage method and related device
US20190364497A1 (en) Method for Wireless Fidelity Connection and Related Products
CN106793016B (en) Wireless fidelity Wi-Fi connection method and mobile terminal
CN104735643A (en) Information processing method and data server
CN110471793B (en) Data backup method, data recovery method, first terminal and second terminal
CN114493799A (en) Method and system for managing special vehicle order data in warehouse and table dividing manner
CN110580200B (en) Data synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant