CN113709021B - Session message generation method and device, computer equipment and storage medium - Google Patents

Session message generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113709021B
CN113709021B CN202010439382.3A CN202010439382A CN113709021B CN 113709021 B CN113709021 B CN 113709021B CN 202010439382 A CN202010439382 A CN 202010439382A CN 113709021 B CN113709021 B CN 113709021B
Authority
CN
China
Prior art keywords
time
target
identifier
message
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010439382.3A
Other languages
Chinese (zh)
Other versions
CN113709021A (en
Inventor
何锐明
田元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010439382.3A priority Critical patent/CN113709021B/en
Publication of CN113709021A publication Critical patent/CN113709021A/en
Application granted granted Critical
Publication of CN113709021B publication Critical patent/CN113709021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1093Calendar-based scheduling for persons or groups
    • G06Q10/1095Meeting or appointment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a session message generation method, a session message generation device, computer equipment and a storage medium. The method comprises the following steps: receiving a time recommendation request sent through a session page; searching the same idle time period according to the requester identifier and the target identifier, and determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched; determining the importance of time occupation information according to the time occupation information corresponding to the same time period, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list; and returning the recommended time list to the terminal corresponding to the identifier of the requester so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when detecting the selection operation of the target time in the recommended time list, and displaying the interactive target time message on the session page. By adopting the method, network resources can be saved, and the efficiency of appointed time can be improved.

Description

Session message generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for generating a session message, a computer device, and a storage medium.
Background
With the development of internet technology, instant messaging technology is developed, and people usually use instant messaging software to perform message interaction, for example, the instant messaging software is used to stipulate time for meeting, and for example, the instant messaging software is used to stipulate time for a client to visit an enterprise. In the prior art, time is appointed through communication software, and the appointed time is required to be confirmed with an object needing to be appointed by continuously sending chat session messages.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a session message generating method, device, computer device and storage medium, which can save network resources and improve efficiency.
A method of session message generation, the method comprising:
receiving a time recommendation request sent through a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
searching for the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period;
determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
and returning the recommended time list to the terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when a selection operation acting on the target time in the recommended time list is detected, and displaying the interactive target time message on the session page.
In one embodiment, returning the recommended time list to the terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactable target time message according to the target time when a selection operation acting on the target time in the recommended time list is detected, and displaying the interactable target time message on the session page further includes:
acquiring the interactive target time message and the corresponding confirmation information, and storing the interactive target time message and the corresponding confirmation information in a correlation manner;
and acquiring the current time of the system, acquiring time reminding information when the current time of the system is consistent with the target time in the interactive target time message, and sending the time reminding information to the terminal corresponding to the identifier of the requester and the terminal of the identifier of the target party.
In one embodiment, the requester identifier is a client identifier and the target identifier is a server identifier; the method further comprises the following steps:
searching corresponding idle time periods according to the service party identification, wherein each idle time period is acquired from a terminal corresponding to the service party identification in advance;
obtaining a recommended time list according to each idle time period;
and returning the recommended time list to the terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when a selection operation acting on the target time in the recommended time list is detected, and displaying the interactive target time message on the session page.
A method of session message generation, the method comprising:
detecting a time recommendation event triggered in a session page, and generating a time recommendation request, wherein the time recommendation request carries a requester identifier and a target identifier;
sending a time recommendation request to a server so that the server searches for the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not found, and acquiring time occupation information corresponding to the same time period; determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
acquiring and displaying a recommendation time list returned by the server;
and when the selection operation acting on the target time in the recommended time list is detected, generating an interactive target time message according to the target time, and displaying the interactive target time message in a session page.
In one embodiment, when a selection operation acting on a target time in a recommended time list is detected, generating an interactable target time message according to the target time, and displaying the interactable target time message in a session page, the method includes:
when the selection operation acting on the target time in the recommended time list is detected, the target time is displayed in an editing area in a conversation page;
when the editing operation acting on the editing area is detected, obtaining an edited session message;
and when the sending operation of the edited session message is detected, generating an interactive target session message according to the edited session message, and displaying the interactive target session message in a session area in a session page.
In one embodiment, when a selection operation acting on a target time in the recommended time list is detected, generating an interactable target time message according to the target time, and displaying the interactable target time message in a session page, the method further includes:
when the confirmation operation of the interactive target time message is detected, the confirmation information of the interactive target time message is obtained;
and displaying the confirmation information of the interactive target time message in a session page, and sending the interactive target time message and the corresponding confirmation information to a server for storage.
In one embodiment, when a selection operation acting on a target time in the recommended time list is detected, generating an interactable target time message according to the target time, and displaying the interactable target time message in a session page, the method further includes:
detecting the modification operation of the interactive target time message, and displaying a recommended time list;
and when the selection operation of the modification time in the recommended time list is detected, replacing the target time in the interactive target time message with the modification time to obtain the modified interactive target time message, generating modification reminding information, and displaying the modified interactive target time message and the modification reminding information in a session page.
A conversation message generating apparatus, the apparatus comprising:
the request receiving module is used for receiving a time recommendation request sent by a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
the information acquisition module is used for searching the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period;
the time recommendation module is used for determining the corresponding time occupation information importance according to the time occupation information, and acquiring each same time period when the time occupation information importance is smaller than a preset threshold value to obtain a recommendation time list;
and the message generation module is used for returning the recommended time list to the terminal corresponding to the identifier of the requester so that the terminal displays the recommended time list on the session page, and when the selection operation of the target time in the recommended time list is detected, generating an interactive target time message according to the target time and displaying the interactive target time message on the session page.
In one embodiment, the requestor identifier is an object identifier in a first application and the target identifier is an object identifier in a second application.
In one embodiment, the time recommendation module is further configured to determine an occupancy level, an occupancy time duration, an occupancy participant number, and each occupancy participant level from the time occupancy information; determining an item level feature, a time length feature, a quantity feature, and a participant level feature based on the occupied item level, the occupied item time length, the occupied item participant number, and each occupied item participant level; and inputting the item grade characteristic, the time length characteristic, the quantity characteristic and the participant grade characteristic into a time recommendation model for calculation to obtain the importance of time occupation information, wherein the time recommendation model is obtained by training an artificial intelligence algorithm according to historical data.
In one embodiment, the time recommendation module is further configured to determine an occupancy item level, an occupancy item participant number, and each occupancy item participant level from the time occupancy information; acquiring corresponding item grade scores based on the occupied item grades, acquiring corresponding quantity scores based on the number of occupied item participants, and acquiring corresponding participant grade scores based on the grades of the occupied item participants; and calculating a target score corresponding to the time occupation information by using the item grade score, the quantity score and the grade scores of all participants, and obtaining the importance of the time occupation information according to the target score.
In one embodiment, the session message generating device is further configured to obtain the interactable target time message and the corresponding confirmation information, and store the interactable target time message and the corresponding confirmation information in an associated manner; and acquiring the current time of the system, acquiring time reminding information when the current time of the system is consistent with the target time in the interactive target time message, and sending the time reminding information to the terminal corresponding to the identifier of the requester and the terminal of the identifier of the target party.
In one embodiment, the requester identifier is a client identifier and the target identifier is a server identifier; the session message generating device is also used for searching corresponding idle time periods according to the service party identifier, wherein each idle time period is acquired from a terminal corresponding to the service party identifier in advance; obtaining a recommended time list according to each idle time period; and returning the recommended time list to the terminal corresponding to the identifier of the requester so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when detecting the selection operation of the target time in the recommended time list, and displaying the interactive target time message on the session page.
A conversation message generating apparatus, the apparatus comprising:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting a time recommendation event triggered in a session page and generating a time recommendation request, and the time recommendation request carries a requester identifier and a target identifier;
the request sending module is used for sending a time recommendation request to the server so that the server searches the same idle time period according to the requester identifier and the target identifier, and when the same idle time period is not found, the same time period of the requester identifier and the target identifier is determined, and time occupation information corresponding to the same time period is obtained; determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
the time acquisition module is used for acquiring and displaying a recommended time list returned by the server;
and the message display module is used for generating an interactive target time message according to the target time and displaying the interactive target time message in the session page when the selection operation acting on the target time in the recommended time list is detected.
In one embodiment, the conversation page is at least a three-person conversation page; the detection module is also used for detecting a time recommendation event triggered in the session page, responding to the time recommendation event, and acquiring the requester identification and each target identification in the session page; and generating a time recommendation request according to the requester identification and each target identification.
In one embodiment, the session message generating device is further configured to obtain confirmation information of the interactable target time message when detecting a confirmation operation on the interactable target time message; and displaying the confirmation information of the interactive target time message in a session page, and sending the interactive target time message and the corresponding confirmation information to a server for storage.
In one embodiment, the message display module is further configured to display the target time in an editing area in the conversation page when a selection operation acting on the target time in the recommended time list is detected; when the editing operation acting on the editing area is detected, obtaining an edited session message; and when the sending operation of the edited session message is detected, generating an interactive target session message according to the edited session message, and displaying the interactive target session message in a session area in a session page.
In one embodiment, the session message generation device is further configured to detect a modification operation on the interactable target time message, and display the recommended time list; and when the selection operation of the modification time in the recommended time list is detected, replacing the target time in the interactive target time message with the modification time to obtain the modified interactive target time message, generating modification reminding information, and displaying the modified interactive target time message and the modification reminding information in the session page.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a time recommendation request sent through a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
searching for the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period;
determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
and returning the recommended time list to the terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when a selection operation acting on the target time in the recommended time list is detected, and displaying the interactive target time message on the session page.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
detecting a time recommendation event triggered in a session page, and generating a time recommendation request, wherein the time recommendation request carries a requester identifier and a target identifier;
sending a time recommendation request to a server so that the server searches for the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not found, and acquiring time occupation information corresponding to the same time period; determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
acquiring and displaying a recommendation time list returned by the server;
and when the selection operation acting on the target time in the recommended time list is detected, generating an interactive target time message according to the target time, and displaying the interactive target time message in a session page.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a time recommendation request sent through a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
searching the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period;
determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
and returning the recommended time list to the terminal corresponding to the identifier of the requester so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when detecting the selection operation of the target time in the recommended time list, and displaying the interactive target time message on the session page.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting a time recommendation event triggered in a session page, and generating a time recommendation request, wherein the time recommendation request carries a requester identifier and a target identifier;
sending a time recommendation request to a server so that the server searches for the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not found, and acquiring time occupation information corresponding to the same time period; determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
acquiring and displaying a recommendation time list returned by the server;
and when the selection operation acting on the target time in the recommended time list is detected, generating an interactive target time message according to the target time, and displaying the interactive target time message in a session page.
According to the session message generation method, the session message generation device, the computer equipment and the storage medium, when the requester identifier and the target identifier do not have the same idle time period, the importance of the time occupation information in the same time period is calculated, each same time period with the importance smaller than the preset threshold value is used as the recommended time list, and then the interactive session information is generated by using the recommended time list, so that the time is agreed, the session communication times can be reduced, the network resources are saved, and the efficiency is improved.
Drawings
FIG. 1 is a diagram of an application environment of a session message generation method in one embodiment;
FIG. 2 is a flowchart illustrating a method for generating a session message according to an embodiment;
FIG. 3 is a diagram of a session message page in an exemplary embodiment;
FIG. 4 is a flowchart illustrating the process of obtaining importance of time occupancy information in one embodiment;
FIG. 5 is a flowchart illustrating the process of obtaining the importance of time occupancy information in another embodiment;
FIG. 6 is a flow diagram illustrating the sending of a time alert message in one embodiment;
FIG. 7 is a flow chart illustrating session message generation in another embodiment;
FIG. 8 is a flowchart illustrating a session message generation method according to another embodiment;
FIG. 9a is a diagram of a conversation page in which a menu bar is displayed, in accordance with an illustrative embodiment;
FIG. 9b is a diagram of a conversation page displaying a list of recommendations, in an exemplary embodiment;
FIG. 9c is a diagram of a conversation page showing interactable target time messages, in accordance with an illustrative embodiment;
FIG. 9d is a diagram of a session page displaying confirmation information in accordance with an exemplary embodiment;
FIG. 10 is a flowchart of editing a conversation message in one embodiment;
FIG. 11 is a diagram of a conversation page in which conversation messages are composed, in accordance with an illustrative embodiment;
FIG. 12 is a diagram of a conversation page in which conversation messages are modified in one embodiment;
FIG. 13 is a flowchart illustrating a method for generating a session message in an exemplary embodiment;
FIG. 14 is a block diagram showing the construction of a session message generation apparatus in one embodiment;
fig. 15 is a block diagram showing the construction of a conversation message generating apparatus in another embodiment;
FIG. 16 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 17 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The session message generation method provided by the application can be applied to the application environment shown in fig. 1. Wherein the requestor terminal 102 communicates with the server 104 over a network and the server 104 communicates with the target terminal 106 over a network. The server 104 receives a time recommendation request sent by the requester terminal 102 through a session page, wherein the time recommendation request carries a requester identifier and a target identifier; searching the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period; determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list; the server 104 returns the recommended time list to the terminal 102 corresponding to the requester identifier, so that the terminal 102 displays the recommended time list on the session page, when a selection operation acting on a target time in the recommended time list is detected, an interactable target time message is generated according to the target time, and the interactable target time message is displayed on the session page, that is, the interactable target time message is sent to the terminal 106 corresponding to the target identifier through the server 104. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server can be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a method for generating a session message is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
step 202, receiving a time recommendation request sent through a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
the session page refers to a page used for performing a session chat, and the session page may be a session page in an instant messaging application. Such as a chat page in a WeChat application or a chat page in a QQ application or a chat page in a nailer application. The time recommendation means that when the time is about to be carried out in the conversation page, the idle time of each party of the conversation needs to be recommended. The requestor identifier uniquely identifies the party initiating the time recommendation request, and may be a name, a string, a mobile phone number, or the like. The requestor identification is a session object in a session page. The target party identifier uniquely identifies an object of the session of the requester in the session page, the target party identifier may be a name, a character string, a mobile phone number, or the like, and the target party identifier is used for receiving and replying a message of the time limit sent by the requester identifier. The target party identifier may be only one or a plurality of identifiers.
Specifically, the server receives a time recommendation request sent by a terminal corresponding to a requester identifier through a session page, where the time recommendation request carries the requester identifier and a target identifier.
In one embodiment, the requestor identifier is an object identifier in a first application and the target identifier is an object identifier in a second application.
Wherein the first application and the second application are different applications that can be used to conduct a session. I.e. the session page is a page where the first application has a session to an object in the second application. The object identification is used to uniquely identify an object in the application. The target party identifier may include an object identifier of the target party and a second application identifier, where the second application identifier is used to uniquely identify the second application and may be a name of the second application. The server is an interworking server for interworking the first application and the second application so that the user in the first application and the user in the second application can perform a session.
In a specific embodiment, the conversation page diagram shown in fig. 3 is a conversation page diagram for performing a conversation to an object in the WeChat in an enterprise WeChat. In the session page, the target party identifier in the session page is "friend 0@ WeChat", and through the page, the user can chat with the user in the WeChat.
And 204, searching the same idle time period according to the identifier of the requester and the identifier of the target, determining the same time period of the identifier of the requester and the identifier of the target when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period.
The idle period is a period in which no transaction is processed. The same idle time period means that no matter is processed by the requester identifier and the target identifier in the same time period. The event may be a meeting, a leave, etc. The same time period refers to the same time period corresponding to the requester identifier and the target identifier, for example, a time period between 3 o 'clock and 4 o' clock corresponding to the requester identifier and the target identifier. There may be a plurality of the same time periods, for example, 1 hour is taken as one same time period, and there may be 4 same time periods from 8 o 'clock to 12 o' clock. The time occupation information is specific information of an occupation time slot event.
Specifically, the server holds calendar data of a requester identifier and a target identifier in advance, and the calendar data records items to be processed in each time slot. And the server searches the same idle time period in the corresponding calendar according to the identifier of the requester and the identifier of the target, namely whether the same time period has no items for processing. And when the same idle time period is not found, determining the same time period of the identifier of the requester and the identifier of the target, and acquiring time occupation information corresponding to the same time period.
In one embodiment, when the same idle time period is found, the same idle time period is directly used as the recommended time, and the recommended time is returned to the terminal corresponding to the identifier of the requester for subsequent processing.
And step 206, determining the importance of the corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list.
The importance of the time occupancy information indicates the importance of the occupancy time slot event, and the higher the importance is, the more difficult the delay of the event is, and the lower the importance is, the more easily the delay of the event is. The preset threshold is a preset threshold of the importance of the time occupancy information, and items exceeding the threshold are difficult to delay. If the item corresponding to the threshold value is not exceeded can be postponed, the corresponding time slot can be regarded as the recommended time slot. The recommended time list is a list obtained according to recommended times, and there may be a plurality of recommended times in the list.
Specifically, the server determines the importance of the corresponding time occupation information according to the time occupation information corresponding to the same time period, and compares the importance of the time occupation information corresponding to the same time period with a preset threshold value, so as to determine whether to use the same time period as the recommended time. And comparing the time occupation information importance corresponding to each same time period with a preset threshold value, and acquiring each same time period of which the time occupation information importance is smaller than the preset threshold value to obtain a recommended time list. When the target party or the requesting party does not have corresponding time occupation information in the same time period, the importance of the corresponding time occupation information is zero.
And step 208, returning the recommended time list to the terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when the selection operation acting on the target time in the recommended time list is detected, and displaying the interactive target time message on the session page.
The target time refers to the time to be appointed selected by the requester from the recommended time list. The selection operation refers to an operation of selecting a target time from the recommended time list, and may include a click operation, a press operation, a slide operation, and the like. The interactive target time message is a message capable of performing interactive operation on the target time, and the interactive target time message is generated by using a preset interactive template and the target time, wherein the interactive template comprises a template capable of performing interactive operation. The interactive operation refers to an operation of the session object for interacting with the target time, that is, an operation for confirming the target time and an operation for confirming the target time are performed. The interaction target time message may be a text message, a picture message, and a video message.
Specifically, the server returns the recommended time list to the terminal corresponding to the requester identifier, the terminal corresponding to the requester identifier receives the recommended time list, the recommended time list can be displayed in a pop-up window in the session page, so that the requester selects the target time, and when a selection operation acting on the target time in the recommended time list is detected, a preset interactive template is obtained, and the interactive template can perform interactive operations, such as click operation, press operation, slide operation, and the like. And generating an interactive target time message according to the target time and the interactive template, and displaying the interactive target time message in a session area in a session page, namely sending the interactive target time message to a terminal corresponding to the target party identifier.
In a specific embodiment, the conversation page diagram shown in fig. 3, wherein the generated interactable target time message is "5 pm today: 00 meeting discusses the need "and associated" may be "with" inconvenient "interactive buttons.
According to the session message generation method, when the same idle time period does not exist in the requester identifier and the target identifier, the importance of the time occupation information in the same time period is calculated, each same time period with the importance smaller than the preset threshold value is used as the recommended time list, and then the generation of the interactive session information is performed by using the recommended time list, so that the time is agreed, the session communication frequency can be reduced, the network resources are saved, and the efficiency is improved.
In one embodiment, as shown in fig. 4, step 206, determining the importance of the corresponding time occupancy information according to the time occupancy information, includes the steps of:
step 402, determining the occupation item grade, the occupation item time length, the occupation item participant number and each occupation item participant grade from the time occupation information.
The occupation item level is a level corresponding to preset items, different items have different levels, and the higher the level is, the more important the items are. For example, different conferences have different levels and different outings have different levels. The term "occupied event time length" refers to the time it takes for the event to complete, and the longer the time, the more important the description event is. The number of participants in the occupied event refers to the number of people participating in completing the event, and the more the number of participants, the more important the event is. The occupation event participant level is a level of participants who participate in the draft event, the level is preset, different participants have different levels, and the higher the participant level is, the more important the participant participates in the event.
Specifically, the server determines the occupancy item level, the occupancy item time length, the occupancy item participant number, and each occupancy item participant level from the time occupancy information.
Step 404 determines a transaction-level feature, a time-length feature, a quantity feature, and a participant-level feature based on the occupancy transaction level, the occupancy transaction time-length, the occupancy transaction participant number, and each occupancy transaction participant level.
The term "transaction-level feature" refers to a feature obtained from an occupancy transaction level. The time length feature is a feature obtained from the time length of the occupancy event. The quantity feature refers to a feature obtained according to the number of participants in the occupation event. Participant level characteristics refer to characteristics obtained from each occupancy entry participant level.
Specifically, the server performs feature extraction based on the occupation item class, the occupation item time length, the occupation item participant number, and each occupation item participant class to obtain corresponding item class features, time length features, number features, and participant class features.
And step 406, inputting the item grade characteristic, the time length characteristic, the quantity characteristic and the participant grade characteristic into a time recommendation model for calculation to obtain the importance of the time occupation information, wherein the time recommendation model is obtained by training an artificial intelligence algorithm according to historical data.
The historical data refers to planned time occupation information and actual time occupation information corresponding to the same historical time period. Artificial intelligence algorithms include, but are not limited to, logistic regression algorithms, support vector machine algorithms, decision tree algorithms, neural network algorithms, and the like. The planned time occupation information corresponding to the same historical time period is used as the input of the model established by the artificial intelligence algorithm, the actual time occupation information is used as the label of the model established by the artificial intelligence algorithm for training, and when the training is completed, the time recommendation model is obtained.
In the embodiment, the importance of the time occupation information is calculated by extracting the item level feature, the time length feature, the quantity feature and the participant level feature in the time occupation information and using a time recommendation model according to the item level feature, the time length feature, the quantity feature and the participant level feature, so that the recommendation time is determined according to the importance of the time occupation information, and the accuracy of obtaining the recommendation time is improved.
In one embodiment, as shown in fig. 5, step 206, determining the importance of the corresponding time occupancy information according to the time occupancy information includes:
step 502, determining the occupation item level, the number of occupation item participants and each occupation item participant level from the time occupation information.
Specifically, the server determines the occupancy item level, the number of occupancy item participants, and each occupancy item participant level from the time occupancy information,
step 504, obtaining corresponding item level scores based on the occupation item levels, obtaining corresponding quantity scores based on the number of occupation item participants, and obtaining corresponding participant level scores based on the occupation item participant levels.
The item level score is a score corresponding to a set item level, and the higher the item level is, the higher the score is. The number score refers to a score corresponding to the set number of participants, and the score is higher when the number is larger. The participant level score refers to a score corresponding to a set participant level, and the higher the participant level is, the higher the score is.
Specifically, the server obtains a corresponding item level score based on the occupation item level, obtains a corresponding quantity score based on the number of occupation item participants, and obtains corresponding participant level scores based on the respective occupation item participant levels. For example,
step 506, calculating a target score corresponding to the time occupation information by using the item grade score, the quantity score and the grade scores of all participants, and obtaining the importance of the time occupation information according to the target score.
Wherein, the target score is a total score corresponding to the time occupation information.
Specifically, the server performs weighted calculation by using the item grade score, the quantity score and the grade scores of all participants to obtain a target score corresponding to the time occupation information, and the importance of the time occupation information is obtained according to the target score. By calculating the target scores corresponding to the time occupation information of the same time periods, the target scores are ranked according to the size of the target scores, the ranking of the importance of the time occupation information of the same time periods is obtained, and the same time period with the minimum target score can be selected as the recommendation time.
In one embodiment, the target score may be calculated using the following formula:
Figure BDA0002503559360000141
in a specific embodiment, the event in the time occupancy information is meeting a. The preset level first level of conference a is determined, with a corresponding score of 0.2. The number of the participants of the conference A is 2, the corresponding score is 0.1, the conference A comprises a user A and a user B, the preset grade of the user A is a first grade, the corresponding score is 0.2, the preset grade of the user B is a second grade, and the corresponding score is 0.3. The target score calculated using the above formula is 0.185 and then 0.185 is directly regarded as the time occupancy information importance.
In one embodiment, the item level score and the participant level score may also be used to calculate a target score corresponding to the time occupancy information, and the importance of the time occupancy information may be obtained according to the target score.
In the above embodiment, the item level score, the number score, and the participant level scores are used to calculate the target scores corresponding to the time occupancy information, and the importance of the time occupancy information is obtained according to the target scores, so that the efficiency of obtaining the importance of the time occupancy information can be improved.
In one embodiment, as shown in fig. 6, after step S208, that is, after returning the recommended time list to the terminal corresponding to the requester identifier, so that the terminal presents the recommended time list on the session page, when a selection operation acting on a target time in the recommended time list is detected, an interactable target time message is generated according to the target time, and the interactable target time message is presented on the session page, the method further includes:
step 602, obtaining the interactive target time message and the corresponding confirmation information, and storing the interactive target time message and the corresponding confirmation information in an associated manner.
Wherein the confirmation information is used to reflect an agreement achievement for the target time in the interactable target time message. The session objects in the session page all correspond to the confirmation information. That is, the confirmation information may include information of the confirmed target time corresponding to the requester identifier, or may include information of the confirmed target time corresponding to the target identifier.
Specifically, the server obtains the interactive target time message and obtains the confirmation information of the target time returned by the terminal corresponding to the requester identifier and the terminal corresponding to the target identifier in the session page.
Step 604, obtaining the current time of the system, obtaining the time reminding information when the current time of the system is consistent with the target time in the interactive target time message, and sending the time reminding information to the terminal corresponding to the identifier of the requester and the terminal of the identifier of the target party.
Wherein, the system current time refers to the current time in the server. The time reminding information is used for reminding the confirmed requester and target party of the information from the time to the appointed target time. May be a prompt, prompt ringing, etc. The time reminding information is preset according to the target time.
Specifically, the server monitors the current time of the system, acquires the time reminding information when the current time of the system is consistent with the target time in the interactive target time message, and sends the time reminding information to the terminal corresponding to the requester identifier and the terminal of the target identifier. In one embodiment, the reminding mode is not limited to using the time reminding information, and the target time can be sent to the target terminal and the requester terminal, the target terminal records the target time through a tool such as a calendar schedule, and the target terminal and the requester terminal carry out time reminding through the tool such as the calendar schedule.
In one embodiment, the system may be configured to send the time alert message at a current time that is a target time earlier by a preset time. For example, the target time may be 4 o 'clock, and when the current time of the system is 3 o' clock 45, the time reminding message is sent 15 minutes ahead.
In the embodiment, the current time of the system is monitored through the server, and when the current time of the system is consistent with the target time in the target time message capable of being interacted, time reminding is carried out, so that omission of a user is avoided.
In one embodiment, the requestor identification is a client identification and the target identification is a server identification. As shown in fig. 7, the method for generating a session message further includes:
step 702, searching for each corresponding idle time period according to the service party identifier, where each idle time period is obtained from the terminal corresponding to the service party identifier in advance.
And step 704, obtaining a recommended time list according to each idle time period.
Step 706, returning the recommended time list to the terminal corresponding to the identifier of the requester, so that the terminal displays the recommended time list on the session page, when a selection operation of target time acting on the recommended time list is detected, generating an interactive target time message according to the target time, and displaying the interactive target time message on the session page.
The client identification is used for uniquely identifying the client, the server identification is used for uniquely identifying the server, and the server provides service for the client corresponding to the client identification. For example, the patient is identified as the client and the doctor is identified as the server. At this time, the appointed time is subject to the idle time corresponding to the service party identifier.
Specifically, the server finds out the idle time corresponding to the server identifier to generate a time recommendation list, returns the time recommendation list to the terminal corresponding to the client identifier, enables the client to select, generates an interactive target time message, and sends the interactive target time message to the terminal corresponding to the server identifier, so that the server confirms the time. I.e. the client needs to make a time appointment based on the server side time. In a particular embodiment, the customer is identified as a store customer and the service provider is a store. The store staff presets the opening hours, for example, 2 to 5 pm. When the store customer needs to reserve time, the server searches for corresponding 2 o 'clock to 5 o' clock in the afternoon according to the store, returns the 2 o 'clock to 5 o' clock in the afternoon to a terminal corresponding to the store customer, the store customer selects a time period from 3 o 'clock to 4 o' clock from the 2 o 'clock to 5 o' clock in the afternoon as target time, then generates an interactive target time message, and sends the interactive target time message to the store, so that time appointment is carried out.
In the embodiment, when the role attributes of the two parties of the session are different, namely the requesting party identifier is the client identifier, and the target party identifier is the service party identifier, time recommendation is performed according to the idle time period corresponding to the service party identifier, so that the client can conveniently perform time agreement, and the efficiency is improved.
In an embodiment, as shown in fig. 8, a method for generating a session message is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes:
step 802, detecting a time recommendation event triggered in a session page, and generating a time recommendation request, wherein the time recommendation request carries a requester identifier and a target identifier;
the time recommendation event refers to an event that triggers a scheduled time recommendation in a session page, for example, a time recommendation event is triggered by clicking a scheduled time button in the session page. For example, the time recommendation event is triggered by clicking on the approximate time function in the function menu bar in the session page.
Specifically, the requester logs in the instant messaging application through a terminal corresponding to the requester identifier, and then performs time reduction on the target party in the instant messaging application, that is, the requester opens a page performing a session with the target party in the instant messaging application. And then, carrying out time-sharing operation in the session page, and generating a time recommendation request when the terminal receives the time-sharing operation, wherein the time recommendation request carries a requester identifier and a target identifier. In a specific embodiment, as shown in FIG. 9a, the function menu bar is entered via the "+" button in the session page, and clicking on the about time function button in the function menu bar triggers a time recommendation event.
Step 804, sending a time recommendation request to the server, so that the server searches for the same idle time period according to the requester identifier and the target identifier, when the same idle time period is not found, determining the same time period of the requester identifier and the target identifier, acquiring time occupancy information corresponding to the same time period, determining the importance of the corresponding time occupancy information according to the time occupancy information, acquiring each same time period of which the importance of the time occupancy information is smaller than a preset threshold value, and obtaining a recommended time list.
And step 806, acquiring and displaying the recommended time list returned by the server.
Specifically, a terminal corresponding to a requester identifier sends a time recommendation request to a server, when the server receives the time recommendation request, the same idle time period is searched according to the requester identifier and a target identifier, when the same idle time period is not searched, the same time period of the requester identifier and the target identifier is determined, time occupation information corresponding to the same time period is obtained, the importance of the corresponding time occupation information is determined according to the time occupation information, each same time period with the time occupation information importance smaller than a preset threshold value is obtained, a recommended time list is obtained, the time recommendation list is returned to the terminal corresponding to the requester identifier, the terminal corresponding to the requester identifier obtains the recommended time list, and the recommended time list is displayed in a session page.
In a specific embodiment, as shown in fig. 9b, the recommended time list is shown including the recommended times of today, tomorrow and the next day, and the user can select the target time.
Step 808, when detecting a selection operation acting on the target time in the recommended time list, generating an interactive target time message according to the target time, and displaying the interactive target time message in the session page.
Specifically, when the terminal corresponding to the requester identifier detects a selection operation acting on the target time in the recommended time list, the terminal corresponding to the requester identifier obtains the selected target time, generates an interactable target time message according to the target time and the interactable template, and displays the interactable target time message in a session page, that is, sends the interactable target time message to the session object. For example, as shown in fig. 9c, when the user selects the time of today 5 pm as the appointed time, an interactable target time message is generated, showing a schematic diagram in the session page.
In the session message generation method, a time recommendation request is generated by detecting a time recommendation event triggered in a session page, the time recommendation request carries a requester identifier and a target identifier, the time recommendation request is sent to a server, a time recommendation list returned by the server is obtained for displaying, an interactive target time message is generated according to target time selected by a user, the interactive target time message is displayed in the session page, the user can conveniently make time agreement, network resources are saved, and efficiency is improved.
In one embodiment, the conversation page is an at least three person conversation page. Step 802, detecting a time recommendation event triggered in a session page, and generating a time recommendation request, including:
and detecting a time recommendation event triggered in the session page, and responding to the time recommendation event to acquire the requester identification and each target identification in the session page. And generating a time recommendation request according to the requester identification and each target identification.
When the session page is a session page for at least three persons to carry out a session, the description is to carry out group chat, at the moment, when a triggered time recommendation event is detected, a requester identifier and each target identifier in the session page are obtained, a time recommendation request is generated according to the requester identifier and each target identifier, the time recommendation request is sent to a server, the server searches for the same idle time period according to the requester identifier and each target identifier, when the same idle time period is not found, the same time period of the requester identifier and each target identifier is determined, time occupation information corresponding to the same time period is obtained, the importance of the corresponding time occupation information is determined according to the time occupation information, each same time period of which the importance of the time occupation information is smaller than a preset threshold value is obtained, and a recommendation time list is obtained. And returning the recommended time list to the terminal corresponding to the requester identifier for displaying, when a selection operation acting on the target time in the recommended time list is detected, generating an interactive target time message according to the target time, and displaying the interactive target time message in a session page.
In the above embodiment, when in a group session page, idle time of all session objects needs to be searched, when not searched, time occupancy information of each session object in the same time period is determined, importance of the time occupancy information corresponding to each session object is calculated, and each same time period in which the importance of the time occupancy information is smaller than a preset threshold is obtained, so as to obtain a recommended time list, that is, when the importance of the time occupancy information of each session object in the same time period is smaller than the preset threshold, the same time period is used as recommended time. Therefore, the time agreement can be carried out in at least three conversation pages, so that the time agreement is not needed to be carried out respectively, the efficiency is improved, and the network resources are saved.
In one embodiment, after step 806, that is, after detecting the selection operation on the target time in the recommended time list, generating an interactable target time message according to the target time, and displaying the interactable target time message in the conversation page, the method further includes the steps of:
and when the confirmation operation of the interactive target time message is detected, obtaining the confirmation information of the interactive target time message. And displaying the confirmation information of the interactive target time message in a session page, and sending the interactive target time message and the corresponding confirmation information to a server for storage.
Specifically, the confirmation operation is used to confirm the target time in the interactable target time message, and may be a click operation, a press operation, a slide operation, and the like. The session object in the session page can confirm the interactive target time message, that is, both the requester and the target need to perform confirmation operation on the interactive target time message in the conference page. At this time, when the terminal detects the confirmation operation of the interactive target time message, the confirmation information of the interactive target time message by the session object in the session page is obtained, the confirmation information of the interactive target time message is displayed in the session page, and the interactive target time message and the corresponding confirmation information are sent to the server for storage. For example, as shown in fig. 9d, a schematic diagram of the confirmation information of the interoperable target time message shown in the session page after confirming the target time in the interoperable target time message for both parties of the session, where the confirmation information of the interoperable target time message includes "you can that time" and "friend 0 can that time", and the confirmed object identifiers are displayed around the confirmation operation object, that is, the confirmed object identifiers "friend 0" and "you" are shown in the friend button.
In one embodiment, when the unconfirmed operation on the interactable target time message is detected, unconfirmed information on the interactable target time message is obtained. And displaying the unconfirmed information of the interactive target time message in a session page, and sending the interactive target time message and the corresponding unconfirmed information to a server for storage.
In the embodiment, the user can directly confirm the interactive target time message in the session page, and the method is convenient and quick.
In one embodiment, as shown in fig. 10, when a selection operation acting on a target time in the recommended time list is detected, step 806 generates an interactable target time message according to the target time, and displays the interactable target time message in a conversation page, including:
step 1002, when a selection operation acting on a target time in the recommended time list is detected, the target time is displayed in an editing area in the session page.
Wherein the editing area is used for editing the conversation message.
Specifically, when the terminal corresponding to the requester identifier detects a selection operation applied to the target time in the recommended time list, the target time is displayed in an editing area in the session page. For example, as shown in fig. 11, when the requestor selects today's afternoon 500, the "today's afternoon 5.
And step 1004, when the editing operation acting on the editing area is detected, obtaining the edited conversation message.
Specifically, the user can edit the conversation message in the edit area, for example, adding a specific matter to be processed at that time. And when the terminal corresponding to the identifier of the requester detects the editing operation acting on the editing area, obtaining the edited session message.
Step 1006, when the sending operation of the edited session message is detected, generating an interactive target session message according to the edited session message, and displaying the interactive target session message in a session area in the session page.
Wherein the conversation area is an area for presenting conversation messages.
Specifically, when a terminal corresponding to the requester identifier detects a sending operation on the edited session message, an interactable target session message is generated by using the interactable template according to the edited session message, and the interactable target session message is displayed in a session area in a session page. For example, as shown in FIG. 9d, the edited conversation message is shown to generate an interactable target conversation message. Wherein, the edited conversation message is "conference discussion requirement of today at 5 pm", and the "conference discussion requirement" is the re-edited content.
In one embodiment, after step 806, that is, after detecting the selection operation acting on the target time in the recommended time list, generating an interactable target time message according to the target time, and displaying the interactable target time message in the conversation page, the method further includes:
detecting the modification operation of the interactive target time message, displaying a recommended time list, replacing the target time in the interactive target time message with the modification time when the selection operation of the modification time in the recommended time list is detected, obtaining the modified interactive target time message, generating modification reminding information, and displaying the modified interactive target time message and the modification reminding information in the session page.
And the modification operation is used for modifying the target time in the sent interaction target time message.
Specifically, when the requester and the target need to modify the target time in the target time message, the modification interaction setting in the target time message may be triggered, for example, as shown in fig. 12, if the time of the friend 0 is not available, the time may be modified, and the target time may be modified by clicking a "+" button in the target time message. When the terminal detects the modification operation on the interactive target time message, the recommendation time list is displayed, the modified time is reselected from the recommendation time list, when the terminal detects the selection operation on the modified time in the recommendation time list, the modified time is used for replacing the target time in the interactive target time message to obtain the modified interactive target time message, modification reminding information is generated, and the modified interactive target time message and the modification reminding information are displayed in the session page. As shown in fig. 12, the target time is modified from 3. The modification reminder message presented is "you modified the time".
In one embodiment, the modification rights of the session object in the session page may be set in advance. The requester identifier or the target identifier with the modification authority can modify the target time in the interactive target time message.
In the embodiment, the user can modify the target time in the interactive target time message, so that the problem of repeated operation when the time needs to be appointed again is avoided, the modification is directly performed, and the efficiency is improved.
In a specific embodiment, as shown in fig. 13, the method for generating a session message specifically includes the following steps:
step 1302, a terminal corresponding to the requester identifier detects a time recommendation event triggered in the session page, generates a time recommendation request, where the time recommendation request carries the requester identifier and each target identifier, and sends the time recommendation request to the server, where the requester identifier is an object identifier in the first application and the target identifier is an object identifier in the second application.
In step 1304, the server receives a time recommendation request sent through the session page, searches for the same idle time period according to the requester identifier and each target identifier, determines the same time period of the requester identifier and each target identifier when the same idle time period is not found, and obtains time occupation information corresponding to the same time period.
Step 1306, the server determines the corresponding importance of the time occupation information according to the time occupation information, acquires each same time period when the importance of the time occupation information is smaller than a preset threshold value, obtains a recommended time list, and returns the recommended time list to the terminal corresponding to the requester identifier.
Step 1308, the terminal corresponding to the requester identifier obtains and displays a recommended time list returned by the server, and when a selection operation acting on a target time in the recommended time list is detected, the target time is displayed in an editing area in the session page;
step 1310, when the terminal corresponding to the requester identifier detects the editing operation acting on the editing area, obtaining an edited session message; and when the sending operation of the edited session message is detected, generating an interactive target session message according to the edited session message, and displaying the interactive target session message in a session area in a session page. Namely, the interactive target session message is sent to the terminal corresponding to each target party identifier and displayed.
In step 1312, when the terminal corresponding to the requester identifier and the terminal corresponding to the target identifier detect the confirmation operation on the interactable target time message, the confirmation information on the interactable target time message is obtained. And displaying the confirmation information of the interactive target time message in a session page, and sending the interactive target time message and the corresponding confirmation information to a server for storage.
Step 1314, the server obtains the current time of the system, obtains the time reminding information when the current time of the system is consistent with the target time in the interactive target time message, and sends the time reminding information to the terminal corresponding to the identifier of the requester and the terminal of the identifier of the target party.
The application further provides an application scenario, and the application scenario applies the session message generation method. Specifically, the application of the session message generation method in the application scenario is as follows:
user a needs to subscribe to a conference with user B, user C and user D, which are friends of user a's WeChat application. At this point, user a enters a group session page for a session with user B, user C, and user D through the enterprise wechat application. And triggering a time recommendation event by clicking a time-saving function in the group session page to generate a time recommendation request, wherein the event recommendation request carries a user A, a user B, a user C and a user D.
The method comprises the steps that an intercommunication server receives a time recommendation request, analyzes the time recommendation request to obtain a user A, a user B, a user C and a user D, searches the same idle time periods of the user A, the user B, the user C and the user D from user calendar information stored in the intercommunication server, and directly takes the same idle time period as recommendation time to obtain a recommendation time list when the same idle time period is searched.
When the interworking server does not find the same idle time period, the interworking server determines the same time period of the user a, the user B, the user C, and the user D, for example, 1 to 3 pm. Acquiring time occupation information corresponding to a user A, a user B, a user C and a user D from 1 PM to 3 PM, and calculating the importance of the time occupation information corresponding to the user A, the user B, the user C and the user D respectively, for example, all matters in the time occupation information corresponding to the user A, the user B, the user C and the user D are conferences, and the conference information acquired by the intercommunication server is as shown in the following table 1:
table 1 meeting information table
Figure BDA0002503559360000231
The importance of meetings AE101, AB302, and AC404 corresponding to meetings user A, user B, user C, and user D, respectively, is calculated. When the importance of the meetings AE101, AB302 and AC404 is smaller than the preset threshold value in the time period, i.e., 1 to 3 pm, the recommended time list is obtained by taking 1 to 3 pm as the recommended time.
When the importance of the time occupancy information corresponding to one of the users is greater than the preset threshold, for example, the preset threshold is set to 0.5. When the calculated importance of meetings AE101, AB302 and AC404 is shown in table 2 below,
table 2 meeting importance table
Conference Importance of
AE101 0.82
AB302 0.37
AC404 0.23
Where the importance bit 0.82 of conference AE101 is greater than a preset threshold setting of 0.5. At this time, the next same time period, for example, 3 to 4 points, of the user a, the user B, the user C, and the user D is newly determined. And recalculating until the importance of the time occupancy information of all the users is greater than a preset threshold value, and taking the corresponding same time period as the recommendation time to obtain a recommendation time list. And returning the recommended time list to a terminal corresponding to the user A, selecting target time from the recommended time list by the user A, generating an interactive target time message according to the target time, sending the interactive target time message to a group session page, enabling the user B, the user C and the user D to receive the interactive target time message through the WeChat application, clicking a confirmation button in the interactive target time message for confirmation to obtain confirmation information, and displaying the confirmation information in the group session page. At this point, the conference reservation is complete.
It should be understood that although the various steps in the flowcharts of fig. 2, 4-8, 10 and 13 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 4-8, 10 and 13 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or in alternation with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 14, there is provided a session message generating apparatus 1400, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and specifically includes: a request receiving module 1402, an information obtaining module 1404, a time recommending module 1406, and a message generating module 1408, wherein:
a request receiving module 1402, configured to receive a time recommendation request sent through a session page, where the time recommendation request carries a requestor identifier and a target identifier;
an information obtaining module 1404, configured to search for the same idle time period according to the requestor identifier and the target identifier, determine the same time period of the requestor identifier and the target identifier when the same idle time period is not found, and obtain time occupation information corresponding to the same time period;
the time recommendation module 1406 is configured to determine corresponding importance of the time occupancy information according to the time occupancy information, and obtain each same time period in which the importance of the time occupancy information is smaller than a preset threshold value to obtain a recommendation time list;
the message generating module 1408 is configured to return the recommended time list to the terminal corresponding to the requester identifier, so that the terminal displays the recommended time list on the session page, and when a selection operation acting on a target time in the recommended time list is detected, generate an interactable target time message according to the target time, and display the interactable target time message on the session page.
In one embodiment, the request receiving module 1402 is further configured to identify the requestor as an object identifier in the first application and the target as an object identifier in the second application.
In one embodiment, the time recommendation module 1406 is further operable to determine from the time occupancy information an occupancy level, an occupancy time length, an occupancy participant count, and individual occupancy participant levels; determining an item level feature, a time length feature, a quantity feature, and an attendee level feature based on the attendee level, the attendee time length, the attendee quantity, and each of the attendee levels; and inputting the item grade characteristic, the time length characteristic, the quantity characteristic and the participant grade characteristic into a time recommendation model for calculation to obtain the importance of time occupation information, wherein the time recommendation model is obtained by training an artificial intelligence algorithm according to historical data.
In one embodiment, the time recommendation module 1406 is further operable to determine from the time occupancy information an occupancy event rating, an occupancy event participant count, and individual occupancy event participant ratings; acquiring corresponding item grade scores based on the occupied item grades, acquiring corresponding quantity scores based on the number of occupied item participants, and acquiring corresponding participant grade scores based on the grades of the occupied item participants; and calculating a target score corresponding to the time occupation information by using the item grade score, the quantity score and the grade scores of all participants, and obtaining the importance of the time occupation information according to the target score.
In one embodiment, the session message generating device 1400 is further configured to obtain the interactable target time message and the corresponding confirmation information, and store the interactable target time message and the corresponding confirmation information in an associated manner; and acquiring the current time of the system, acquiring time reminding information when the current time of the system is consistent with the target time in the interactive target time message, and sending the time reminding information to the terminal corresponding to the identifier of the requester and the terminal of the identifier of the target party.
In one embodiment, the requestor identifier is a client identifier and the target identifier is a server identifier; the session message generating device 1400 is further configured to search for corresponding idle time periods according to the service party identifier, where each idle time period is obtained from a terminal corresponding to the service party identifier in advance; obtaining a recommended time list according to each idle time period; and returning the recommended time list to the terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when a selection operation acting on the target time in the recommended time list is detected, and displaying the interactive target time message on the session page.
In one embodiment, as shown in fig. 15, there is provided a session message generating apparatus 1500, which may be a part of a computer device by using a software module or a hardware module, or a combination of the two, and specifically includes: a detection module 1502, a request sending module 1504, a time obtaining module 1506, and a message presentation module 1508, wherein:
a detection module 1502, configured to detect a time recommendation event triggered in a session page, and generate a time recommendation request, where the time recommendation request carries a requestor identifier and a target party identifier;
the request sending module 1504 is used for sending a time recommendation request to a server so that the server searches for the same idle time period according to the requester identifier and the target identifier, determines the same time period of the requester identifier and the target identifier when the same idle time period is not found, acquires time occupation information corresponding to the same time period, determines the importance of the corresponding time occupation information according to the time occupation information, acquires each same time period of which the time occupation information importance is smaller than a preset threshold value, and obtains a recommended time list;
the time obtaining module 1506 is used for obtaining and displaying the recommended time list returned by the server;
the message displaying module 1508 is configured to, when a selection operation on a target time in the recommended time list is detected, generate an interactable target time message according to the target time, and display the interactable target time message in a session page.
In one embodiment, the conversation page is at least a three-person conversation page; the detecting module 1502 is further configured to detect a time recommendation event triggered in the session page, and obtain, in response to the time recommendation event, a requestor identifier and each target identifier in the session page; and generating a time recommendation request according to the requester identification and each target identification.
In one embodiment, the session message generating apparatus 1500 is further configured to obtain a confirmation message of the interactable target time message when the confirmation operation of the interactable target time message is detected; and displaying the confirmation information of the interactive target time message in a session page, and sending the interactive target time message and the corresponding confirmation information to a server for storage.
In an embodiment, the message presenting module 1508 is further configured to, when a selection operation performed on a target time in the recommended time list is detected, present the target time in an editing area in the conversation page; when the editing operation acting on the editing area is detected, obtaining an edited session message; and when the sending operation of the edited session message is detected, generating an interactive target session message according to the edited session message, and displaying the interactive target session message in a session area in a session page.
In one embodiment, the session message generating apparatus 1500 is further configured to detect a modification operation on the interactable target time message, and display the recommended time list; and when the selection operation of the modification time in the recommended time list is detected, replacing the target time in the interactive target time message with the modification time to obtain the modified interactive target time message, generating modification reminding information, and displaying the modified interactive target time message and the modification reminding information in the session page.
For the specific definition of the session message generation apparatus, reference may be made to the above definition of the session message generation method, which is not described herein again. The respective modules in the above-described session message generation apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 16. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used for storing data such as session messages, calendar information and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a conversation message generation method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 17. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a conversation message generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for generating session messages, the method comprising
Receiving a time recommendation request sent through a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
searching for the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period;
determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period when the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
and returning the recommended time list to a terminal corresponding to the requester identifier so that the terminal displays the recommended time list on the session page, generating an interactive target time message according to the target time when a selection operation acting on the target time in the recommended time list is detected, and displaying the interactive target time message on the session page.
2. The method of claim 1, wherein the requestor identifier is an object identifier in a first application, and wherein the target identifier is an object identifier in a second application.
3. The method of claim 1, wherein determining the importance of the corresponding time occupancy information based on the time occupancy information comprises:
determining occupation item grades, occupation item time lengths, occupation item participant numbers and each occupation item participant grade from the time occupation information;
determining an event level feature, a time length feature, a quantity feature, and an attendee level feature based on the attendee level, the attendee time length, the attendee number, and each of the attendee levels;
and inputting the item grade characteristic, the time length characteristic, the quantity characteristic and the participant grade characteristic into a time recommendation model for calculation to obtain the importance of the time occupation information, wherein the time recommendation model is obtained by training an artificial intelligence algorithm according to historical data.
4. The method of claim 1, wherein determining the importance of the corresponding time occupancy information based on the time occupancy information comprises:
determining occupation item grades, occupation item participant number and each occupation item participant grade from the time occupation information;
acquiring corresponding item grade scores based on the occupied item grades, acquiring corresponding quantity scores based on the quantity of occupied item participants, and acquiring corresponding participant grade scores based on the corresponding participant grade;
and calculating a target score corresponding to the time occupation information by using the item grade score, the quantity score and the grade scores of all participants, and obtaining the importance of the time occupation information according to the target score.
5. A method for presenting session messages, the method comprising:
detecting a time recommendation event triggered in a session page, and generating a time recommendation request, wherein the time recommendation request carries a requester identifier and a target identifier;
sending the time recommendation request to a server, so that the server searches for the same idle time period according to the requester identifier and the target identifier, when the same idle time period is not found, determining the same time period of the requester identifier and the target identifier, acquiring time occupation information corresponding to the same time period, determining the importance of the corresponding time occupation information according to the time occupation information, acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value, and acquiring a recommended time list;
acquiring and displaying a recommended time list returned by the server;
and when the selection operation acting on the target time in the recommended time list is detected, generating an interactive target time message according to the target time, and displaying the interactive target time message in the session page.
6. The method of claim 5, wherein the conversation page is an at least three people conversation page; detecting a time recommendation event triggered in a session page, and generating a time recommendation request, wherein the time recommendation request comprises:
detecting a time recommendation event triggered in a session page, and responding to the time recommendation event to acquire a requester identifier and each target identifier in the session page;
and generating the time recommendation request according to the requester identification and the target identifications.
7. An apparatus for generating a session message, the apparatus comprising:
the request receiving module is used for receiving a time recommendation request sent by a session page, wherein the time recommendation request carries a requester identifier and a target identifier;
the information acquisition module is used for searching the same idle time period according to the requester identifier and the target identifier, determining the same time period of the requester identifier and the target identifier when the same idle time period is not searched, and acquiring time occupation information corresponding to the same time period;
the time recommendation module is used for determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period of which the importance of the time occupation information is smaller than a preset threshold value to obtain a recommendation time list;
and the message generation module is used for returning the recommendation time list to the terminal corresponding to the requester identifier so as to enable the terminal to display the recommendation time list on the session page, and when the selection operation of the target time acting on the recommendation time list is detected, generating an interactive target time message according to the target time and displaying the interactive target time message on the session page.
8. An apparatus for generating a session message, the apparatus comprising:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting a time recommendation event triggered in a session page and generating a time recommendation request, and the time recommendation request carries a requester identifier and a target identifier;
a request sending module, configured to send the time recommendation request to a server, so that the server searches for a same idle time period according to the requester identifier and the target identifier, and when the same idle time period is not found, determines the same time period of the requester identifier and the target identifier, and obtains time occupation information corresponding to the same time period; determining the importance of corresponding time occupation information according to the time occupation information, and acquiring each same time period when the importance of the time occupation information is smaller than a preset threshold value to obtain a recommended time list;
the time acquisition module is used for acquiring and displaying the recommended time list returned by the server;
and the message display module is used for generating an interactive target time message according to the target time and displaying the interactive target time message in the conversation page when the selection operation acting on the target time in the recommended time list is detected.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202010439382.3A 2020-05-22 2020-05-22 Session message generation method and device, computer equipment and storage medium Active CN113709021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010439382.3A CN113709021B (en) 2020-05-22 2020-05-22 Session message generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010439382.3A CN113709021B (en) 2020-05-22 2020-05-22 Session message generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113709021A CN113709021A (en) 2021-11-26
CN113709021B true CN113709021B (en) 2023-04-07

Family

ID=78646420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010439382.3A Active CN113709021B (en) 2020-05-22 2020-05-22 Session message generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113709021B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369324A (en) * 2007-08-15 2009-02-18 国际商业机器公司 Scheduling system and method based on role
CN103246952A (en) * 2012-02-02 2013-08-14 国际商业机器公司 Conflicting meeting scheduler
CN105931018A (en) * 2016-04-18 2016-09-07 张伟彬 Activity time recommendation method based on activity plan of user
CN108564184A (en) * 2018-03-16 2018-09-21 北京三快在线科技有限公司 A kind of preset device of the preordering method and meeting room of meeting room

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395221B2 (en) * 2002-05-09 2008-07-01 International Business Machines Corporation Intelligent free-time search

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369324A (en) * 2007-08-15 2009-02-18 国际商业机器公司 Scheduling system and method based on role
CN103246952A (en) * 2012-02-02 2013-08-14 国际商业机器公司 Conflicting meeting scheduler
CN105931018A (en) * 2016-04-18 2016-09-07 张伟彬 Activity time recommendation method based on activity plan of user
CN108564184A (en) * 2018-03-16 2018-09-21 北京三快在线科技有限公司 A kind of preset device of the preordering method and meeting room of meeting room

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
分布式会议调度;吕泽民等;《福建电脑》(第02期);全文 *

Also Published As

Publication number Publication date
CN113709021A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
EP3244312B1 (en) A personal digital assistant
US11526818B2 (en) Adaptive task communication based on automated learning and contextual analysis of user activity
US9883033B2 (en) Systems and methods for tracking and responding to mobile events in a relationship management system
US9319442B2 (en) Real-time agent for actionable ad-hoc collaboration in an existing collaboration session
US6584494B1 (en) Communication support method and communication support system
US20200374146A1 (en) Generation of intelligent summaries of shared content based on a contextual analysis of user engagement
US9864974B2 (en) Serendipitous issue reminder system
US11729122B2 (en) Content suggestion system for real-time communication environments
US8745135B2 (en) System and method for attribute detection in user profile creation and update
CA2815229A1 (en) Methods and apparatus for management and viewing of calendar event participant data
US9224134B2 (en) Arranging a conversation among a plurality of participants
CN110366736B (en) Managing an event database using histogram-based analysis
US20220398547A1 (en) System and method for ai-based task management
CN112269917A (en) Media resource display method, device, equipment, system and storage medium
CN111523053A (en) Information flow processing method and device, computer equipment and storage medium
CN113709021B (en) Session message generation method and device, computer equipment and storage medium
CN115633007A (en) Contact person determination method and device, electronic equipment and medium
WO2018069912A1 (en) An apparatus and method for discovering computerized connections between persons and generating computerized introductions
CN110730323B (en) Conference interaction information processing method and device, computer device and storage medium
CN114723380A (en) Online conference record query method, conference record generation method and device
US9959416B1 (en) Systems and methods for joining online meetings
CN116777023B (en) Intelligent conference reservation method, device, equipment and storage medium
CN111970133B (en) Group processing method, group processing device, computer readable storage medium and computer equipment
US20220405688A1 (en) Cooperative decision making in a social network
JP2008310706A (en) Voting promotion activity support program and voting promotion activity support device

Legal Events

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