HK1193269A - Client, server and method of instant messaging - Google Patents
Client, server and method of instant messaging Download PDFInfo
- Publication number
- HK1193269A HK1193269A HK14106577.2A HK14106577A HK1193269A HK 1193269 A HK1193269 A HK 1193269A HK 14106577 A HK14106577 A HK 14106577A HK 1193269 A HK1193269 A HK 1193269A
- Authority
- HK
- Hong Kong
- Prior art keywords
- state information
- transaction state
- transaction
- instant messaging
- client
- Prior art date
Links
Description
Technical Field
The present application relates to the field of instant messaging technologies, and in particular, to an instant messaging client, an instant messaging server, and an instant messaging method.
Background
Instant Messaging (IM) technology is increasingly used in electronic commerce. It has gradually expanded from previous entertainment chat, file transfer tools to communication tools indispensable in e-commerce transactions. In order to increase the convenience of the online transaction process, two transaction parties communicate through instant messaging software installed on a client.
As the number of transactions increases, the seller may not remember the change of the transaction status of each seller, and in order to better communicate with the buyer user, the seller usually needs to know the transaction status information of the currently accessed buyer user first, and accurately and timely communicate with the buyer user according to the transaction status information. The transaction state information generally changes as the transaction progresses. For example, an order for a transaction typically includes a seller user ID, a buyer user ID, merchandise information, an order number, etc., and transaction status information typically includes the following processes: taken → paid → shipped → received → evaluated, etc. In the process of trading, the corresponding trading state changes continuously along with the change of orders. This information is typically recorded in a transaction server of the e-commerce web site.
In the prior art, if a seller user wants to obtain transaction status information of an order, the seller user must log in a transaction server corresponding to an e-commerce website of a web end to query the transaction status information. This results in frequent switching between the instant messaging software on the client side and the e-commerce website on the web side by the user of the seller during the instant messaging process. Especially, when the seller user has a large promotion activity, a lot of buyer users may be accessed within a short time, and the seller users need to switch more frequently, which not only increases the access burden of the transaction server and the instant messaging server, but also greatly reduces the work efficiency of the seller users.
In summary, one of the technical problems that needs to be urgently solved by those skilled in the art is: how to reduce the access burden of the instant messaging server, improve the instant messaging efficiency and improve the use experience of the instant messaging user.
Disclosure of Invention
An object of the present application is to provide an instant messaging method, an instant messaging client and an instant messaging server, so as to reduce the access burden of the instant messaging server, improve the instant messaging efficiency, and improve the use experience of the instant messaging user.
In order to solve the above problem, the present application discloses an instant messaging method, including:
the client sends a corresponding transaction state information query request aiming at the access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
receiving the transaction state information returned according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
Preferably, the client sends a corresponding transaction status information query request for the access contact, including:
the client sends a corresponding transaction state information query request to the instant messaging server aiming at the access contact;
the receiving the transaction state information returned according to the transaction state information inquiry request comprises:
receiving the transaction state information returned by the instant messaging server according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database of the instant messaging server or the transaction server according to the ID of the client user and the ID of the access contact person.
Preferably, the client sends a corresponding transaction status information query request for the access contact, including:
the client sends a corresponding transaction state information query request to the transaction server aiming at the access contact;
the receiving the transaction state information returned according to the transaction state information inquiry request comprises:
receiving transaction state information returned by the transaction server according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database of the transaction server side according to the ID of the client user and the ID of the access contact person.
Preferably, the method further comprises:
the received transaction state information is displayed immediately; alternatively, the first and second electrodes may be,
and displaying the received transaction state information according to the relevant operation of the client user aiming at the access contact.
Preferably, the method further comprises:
and adjusting the sequence of the corresponding access contact in the instant messaging window according to the transaction state information.
Preferably, the method further comprises:
recording a transaction state information query request of an access contact person to a request database;
and sending the transaction state information query requests in the request database according to the sequence of the transaction state information query requests in the request database.
Preferably, the method further comprises:
and adjusting the sequence of the transaction state information query requests in the request database according to the received transaction state information pushed by the transaction server or the instant messaging server.
Preferably, the method further comprises:
the instant communication client sends a corresponding transaction state information query request aiming at the contact persons in the contact person list of the instant communication window.
Preferably, the client user is a seller user of the online transaction, and the access contact is a buyer user of the online transaction.
On the other hand, the application also discloses an instant messaging method, which comprises the following steps:
receiving a transaction state information query request from an instant messaging client, wherein the transaction state information is the transaction state information between a client user and an access contact person, and the transaction state information query request carries an ID of the client user and an ID of the access contact person;
inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person to obtain transaction state information;
and returning the inquired transaction state information to the instant messaging client.
Preferably, the step of querying in the transaction status database according to the ID of the client user and the ID of the access contact to obtain the transaction status information further includes:
forwarding the received transaction state information query request to a transaction server;
and receiving corresponding transaction state information which is obtained by querying in a transaction state database by the transaction server according to the ID of the client user and the ID of the access contact carried in the transaction state information query request.
Preferably, the step of querying in the transaction status database according to the ID of the client user and the ID of the access contact to obtain the transaction status information further includes:
and inquiring to obtain corresponding transaction state information in a transaction state database of the instant messaging server according to the ID of the client user and the ID of the access contact.
Preferably, the transaction state database of the instant messaging server is obtained by the following steps:
the instant communication server sends an information query request to the transaction server; the information query request carries the ID of the seller user;
receiving transaction state information returned by the transaction server according to the information query request;
and storing the transaction state information, the ID of the corresponding seller user and the ID of the buyer user into a transaction state database of the instant messaging server.
Preferably, the method further comprises:
a step of pushing transaction state information:
monitoring whether the transaction state information changes;
when the change of the transaction state information is monitored, determining the ID of the corresponding client user according to the changed transaction state information;
and pushing the transaction state information to the client corresponding to the ID of the client user.
On the other hand, the application also discloses an instant messaging client, comprising:
the sending module is used for sending a corresponding transaction state information inquiry request aiming at the access contact person; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person; and
the receiving module is used for receiving the transaction state information returned according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
On the other hand, the application also discloses an instant messaging server, comprising:
the system comprises a request receiving module, a transaction state information query module and a transaction state information query module, wherein the request receiving module is used for receiving a transaction state information query request from an instant messaging client, the transaction state information is transaction state information between a client user and an access contact person, and the transaction state information query request carries an ID of the client user and an ID of the access contact person;
the query module is used for querying the transaction state database according to the ID of the client user and the ID of the access contact person to obtain transaction state information; and
and the returning module is used for returning the inquired transaction state information to the instant communication client.
Compared with the prior art, the method has the following advantages:
the method comprises the steps that a corresponding transaction state information query request is sent aiming at an access contact person, the transaction state information is the transaction state information between a client user and the access contact person, and the transaction state information returned according to the transaction state information query request is received; compared with the prior art, in the instant messaging process, a seller user needs to frequently switch between instant messaging software of a client and an e-commerce website of a web end to inquire transaction state information for communication, and the problems of unsmooth communication and low communication efficiency are easy to occur; the transaction state information is inquired and obtained in the transaction state database according to the ID of the client user and the ID of the access contact person carried in the transaction state information inquiry request, so that the frequent switching can be avoided, and the access burden of a transaction server and an instant messaging server can be reduced; moreover, for the seller users of online transaction, communication and transaction state information can be acquired in the same instant messaging entrance, so that the instant messaging speed can be increased, the communication fluency can be increased, and the waiting time can be reduced from the point of view of the buyer; in a word, the instant messaging time can be greatly reduced, the instant messaging efficiency can be improved, and the use experience of an instant messaging user can be improved.
Drawings
Fig. 1 is a flowchart of a first embodiment of a communication method on an instant messaging client side according to the present application;
fig. 2 is a flowchart of a second embodiment of a communication method on an instant messaging client side according to the present application;
fig. 3 is a flowchart of a third embodiment of a communication method on an instant messaging client side according to the present application;
fig. 4 is a flowchart of a fourth embodiment of a communication method on an instant messaging client side according to the present application;
FIG. 5 is a schematic diagram of example 1 of an instant messenger window of the present application;
FIG. 6 is a schematic diagram of example 2 of an instant messenger window according to the present application;
FIG. 7 is a schematic diagram of example 3 of an instant messenger window according to the present application;
FIG. 8 is an example of the present application illustrating the transaction status information in the form of an icon;
fig. 9 is a flowchart of a fifth embodiment of a communication method on an instant messaging client side according to the present application;
fig. 10 is a flowchart of a sixth embodiment of a communication method on an instant messaging client side according to the present application;
fig. 11 is a flowchart of a seventh embodiment of a communication method on an instant messaging client side according to the present application;
fig. 12 is a flowchart illustrating an embodiment of an instant messaging method at an instant messaging server side according to the present application;
FIG. 13 is a block diagram of an embodiment of an instant messaging client of the present application;
fig. 14 is a block diagram of an embodiment of an instant messaging server according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
In the process of online transaction through instant messaging tools, communication between transaction parties and generation of transaction state information are often indispensable parts. Currently, for seller users of transactions, the communication between two transaction parties and the query of transaction status information are in different entries, the former is an instant messaging server, and the latter is a transaction server. Therefore, a complete online transaction process often requires frequent switching between the instant messaging client and the transaction server by the seller user, which not only increases the access burden of the transaction server and the instant messaging server, but also reduces the instant messaging efficiency, and seriously affects the use experience of the instant messaging user.
Aiming at the technical problems, the embodiment of the application improves the existing instant messaging technology, and sends a corresponding transaction state information query request aiming at an access contact person; receiving the transaction state information returned according to the transaction state information inquiry request; the method and the system have the advantages that on the basis of the original communication function, the transaction state information is inquired according to the access contact person, so that for the seller user, communication and acquisition of the transaction state information can be carried out in the same entrance, the instant communication speed is improved, frequent access is not needed, the access burden of an instant communication server is reduced, and the waiting time is reduced from the point of view of a buyer; in a word, the instant messaging time can be greatly reduced, the instant messaging efficiency can be improved, and the use experience of an instant messaging user can be improved.
The communication method of the instant messaging client side is explained in detail below.
Example one
Referring to fig. 1, a flowchart of a first communication method of an instant messaging client side according to an embodiment of the present application is shown, which may specifically include:
step 101, an instant communication client sends a corresponding transaction state information query request aiming at an access contact person; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
in an embodiment of the present application, the access contact may be a buyer user of an online transaction, and the client user may be a seller user of the online transaction. The access contact is a contact establishing instant communication connection with the client user. The general manner of establishing a communication connection may include: the connection established between the buyer user and the seller user, such as the communication connection established between the buyer user and the seller user for consulting the commodity information of the seller or the transaction state information of the transaction with the seller user; or the connection between the seller user and the buyer, such as communication of merchandise information and advertisement information.
The method for establishing the instant communication connection may further include: the client user and at least one party accessing the contact person establish an instant communication window. The access contact corresponding to this method mainly includes two situations: one is that the access contact exists in the client user's contact list; the other is that the access contact is not in the contact list of the client user, but the instant messaging window of the corresponding client user and the access contact is opened. In practice, a contact list may be employed to record the access contacts in the instant messaging window. It can be understood that if the client user closes the instant messaging window of a certain access contact or deletes a certain access contact from the contact list, the corresponding access contact is considered not to be in the contact list; alternatively, if the client user opens an instant messaging window for a contact to add or add the contact to the contact list, the corresponding contact may be considered to be present in the contact list.
The instant messaging client can send a corresponding transaction state information query request aiming at the access contact. In practice, the transaction status information query request may carry information such as the seller user ID (identity), the buyer user ID, etc., but the seller user ID and the buyer user ID are not limited to the application of the information carried in the transaction status information query request.
102, the instant communication client receives the transaction state information returned according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
The embodiment of the application can be used in various online transaction processes for providing a communication function and a transaction state information acquisition function, the embodiment of the application takes the online transaction process of Taobao instant messaging as an example for description, and the transaction state information of other transaction processes can be referred to each other.
For example, in an online transaction process of panning, transaction state information generated by a web side is constantly changed, and it is assumed that the change process of the transaction state information includes: taken → paid → shipped → received → evaluated, etc., the corresponding description is as follows:
a1, the buyer user (access contact person) enters the instant communication window from the commodity page of the web end to consult a commodity, at this time, because no transaction occurs, the transaction state database has no transaction data of the ID of the shop owner and the ID of the access contact person, so there is no corresponding transaction state information;
a2, when the buyer user takes the commodity, the taken transaction information is sent to the transaction status database, and the transaction data of the ID of the store owner and the ID of the access contact are recorded in the transaction status database, at this time, the corresponding transaction status information is taken;
a3, after the commodity is taken down, if the buyer user makes payment, the 'paid' transaction information will be sent to the transaction status database and recorded, and the corresponding transaction status information becomes 'paid';
a4, after the buyer user pays, if the seller user's customer service or warehouse has delivered goods for the buyer user, the transaction information of "delivered goods" will be sent to the transaction status database and recorded, and the corresponding transaction status information becomes "delivered goods";
a5, after the seller user delivers goods, if the buyer user receives goods and confirms the goods on the web end, the transaction information of the confirmed goods will be sent to the transaction state database and recorded, and the corresponding transaction state information becomes the confirmed goods;
a6, after the buyer user confirms the delivery, if the buyer user evaluates on the web side, the transaction information of "buyer evaluated" will be sent to the transaction status database and recorded, and the corresponding transaction status information becomes "buyer evaluated";
a7, after the evaluation by the buyer user, if the seller user also evaluates, the transaction information "both parties have evaluated" is sent to the transaction status database and recorded, and the corresponding transaction status information becomes "both parties have evaluated".
The evaluation orders of the above-described a6 and a7 buyer users and seller users may be interchanged.
The instant messaging client can trigger a transaction state information query request of the corresponding access contact person after the access contact person is obtained. For example, in step a1, the buyer user enters the instant messaging window of the client user (here, the client user may be a shop owner or a shop customer service) from the web page to consult a product; at this time, because the buyer user has established an instant communication connection with the client user, the buyer user can be used as an access contact person, and trigger a corresponding transaction state information query request, and the transaction state information query request carries the merchant ID and the access contact person ID, so as to query the transaction state information between the merchant and the access contact person in the transaction state database.
In the process of instant messaging, the seller user can quickly judge the transaction state information between the seller user and the buyer user according to the transaction state information acquired by the instant messaging client, so that the operation of logging in a web terminal to inquire the transaction state information can be saved, and the instant messaging efficiency can be effectively improved.
Compared with the prior art, in the instant messaging process, a seller user needs to frequently switch between instant messaging software of a client and an e-commerce website of a web end to inquire transaction state information for communication, and the problems of unsmooth communication or low efficiency are easy to occur; the transaction state information can be obtained by inquiring in the transaction state database according to the ID of the client user and the ID of the access contact person carried in the transaction state information inquiry request, so that the frequent switching can be avoided, and the access burden of a transaction server and an instant messaging server can be reduced; moreover, for the seller users of online transaction, communication and acquisition of transaction state information can be carried out in the same instant messaging entrance, so that the seller users can distinguish different seller users according to the transaction state information, and the instant messaging speed and smoothness can be improved; from the point of view of the buyer, the waiting time in the instant messaging is reduced; in a word, the instant messaging time can be greatly reduced, the instant messaging efficiency can be improved, and the use experience of an instant messaging user can be improved.
Example two
Referring to fig. 2, a flowchart of a second communication method embodiment of the instant messaging client side according to the present application is shown, which may specifically include:
step 201, an instant communication client sends a corresponding transaction state information query request to a transaction server aiming at an access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
202, the instant communication client receives the transaction state information returned by the transaction server according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database of the transaction server side according to the ID of the client user and the ID of the access contact person.
Since the transaction status information is usually recorded in the transaction status database of the transaction server of the e-commerce website, the recording may further include: the seller user ID, the buyer user ID, the commodity information, the order number, the occurrence time of the transaction state information, and the like, so the transmission scheme 1 transmits a transaction state information inquiry request to the transaction server.
In the second embodiment, step 201 sends a corresponding transaction state information query request to the transaction server for the access contact; the transaction server can query in a transaction state database according to the ID of the client user and the ID of the access contact person to obtain corresponding transaction state information and return the corresponding transaction state information; the step 202 may receive the transaction status information returned by the transaction server according to the transaction status information query request.
It should be noted that the transaction state information recorded in the transaction state database of the transaction server side is constantly changed according to the difference of the received transaction state information, and therefore, the queried transaction state information and the transaction state information received by the instant messaging client side may also be constantly changed.
EXAMPLE III
Referring to fig. 3, which shows a flowchart of a third embodiment of a communication method at an instant messaging client side in the present application, specifically, the method may include:
301, the instant communication client sends a corresponding transaction state information query request to an instant communication server aiming at an access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
step 302, the instant communication client receives the transaction state information returned by the instant communication server according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database of the instant messaging server or the transaction server according to the ID of the client user and the ID of the access contact person.
Compared with the embodiment in which a transaction state information query request is sent to a transaction server, the third embodiment may send a transaction state information query request to an instant messaging server, and a corresponding implementation scheme may specifically include:
in step 301, a corresponding transaction state information query request may be sent to the instant messaging server for the access contact;
in step 302, the transaction status information returned by the instant messaging server according to the transaction status information query request may be received.
In the third embodiment, the instant messaging server queries the transaction state information in the transaction state database according to the ID of the client user and the ID of the access contact carried in the transaction state information query request, so that the instant messaging server can provide a query scheme of the instant messaging server:
query scheme A1,
The instant communication server forwards the received transaction state information query request to the transaction server, and the transaction server queries in a transaction state database according to the ID of the client user and the ID of the access contact carried in the transaction state information query request to obtain corresponding transaction state information and returns the corresponding transaction state information.
It can be seen that the transaction state database in query scenario a1 is located on the transaction server side.
Query scheme A2,
In contrast to the transaction state database in the query scheme a1 being located at the transaction server side, the instant messaging server side in the processing scheme may also be provided with the transaction state database. The transaction status database of the instant messaging server can be used for storing the ID of the seller user, the ID of the buyer user and corresponding transaction status information.
The scheme for acquiring the transaction state database of the instant messaging server terminal can specifically comprise the following steps: the instant communication server can send information inquiry requests to the transaction server periodically; receiving transaction state information returned by the transaction server according to the information query request; and storing the transaction state information, the ID of the corresponding seller user and the ID of the buyer user into a transaction state database of the instant messaging server. The periodic period may be daily, hourly, every 10 minutes, etc., and the application is not limited to a particular period.
In a specific implementation, the information query request may only carry an ID of the seller user, and the transaction status information returned by the transaction server at this time may include the transaction status information of the ID of the seller user and the ID of each buyer user. It can be understood that the information query request may further carry an ID of the seller user and an ID of the buyer user, and the transaction status information returned by the transaction server may include the transaction status information of the ID of the seller user and the ID of the buyer user.
The implementation process of the query plan a2 may specifically include: and inquiring to obtain corresponding transaction state information in a transaction state database of the instant messaging server according to the ID of the client user and the ID of the access contact carried in the received transaction state information inquiry request.
It is understood that one skilled in the art may use either of the above query approach A1 or query approach A2; the query scheme a1 and the query scheme a2 may also be used in combination, for example, when the query scheme a2 fails, the query scheme a1 may be used to perform the query of the transaction status information.
Example four
Referring to fig. 4, which shows a flowchart of a fourth communication method embodiment of the instant messaging client side according to the present application, specifically, the method may include:
step 401, the instant communication client sends a corresponding transaction state information query request to an access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
step 402, the instant communication client receives the transaction state information returned according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person;
step 403, immediately displaying the received transaction state information; or displaying the received transaction state information according to the relevant operation of the client user for accessing the contact person.
The display of the received transaction state information in the fourth embodiment can be more convenient for the client user to distinguish different access contacts according to the displayed transaction state information, thereby improving the instant messaging efficiency.
In a specific implementation, the instant display may be to receive the transaction state information and immediately display the transaction state information; the relevant operation of the client user for accessing the contact may include an operation for a contact in an instant messaging window or a contact in a contact list, and the like, and the relevant operation may be generated by an operation of a mouse, a keyboard, a touch, and the like of the user.
The application can provide a scheme for displaying the transaction state information as follows:
exhibit variant 1
If a seller user has a large promotion activity, a plurality of contacts can be accessed within a short time, if the instant messaging tool in the prior art is used, the seller user has difficulty in distinguishing the transaction progress of the accessed contacts, even if the seller user queries the transaction state information of the accessed contacts from the web end, the transaction state information is difficult to be signed up with a plurality of accessed contacts, in this case, the seller user does not know how to communicate with the plurality of accessed contacts, and the instant messaging efficiency is seriously influenced.
In view of the above situation, the display scheme 1 may display the transaction state information in the contact list of the instant messaging window in the area of the corresponding contact.
Referring to fig. 5, an example 1 of an instant messenger window of the present application is shown, which may specifically include a contact list further including a contact area further including contact identifications (contacts 1, 2, 3, etc.) and corresponding transaction status information and a chat window; the contact list can be seen all the time, and when a certain contact area is clicked, the contact list can be switched to a corresponding contact window.
According to the example of fig. 5, even if there are many access contacts, the contact list can correspondingly present the contacts and corresponding transaction status information in the contact area. That is, the display scheme 2 can clearly display the transaction state information in the area of the corresponding contact person, so that the time for the client user to access the contact person to check the number can be saved, and the instant communication time is greatly saved.
Presentation protocol 2
The presentation scheme 2 may present the transaction status information in a contact description area of an instant messaging window.
Referring to fig. 6, which shows an example 2 of an instant messaging window of the present application, which may specifically include a contact list further including a contact area further including contact identifications (contacts 1, 2, 3, etc.), a chat window, and a contact description area that may further include presented transaction status information; the contact list is always visible, and when a certain contact area is clicked, the contact list can be switched to a corresponding contact window and a corresponding contact description area.
According to the example of fig. 6, even if there are many access contacts, if the user wants to view the transaction status information between a certain contact, the user can switch to the corresponding contact window and the corresponding contact description area by clicking the corresponding contact area, and then distinguish the transaction status information displayed in the contact description area.
It is understood that presentation scheme 1 and presentation scheme 2 can be used in combination. For example, referring to fig. 7, which shows an example 3 of an instant messaging window of the present application, which may specifically include a contact list further including a contact area further including contact identifications (contacts 1, 2, 3, etc.) and corresponding transaction status information, a chat window, and a contact description area further including presented transaction status information; the contact list can be seen all the time, and when a certain contact area is clicked, the contact list can be switched to a corresponding contact window and a corresponding contact description area.
Presentation protocol 3
The display scheme 3 may display the transaction state information in an icon form, where different transaction state information corresponds to different icons.
An icon (icon) is a format of an icon that can be used for system icons, software icons, etc., with such icon extensions being called icon, ico. Referring to FIG. 8, an example of the present application illustrating the transaction status information in the form of icons is shown, wherein "taken", "paid" and "shipped" correspond to different icons.
The icons in the embodiments of the present application are used to distinguish different transaction status information, and similar implementations can also be provided in the present application, for example, different transaction status information can also be distinguished according to different colors. Such as yellow for "taken," green for "paid," blue for "shipped," etc. The specific display form of the transaction state information is not distinguished.
In a preferred embodiment of the present application, the step of displaying the transaction status information by the instant messaging client may further include:
when a user operates to enter the surrounding area of the icon, the text information of the icon is displayed, when the user operates to move out of the surrounding area of the icon, the text information of the icon disappears, the user operation specifically comprises the operations of a mouse, a keyboard, touch and the like of the user, and the specific user operation is not limited by the application.
EXAMPLE five
Referring to fig. 9, which shows a flowchart of a fifth embodiment of a communication method on an instant messaging client side according to the present application, specifically, the method may include:
step 901, the instant messaging client sends a corresponding transaction state information query request aiming at an access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
step 902, the instant communication client receives the transaction state information returned according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person;
step 903, the instant messaging client adjusts the order of the corresponding access contacts in the instant messaging window according to the transaction state information.
According to the example of fig. 5, assuming that the instant messaging client accesses 100 contacts in a short time, the 100 contacts in the contact list may be ordered by default according to the access time, and the order of the corresponding access contacts in the instant messaging window is subsequently adjusted according to the transaction status information. Therefore, the client user can take the sequence of the access contacts in the instant messaging window as the priority of instant messaging processing, and the instant messaging efficiency can be further improved.
In one example application of the present application, the transaction status information may also be prioritized, where access contacts with high priority are ranked ahead of access contacts with low priority. For example, the priority of one type of transaction state information is in order from high to low: evaluated > confirmed receipt > shipped > paid > taken > no transaction status information was taken, wherein no transaction status information indicates that no transaction status information was received for the corresponding access contact.
In a word, the fifth embodiment adjusts the order of the corresponding access contacts in the instant messaging window according to the transaction state information, and can arrange the access contacts with fast transaction state information change in front, so that the client user can distinguish different access contacts more easily, and can preferentially process the information of the access contacts arranged in front, thereby improving the efficiency of instant messaging.
EXAMPLE six
Referring to fig. 10, which shows a flowchart of a sixth embodiment of a communication method on an instant messaging client side according to the present application, specifically, the method may include:
1001, an instant communication client records a transaction state information query request of an access contact person to a request queue; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
step 1002, sending the transaction state information query requests in the request queue according to the sequence of the transaction state information query requests in the request queue;
step 1003, receiving the transaction state information returned according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
If a seller user has a large promotion activity, a plurality of contacts can be accessed within a short time, and if a corresponding transaction state information query request is sent to a transaction server or an instant messaging server immediately after one contact is accessed, pressure is easily generated on the transaction server or the instant messaging server, query efficiency is affected, and access pressure is also generated on a communication client.
In order to avoid the access and query pressure of the instant messaging client and the transaction server or the instant messaging server, in a sixth embodiment, the instant messaging client records the transaction state information query request of the access contact person in a request queue manner, and in practice, the request speed can be delayed by controlling the speed of acquiring the transaction state information query request from the request database. For example, the speed of obtaining the transaction status information query request from the request database may be once every 30 seconds, and so on.
In practical application, an array, a queue, a stack, a linked list and the like can be used as the request database of the application, and the application does not limit the specific request database. For example, when a first-in first-out queue is adopted, when a contact is newly accessed, a transaction state information query request can be newly created and put at the tail of the queue through an enqueue operation; and deleting the transaction state information query request at the head of the queue from the queue through dequeuing operation, and sending the transaction state information query request to a transaction server or an instant messaging server.
The request database can determine the request sequence of the transaction state information query request of the contact in the transaction state information query requests of a plurality of access contacts according to the access time of the contact. In fact, the above method of determining the order of requests according to the access time of the contact is not necessarily objective, because some prior access contacts are only in the inquiry phase of the transaction, and whether the transaction is not determined yet.
In order to determine the request sequence more objectively and accurately, in a preferred embodiment of the present application, the sequence of the transaction state information query request in the request database may be further adjusted according to the received transaction state information pushed by the transaction server or the instant messaging server.
Assuming that the communication client accesses 200 contacts, the instant communication client enqueues the transaction state information query requests of the 200 contacts one by one according to the access sequence, and assuming that the enqueue sequence is contact 1, contact 2, contact 3, … …, contact 100, and contact … …, contact 200; assuming that the instant messenger client has just sent a request for the contact 20 and the request for the contact 21-200 has not yet been sent, but the instant messenger server has monitored that the transaction status information of the client user and the contact 100 changes (for example, the contact 100 has taken a certain item to wait for payment), the instant messenger server may actively push the transaction status information of the contact 100.
In the preferred embodiment, if the transaction server or the instant messaging server actively pushes the transaction state information, it can be said that the urgency of acquiring the transaction state information of the corresponding contact is relatively high, so that the sequence of the corresponding transaction state information query request in the request database can be adjusted forward. For example, if the transaction status information of the client user and the contact 100 is "taken" at present, the client user needs to communicate with the contact 100 about the items such as the merchandise information and the price information, and at this time, the sequence of the corresponding transaction status information query request in the request database is adjusted forward, so that the next transaction status information such as "paid" can be received in time.
It can be understood that when the client user closes the instant messaging window of a certain access contact or deletes a certain access contact from the contact list, the corresponding access contact is considered not to be in the contact list; therefore, the transaction state information query request of the corresponding access contact can be deleted in the request database at this time. In fact, other methods of updating the request database are possible, and the application is not limited to a particular updating method.
EXAMPLE seven
Referring to fig. 11, which shows a flowchart of a seventh embodiment of a communication method on an instant messaging client side according to the present application, specifically, the method may include:
step 1101, the instant messaging client sends a corresponding transaction state information query request aiming at the contact persons in the contact person list of the instant messaging window; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
step 1102, receiving the transaction state information returned according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
If the instant communication client breaks the network and breaks the line midway and the account is kicked off, the instant communication client saves the received transaction state information of the corresponding contact in the memory; after logging in again, the display may be performed directly.
For the situation that the sent transaction state information query request still does not receive the transaction state information returned by the transaction server or the instant messaging server, the transaction state information can be pushed by the transaction server or the instant messaging server in an off-line message mode. However, since the technical problem to be solved by the present application is mainly to improve the efficiency of instant messaging, the offline pushing of the transaction status information is of little significance, and when the number of the transaction status information query requests is large, the offline pushing also increases the pressure of the transaction server or the instant messaging server.
Therefore, if an offline pushing mode is not adopted, the transaction message pushed by the instant messaging server cannot be received after the instant messaging client is disconnected in midway and the account is logged in again after being kicked off. At this time, if the instant messaging client resends the transaction status information query request together, a great deal of pressure is still exerted on the transaction server or the instant messaging server under the condition that a great deal of users drop lines and all the users make re-requests after logging on again.
In view of the above situation, in order to reduce the pressure of the transaction server or the instant messaging server, in a seventh embodiment, after re-login, the transaction state information query request before the account is kicked off due to network disconnection in the midway is not re-sent, but a contact in the contact list of the instant messaging window is selected to request.
For example, before the network is disconnected in midway and the account is kicked off, the instant messaging client sends a transaction state information query request to the contacts 1, 2, 3, 10, 40 and 56, but does not receive corresponding transaction state information; if the client user wants to check the transaction status information of the contact 3 and the contact 56 after re-login, the contact 3 and the contact 56 can be added to the contact list of the instant messaging window by clicking, and the embodiment can resend the corresponding transaction status information query request for the contact 3 and the contact 56. In contrast to the embodiment in which a transaction state information query request is sent to an access contact, the embodiment sends a corresponding transaction state information query request to a contact in a contact list of an instant messaging window.
It should be noted that, in the embodiment of the present application, the change of the transaction state information in the online transaction process is mainly described by taking the transaction state of the Taobao as an example, but the transaction state of the Taobao is not limited to be used in the present application, and in fact, the present application may be applied to any transaction state information of any e-commerce website.
In the above embodiment, the instant messaging client sends a corresponding transaction state information query request for the access contact, and receives the transaction state information returned according to the transaction state information query request. It should be noted that, in some embodiments of the present application, the instant messaging client may also receive transaction status information pushed by the transaction server or the instant messaging server. In a specific implementation, the transaction server or the instant messaging server may monitor the transaction state information of the client user and the contact person, and if the transaction state information changes, the transaction state information of the corresponding contact person may be actively pushed.
The active push here may not be triggered by a transaction state information query request. Suppose that even if the communication client has access to 200 contacts; assuming that the communication client just sends a request for the contact 20 at this time, and the request of the contact 21-contact 200 is not sent yet, but the instant messaging server monitors that the transaction status information of the client user and the contact 100 changes (for example, the contact 100 has taken a certain item to wait for payment), the instant messaging server may actively push the transaction status information of the contact 100.
In a specific implementation, the instant messaging client may only present the corresponding transaction state information query request for the access contact. For example, suppose that the instant messaging client currently has 20 access contacts, so that even in the case that the instant messaging server actively pushes the transaction status information of 100 contacts, the instant messaging client may not display the transaction status information of the remaining 80 contacts, but only display the transaction status information of the 20 access contacts.
In addition, aiming at the access contact person, the instant communication client can only send a transaction state information query request once. When a transaction state information query request from an instant messaging client is received, once the change of the transaction state information of a client user and a contact is detected, the transaction server or the instant messaging server can continuously return the latest transaction state information.
In a word, the instant messaging client can effectively utilize the interactive data with the instant messaging server or the transaction server as far as possible while paying attention to the experience of the instant messaging user, and reduce the burden of the instant messaging server or the transaction server as far as possible; more importantly, the client user can distinguish different access contacts according to the acquired transaction state information, and can determine the priority and the urgency degree of communication with the access contacts, so that the communication time can be greatly reduced, and the efficiency of instant messaging can be improved.
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 first to seventh embodiments, the execution subject of each step is not limited to the instant messaging client, and in fact, a device with a communication function is feasible as the execution subject.
Also, as is readily contemplated by those skilled in the art: any combination of the first embodiment and the seventh embodiment is feasible, so that any combination of the first embodiment and the seventh embodiment is an embodiment of the present invention, but the present disclosure is not detailed herein for reasons of space limitation.
The communication method on the instant messaging client side is described in detail above, and accordingly, the present application further provides an embodiment of a communication method on the instant messaging server side, where referring to the flowchart shown in fig. 12, the method specifically includes:
step 1201, an instant messaging server receives a transaction state information query request from an instant messaging client, wherein the transaction state information is transaction state information between a client user and an access contact person, and the transaction state information query request carries an ID of the client user and an ID of the access contact person;
step 1202, the instant communication server queries in a transaction state database according to the ID of the client user and the ID of the access contact person to obtain transaction state information;
step 1203, the instant messaging server returns the queried transaction state information to the instant messaging client.
In the embodiment of the application, the instant messaging server can obtain the transaction state information by inquiring in the transaction state database according to the ID of the client user and the ID of the access contact person carried in the transaction state information inquiry request.
The application can provide the following query scheme of the instant messaging server:
query scheme B1,
And the instant communication server forwards the received transaction state information query request to the transaction server, and receives corresponding transaction state information obtained by querying the transaction server in a transaction state database according to the ID of the client user and the ID of the access contact carried in the transaction state information query request.
It can be seen that the transaction state database in query scenario B1 is located on the transaction server side.
Query scheme B2,
In contrast to the transaction status database in the query solution B1 being located at the transaction server, the instant messaging server in the query solution B2 may also be configured with the transaction status database. The transaction status database of the instant messaging server can be used for storing the ID of the seller user, the ID of the buyer user and corresponding transaction status information.
The scheme for acquiring the transaction state database of the instant messaging server terminal can specifically comprise the following steps: the instant communication server can send an information inquiry request to the transaction server; receiving transaction state information returned by the transaction server according to the information query request; and storing the transaction state information, the ID of the corresponding seller user and the ID of the buyer user into a transaction state database of the instant messaging server. In practical applications, the instant messaging server may send the information query request to the transaction server at regular intervals, where the regular intervals may be daily, hourly, every 10 minutes, and the like, and the application does not limit the specific period.
In a specific implementation, the information query request may only carry an ID of the seller user, and the transaction status information returned by the transaction server at this time may include the transaction status information of the ID of the seller user and the ID of each buyer user. It can be understood that the information query request may further carry an ID of the seller user and an ID of the buyer user, and the transaction status information returned by the transaction server may include the transaction status information of the ID of the seller user and the ID of the buyer user.
The implementation process of the query scheme B2 may specifically include: and inquiring to obtain corresponding transaction state information in a transaction state database of the instant messaging server according to the ID of the client user and the ID of the access contact carried in the received transaction state information inquiry request.
It is understood that one skilled in the art may use query B1 or query B2, described above, alone; the query scheme B1 and the query scheme B2 may also be used in combination, for example, when the query scheme B2 fails, the query scheme B1 may be used to perform the query of the transaction status information.
In a preferred embodiment of the present application, the method may further include: the step of pushing transaction state information may specifically include:
monitoring whether the transaction state information changes;
when the change of the transaction state information is monitored, determining the ID of the corresponding client user according to the changed transaction state information;
and pushing the transaction state information to the client corresponding to the ID of the client user.
In the preferred embodiment, a corresponding transaction state information query request may be constructed for a logged-in client user, where the constructed transaction state information query request may carry an ID of the client user, and then the transaction state information between the client user and the access contact may be obtained through querying using one or more of the query scheme B1 and the query scheme B2.
In another preferred embodiment of the present application, the method may further include:
monitoring the connection state with the instant communication client;
and when the connection disconnection with the instant messaging client is monitored, stopping returning or pushing the transaction state information to the corresponding instant messaging client.
If the instant communication client breaks the network and breaks the line midway and the account number is kicked off, the transaction state information can be pushed by the instant communication server in an off-line message mode for the condition that the sent transaction state information query request still does not receive the transaction state information returned by the instant communication server. However, since the technical problem to be solved by the present application is mainly to improve the efficiency of instant messaging, the offline pushing of the transaction state information is of little significance, and when the number of the transaction state information query requests is large, the offline pushing also increases the pressure of the instant messaging server. Therefore, in order to reduce the pressure of the server, when the disconnection of the instant messaging client is monitored, the data can be stopped from being returned to the corresponding instant messaging client.
In the embodiment of the communication method on the instant messaging server side, the execution subject of each step is not limited to the browser server, and actually, a server corresponding to a device with a communication function is feasible as the execution subject.
In addition, for the embodiment of the communication method at the instant messaging server side, for the parts that are substantially similar to the embodiments one to seven, the description is relatively simple, and for the relevant parts, reference may be made to the part of the description of the embodiments one to seven.
Referring to fig. 13, a structural diagram of an embodiment of an instant messaging client according to the present application is shown, which may specifically include:
a sending module 1301, configured to send a corresponding transaction state information query request to an access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person; and
a receiving module 1302, configured to receive the transaction state information returned according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
In this embodiment of the present application, it is preferable that the client user is a seller user of the online transaction, and the access contact is a buyer user of the online transaction.
In a preferred embodiment of the present application, the sending module may further include:
the first sending submodule is used for sending a corresponding transaction state information query request to the instant messaging server aiming at the access contact person;
the receiving module may further include:
the first receiving submodule is used for receiving the transaction state information returned by the instant messaging server according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database of the instant messaging server or the transaction server according to the ID of the client user and the ID of the access contact person.
In another preferred embodiment of the present application, the sending module may further include:
the second sending submodule is used for sending a corresponding transaction state information inquiry request to the transaction server aiming at the access contact person;
the receiving module may further include:
the second receiving submodule is used for receiving the transaction state information returned by the transaction server according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database of the transaction server side according to the ID of the client user and the ID of the access contact person.
In yet another preferred embodiment of the present application, the instant messaging client may further include:
the first display module is used for displaying the received transaction state information in real time; alternatively, the first and second electrodes may be,
and the second display module is used for displaying the received transaction state information according to the relevant operation of the client user for accessing the contact person.
In a preferred embodiment of the present application, the instant messaging client may further include:
and the first sequence adjusting module is used for adjusting the sequence of the corresponding access contact in the instant messaging window according to the transaction state information.
In another preferred embodiment of the present application, the instant messaging client may further include:
the recording module is used for recording the transaction state information inquiry request of the access contact person to the request database;
and the sequence sending module is used for sending the transaction state information query request in the request database according to the sequence of the transaction state information query request in the request database.
In yet another preferred embodiment of the present application, the instant messaging client may further include:
and the second sequence adjusting module is used for adjusting the sequence of the transaction state information query request in the request database according to the received transaction state information pushed by the transaction server or the instant messaging server.
In a preferred embodiment of the present application, the instant messaging client may further include:
and the contact sending module is used for sending a corresponding transaction state information query request to the contacts in the contact list of the instant messaging window by the instant messaging client.
Referring to fig. 14, which shows a structure diagram of an embodiment of an instant messaging server side according to the present application, specifically, the structure diagram may include:
a request receiving module 1401, configured to receive a transaction state information query request from an instant messaging client, where the transaction state information is transaction state information between a client user and an access contact, and the transaction state information query request carries an ID of the client user and an ID of the access contact;
the query module 1402 is configured to query the transaction state database according to the ID of the client user and the ID of the access contact to obtain transaction state information; and
a returning module 1403, configured to return the queried transaction state information to the instant messaging client.
In a preferred embodiment of the present application, the query module may further include:
the forwarding sub-module is used for forwarding the received transaction state information query request to the transaction server; and
and the receiving submodule is used for receiving corresponding transaction state information which is obtained by inquiring in the transaction state database according to the ID of the client user and the ID of the access contact person, which are carried in the transaction state information inquiry request, by the transaction server.
In another preferred embodiment of the present application, the query module may further include:
and inquiring in a transaction state database of the instant messaging server to obtain corresponding transaction state information according to the ID of the client user and the ID of the access contact person, and returning the transaction state information to the instant messaging client.
In a preferred embodiment of the present application, the instant messaging server may further include: the database creating module is used for creating a transaction state database of the instant messaging server;
the database creation module may specifically include:
the query sending submodule is used for sending an information query request to the transaction server; the information query request carries the ID of the seller user;
the information receiving submodule is used for receiving the transaction state information returned by the transaction server according to the information query request; and
and the storage submodule is used for storing the transaction state information, the corresponding ID of the seller user and the corresponding ID of the buyer user into a transaction state database of the instant messaging server.
In a preferred embodiment of the present application, the instant messaging server may further include a transaction status information pushing module, which specifically includes:
the monitoring submodule is used for monitoring whether the transaction state information changes;
the determining submodule is used for determining the ID of the corresponding client user according to the changed transaction state information when the change of the transaction state information is monitored;
and the pushing submodule is used for pushing the transaction state information to the client corresponding to the ID of the client user.
For the instant messaging client and the instant messaging server, the embodiments are basically similar to the instant messaging method embodiment, so the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The instant messaging client, the instant messaging server and the instant messaging method provided by the application are introduced in detail, and a specific example is applied to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the 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 (16)
1. An instant messaging method, comprising:
the client sends a corresponding transaction state information query request aiming at the access contact; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person;
receiving the transaction state information returned according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
2. The method of claim 1, wherein the client sending a corresponding transaction state information query request for an access contact, comprises:
the client sends a corresponding transaction state information query request to the instant messaging server aiming at the access contact;
the receiving the transaction state information returned according to the transaction state information inquiry request comprises:
receiving the transaction state information returned by the instant messaging server according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database of the instant messaging server or the transaction server according to the ID of the client user and the ID of the access contact person.
3. The method of claim 1, wherein the client sending a corresponding transaction state information query request for an access contact, comprises:
the client sends a corresponding transaction state information query request to the transaction server aiming at the access contact;
the receiving the transaction state information returned according to the transaction state information inquiry request comprises:
receiving transaction state information returned by the transaction server according to the transaction state information query request; the transaction state information is obtained by inquiring in a transaction state database of the transaction server side according to the ID of the client user and the ID of the access contact person.
4. The method of claim 1, further comprising:
the received transaction state information is displayed immediately; alternatively, the first and second electrodes may be,
and displaying the received transaction state information according to the relevant operation of the client user aiming at the access contact.
5. The method of claim 1, further comprising:
and adjusting the sequence of the corresponding access contact in the instant messaging window according to the transaction state information.
6. The method of claim 1, further comprising:
recording a transaction state information query request of an access contact person to a request database;
and sending the transaction state information query requests in the request database according to the sequence of the transaction state information query requests in the request database.
7. The method of claim 6, further comprising:
and adjusting the sequence of the transaction state information query requests in the request database according to the received transaction state information pushed by the transaction server or the instant messaging server.
8. The method of any of claims 1 to 7, further comprising:
the instant communication client sends a corresponding transaction state information query request aiming at the contact persons in the contact person list of the instant communication window.
9. The method of any of claims 1 to 5, wherein the client user is a seller user of an online transaction and the access contact is a buyer user of the online transaction.
10. An instant messaging method, comprising:
receiving a transaction state information query request from an instant messaging client, wherein the transaction state information is the transaction state information between a client user and an access contact person, and the transaction state information query request carries an ID of the client user and an ID of the access contact person;
inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person to obtain transaction state information;
and returning the inquired transaction state information to the instant messaging client.
11. The method of claim 10, wherein the step of querying a transaction status database for transaction status information based on the ID of the client user and the ID of the access contact further comprises:
forwarding the received transaction state information query request to a transaction server;
and receiving corresponding transaction state information which is obtained by querying in a transaction state database by the transaction server according to the ID of the client user and the ID of the access contact carried in the transaction state information query request.
12. The method of claim 10, wherein the step of querying a transaction status database for transaction status information based on the ID of the client user and the ID of the access contact further comprises:
and inquiring to obtain corresponding transaction state information in a transaction state database of the instant messaging server according to the ID of the client user and the ID of the access contact.
13. The method of claim 12, wherein the transaction status database of the instant messaging server is obtained by:
the instant communication server sends an information query request to the transaction server; the information query request carries the ID of the seller user;
receiving transaction state information returned by the transaction server according to the information query request;
and storing the transaction state information, the ID of the corresponding seller user and the ID of the buyer user into a transaction state database of the instant messaging server.
14. The method of claim 10, further comprising:
a step of pushing transaction state information:
monitoring whether the transaction state information changes;
when the change of the transaction state information is monitored, determining the ID of the corresponding client user according to the changed transaction state information;
and pushing the transaction state information to the client corresponding to the ID of the client user.
15. An instant messaging client, comprising:
the sending module is used for sending a corresponding transaction state information inquiry request aiming at the access contact person; the transaction state information is the transaction state information between the client user and the access contact person, and the transaction state information inquiry request carries the ID of the client user and the ID of the access contact person; and
the receiving module is used for receiving the transaction state information returned according to the transaction state information inquiry request; the transaction state information is obtained by inquiring in a transaction state database according to the ID of the client user and the ID of the access contact person.
16. An instant messaging server, comprising:
the system comprises a request receiving module, a transaction state information query module and a transaction state information query module, wherein the request receiving module is used for receiving a transaction state information query request from an instant messaging client, the transaction state information is transaction state information between a client user and an access contact person, and the transaction state information query request carries an ID of the client user and an ID of the access contact person;
the query module is used for querying the transaction state database according to the ID of the client user and the ID of the access contact person to obtain transaction state information; and
and the returning module is used for returning the inquired transaction state information to the instant communication client.
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1193269A true HK1193269A (en) | 2014-09-12 |
| HK1193269B HK1193269B (en) | 2018-04-20 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103595613B (en) | Instant communication client, instant communication server and instant communication method | |
| EP2958277B1 (en) | Instant messaging method and system | |
| US11516154B2 (en) | Systems for managing messaging conversations | |
| US20120005598A1 (en) | Automatic co-browsing invitations | |
| JP2015519670A (en) | Query of business service processing status information | |
| CA2903876A1 (en) | Social and local commerce | |
| US20130304609A1 (en) | Interactive Shopping List System | |
| US20210209553A1 (en) | Reading and writing processing improvements as a single command | |
| KR20140009581A (en) | Method, system, and device for switching between network applications, and computer storage medium | |
| CN115951923A (en) | Subscription event management method and related product | |
| US10148602B2 (en) | Enhancing messaging application functionality | |
| CN110661851A (en) | Data exchange method and device | |
| US20220028015A1 (en) | Real estate agent and buyer real-time online matching service | |
| CN103064851B (en) | A kind of web site contents information query method and device | |
| KR20170109075A (en) | Systems and methods for customer contact | |
| WO2021098446A1 (en) | Data processing method, terminal device, and server device | |
| CN104579916A (en) | Instant messaging system as well as online shopping method and device | |
| HK1193269A (en) | Client, server and method of instant messaging | |
| HK1193269B (en) | Client, server and method of instant messaging | |
| CN112446655B (en) | Express delivery method, device, electronic equipment and storage medium | |
| JP2016126438A (en) | Display object management system, display object management method, server device, terminal device, program for server device and program for terminal device | |
| KR20140085612A (en) | An operation method of a mobile terminal for browsing a product using an instant message service, an operation method of a gift server for providing a service to tie a product in cooperation with an instant message service, and a product selection service for a specific product to a friend in an instant message service Providing instant messaging service system | |
| WO2021212476A1 (en) | Communication method, device and system | |
| HK40030782A (en) | Highly scalable event brokering and audit traceability system | |
| CN110493299A (en) | Communication system and its method |