Method, system and terminal for uploading and updating service history information
Technical Field
The invention relates to a network converged address book service in the field of communication, in particular to a method, a system and a terminal for uploading and updating service history information.
Background
A network Converged Address Book (CAB, converted Address Book) is a network Address Book service with multiple views, through which a user can conveniently manage a phone Book of the user, for example, when the Address content subscribed by the user changes, the user can update the phone Book on the network side and the terminal side in time, and when the information such as the user's own Address changes, the user who subscribes the information does not need to sequentially perform operations such as contact update with a contact person, and the user can receive a notification of the information change according to a service policy and then update the information of the user. Through the above description, it can be known that CAB is a very practical service, and therefore, more and more network applications based on CAB are available, and the essence of these applications is how to simulate the communication between people in real life as much as possible, so as to facilitate the contact between people.
At present, a terminal generally has some lists of service history information, such as a call record list, including information such as a call list and a missed list, and for a Short Message System (SMS), there are also records of receiving a Short message and records of sending a Short message, and these records are mainly responsible for reviewing and prompting in order that a user can watch a Short message or send a Short message to a certain contact at a later time. Because CAB on a network can be related to a plurality of users, and one user can have a plurality of terminals, service history information based on CAB on one terminal cannot be seen on another terminal of the same user, for example, a user often uses a terminal a to contact a certain client, but when the terminal a cannot be used for some reasons, the user cannot obtain a history record of contact with the client through other terminals, which brings inconvenience to the user and further brings bad experience.
Disclosure of Invention
In view of the above, the present invention is directed to a method, a system, and a terminal for uploading and updating service history information, which can implement synchronization of the service history information on multiple terminals of a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for uploading service history information, which comprises the following steps:
when a new service is generated or a request message sent by the CAB server is received, the terminal or the service node sends new service history information to a storage server related to the CAB server;
or, the terminal or the service node periodically sends new service history information to a storage server related to the CAB server.
In the above method, the service history information includes an identifier of the terminal, and/or a time of generating the service, and/or a service type, and/or a service content.
In the above method, the step of sending, by the terminal or the service node, the new service history information to the storage server related to the CAB server is:
and the terminal or the service node sends the service history information to a storage server related to the CAB server through the CAB server, or the terminal or the service node directly sends the service history information to the storage server related to the CAB server.
In the above method, the periodically sending, by the terminal or the service node, new service history information to the storage server related to the CAB server is:
and the terminal or the service node periodically checks whether new service history information is generated, and when the new service history information is generated in the period, the terminal or the service node transmits the new service history information to a storage server related to the CAB server through the CAB server, or the terminal or the service node directly transmits the service history information to the storage server related to the CAB server.
In the above method, the method further comprises:
the storage server stores the service history information and informs the CAB server and/or the terminal and/or the service node of completing the uploading of the service history information;
and forming a new notification message of the service history information in the storage server or the CAB server, and notifying other terminals of updating the service history information.
The invention also provides a method for updating the service history information, which comprises the following steps:
when receiving a request updating message sent by a terminal or being triggered by an updating event, the CAB server sends the service history information or the acquiring address of the service history information to the terminal.
In the above-mentioned method, the first step of the method,
the request updating message is a message requesting to update service history information, and the message is empty or carries an identifier of a terminal, and/or a time identifier, and/or a service identifier;
the update event triggers as: when the terminal subscribes to the update of the service history information of other terminals and the other terminals send the new service history information to the CAB server, or the update period is reached, the CAB server is triggered.
In the above method, the sending, by the CAB server, the service history information to the terminal is:
the CAB server transmits the received message requesting for updating the service history information to a storage server related to the CAB server, the storage server screens the stored service history information according to the message requesting for updating the service history information, and transmits the screened service history information to the terminal through the CAB server, or the storage server transmits all the service history information to the terminal.
In the above method, the sending, by the CAB server, the service history information to the terminal is:
and the storage server sends the new service history information uploaded by other terminals to the terminal through the CAB server according to the message requesting to update the service history information.
In the above method, the method further comprises:
and the terminal directly acquires the service history information from the storage server related to the CAB according to the acquired address of the service history information.
The invention also provides a system for uploading the historical information of the business, which comprises: the CAB server comprises a terminal and a storage server related to the CAB server; wherein,
the terminal is used for sending the new service history information to a storage server related to the CAB server when generating a new service or receiving a request message sent by the CAB server;
or, the terminal is used for periodically sending the new service history information to the storage server related to the CAB server.
In the system, the storage server related to the CAB server is further configured to store the service history information and notify the CAB server and/or the terminal that uploading of the service history information is completed.
The invention also provides a system for uploading the historical information of the business, which comprises: the CAB server comprises a service node and a storage server related to the CAB server; wherein,
the service node is used for sending new service history information to a storage server related to the CAB server when generating new service or receiving a request message sent by the CAB server;
or, the service node is used for periodically sending the new service history information to the storage server related to the CAB server.
In the method, the storage server related to the CAB server is further configured to store the service history information and notify the CAB server and/or the terminal and/or the service node that uploading of the service history information is completed.
The invention also provides a system for updating the service history information, which comprises: a CAB server and a terminal; wherein,
and the CAB server is used for sending the service history information or the acquired address of the service history information to the terminal when receiving a request updating message sent by the terminal or being triggered by an updating event.
In the above-mentioned method, the first step of the method,
the system further comprises: the CAB-related storage server is used for storing business history information;
and the terminal is also used for directly acquiring the service history information from the CAB-related storage server according to the acquisition address of the service history information.
The present invention also provides a terminal for transmitting new service history information to a storage server associated with a CAB server or for periodically transmitting new service history information to a storage server associated with a CAB server when a new service is generated or a request message transmitted from the CAB server is received.
The invention also provides a terminal, which is used for receiving the service history information or the acquisition address of the service history information sent by the CAB server.
In the above terminal, the terminal is further configured to directly acquire the service history information from the storage server related to the CAB according to the acquisition address of the service history information.
According to the method, the system and the terminal for uploading and updating the service history information, when a new service is generated or a request message sent by a CAB server is received, the terminal or the service node sends the new service history information to a storage server related to the CAB server; or, the terminal or the service node periodically sends the new service history information to the storage server related to the CAB server; after that, when receiving a request update message sent by the terminal or being triggered by an update event, the CAB server sends the service history information or the acquired address of the service history information to the terminal, so that the CAB-based service history information of another terminal can be obtained on one terminal of the same user, that is, the synchronization of the service history information on a plurality of terminals of the user can be realized, and great convenience and good experience are brought to the user.
Drawings
Fig. 1 is a flowchart illustrating a first embodiment of a method for uploading service history information according to the present invention;
fig. 2 is a flowchart illustrating a second embodiment of a method for uploading service history information according to the present invention;
fig. 3 is a flowchart illustrating a third embodiment of a method for uploading service history information according to the present invention;
fig. 4 is a flowchart illustrating a fourth embodiment of a method for uploading service history information according to the present invention;
fig. 5 is a flowchart illustrating a first embodiment of a method for updating service history information according to the present invention;
fig. 6 is a flowchart illustrating a second embodiment of a method for updating service history information according to the present invention;
fig. 7 is a schematic structural diagram of a first embodiment of a system for uploading service history information according to the present invention;
fig. 8 is a schematic structural diagram of a second embodiment of a system for uploading service history information according to the present invention;
fig. 9 is a schematic structural diagram of a system for updating service history information according to the present invention.
Detailed Description
The basic idea of the invention is: when a new service is generated or a request message sent by the CAB server is received, the terminal or the service node sends new service history information to a storage server related to the CAB server; or, the terminal or the service node periodically sends the new service history information to the storage server related to the CAB server; when receiving a request updating message sent by a terminal or being triggered by an updating event, the CAB server sends the service history information or the acquiring address of the service history information to the terminal.
The invention is further described in detail below with reference to the drawings and the specific embodiments.
The invention provides a method for uploading service history information, which comprises the following steps: when a new service is generated or a request message sent by the CAB server is received, the terminal or the service node sends new service history information to a storage server related to the CAB server; or, the terminal or the service node periodically sends new service history information to a storage server related to the CAB server.
For example, when a terminal initiates a call actively, a new call service history information is generated, the terminal actively sends the new call service history information to a storage server related to a CAB server, and the call service history information of the terminal can be formed on the storage server; or, when the user sends a Short Message to the terminal B of another user through the terminal a, the server of the Short Message Service Center (SMSC) sends the Service history information of the Short Message to the storage server related to the CAB server, and the Short Message Service history information of the terminal can be formed on the storage server;
the terminal can comprise a mobile phone, a tablet computer and the like, the service node comprises a service server and a switch related to the service, and the service server can comprise a server of an SMSC (short message service center), a server related to a call service, a server related to a multimedia message service and the like; the service may be paging, SMS, Multimedia Messaging Service (MMS), E-MAIL, EVVM, etc.; the service history information may include an identifier of the terminal, and/or a time when the service is generated, and/or a service type, and/or a service content, etc.; the storage server related to the CAB server means that message interaction can be carried out between the CAB server and the storage server, operation such as storage, updating and the like can be carried out on service historical information, and a terminal or a service node can also directly interact with the storage server; after the uploading of the service history information is completed, the storage server can notify the CAB server of the event;
when a new service is generated, the mode that the terminal or the service server sends the new service history information to the storage server related to the CAB server is an event-triggered active uploading mode, namely the service history information of the service is immediately uploaded when the new service is generated, wherein the active uploading can be automatic uploading by the terminal or manual uploading; the terminal or the service node periodically sends the new service history information to the storage server related to the CAB server, and the method is a periodic uploading method, that is, the periodic uploading of the service history information, and a timer may be set on the terminal or the service node, and the service history information is uploaded after the timer expires.
Example one
Fig. 1 is a flowchart illustrating a first embodiment of a method for uploading service history information according to the present invention, and is a specific implementation method for a terminal to send new service history information to a storage server associated with a CAB server when a new service is generated, as shown in fig. 1, the method includes the following steps:
in step 101, the terminal generates a new service, for example, the terminal actively initiates or passively receives a call, so that a service history information is formed on the terminal, and an outgoing or incoming service history is formed in a call list of the terminal.
102, the terminal sends a request message for uploading the service history information to the CAB server in time, and after receiving the request message for uploading the service history information, the CAB server sends the request message for uploading to a storage server related to the CAB server;
the CAB server sends a request upload message to a storage server related to the CAB server, and the request upload message is used for activating the storage server, so that the storage server can prepare for receiving a service history record sent by a terminal.
103, the terminal sends the service history information to a storage server related to the CAB server through the CAB server, or the terminal directly sends the service history information to the storage server related to the CAB server; the storage server stores the service history information, and here, the storage may be performed according to the identifier of the terminal, the time when the service is generated, and the like, which are carried in the service history information.
And 104, the storage server notifies the CAB server and/or the terminal of completion of uploading the service history information, and further forms a notification message of new service history information on the storage server or the CAB server, wherein the notification message is used for notifying other terminals of the user to update the service history information.
In this embodiment, the call actively initiated or passively received by the terminal may be replaced by SMS, Multimedia Messaging Service (MMS), E-MAIL, EVVM, or the like.
Example two
Fig. 2 is a flowchart illustrating a second embodiment of the method for uploading service history information according to the present invention, which is a specific implementation method for periodically sending new service history information to a storage server associated with a CAB server by a terminal, and as shown in fig. 2, the method includes the following steps:
step 201, the terminal periodically checks whether new service history information is generated, when new service history information is generated in the period, the terminal sends a request message for uploading the service history information to the CAB server, and after receiving the request message for uploading the service history information, the CAB server sends the request message for uploading to a storage server related to the CAB server.
Step 202, the terminal sends new service history information to a storage server related to the CAB server through the CAB server, or the terminal directly sends the service history information to the storage server related to the CAB server; the storage server stores the service history information, and here, the storage may be performed according to the identifier of the terminal, the time when the service is generated, and the like, which are carried in the service history information.
Step 203, the storage server notifies the CAB server and/or the terminal that the service history information is completely uploaded, and further forms a notification message of new service history information on the storage server or the CAB server, where the notification message is used to notify other terminals of the user to update the service history information.
EXAMPLE III
In the communication system, there are many service nodes, for example, a service server of an SMSC, a server of a multimedia message, etc., and these service nodes can record service history information related to a terminal.
Fig. 3 is a flowchart illustrating a third embodiment of the method for uploading service history information according to the present invention, where when a new service is generated, a service node sends new service history information to a storage server associated with a CAB server, or a service node periodically sends new service history information to a storage server associated with a CAB server, as shown in fig. 3, the method includes the following steps:
step 301, a new service occurs between the terminal and the service node, and new service history information is generated.
Step 302, the service node sends a request message for uploading the service history information to the CAB server in time, or the service node periodically checks whether new service history information is generated, and sends a request message for uploading the service history information to the CAB server when new service history information is generated in the period;
after receiving the request message for uploading the service history information, the CAB server sends the request uploading message to a storage server related to the CAB server.
Step 303, the service node sends new service history information to a storage server related to the CAB server through the CAB server, or the service node directly sends the service history information to the storage server related to the CAB server; the storage server stores the service history information, and here, the storage may be performed according to the identifier of the terminal, the time when the service is generated, and the like, which are carried in the service history information.
Step 304, the storage server notifies the CAB server and/or the terminal and/or the service node that the uploading of the service history information is completed, and further forms a notification message of new service history information on the storage server or the CAB server, where the notification message is used to notify other terminals of the user to update the service history information.
Example four
Fig. 4 is a flowchart illustrating a fourth embodiment of the method for uploading service history information according to the present invention, and is a specific implementation method in which, when receiving a request message sent by a CAB server, a terminal or a service node sends new service history information to a storage server associated with the CAB server, as shown in fig. 4, the method includes the following steps:
step 401, the CAB server sends a message requesting for uploading service history information to the terminal, where the message may be periodically generated by the CAB server, or may be periodically generated by another terminal and sent to the CAB server, and if the message is periodically generated by the CAB server, the CAB server may periodically send the message requesting for uploading service history information to the terminal.
Step 402, after the terminal or the service node receives the message requesting to upload the service history information, the new service history information is sent to the storage server related to the CAB server through the CAB server.
Step 403, the storage server stores the service history information, where the service history information can be stored according to the identifier of the terminal, the time for generating the service, and the like carried in the service history information; and the storage server informs the CAB server and/or the terminal and/or the service node of finishing uploading the service history information, and further forms a new notification message of the service history information on the storage server or the CAB server, wherein the notification message is used for informing other terminals of the user of updating the service history information.
Based on the uploading method of the service history information, the invention also provides an updating method of the service history information, which comprises the following steps: when receiving a request updating message sent by a terminal or being triggered by an updating event, the CAB server sends the service history information or the acquiring address of the service history information to the terminal.
EXAMPLE five
Fig. 5 is a flowchart illustrating a first embodiment of a method for implementing update of service history information according to the present invention, and is a specific implementation method in which a CAB server sends service history information or an acquired address of the service history information to a terminal when receiving a request update message sent by the terminal, as shown in fig. 5, the method includes the following steps:
step 501, when a terminal wants to acquire service history information of other terminals, the terminal sends a message requesting for updating the service history information to a CAB server, where the message may carry an identifier of the terminal, and/or a time identifier, and/or a service identifier, and the like, and the message may be used as a condition for screening the service history information, and may also be null; the terminal may also send a request to update the service history information to the CAB server periodically.
Step 502, after receiving the message requesting to update the service history information, the CAB server forwards the message to the storage server related to the CAB server.
Step 503, the storage server screens the stored service history information according to the identifier of the terminal, and/or the time identifier, and/or the service identifier, etc. carried in the message requesting to update the service history information, and sends the screened service history information to the terminal through the CAB server; if the message requesting for updating the service history information does not carry any information, the storage server sends all the service history information to the terminal through the CAB server;
or, when the CAB server finds that the number of the service history information needing to be sent to the terminal is large, or the CAB server receives a message which is sent by a large number of terminals and requests to update the service history information, the CAB server directly sends the acquired addresses of the service history information to the plurality of terminals at the same time, and the terminals can directly acquire the service history information in the storage server according to the acquired addresses.
EXAMPLE six
Fig. 6 is a flowchart illustrating a second embodiment of the method for updating service history information according to the present invention, and is a specific implementation method in which the CAB server sends the service history information or the acquired address of the service history information to the terminal when triggered by an event, as shown in fig. 6, the method includes the following steps:
step 601, when the terminal subscribes to the update of the service history information of other terminals and the other terminals send new service history information to the CAB server, or when the update period is reached, the CAB server is triggered to send a message requesting to update the service history information to the storage server related to the CAB server.
Step 602, the storage server sends new service history information uploaded by other terminals to the terminal through the CAB server according to the message requesting to update the service history information;
or, when the CAB server finds that the number of the service history information required to be sent to the terminal is large, or the number of the terminals required to be sent is large, the CAB server directly sends the acquired addresses of the service history information to a plurality of terminals at the same time, and the terminals can directly acquire the service history information in the storage server according to the acquired addresses.
In order to implement the foregoing method, the present invention further provides a system for uploading service history information, fig. 7 is a schematic structural diagram of a first embodiment of the system for uploading service history information, and as shown in fig. 7, the system includes: a terminal 71, a storage server 72 related to the CAB server; wherein,
a terminal 71, configured to send new service history information to a storage server 72 related to the CAB server when a new service is generated or a request message sent by the CAB server is received;
or, the terminal 71 is configured to periodically send new service history information to the storage server 72 associated with the CAB server.
The CAB server-related storage server 72 is further configured to store the service history information and notify the CAB server and/or the terminal that the service history information uploading is completed.
Fig. 8 is a schematic structural diagram of a second embodiment of the system for uploading service history information according to the present invention, and as shown in fig. 8, the system includes: a service node 81, a storage server 82 associated with a CAB server; wherein,
a service node 81, configured to send new service history information to a storage server 82 related to the CAB server when a new service is generated or a request message sent by the CAB server is received;
or, the service node 81 is configured to periodically send new service history information to the storage server 82 associated with the CAB server.
The CAB server-related storage server 82 is further configured to store the service history information and notify the CAB server and/or the terminal and/or the service node that uploading the service history information is completed.
Fig. 9 is a schematic structural diagram of a system for updating service history information according to the present invention, and as shown in fig. 9, the system includes: CAB server 91, terminal 92; wherein,
the CAB server 91 is configured to send the service history information or the acquired address of the service history information to the terminal 92 when receiving a request update message sent by the terminal or when being triggered by an update event.
The system further comprises: a CAB-related storage server 93 for storing service history information;
the terminal 92 is further configured to directly obtain the service history information from the CAB-related storage server 93 according to the obtained address of the service history information.
The present invention also provides a terminal for transmitting new service history information to a storage server associated with a CAB server or for periodically transmitting new service history information to a storage server associated with a CAB server when a new service is generated or a request message transmitted from the CAB server is received.
The invention also provides a terminal, which is used for receiving the service history information or the acquisition address of the service history information sent by the CAB server.
And the terminal is also used for directly acquiring the service history information from the CAB-related storage server according to the acquisition address of the service history information.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.