CN113452598A - Data processing method and computer program product - Google Patents

Data processing method and computer program product Download PDF

Info

Publication number
CN113452598A
CN113452598A CN202110401297.2A CN202110401297A CN113452598A CN 113452598 A CN113452598 A CN 113452598A CN 202110401297 A CN202110401297 A CN 202110401297A CN 113452598 A CN113452598 A CN 113452598A
Authority
CN
China
Prior art keywords
interacted
interaction
message
interactive
chat room
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110401297.2A
Other languages
Chinese (zh)
Other versions
CN113452598B (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.)
Alibaba Innovation Co
Original Assignee
Alibaba Singapore Holdings Pte 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 Alibaba Singapore Holdings Pte Ltd filed Critical Alibaba Singapore Holdings Pte Ltd
Priority to CN202110401297.2A priority Critical patent/CN113452598B/en
Publication of CN113452598A publication Critical patent/CN113452598A/en
Application granted granted Critical
Publication of CN113452598B publication Critical patent/CN113452598B/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a data processing method and a computer program product, wherein the data processing method comprises the following steps: obtaining conversation messages to be interacted in a chat room, wherein the chat room is established in advance based on the geographic position; determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; acquiring interactive information of a target interactive object interacting with a session message to be interacted; and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room. According to the method and the device, the appropriate target interaction object is selected to interact with the conversation message in the chat room, so that the chat heat in the chat room is increased, and the problem that the real condition of the road real-time traffic information is difficult to accurately acquire is solved.

Description

Data processing method and computer program product
Technical Field
The embodiments of the present application relate to the field of electronic information technologies, and in particular, to a data processing method and a computer program product.
Background
With the development of electronic information technology, users often use map navigation travel application software to perform navigation, positioning, search query and the like. In order to improve the real-time performance of road traffic information propagation and enrich the functions of travel application software, the travel application software supports a user to establish a chat room in the travel process, and the user can discuss problems encountered in the travel process in the chat room or issue real-time traffic conditions (such as congestion, accidents and the like) of a road on which the user is travelling to other users who join the chat room. The chat room is greatly helpful for users to obtain real-time road traffic information. Therefore, how to help users who join in the chat room actively, conveniently and accurately publish real-time traffic information of roads mastered by the users in the chat room is a problem to be solved by those skilled in the art.
Disclosure of Invention
Embodiments of the present application provide a data processing method and a computer program product to at least partially solve the above problems.
According to a first aspect of embodiments of the present application, there is provided a data processing method, including: obtaining conversation messages to be interacted in a chat room, wherein the chat room is established in advance based on the geographic position; determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; acquiring interactive information of a target interactive object interacting with a session message to be interacted; and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room.
According to a second aspect of embodiments of the present application, there is provided a data processing apparatus including: the system comprises an acquisition module, a communication module and a communication module, wherein the acquisition module is used for acquiring conversation messages to be interacted in a chat room, and the chat room is established in advance based on the geographic position; the interactive object module is used for determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; the interactive information module is used for acquiring interactive information of the target interactive object interacting with the session message to be interacted; and the publishing module is used for controlling the target interactive object to publish corresponding interactive information to the session message to be interacted in the chat room.
According to a third aspect of embodiments of the present application, there is provided an electronic apparatus, including: the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the corresponding operation of the data processing method of the first aspect.
According to a fourth aspect of embodiments of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the data processing method according to the first aspect.
According to a fifth aspect of embodiments of the present application, there is provided a computer program product, which when executed by a processor, implements the data processing method according to the first aspect.
The data processing method and the computer program product provided by the embodiment of the application acquire the conversation messages to be interacted in the chat room, wherein the chat room is established in advance based on the geographic position; determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; acquiring interactive information of a target interactive object interacting with a session message to be interacted; and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room. According to the method and the device, the appropriate target interaction object is selected to interact with the conversation message in the chat room, on one hand, the chat heat in the chat room is increased, the interest of the user in sending the conversation message to be interacted is improved, on the other hand, the user who joins in the chat room is promoted to actively, conveniently and accurately release the real-time traffic condition of the road mastered by the user in the chat room, and the problem that the real-time traffic information real condition of the road is difficult to accurately obtain is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic view of a data processing method according to an embodiment of the present application;
fig. 2 is a flowchart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic view of a scene of an active atmosphere according to an embodiment of the present disclosure;
fig. 4 is a schematic view of a scenario for replying to a session message to be interacted according to an embodiment of the present application;
fig. 5 is a schematic view of a scene of a session message approved for interaction according to an embodiment of the present application;
fig. 6 is a structural diagram of a data processing apparatus according to a second embodiment of the present application;
fig. 7 is a structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application shall fall within the scope of the protection of the embodiments in the present application.
The following further describes specific implementations of embodiments of the present application with reference to the drawings of the embodiments of the present application.
Example one
For convenience of understanding, an application scenario of the data processing method provided in the first embodiment of the present application is described, and referring to fig. 1, fig. 1 is a scenario diagram of the data processing method provided in the first embodiment of the present application. The scenario shown in fig. 1 includes an electronic device 101, and the electronic device 101 may be a device that executes the data processing method provided in the first embodiment of the present application.
The electronic device 101 may be a terminal device such as a smart phone, a tablet computer, a notebook computer, and a vehicle-mounted terminal, and the electronic device 101 may also be a network device such as a server, which is only exemplary and not meant to limit the present application. The electronic device 101 may be provided with a robot model, and when there is a conversation message to be interacted in the chat room, the robot model may automatically reply to make a personalized speech, and the robot model may be an algorithm model for realizing automatic reply.
The electronic device 101 may access a Network, connect with a cloud through the Network, and perform data interaction, where the Network includes a Local Area Network (LAN), a Wide Area Network (WAN), and a mobile communication Network; such as the World Wide Web (WWW), Long Term Evolution (LTE) networks, 2G networks (2 th Generation Mobile Network), 3G networks (3 th Generation Mobile Network), 5G networks (5 th Generation Mobile Network), etc. The cloud may include various devices connected over a network, such as servers, relay devices, Device-to-Device (D2D) devices, and the like. Of course, this is merely an example and does not represent a limitation of the present application.
With reference to the scenario shown in fig. 1, a data processing method provided in the first embodiment of the present application is described in detail, it should be noted that fig. 1 is only an application scenario of the data processing method provided in the first embodiment of the present application, and does not represent that the data processing method must be applied to the scenario shown in fig. 1, alternatively, the data processing method provided in the first embodiment of the present application may be applied to an electronic device, referring to fig. 2, fig. 2 is a flowchart of the data processing method provided in the first embodiment of the present application, and the method includes the following steps:
step 201, obtaining a conversation message to be interacted in a chat room.
It should be noted that the chat room is created in advance based on the geographic location, the chat room may be a chat room in certain trip-type software, and exemplarily, the chat room may be established in an electronic map, and users using the same electronic map may all join the chat room. For example, if the location of user a (i.e., the location of the terminal device used by user a) and the location of user B (i.e., the location of the terminal device used by user B) are in the same area of the electronic map, user a and user B may join the same chat room; for another example, although the location of the user a and the location of the user B are not in the same area, the target point selected by the user a on the electronic map and the target point selected by the user B on the electronic map are in the same area of the electronic map, and the user a and the user B may join the same chat room. Of course, this is merely an example.
It should be noted that the session message to be interacted in the present application refers to a message to be replied, which is issued by a non-target interaction object in a chat room, where the non-target interaction object may be an account of a real user in the chat room, optionally, the session message to be interacted may be sent by a user terminal to an electronic device, the user terminal is a terminal device used by the user, if the chat room has multiple users joined, each user corresponds to one user terminal, the multiple user terminals may send multiple session messages to the electronic device, and one of the multiple session messages may be selected as the session message to be interacted. Illustratively, obtaining a conversation message to be interacted in a chat room comprises: and determining the conversation messages to be interacted from the conversation messages which are newly released by the non-target interaction objects in the chat room, wherein the messages for releasing pictures are preferentially determined as the conversation messages to be interacted.
Step 202, according to a preset interaction strategy, determining a target interaction object interacting with the session message to be interacted from the set virtual interaction objects.
It should be noted that there may be at least one virtual interactive object, the interaction policy is used to indicate the interaction condition of each virtual interactive object, when the interaction condition of a certain virtual interactive object is met, the virtual interactive object may be used as a target interactive object, and for a session message to be interacted, multiple target interactive objects may be selected for replying, or one target interactive object may be selected for replying. For example, for a session message to be interacted, a first virtual interaction object may be determined as a target interaction object, the session message to be interacted is interacted by using the first virtual interaction object, then a second virtual interaction object is determined as a target interaction object, and the session message to be interacted is interacted by using the second virtual interaction object, which is only an exemplary illustration here.
Illustratively, here, four kinds of virtual interaction objects are listed for explanation, and the four kinds of virtual interaction objects respectively correspond to different interaction conditions.
Optionally, for the first type of virtual interactive object, determining a target interactive object interacting with the session message to be interacted from the set virtual interactive objects according to a preset interaction policy, including: and judging whether the time interval from the current time to the last time when the first type of virtual interactive object publishes the interactive information in the chat room is greater than a preset time interval or not, judging whether the times of publishing the interactive information in the chat room by the first type of virtual interactive object are less than a preset time threshold or not, and if the judgment results are yes, determining the first type of virtual interactive object as the target interactive object. Alternatively, the first type of virtual interactive object may be a robot model of an active atmosphere, the preset time interval may be set arbitrarily, and the preset time interval may be a fixed value or a variable value, for example, the preset time interval may be 30 seconds, 1 minute, 2 minutes, or 5 minutes, and the like. The preset time interval is set, so that the influence on the real conversation message to be interacted due to the fact that the interaction information is sent too frequently can be avoided; the speech in the disturbance-free time period is avoided, the disturbance-free time of the user can not be influenced, and the personalized requirements of the user are met; the interaction times in the chat room are limited, and the influence on the real conversation information to be interacted due to frequent sending of the interaction information can be further avoided. Optionally, in a specific implementation manner, if a time interval between a current time and a last time of issuing the interaction information in the chat room is greater than a preset time interval, the current time does not belong to the disturbance-free time period, and the number of times of interaction in the chat room is less than a preset number threshold, the first type of virtual interaction object is determined as the target interaction object. Optionally, in another specific implementation manner, after a first to-be-interacted conversation message is generated in a chat room of the electronic map, periodically issuing interaction information to make an active speech, and increasing the time length of one period. After the first to-be-interacted session message, the interaction information is periodically issued, so that the chat heat of the chat room can be kept, and the to-be-interacted session message is encouraged.
Optionally, for the second type of virtual interactive object and the third type of virtual interactive object, determining a target interactive object interacting with the session message to be interacted from the set virtual interactive objects according to a preset interaction policy, including: and determining the message content and/or the type of the conversation message to be interacted, and determining the second-class virtual interactive object and/or the third-class virtual interactive object as a target interactive object if the message content and/or the type of the conversation message to be interacted meet the set interaction condition. Alternatively, the second type of virtual interactive object may be a robot model for replying to a user question, and the third type of virtual object may be a robot model for expressing interactive attitude. For example, for the second type of virtual interactive object, a targeted reply or a universal reply can be performed according to the content and the type of the message of the drawing message; for another example, for the third type of virtual interactive object, the conversation message to be interacted can be complied with, and the interest of the user in participating is increased. The second and third types of virtual interactive objects may interact with a conversation message simultaneously.
Optionally, for the fourth type of virtual interactive object, determining a target interactive object interacting with the session message to be interacted from the set virtual interactive objects according to a preset interaction policy, including: and determining whether the road of the geographical position established by the chat room has the officially issued traffic information, and if so, determining a fourth virtual interactive object corresponding to the officer as the target interactive object. Alternatively, the fourth type of virtual interactive object may be an official robot model, and the official robot publishes what is happening on the road, such as car accidents, traffic control, etc., after the user joins the chat room.
Step 203, acquiring interaction information of the target interaction object interacting with the session message to be interacted.
For different virtual interaction objects, the interaction information may be obtained in different manners, and with reference to the four virtual interaction objects in step 202, four specific examples are listed here for explanation respectively:
optionally, for the first type of virtual interactive object, acquiring interaction information of a target interactive object interacting with a session message to be interacted, including: in the random conversation message library, a random conversation message which is not published in the chat room is arbitrarily selected as the interaction information of the first type of virtual interaction object and the conversation message to be interacted. The random conversational message library may comprise at least one conversational message, which may also be referred to as active statements, i.e. dialogs for active ambience. Further optionally, m session messages which are newly issued may be excluded from the random session message library, and the interaction information may be randomly generated in the remaining session messages, where m is an integer greater than 0. Excluding the newly published m session messages may reduce the repetition rate.
Optionally, for the second type of virtual interaction object, the message content and/or the type of the session message to be interacted may be identified by using a natural language identification model, and the interaction information may be obtained according to the message content and/or the type. For example, in a first implementation manner, acquiring interaction information of a target interaction object interacting with a session message to be interacted includes: if the message content is a question, corresponding question reply information is obtained from the question-answering skill library and is used as interaction information for interaction between the second type of virtual interaction object and the session message to be interacted. The question may be a standard question provided by the chat room after entering the chat room, or a question raised by the user. The method and the device have the advantages that the question-answer library is used for selecting the session messages, the pertinence is stronger, the interaction quality can be improved, and the enthusiasm of the user in chatting is increased. Optionally, in a second implementation manner, the determining the interaction information may refer to a randomly selected manner of the first type of virtual interaction object, and specifically, the obtaining the interaction information of the target interaction object interacting with the session message to be interacted includes: if the message content is not a problem, the method of determining the interactive information by referring to the first type of virtual interactive object can be used for arbitrarily selecting a random conversation message which is not issued in the chat room as the interactive information for the interaction between the second type of virtual interactive object and the conversation message to be interacted. Further, m session messages which are newly issued can be excluded from the random session message library, and the interaction information can be randomly generated in the rest session messages, wherein m is an integer larger than 0.
Optionally, for the third type of virtual interactive object, acquiring interaction information of the target interactive object interacting with the session message to be interacted, including: and if the message type of the conversation message to be interacted is the image-text type or the effective road traffic message, acquiring interactive icons and/or interactive sentences used for expressing interactive attitudes as interactive information for interacting the third-class virtual interactive objects with the conversation message to be interacted. For example, the interactive icon may be a praise icon, a thank you icon, and the like, and the third type of virtual interactive object may express the interactive attitude, thereby increasing the interest of chat. It should be noted that the second type of virtual interactive object and the third type of virtual interactive object may be simultaneously used as target interactive objects for interacting the session messages to be interacted with, respectively, with respect to the same session message to be interacted with. For example, for a certain conversation message to be interacted, the message type of the conversation message to be interacted is a picture-text type, which is not a problem, a second type of virtual interaction object can be used for selecting a conversation message in a random conversation message library to be issued as interaction information, and a third type of virtual interaction object can be used for agreeing on the conversation message to be interacted. Or selecting one virtual interactive object from the second type of virtual interactive object and the third type of virtual interactive object as a target interactive object for interaction. Of course, this is merely an example.
Optionally, for the fourth type of virtual interactive object, acquiring interaction information of the target interactive object interacting with the session message to be interacted, including: and acquiring traffic information issued by an official on a road where the geographical position of the chat room is established, and generating the interaction information according to the traffic information. For the fourth type of virtual interactive object, the interactive information can express the same meaning as the traffic information, and prompt the user about the traffic condition of the road.
And 204, controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room.
In the application, the target interactive object can be a robot model, and when the target interactive object is controlled to issue the interactive information, the interactive information can be issued by using different nicknames and head portraits each time, so that the popularity of the chat room can be further improved, and the users are encouraged to participate in speaking. Optionally, the method further comprises: randomly generating a nickname and a head portrait for a target interactive object; the controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room specifically includes: and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room through the nickname and the avatar, wherein the nickname and the avatar can be the same or different when the same target interactive object issues different interactive information. For example, the nickname and avatar may be randomly selected in a database of account information, which may include at least two nicknames and at least two avatars. Randomly selecting nicknames and avatars in the account information database may increase the randomness and number of users presented in the chat room. Further, k nicknames and k head portraits used by the k newly issued conversation messages can be excluded from the account information database, and the nicknames and the head portraits can be randomly selected from the rest nicknames and the head portraits, so that the repetition rate of the nicknames and the head portraits in the chat room can be reduced. Optionally, the interaction information may @ a user corresponding to the replied utterance, or may be directly issued without @ any user; of course, this is merely an example.
It should be further noted that, in an embodiment, controlling the target interaction object to publish, in the chat room, corresponding interaction information for the session message to be interacted includes: before the interactive information is issued, judging whether a new conversation message to be interacted exists in the chat room; if not, the target interactive object is controlled to issue corresponding interactive information to the session message to be interacted in the chat room. And if so, re-acquiring the interaction information according to the latest session message to be interacted and issuing the interaction information.
In conjunction with the description of step 201-205, three specific application scenarios are listed here for explanation.
Optionally, in a first application scenario, the target interaction object may be a first type of virtual interaction object, the first type of virtual interaction object may be a robot model of an active atmosphere, as shown in fig. 3, fig. 3 is a scene schematic diagram of an active atmosphere provided in this embodiment of the present application, a robot model of an active atmosphere is provided in the electronic device, and an interaction policy of the robot model of an active atmosphere may include an interaction opportunity algorithm, an account information database, and a random session message library; the interaction opportunity algorithm can comprise two parts of disturbance-free control and return time control. The interaction opportunity algorithm of the robot model of the active atmosphere may be that after the first session message to be interacted, the interaction information is periodically issued, and the interval time for issuing the interaction information is increased.
Optionally, in a second application scenario, the target interaction object may be a second-class virtual interaction object, and the second-class virtual interaction object may be a reply robot model, as shown in fig. 4, fig. 4 is a scenario diagram of replying a session message to be interacted according to an embodiment of the present application, a reply robot model is disposed in the electronic device, and an interaction policy of the reply robot model may include an identification model algorithm, an account information database, and a random session message library; wherein the recognition model algorithm may determine the message content and/or type of conversation messages to be interacted with. The electronic equipment receives a conversation message to be interacted sent by a user terminal, identifies the conversation message to be interacted by utilizing an identification model algorithm set in a robot model, selects the conversation message as interaction information in a random conversation message library after the content and/or the type of the message meet interaction conditions, selects a nickname and a head portrait in an account information database, and controls a target interaction object to release the interaction information in a chat room through the nickname and the head portrait. It should be noted that the second type of virtual interactive object may also include an interactive timing algorithm included in the first type of virtual interactive object, so as to control the interactive time.
Optionally, in a third application scenario, the target interaction object may be a third type of virtual interaction object, and the third type of virtual interaction object may be a like-pointing robot model, as shown in fig. 5, fig. 5 is a scene schematic diagram of a session message to be interacted in accordance with an embodiment of the present application, a like-pointing robot model is set in the electronic device, and an interaction policy of the like-pointing robot model may include an identification model algorithm, an account information database, and a reply algorithm policy; wherein the recognition model algorithm may determine the message content and/or type of conversation messages to be interacted with. The electronic equipment receives session messages to be interacted sent by a user terminal, identifies the session messages to be interacted by utilizing an identification model algorithm set in a robot model, acquires interaction information containing praise icons and praise information after the content and/or the type of the messages meet interaction conditions, selects the session messages to be interacted from n session messages newly issued by a non-target interaction object in a chat room by utilizing a reply algorithm strategy, randomly selects nicknames and head images in an account information database, and controls the target interaction object to praise the session messages to be interacted (namely issue praise icons and praise information) through the nicknames and the head images. It should be noted that the third type of virtual interactive object may also include an interaction opportunity algorithm included in the first type of virtual interactive object, so as to control the interaction time.
The data processing method provided by the embodiment of the application obtains the conversation messages to be interacted in the chat room, wherein the chat room is established in advance based on the geographic position; determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; acquiring interactive information of a target interactive object interacting with a session message to be interacted; and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room. According to the method and the device, the appropriate target interaction object is selected to interact with the conversation message in the chat room, on one hand, the chat heat in the chat room is increased, the interest of the user in sending the conversation message to be interacted is improved, on the other hand, the user who joins in the chat room is promoted to actively, conveniently and accurately release the real-time traffic condition of the road mastered by the user in the chat room, and the problem that the real-time traffic information real condition of the road is difficult to accurately obtain is solved.
Example two
Based on the method described in the first embodiment, a second embodiment of the present application provides a data processing apparatus for executing the method described in the first embodiment, and referring to fig. 6, the data processing apparatus 60 includes:
an obtaining module 601, configured to obtain a session message to be interacted in a chat room, where the chat room is created in advance based on a geographic location;
an interactive object module 602, configured to determine, according to a preset interactive policy, a target interactive object that interacts with a session message to be interacted from set virtual interactive objects;
the interaction information module 603 is configured to obtain interaction information for interaction between the target interaction object and the session message to be interacted;
the publishing module 604 is configured to control the target interaction object to publish corresponding interaction information to the session message to be interacted in the chat room.
Optionally, in a specific example, the interactive object module 602 is configured to determine whether a time interval from a current time to a last time when the first type of virtual interactive object publishes the interactive information in the chat room is greater than a preset time interval, determine whether a number of times that the first type of virtual interactive object publishes the interactive information in the chat room is less than a preset number threshold, and determine that the first type of virtual interactive object is the target interactive object if both the determination results are yes.
Optionally, in a specific example, the interaction information module 603 is configured to arbitrarily select, from a random conversation message library, a random conversation message that is not published in a chat room as the interaction information for interacting with the conversation message to be interacted with the first type of virtual interaction object.
Optionally, in a specific example, the interaction object module 602 is configured to determine a message content and/or a type of the session message to be interacted, and if the message content and/or the type of the session message to be interacted meet a set interaction condition, determine the second type of virtual interaction object and/or the third type of virtual interaction object as the target interaction object.
Optionally, in a specific example, the interaction information module 603 is configured to identify a message content and/or a type of a conversation message to be interacted with using a natural language identification model.
Optionally, in a specific example, the interaction information module 603 is configured to, if the message content is a question, obtain, from the question-answering skill library, corresponding question reply information as interaction information for interacting with the session message to be interacted with the second type of virtual interaction object;
and/or the presence of a gas in the gas,
and if the message type of the conversation message to be interacted is the image-text type or the effective road traffic message, acquiring interactive icons and/or interactive sentences used for expressing interactive attitudes as interactive information for interacting the third-class virtual interactive objects with the conversation message to be interacted.
Optionally, in a specific example, the interactive object module 602 is configured to determine whether the road where the chat room is created at the geographic location has traffic information issued by an official party, and if so, determine a fourth virtual interactive object corresponding to the official party as the target interactive object.
Optionally, in a specific example, the obtaining module 601 is configured to determine a conversation message to be interacted from a conversation message that is newly published by a non-target interaction object in a chat room, where a message publishing a picture is preferentially determined as the conversation message to be interacted.
The publishing module 604 is configured to randomly generate a nickname and a head portrait for a target interaction object, control the target interaction object to publish corresponding interaction information for a session message to be interacted in a chat room through the nickname and the head portrait, where the nickname and the head portrait may be the same or different when the same target interaction object publishes different interaction information.
The data processing device provided by the embodiment of the application acquires the conversation messages to be interacted in the chat room, wherein the chat room is established in advance based on the geographic position; determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; acquiring interactive information of a target interactive object interacting with a session message to be interacted; and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room. According to the method and the device, the appropriate target interaction object is selected to interact with the conversation message in the chat room, on one hand, the chat heat in the chat room is increased, the interest of the user in sending the conversation message to be interacted is improved, on the other hand, the user who joins in the chat room is promoted to actively, conveniently and accurately release the real-time traffic condition of the road mastered by the user in the chat room, and the problem that the real-time traffic information real condition of the road is difficult to accurately obtain is solved.
EXAMPLE III
Based on the method described in the first embodiment, a third embodiment of the present application provides an electronic device, configured to execute the method described in the first embodiment, and referring to fig. 7, a schematic structural diagram of an electronic device according to the third embodiment of the present application is shown, and a specific embodiment of the present application does not limit a specific implementation of the electronic device.
As shown in fig. 7, the electronic device 70 may include: a processor (processor)702, a Communications Interface 704, a memory 706, and a communication bus 708.
Wherein:
the processor 702, communication interface 704, and memory 706 communicate with each other via a communication bus 708.
A communication interface 704 for communicating with other electronic devices or servers.
The processor 702 is configured to execute the program 710, and may specifically execute relevant steps in the foregoing data processing method embodiments.
In particular, the program 710 may include program code that includes computer operating instructions.
The processor 702 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present application. The intelligent device comprises one or more processors which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
The memory 706 stores a program 710. The memory 706 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may be specifically configured to be executed by the processor 702 to implement the data processing method described in the first embodiment. For specific implementation of each step in the program 710, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing data processing method embodiments, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The electronic equipment provided by the embodiment of the application acquires the conversation messages to be interacted in the chat room, wherein the chat room is established in advance based on the geographic position; determining a target interactive object interacted with the session message to be interacted from the set virtual interactive objects according to a preset interactive strategy; acquiring interactive information of a target interactive object interacting with a session message to be interacted; and controlling the target interactive object to issue corresponding interactive information to the session message to be interacted in the chat room. According to the method and the device, the appropriate target interaction object is selected to interact with the conversation message in the chat room, on one hand, the chat heat in the chat room is increased, the interest of the user in sending the conversation message to be interacted is improved, on the other hand, the user who joins in the chat room is promoted to actively, conveniently and accurately release the real-time traffic condition of the road mastered by the user in the chat room, and the problem that the real-time traffic information real condition of the road is difficult to accurately obtain is solved.
Example four
Based on the method described in the first embodiment, a fourth embodiment of the present application provides a computer storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method described in the first embodiment.
EXAMPLE five
Based on the method described in the first embodiment, a fourth embodiment of the present application provides a computer program product, which when executed by a processor implements the method described in the first embodiment.
It should be noted that, according to the implementation requirement, each component/step described in the embodiment of the present application may be divided into more components/steps, and two or more components/steps or partial operations of the components/steps may also be combined into a new component/step to achieve the purpose of the embodiment of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the methods described herein may be stored in such software processes on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It is understood that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the navigation methods described herein. Further, when a general-purpose computer accesses code for implementing the navigation methods shown herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the navigation methods shown herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The above embodiments are only used for illustrating the embodiments of the present application, and not for limiting the embodiments of the present application, and those skilled in the relevant art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application, so that all equivalent technical solutions also belong to the scope of the embodiments of the present application, and the scope of patent protection of the embodiments of the present application should be defined by the claims.

Claims (10)

1. A data processing method, comprising:
obtaining a conversation message to be interacted in a chat room, wherein the chat room is created in advance based on a geographical position;
according to a preset interaction strategy, determining a target interaction object interacting with the session message to be interacted from set virtual interaction objects;
acquiring interaction information of the target interaction object interacting with the session message to be interacted;
and controlling the target interactive object to issue corresponding interactive information for the session message to be interacted in the chat room.
2. The method of claim 1, wherein the determining, according to a preset interaction policy, a target interaction object interacting with the session message to be interacted from set virtual interaction objects comprises:
judging whether the time interval from the current time to the last time when the first type of virtual interactive object publishes the interactive information in the chat room is greater than a preset time interval or not, judging whether the times of publishing the interactive information in the chat room by the first type of virtual interactive object are less than a preset time threshold or not, and if the judgment results are yes, determining the first type of virtual interactive object as the target interactive object.
3. The method of claim 2, wherein the obtaining interaction information of the target interaction object interacting with the session message to be interacted comprises:
and in a random conversation message library, randomly selecting a random conversation message which is not published in the chat room as the interactive information of the first type of virtual interactive object and the conversation message to be interacted.
4. The method of claim 1, wherein determining a target interactive object interacting with the session message to be interacted from set virtual interactive objects according to a preset interaction policy comprises:
and determining the message content and/or the type of the session message to be interacted, and if the message content and/or the type of the session message to be interacted meet set interaction conditions, determining the second-class virtual interaction object and/or the third-class virtual interaction object as the target interaction object.
5. The method of claim 4, wherein determining the message content and/or type of the conversation message to be interacted with comprises:
and identifying the message content and/or the type of the conversation message to be interacted by utilizing a natural language identification model.
6. The method according to claim 4 or 5, wherein obtaining interaction information of the target interaction object interacting with the session message to be interacted comprises:
if the message content is a question, acquiring corresponding question reply information from a question-answer to-be-interacted session message library as interaction information for interacting a second-class virtual interaction object with the to-be-interacted session message;
and/or the presence of a gas in the gas,
and if the message type of the conversation message to be interacted is the image-text type or the effective road traffic message, acquiring an interactive icon and/or an interactive sentence for expressing interactive attitude as interactive information of the third-class virtual interactive object interacting with the conversation message to be interacted.
7. The method of claim 1, wherein the determining, according to a preset interaction policy, a target interaction object interacting with the session message to be interacted from set virtual interaction objects comprises:
and determining whether the road of the geographical position established by the chat room has the officially issued traffic information, and if so, determining a fourth virtual interactive object corresponding to the officer as the target interactive object.
8. The method of claim 1, wherein the obtaining the conversation message to be interacted with in the chat room comprises:
and determining the conversation messages to be interacted from the conversation messages which are newly released by the non-target interaction objects in the chat room, wherein the messages for releasing pictures are preferentially determined as the conversation messages to be interacted.
9. The method of claim 1, wherein the method further comprises:
randomly generating a nickname and a head portrait for a target interactive object;
controlling the target interaction object to issue corresponding interaction information for the session message to be interacted in the chat room, specifically comprising:
and controlling the target interaction object to issue corresponding interaction information for the session message to be interacted in the chat room through the nickname and the avatar, wherein the nickname and the avatar can be the same or different when the same target interaction object issues different interaction information.
10. A computer program product which, when executed by a processor, implements a data processing method as claimed in any one of claims 1 to 9.
CN202110401297.2A 2021-04-14 2021-04-14 Data processing method Active CN113452598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110401297.2A CN113452598B (en) 2021-04-14 2021-04-14 Data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110401297.2A CN113452598B (en) 2021-04-14 2021-04-14 Data processing method

Publications (2)

Publication Number Publication Date
CN113452598A true CN113452598A (en) 2021-09-28
CN113452598B CN113452598B (en) 2022-10-28

Family

ID=77809523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110401297.2A Active CN113452598B (en) 2021-04-14 2021-04-14 Data processing method

Country Status (1)

Country Link
CN (1) CN113452598B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150356648A1 (en) * 2011-04-12 2015-12-10 Dan Baryakar Online Shopping by Multi Participants Via a Robot
CN105357295A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Voice interaction method, device and system
US9910761B1 (en) * 2015-06-28 2018-03-06 X Development Llc Visually debugging robotic processes
CN109639828A (en) * 2019-01-15 2019-04-16 腾讯科技(深圳)有限公司 Conversation message treating method and apparatus
CN109873752A (en) * 2019-01-25 2019-06-11 平安科技(深圳)有限公司 Robot interactive approach, device, storage medium and equipment in communication group
CN110008316A (en) * 2017-12-21 2019-07-12 可可株式会社 It is linked to the relay chat robot of multiple chat robots
CN110062325A (en) * 2019-04-03 2019-07-26 北京旺马科技有限公司 LBS group chat method, system, equipment and storage medium based on highway communication route
CN110581772A (en) * 2019-09-06 2019-12-17 腾讯科技(深圳)有限公司 Instant messaging message interaction method and device and computer readable storage medium
CN111901220A (en) * 2019-05-06 2020-11-06 华为技术有限公司 Method for determining chat robot and response system
CN112118115A (en) * 2019-06-19 2020-12-22 连普乐士株式会社 Method, computer readable medium and computer device for automatically generating chat room
CN112579754A (en) * 2020-12-18 2021-03-30 深圳云之家网络有限公司 Intelligent robot conversation interaction method and device, and computer equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150356648A1 (en) * 2011-04-12 2015-12-10 Dan Baryakar Online Shopping by Multi Participants Via a Robot
US9910761B1 (en) * 2015-06-28 2018-03-06 X Development Llc Visually debugging robotic processes
CN105357295A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Voice interaction method, device and system
CN110008316A (en) * 2017-12-21 2019-07-12 可可株式会社 It is linked to the relay chat robot of multiple chat robots
CN109639828A (en) * 2019-01-15 2019-04-16 腾讯科技(深圳)有限公司 Conversation message treating method and apparatus
CN109873752A (en) * 2019-01-25 2019-06-11 平安科技(深圳)有限公司 Robot interactive approach, device, storage medium and equipment in communication group
CN110062325A (en) * 2019-04-03 2019-07-26 北京旺马科技有限公司 LBS group chat method, system, equipment and storage medium based on highway communication route
CN111901220A (en) * 2019-05-06 2020-11-06 华为技术有限公司 Method for determining chat robot and response system
CN112118115A (en) * 2019-06-19 2020-12-22 连普乐士株式会社 Method, computer readable medium and computer device for automatically generating chat room
CN110581772A (en) * 2019-09-06 2019-12-17 腾讯科技(深圳)有限公司 Instant messaging message interaction method and device and computer readable storage medium
CN112579754A (en) * 2020-12-18 2021-03-30 深圳云之家网络有限公司 Intelligent robot conversation interaction method and device, and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HIDEKAZU AIZAWA 等: "《Heart rate analysis in a conversation on video chat for development of a chat robot supporting to build a relationship》", 《IEEE》 *
劳家盛: "《基于QQ群的人类在线交流行为的统计分析及建模研究》", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN113452598B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
US10305998B2 (en) Methods and systems for managing a task based on geographical locations
US11514783B2 (en) Vehicle navigation under control of an interactive terminal
US20150296338A1 (en) Geographic location-based communications method, mobile terminal, server, and geographic location-based communications system
CN109146437B (en) Virtual resource processing method, client and storage medium
CN112784989B (en) Inference system, inference method, electronic device, and computer storage medium
CN109644154B (en) Location-based access control for human dialog entities
CN105207886B (en) Transmission, display methods and the transmission of instant communication message, display device and system
CN107690149B (en) Method for triggering network policy update, management function entity and core network equipment
CN114244816A (en) Synchronous communication method, terminal, computer program product and readable storage medium
CN109697091A (en) Processing method, device, storage medium and the electronic device of the page
CN105553831A (en) Message delivery method and system
EP3541486A1 (en) Gaming server and method to generate context-aware gaming information
CN110569127A (en) Virtual resource transferring, sending and acquiring method and device
CN108574680B (en) Real-time reminding method and device in audio and video real-time conversation
CN113452598B (en) Data processing method
CN109525488B (en) Instant message publishing method, device, terminal, server and storage medium
US9079309B2 (en) Terminal positioning method and system, and mobile terminal
WO2022237386A1 (en) Communication method, related apparatus, device, and storage medium
US10540412B2 (en) Information processing system capable of promoting communication between users, information processing apparatus, non-transitory storage medium encoded with computer readable program, and method of controlling information processing apparatus
CN110251943B (en) Game player matching method, device, equipment and storage medium
CN109511087B (en) Unmanned station broadcasting method, device, equipment and storage medium
CN111931702A (en) Target pushing method, system and equipment based on eyeball tracking
CN116349214A (en) Synchronous audio and text generation
CN115396394B (en) Stroke sharing method based on instant messaging, storage medium and electronic equipment
CN110071925A (en) Data transmission method and corresponding server, computer readable storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20240313

Address after: 51 Belarusian Pasha Road, Singapore, Lai Zan Da Building 1 # 03-06, Postal Code 189554

Patentee after: Alibaba Innovation Co.

Country or region after: Singapore

Address before: Room 01, 45th Floor, AXA Building, 8 Shanton Road, Singapore

Patentee before: Alibaba Singapore Holdings Ltd.

Country or region before: Singapore

TR01 Transfer of patent right