Sliding message interaction method and device, equipment, medium and program product
By obtaining the sliding operation parameters in the instant messaging tool, efficient and intelligent transmission of instant messaging messages is achieved, solving the problems of cumbersome operations and incomplete context in the existing technology, and improving the convenience and accuracy of information transmission.
Patent Information
- Application Number
- CN202511012908.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-22
- Publication Date
- 2025-10-14
AI Technical Summary
Existing instant messaging tools are cumbersome to operate during information transmission, the context information is incomplete or inaccurate, the user learning cost is high, and the interaction process is not smooth enough. In particular, there are shortcomings in efficiently and intelligently capturing and utilizing the rich context of messages.
By obtaining the target sliding operation parameters of the touch event monitoring data, the target message is located and the context is intercepted. The preset interception strategy is used to obtain the target delivery information, and the data is encapsulated to form a standardized delivery data packet and sent to the target business system for instant interaction.
It simplifies information transmission operations, improves context integrity and processing accuracy, enhances user experience, and reduces misunderstandings and processing errors caused by inconsistent information formats or incomplete content.
Smart Images

Figure CN120785853A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to a sliding message interaction method and device, computer equipment, computer readable storage medium and computer program product. BACKGROUND
[0002] With the development of computer technology, instant messaging (IM) application technology appears. In enterprise office scenarios, instant messaging (IM) tools are the core platform of business communication and collaboration. The existing technology usually adopts manual copy and paste, instruction input, specific format instruction triggering, and application sharing or forwarding function to transmit information. However, when triggering application tasks through IM messages, these methods generally have problems such as complicated operation, incomplete or inaccurate context information transmission, high user learning cost, and not smooth interaction process. Especially in how to efficiently and intelligently capture and utilize the rich context of messages, there are obvious deficiencies. SUMMARY
[0003] Therefore, it is necessary to provide a sliding message interaction method, device, computer equipment, computer readable storage medium and computer program product capable of accurately identifying the sliding operation of a user and quickly transmitting target information in instant messaging messages to an application system.
[0004] In a first aspect, the present application provides a sliding message interaction method, comprising:
[0005] obtaining target sliding operation parameters of touch event listening data;
[0006] locating a target message according to the target sliding operation parameters to obtain the target message;
[0007] performing context interception on the target message according to a preset interception strategy to obtain target transmission information;
[0008] performing data encapsulation on the target transmission information to obtain a target transmission data packet, and sending the target transmission data packet to a target business system for instant interaction.
[0009] In one embodiment, the obtaining of the target sliding operation parameters of the touch event listening data comprises:
[0010] obtaining the touch event listening data by performing touch event listening on a message list of a target user through a preset gesture recognition module;
[0011] When the touch event monitoring data meets a preset trigger condition, a target sliding operation parameter is obtained; the target sliding operation parameter is a sliding parameter corresponding to the touch event monitoring data.
[0012] In one embodiment, locating a target message according to the target sliding operation parameter to obtain the target message includes:
[0013] Mapping the screen coordinate data of the target sliding operation parameter to the message list where the target user is located to obtain a message object;
[0014] The target message is determined according to the coordinate positioning of the message object.
[0015] In one embodiment, the context-intercepting the target message according to a preset interception strategy to obtain target delivery information includes:
[0016] Obtaining message metadata of the target message;
[0017] The target message is intercepted with historical messages according to the preset interception strategy to obtain historical message data; the target delivery information includes the target message, the message metadata and the historical message data.
[0018] In one embodiment, encapsulating the target delivery information to obtain a target delivery data packet includes:
[0019] The target transfer information is hierarchically organized and encapsulated according to a preset hierarchical structure to obtain a target transfer data packet containing an application layer; the target transfer data packet is used to distinguish information of different layers in the target transfer information.
[0020] In one embodiment, the method further comprises:
[0021] Get the target user's custom operation data;
[0022] The target sliding operation parameter of the touch event monitoring data is obtained according to the custom operation data.
[0023] In a second aspect, the present application further provides a sliding message interaction device, comprising:
[0024] An acquisition module is used to obtain target sliding operation parameters of touch event monitoring data;
[0025] A message locating module, configured to locate a target message according to the target sliding operation parameters to obtain the target message;
[0026] A context interception module, configured to intercept the target message context according to a preset interception strategy to obtain target delivery information;
[0027] The instant interaction module is used to perform data encapsulation on the target delivery information to obtain a target delivery data packet, and send the target delivery data packet to a target business system for instant interaction.
[0028] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0029] Get the target sliding operation parameters of the touch event monitoring data;
[0030] Positioning a target message according to the target sliding operation parameters to obtain the target message;
[0031] Performing context interception on the target message according to a preset interception strategy to obtain target delivery information;
[0032] The target delivery information is data-encapsulated to obtain a target delivery data packet, and the target delivery data packet is sent to a target business system for real-time interaction.
[0033] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0034] Get the target sliding operation parameters of the touch event monitoring data;
[0035] Positioning a target message according to the target sliding operation parameters to obtain the target message;
[0036] Performing context interception on the target message according to a preset interception strategy to obtain target delivery information;
[0037] The target delivery information is data-encapsulated to obtain a target delivery data packet, and the target delivery data packet is sent to a target business system for real-time interaction.
[0038] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the following steps:
[0039] Get the target sliding operation parameters of the touch event monitoring data;
[0040] Positioning a target message according to the target sliding operation parameters to obtain the target message;
[0041] Performing context interception on the target message according to a preset interception strategy to obtain target delivery information;
[0042] The target delivery information is data-encapsulated to obtain a target delivery data packet, and the target delivery data packet is sent to a target business system for real-time interaction.
[0043] The above-mentioned sliding message interaction method, apparatus, computer device, computer-readable storage medium and computer program product obtain the target sliding operation parameters of the touch event monitoring data; locate the target message according to the target sliding operation parameters to obtain the target message; perform contextual interception on the target message according to a preset interception strategy to obtain target transmission information; perform data encapsulation on the target transmission information to obtain a target transmission data packet, and send the target transmission data packet to the target business system for instant interaction. Therefore, locating the target message through simple target sliding operation parameters brings operational convenience to the subsequent instant interaction information transmission process. The target message is contextually intercepted according to the preset interception strategy to obtain the target transmission information. The intercepted target transmission information can be further encapsulated to obtain a target transmission data packet, that is, organized into a standardized data packet. This standardized data format facilitates the rapid parsing and efficient processing of the subsequent target business system, reduces the understanding deviation and processing errors caused by inconsistent information formats or incomplete content, and thus significantly improves the context integrity, processing accuracy and user experience in the instant interaction process. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 This is a diagram of an application environment of a sliding message interaction method in one embodiment;
[0046] Figure 2 1 is a flow chart of a sliding message interaction method according to an embodiment;
[0047] Figure 3 1 is a flow chart of a sliding message interaction method according to an embodiment;
[0048] Figure 4 Schematic diagram of a flow chart of a sliding message interaction method in another embodiment;
[0049] Figure 5 is a structural block diagram of a sliding message interaction device in one embodiment;
[0050] Figure 6 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0052] The sliding message interaction method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store data that server 104 needs to process. The data storage system can be integrated with server 104, or located in the cloud or on another network server. Server 104 obtains target sliding operation parameters from touch event monitoring data; locates the target message based on the target sliding operation parameters to obtain the target message; contextually intercepts the target message according to a preset interception strategy to obtain target delivery information; encapsulates the target delivery information to obtain a target delivery data packet, and sends the target delivery data packet to the target business system for real-time interaction. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart car devices, projectors, etc. Portable wearable devices can include smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can include virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0053] In an exemplary embodiment, Figure 2 As shown, a sliding message interaction method is provided, which is applied to Figure 1 The server 104 in the example is used as an example to illustrate the process, including the following steps 202 to 208.
[0054] Step 202: Obtain target sliding operation parameters of touch event monitoring data.
[0055] The touch event monitoring data may include, but is not limited to, the coordinates of the touch point, the sliding speed, the sliding direction, and the sliding distance. The target sliding operation parameter refers to the sliding operation parameter that meets the target sliding conditions in the touch event monitoring data.
[0056] In some embodiments, the target sliding operation parameter of the touch event monitoring data is obtained by: performing touch event monitoring on a message list in which the target user is located by using a preset gesture recognition module to obtain touch event monitoring data; and obtaining the target sliding operation parameter when the touch event monitoring data meets a preset triggering condition; the target sliding operation parameter being a sliding parameter corresponding to the touch event monitoring data.
[0057] The preset gesture recognition module is an accurate touch event monitoring module built in the instant messaging application client, and the preset triggering condition is a target sliding operation condition for triggering context interception.
[0058] In some embodiments, the touch event monitoring data is obtained by continuously monitoring touch events of the user in a message list interface or a chat interface of the instant messaging application client of the target user by using the preset gesture recognition module, so that the preset gesture recognition module can distinguish between a predefined target sliding operation (for example, left sliding beyond a target threshold) for triggering context interception and a normal interface scrolling operation or other gestures, thereby accurately determining whether the touch event monitoring data meets the preset triggering condition.
[0059] In some embodiments, when the touch event monitoring data meets the preset triggering condition, that is, when an effective preset sliding operation is recognized, the target sliding operation parameter corresponding to the complete sliding operation is obtained from the touch event monitoring data after the sliding operation ends, and the target sliding operation parameter is a sliding parameter corresponding to the touch event monitoring data after the sliding operation ends.
[0060] In some embodiments, when the touch event monitoring data meets the preset triggering condition, that is, when an effective preset sliding operation is recognized, and the user is still in the sliding operation process, the screen coordinates of the touch event are mapped to the corresponding entry in the message list, and the target message is locked during the sliding process to ensure the accuracy of the operation, so that the specific message object of the user's intended operation can be accurately located. There can be one or more specific message objects.
[0061] In this embodiment, the "sliding" gesture, which is very familiar to the user and used frequently, is used as the triggering method. The target user only needs to perform a simple sliding operation on the target message once in the instant messaging interface to complete the selection of information and the expression of the sending intention. This greatly simplifies the multi-step operations (such as copying, pasting, switching applications, inputting instructions, etc.) required in the traditional way, greatly reduces the operation cost and learning threshold of the user, makes the interaction process more natural, smooth and efficient, and thus significantly improves the user experience.
[0062] Step 204, target message positioning according to the target sliding operation parameter, to obtain the target message.
[0063] Wherein, the target message positioning is the process of filtering specific message objects from the message list through the target sliding operation parameter.
[0064] In some embodiments, the target message positioning according to the target sliding operation parameter to obtain the target message includes: mapping the screen coordinate data of the target sliding operation parameter to the message list where the target user is located to obtain the message object; and determining the target message according to the coordinate positioning of the message object.
[0065] In some embodiments, by mapping the screen coordinate data in the target sliding operation parameter to the message list where the target user is located, the corresponding message entry in the message list can be accurately positioned, so that the specific message object intended to be operated by the user can be accurately positioned, and thus the target message is obtained. Wherein, the specific message object can exist one or more.
[0066] In some embodiments, a more convenient multiple continuous or discontinuous message selection method can be provided as the target sliding operation parameter, so that multiple specific message objects intended to be operated by the user can be accurately positioned, and thus the target message is obtained, so that the user can slide a more complete dialogue fragment as the target message for instant messaging at one time.
[0067] Step 206, context interception of the target message according to the preset interception strategy, to obtain the target delivery information.
[0068] Wherein, the preset interception strategy is a kind of interception strategy with certain flexibility and configurability, which is used to intercept the message metadata and historical message data of the target message to help the business system better understand the context information corresponding to the target message.
[0069] In some embodiments, the context interception of the target message according to the preset interception strategy to obtain the target delivery information includes: obtaining the message metadata of the target message; intercepting the historical message of the target message according to the preset interception strategy to obtain the historical message data; and the target delivery information includes the target message, the message metadata and the historical message data.
[0070] Wherein, the message metadata includes but is not limited to message ID, sender information (ID, nickname, etc.), message timestamp, session information (ID, type, name, etc.), message type, etc., and the preset interception strategy can be based on fixed number, time window, reference chain tracing, or more advanced semantic association for data interception.
[0071] In some embodiments, the historical chat records related to the target message are intelligently intercepted to obtain historical message data by automatically and accurately extracting message metadata of the target message and intercepting historical messages of the target message according to a preset interception strategy, and then the target message, the message metadata and the historical message data are taken as the target transmission information.
[0072] In some embodiments, the historical message range of the target information is determined by an intelligent algorithm model to determine the relevant historical message range in the target information that needs to be sent to the target business system together, instead of only a fixed N or a fixed time window, so as to provide more accurate context information. The target business system can be an AI assistant.
[0073] In some embodiments, if there is information in the target message, such as a picture, a voice, a file or the like, the scheme also supports capturing and transmitting these rich text messages or metadata of the rich text messages.
[0074] In the embodiment, the intelligent context interception mechanism is used to make the instant interaction process not only obtain the message content directly slid by the user, but also automatically capture metadata and historical conversation information closely related to the message according to a preset strategy (such as a time window, a historical number of messages, a reference relationship or the like). This way ensures that the context information transmitted to the subsequent processing module (such as an application system or an AI assistant) is rich, complete and highly relevant, avoiding the problem that the context information is easily lost or not fully transmitted in the prior art, and providing a solid foundation for the subsequent processing module (such as an application system or an AI assistant) to accurately understand the user intent.
[0075] In step 208, the target transmission information is data-encapsulated to obtain a target transmission data packet, and the target transmission data packet is sent to the target business system for instant interaction.
[0076] The data encapsulation refers to structured data encapsulation, which is used to structure the message data and give the message certain hierarchical information, so as to be easily parsed and processed by the subsequent module.
[0077] In some embodiments, the target transmission information is data-encapsulated to obtain a target transmission data packet, including: hierarchically organizing and encapsulating the target transmission information according to a preset hierarchical structure to obtain a target transmission data packet containing an application hierarchy; and the target transmission data packet is used to distinguish information at different levels in the target transmission information.
[0078] In some embodiments, the captured core message content of the target message, message metadata, and optional historical context information in the historical message data are organized and encapsulated in a unified, predefined structure (preferably in JSON format), so that the encapsulated target delivery data packet is clear in hierarchy, easy to parse and process by subsequent modules, and can clearly distinguish between core message content and message content that assists in understanding the context.
[0079] In some embodiments, during the process of sending the target delivery data packet to the target service system for instant interaction, if the network is poor or the application system is temporarily unavailable, the user's sliding task request can be temporarily stored in the local or server-side message queue, and processed when the conditions allow, and the user is notified.
[0080] In this embodiment, by using a structured encapsulation method (such as JSON format), the application organizes the intercepted core message and context information into a standardized data packet. This standardized data format facilitates fast parsing and efficient processing by subsequent AI assistants or other applications, reducing understanding bias and processing errors caused by non-uniform information format or incomplete content.
[0081] In the above sliding message interaction method, the target sliding operation parameters of the touch event listening data are obtained; the target message is located according to the target sliding operation parameters; the context of the target message is intercepted according to the preset interception strategy to obtain the target delivery information; the target delivery information is encapsulated to obtain the target delivery data packet, and the target delivery data packet is sent to the target service system for instant interaction. Therefore, the target message is located by the simple target sliding operation parameters, which brings operational convenience to the subsequent delivery process of instant interaction information. The context of the target message is intercepted according to the preset interception strategy to obtain the target delivery information. The intercepted target delivery information can be further encapsulated to obtain the target delivery data packet, i.e., to be organized into a standardized data packet. This standardized data format facilitates fast parsing and efficient processing by subsequent target service systems, reducing understanding bias and processing errors caused by non-uniform information format or incomplete content. Therefore, the context integrity, processing accuracy, and user experience in the instant interaction process are significantly improved.
[0082] In one exemplary embodiment, as shown in Figure 3 The sliding message interaction method further includes steps 302 to 304. Wherein:
[0083] Step 302: Obtain the custom operation data of the target user.
[0084] The custom operation data can be a sliding direction or a gesture, but is not limited thereto.
[0085] In some embodiments, the custom operation data may be obtained through custom input by the target user, or the custom operation data corresponding to the target user's personal habit data may be obtained through summary analysis of the target user's historical data, without limitation thereto.
[0086] Step 304 : Obtain target sliding operation parameters of the touch event monitoring data according to the custom operation data.
[0087] In some embodiments, target sliding action conditions that meet the target user's personal habits are determined based on the custom operation data, and target sliding operation parameters are filtered out from the touch event monitoring data based on the target sliding action conditions, thereby improving the user's personalized experience.
[0088] In this embodiment, by obtaining the target user's customized operation data and obtaining the target sliding operation parameters of the touch event monitoring data based on the customized operation data, the user can customize the sliding direction or gesture that triggers the instant messaging event according to personal habits, thereby improving the user's personalized experience.
[0089] In order to better understand the solution of this application, Figure 4 The details are as follows:
[0090] like Figure 4 As shown, Figure 4 This paper presents a UML sequence diagram in which a user performs a targeted swipe operation on a message in an instant messaging (IM) application, thereby triggering intelligent interception and structured packaging of the message and its related context information, and preparing to send it to a subsequent target business system processing module (an application system such as an AI assistant). Specifically, a user-triggered swipe event sends a swipe message to the instant messaging (IM) application's message system. The system then determines whether the gesture is correct and reaches a trigger threshold in the touch event monitoring data for the swipe event. If the touch event monitoring data reaches the threshold, the system obtains the target swipe operation parameters from the touch event monitoring data. The target message is located based on the target swipe operation parameters, and the target message is then locked. Finally, the target message is selected, contextually intercepted according to a preset interception strategy, and target delivery information is obtained. This target delivery information is then data-encapsulated to obtain a target delivery data packet. This data packet is then sent to the target business system for instant interaction, where the target business system performs business operations on the target delivery data packet. Therefore, this embodiment can be relatively easy to implement technically and integrate functions into existing IM applications in terms of client-side sliding interaction recognition, context interception logic, and data encapsulation, while the capabilities and interface requirements of the application system itself are relatively universal, and it has good technical feasibility and potential for popular application.
[0091] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0092] Based on the same inventive concept, embodiments of the present application also provide a sliding message interaction device for implementing the aforementioned sliding message interaction method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more sliding message interaction device embodiments provided below can be found in the above-described limitations of the sliding message interaction method and will not be further elaborated here.
[0093] In an exemplary embodiment, Figure 5 As shown, a sliding message interaction device is provided, including: an acquisition module 501, a message positioning module 502, a context interception module 503 and an instant interaction module 504, wherein:
[0094] An acquisition module 501 is used to acquire target sliding operation parameters of touch event monitoring data;
[0095] A message locating module 502 is configured to locate a target message according to target sliding operation parameters to obtain the target message;
[0096] The context interception module 503 is used to intercept the context of the target message according to a preset interception strategy to obtain target transmission information;
[0097] The instant interaction module 504 is used to encapsulate the target delivery information to obtain a target delivery data packet, and send the target delivery data packet to the target business system for instant interaction.
[0098] In some embodiments, the acquisition module 501 is also used to monitor touch events of the message list where the target user is located through a preset gesture recognition module to obtain touch event monitoring data; when the touch event monitoring data meets the preset trigger conditions, the target sliding operation parameters are obtained; the target sliding operation parameters are the sliding parameters corresponding to the touch event monitoring data.
[0099] In some embodiments, the message positioning module 502 is further configured to map the screen coordinate data of the target sliding operation parameter to the message list where the target user is located to obtain a message object; and determine the target message according to the coordinate positioning of the message object.
[0100] In some embodiments, the context interception module 503 is also used to obtain the message metadata of the target message; intercept the historical message of the target message according to the preset interception strategy to obtain the historical message data; the target delivery information includes the target message, message metadata and historical message data.
[0101] In some embodiments, the instant interaction module 504 is further used to organize and encapsulate the target transfer information in layers according to a preset hierarchical structure to obtain a target transfer data packet containing an application layer; the target transfer data packet is used to distinguish information of different layers in the target transfer information.
[0102] In some embodiments, the device further includes: a personalization module configured to obtain customized operation data of a target user; and obtain target sliding operation parameters of the touch event monitoring data according to the customized operation data.
[0103] In the above-mentioned sliding message interaction device, the target sliding operation parameters of the touch event monitoring data are obtained; the target message is located according to the target sliding operation parameters to obtain the target message; the target message is contextually intercepted according to the preset interception strategy to obtain the target transmission information; the target transmission information is data-encapsulated to obtain the target transmission data packet, and the target transmission data packet is sent to the target business system for instant interaction. Therefore, locating the target message through simple target sliding operation parameters brings operational convenience to the subsequent instant interactive information transmission process, and the target message is contextually intercepted according to the preset interception strategy to obtain the target transmission information. The intercepted target transmission information can be further encapsulated to obtain the target transmission data packet, that is, organized into a standardized data packet. This standardized data format facilitates the rapid parsing and efficient processing of the subsequent target business system, reducing the understanding deviation and processing errors caused by inconsistent information formats or incomplete content. Therefore, the context integrity, processing accuracy and user experience in the instant interaction process are significantly improved.
[0104] Each module in the sliding message interaction device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0105] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store touch event monitoring data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a sliding message interaction method is implemented.
[0106] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0107] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps of the above-mentioned sliding message interaction method when executing the computer program.
[0108] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned sliding message interaction method are implemented.
[0109] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the above-mentioned sliding message interaction method when executed by a processor.
[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0111] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.
[0112] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0113] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A sliding message interaction method, characterized in that: The method comprises: Get the target sliding operation parameters of the touch event monitoring data; Positioning a target message according to the target sliding operation parameters to obtain the target message; Performing context interception on the target message according to a preset interception strategy to obtain target delivery information; The target delivery information is data-encapsulated to obtain a target delivery data packet, and the target delivery data packet is sent to a target business system for real-time interaction.
2. The method according to claim 1, characterized in that The step of obtaining target sliding operation parameters of touch event monitoring data includes: Monitor the touch event of the message list where the target user is located by using a preset gesture recognition module to obtain the touch event monitoring data; When the touch event monitoring data meets a preset trigger condition, a target sliding operation parameter is obtained; the target sliding operation parameter is a sliding parameter corresponding to the touch event monitoring data.
3. The method according to claim 1, characterized in that The performing target message positioning according to the target sliding operation parameter to obtain the target message includes: Mapping the screen coordinate data of the target sliding operation parameter to the message list where the target user is located to obtain a message object; The target message is determined according to the coordinate positioning of the message object.
4. The method according to claim 1, wherein The context intercepting the target message according to a preset interception strategy to obtain target delivery information includes: Obtaining message metadata of the target message; The target message is intercepted with historical messages according to the preset interception strategy to obtain historical message data; the target delivery information includes the target message, the message metadata and the historical message data.
5. The method according to claim 1, wherein The step of encapsulating the target transfer information to obtain a target transfer data packet includes: The target transfer information is hierarchically organized and encapsulated according to a preset hierarchical structure to obtain a target transfer data packet containing an application layer; the target transfer data packet is used to distinguish information of different layers in the target transfer information.
6. The method according to claim 1, characterized in that The method further comprises: Get the target user's custom operation data; The target sliding operation parameter of the touch event monitoring data is obtained according to the custom operation data.
7. A sliding message interaction device, characterized in that: The device comprises: An acquisition module is used to obtain target sliding operation parameters of touch event monitoring data; A message locating module, configured to locate a target message according to the target sliding operation parameters to obtain the target message; A context interception module, configured to intercept the target message context according to a preset interception strategy to obtain target delivery information; The instant interaction module is used to perform data encapsulation on the target delivery information to obtain a target delivery data packet, and send the target delivery data packet to a target business system for instant interaction.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.