Information interaction method and device, electronic equipment and computer readable storage medium
By determining and sending target interaction information when the network quality is not satisfied and when it is satisfied, the information interaction delay problem caused by disconnection of the communication channel is solved, and timely information interaction of the terminal during network recovery is realized.
Patent Information
- Application Number
- CN202311199248.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the case of weak communication environment or stuttering network, the communication channel connection is intermittent, resulting in the terminal being unable to communicate information in time.
When the network quality does not meet the preset conditions, determine the target interaction information corresponding to the user's operation, and send these information to the second device in a timely manner when it is detected that the network quality meets the communication conditions.
Ensure that the terminal can send information in a timely manner when network quality is restored, reduce the impact of network lag on users, save user time, and ensure the timeliness and accuracy of information interaction.
Smart Images

Figure CN119697055A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information interaction method, device, electronic device and computer-readable storage medium. Background Art
[0002] When modern communication systems exchange information, a "three-way handshake" method is usually used to confirm that the communication channel has been established, and the user can perform operations after the communication channel is confirmed to be established.
[0003] However, in a weak communication environment or a network jam, it is not that the communication channel cannot be established, but that the communication channel connection is intermittent. After confirming that the channel connection is established, when the user performs operations, the communication channel may have been disconnected. The terminal may experience network jams during use and cannot exchange information in a timely manner. Summary of the invention
[0004] The embodiments of the present application provide an information interaction method, device, electronic device, and computer-readable storage medium, which can enable a terminal to perform information interaction in a timely manner during use.
[0005] In a first aspect, an embodiment of the present application provides an information interaction method, which is applied to a first device, including:
[0006] When the network quality does not meet the preset communication conditions, determining the target interaction information corresponding to the user operation;
[0007] In a case where it is detected that the network quality satisfies the communication condition, the target interaction information is sent to the second device.
[0008] In a second aspect, an embodiment of the present application provides an information interaction device, which is applied to a first device, including:
[0009] A first determination module, configured to determine target interaction information corresponding to a user operation when the network quality does not meet a preset communication condition;
[0010] A sending module is used to send the target interaction information to the second device when it is detected that the network quality meets the communication condition.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the information interaction method described in the first aspect.
[0012] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the method described in the first aspect when executed by a processor.
[0014] The above-mentioned information interaction method, apparatus, electronic device and computer-readable storage medium, because when the network quality does not meet the preset communication conditions, the first device can determine the target interaction information corresponding to the user operation, so that when it is detected that the network quality meets the communication conditions, the determined target interaction information can be sent to the second device in a timely manner, thereby reducing the impact of network freezes on users and saving user time. When the terminal detects that the network quality meets the communication conditions, it can send the target interaction information to the second device in a timely manner, ensuring that information interaction can be carried out between the first device and the second device in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 An application environment diagram of an information interaction method in an embodiment;
[0017] Figure 2 is a flow chart of an information interaction method in one embodiment;
[0018] Figure 3 is a flow chart of an information interaction method in another embodiment;
[0019] Figure 4 is a structural block diagram of an information interaction device in an embodiment;
[0020] Figure 5 is a structural block diagram of an information interaction device in another embodiment;
[0021] Figure 6 is a structural block diagram of an information interaction device in another embodiment;
[0022] Figure 7 is a structural block diagram of an information interaction device in another embodiment;
[0023] Figure 8 is a structural block diagram of an information interaction device in another embodiment;
[0024] Fig. 9 is a structural block diagram of an information interaction device in another embodiment;
[0025] Fig.10 FIG. 1 is a schematic diagram of the internal structure of an electronic device in an embodiment. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0027] The information interaction method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in FIG. 1 , the first device 102 communicates with the second device 104 through a network. The first device 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The second device 104 may be various terminals or servers, etc.
[0028] In one embodiment, Figure 2 As shown, an information interaction method is provided, which is applied to Figure 1 Taking the first device in the example as an example, the method includes the following steps:
[0029] S201, when the network quality does not meet the preset communication condition, determine the target interaction information corresponding to the user operation.
[0030] Among them, when the network quality does not meet the preset communication conditions, it can be said that the network environment of the first device is poor. At this time, the application using the first device will experience lag and intermittent conditions. For example, the first device is in a crowded scene or in a wild environment, etc., which will cause the network environment of the first device to be poor.
[0031] Optionally, the user operation in this embodiment may be the operation when the user uses a taxi-hailing software, or the operation when the user uses a video software, or the operation when the user uses an emergency rescue software, etc. This embodiment does not limit this.
[0032] Optionally, in this embodiment, the first device may determine the target interaction information corresponding to the user operation based on the user's usage habits or the user's pre-stored usage information. For example, if the user uses a taxi-hailing software, the first device may determine the target interaction information corresponding to the user operation based on the user's usual use of the taxi-hailing software, that is, the first device may determine the server's response information to the user operation and the next operation corresponding to the user operation based on the user's usual use of the taxi-hailing software, thereby obtaining the target interaction information corresponding to the user operation.
[0033] S202: When it is detected that the network quality satisfies the communication condition, target interaction information is sent to the second device.
[0034] In this embodiment, when it is detected that the network quality meets the communication conditions, it can be said that the network has been restored and normal communication can be carried out through the network. At this time, the first device can send the above-mentioned determined target interaction information to the second device, so that the second device can promptly receive the target interaction information sent by the first device, thereby exchanging information.
[0035] It can be understood that in this embodiment, the first device sends the target interaction information to the second device when it detects that the network quality meets the communication conditions. That is, the first device sends the target interaction information to the second device within a short time after detecting that the network is recovered. For example, the first device may be the target interaction information sent to the second device within 1S after detecting that the network is recovered, so as to minimize the impact of the poor network environment.
[0036] In the above information interaction method, since the first device can determine the target interaction information corresponding to the user operation when the network quality does not meet the preset communication conditions, it can promptly send the determined target interaction information to the second device when it detects that the network quality meets the communication conditions, thereby reducing the impact of network freezes on users and saving user time. When the terminal detects that the network quality meets the communication conditions, it can promptly send the target interaction information to the second device, thereby ensuring that information interaction can be carried out between the first device and the second device in a timely manner.
[0037] In the above scenario of determining the target interaction information corresponding to the user operation, as an optional implementation, the first device can determine the target interaction information corresponding to the user operation based on the user's historical operation information. In one embodiment, the above S201 includes: determining the target interaction information based on the user operation and the user's historical operation information.
[0038] In this embodiment, the first device can determine the application used by the user based on the user operation, and then determine the historical operation information of the user when using the application. The historical operation information may include the user's operation and the response information of the server corresponding to the user's operation. Therefore, the first device can determine the response information corresponding to the user operation and the next user operation based on the above user operation and the user's historical operation information, and so on. Based on the next user operation and the user's historical operation information, the response information corresponding to the next user operation and the next user operation corresponding to the next user operation are determined, and then the target interaction information corresponding to the user operation is determined.
[0039] Optionally, in an embodiment, the first device may determine the target interaction information through the following steps:
[0040] Step A, performing an iterative operation; the iterative operation includes: determining the response information of the user operation sent by the server based on the user operation and the historical operation information.
[0041] Step B, based on the response information and the historical operation information, determine the next operation corresponding to the response information, take the next operation as a new user operation, perform iterative operations until the preset iteration condition is met, and obtain the target interaction information.
[0042] In this embodiment, the preset iteration condition may be that the historical operation information has been traversed, or the number of iteration operations has reached a preset number threshold. Figure 3 As shown, taking the user operation as an operation triggered by the user using a taxi-hailing software as an example, after obtaining the user's consent, the first device records the user's usual usage habits of the taxi-hailing software to form the user's historical operation information. When the first device detects that the network quality does not meet the preset communication conditions, it can enter the offline mode. The first device can create a table A to store the user operation and mark the order of the user operation. In addition, a table B is set based on the user's historical use of the taxi-hailing software to determine the user operation triggered by the user in the historical taxi-hailing and the corresponding response information returned by the server to form Table B. Then, based on the user operation, the response information sent by the server and the next operation corresponding to the response information are determined from Table B. Then, based on the next operation, the response information corresponding to the next operation sent by the server is determined from Table B. This step is repeated until the preset iteration condition is met, and the above-mentioned target interaction information is determined. When the first device detects that the network quality meets the communication conditions, the next operation information determined based on the historical operation information is sent, and the server's return information is compared with the information in Table B. If the value actually returned by the server is consistent with the result recorded in Table B, then after checking and traversing all user operations in Table A, the offline mode is exited.
[0043] In this embodiment, based on the user operation and the user's historical operation information, the interaction information corresponding to the user operation can be accurately simulated, and the target interaction information corresponding to the user operation is determined based on the simulation process, thereby ensuring the accuracy of the target interaction information finally determined by the first device.
[0044] In the above scenario of determining the target interaction information corresponding to the user operation, as an optional implementation, the first device can collect the user-triggered operations in real time to determine the target interaction information when the network quality does not meet the preset communication conditions. In one embodiment, the above S201 includes: determining the target interaction information based on the image sensor and / or audio sensor.
[0045] In this embodiment, when the network quality does not meet the preset communication conditions, the user may not perceive the poor network quality in time and still trigger the operation. At this time, the first device can collect the operation triggered by the user when the network quality does not meet the preset communication conditions based on its own image sensor and / or audio sensor, and determine the above-mentioned target interaction information, wherein the target interaction information in this embodiment may include audio information and / or video information. Exemplarily, in this embodiment, the application used by the user may be video software or live broadcast software, etc. When the network quality does not meet the preset communication conditions, the voice and picture may freeze during the video process. At this time, after the first device determines the target interaction information during this period, it can send the target interaction information to the second device in time after the network is restored, so that the second device can receive the target interaction information during the period of poor network quality in time, avoiding the omission of the target interaction information and the situation that the second device cannot receive the interaction information for a long time, thereby ensuring the timeliness of the second device receiving the target interaction information.
[0046] In this embodiment, the first device is based on an image sensor and / or an audio sensor, and can timely and accurately collect target interaction information corresponding to user operations when the network quality does not meet the preset communication conditions, thereby being able to timely and accurately determine the target interaction information corresponding to the user operations, thereby ensuring the accuracy and timeliness of the determined target interaction information.
[0047] In the above scenario of determining the target interaction information corresponding to the user operation, as an optional implementation, the target interaction information may be pre-stored in the memory of the first device, and the first device can obtain the target interaction information from the memory. In one embodiment, the above S201 includes: determining the target interaction information from the memory.
[0048] Optionally, the target interaction information in this embodiment can be a pre-recorded electronic sound, or a pre-set text message, etc., which is not limited in this embodiment. As an example, the first device can be set to a field rescue mode, and the user can record various information when making a rescue call and send information to a specific recipient in an electronic sound, and store the rescue information in a memory. When the user realizes that he is in a critical state in the field and the network quality does not meet the preset communication conditions, the first device can be controlled to obtain the rescue information from the memory. When the first device detects that the network quality meets the preset communication conditions, that is, once the communication channel is established, the rescue information is immediately sent through the communication channel to request rescue for the user in a timely manner.
[0049] Optionally, the first device may include multiple different memories, and different memories may store target interaction information corresponding to different user operations. The first device may determine the target interaction information corresponding to the user operation from the multiple memories based on the type of user operation when the network quality does not meet the preset communication conditions.
[0050] In this embodiment, by pre-storing the target interaction information corresponding to the user operation in the memory of the first device, the first device can quickly and accurately determine the target interaction information corresponding to the user operation from the memory of the first device when it detects that the network quality does not meet the preset communication conditions, thereby ensuring the efficiency and accuracy of determining the target interaction information corresponding to the user operation.
[0051] In some scenarios, the above-mentioned determined target interaction information may include multiple interaction information. When the first device sends the target interaction information to the second device, it is necessary to send the target interaction information in the order in which the multiple interaction information are sent. In one embodiment, when the above-mentioned target interaction information includes multiple interaction information, the above-mentioned S202 includes: sending the target interaction information to the second device in the order in which the multiple interaction information are sent; the sending order is determined according to the generation time and / or logical order of the multiple interaction information.
[0052] Among them, the sending order of the multiple interaction information included in the target interaction information can be determined by the first device according to the generation time and / or logical order of the multiple interaction information. Taking the software used by the user as a video software as an example, the sending order of the multiple interaction information included in the determined target interaction information can be determined according to the generation time of the multiple interaction information; taking the software used by the user as a taxi-hailing software as an example, the sending order of the multiple interaction information included in the determined target interaction information can be determined according to the generation time and logical order of the multiple interaction information.
[0053] In this implementation, after the first device determines the sending order of multiple interaction information in the target interaction information, when it detects that the network quality meets the communication conditions, the first device can send the multiple interaction information included in the target interaction information to the second device in sequence according to the sending order of the multiple interaction information, and send the determined target interaction information to the second device.
[0054] In this embodiment, the first device sends the target interaction information to the second device according to the sending order of multiple interaction information in the target interaction information, which can ensure the accuracy of sending the target interaction information, avoid the problem of missing the target interaction information, and ensure the integrity and accuracy of the sent target interaction information.
[0055] In this embodiment, the detailed process of the first device determining whether the network quality meets the communication condition is described. In one embodiment, the method further includes: determining that the network quality meets the communication condition when it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold.
[0056] Among them, the network quality parameter value can characterize the quality of the network, and the preset network quality parameter threshold can be a network quality parameter threshold determined when the network quality meets the communication conditions. In this embodiment, when the first device detects that the network quality parameter value is greater than or equal to the preset network quality parameter threshold, it can be said that the network quality environment at this time is relatively good and the current network quality meets the communication conditions. Accordingly, it can be understood that when the first device detects that the network quality parameter value is less than the above-mentioned network quality parameter threshold, it can be said that the network quality environment at this time is not very good, and it can be determined that the current network quality does not meet the communication conditions.
[0057] In this embodiment, the process of the first device determining whether the network quality meets the communication conditions based on the detected network quality parameter value and the preset network quality parameter threshold is relatively simple, which enables the first device to quickly and accurately determine whether the network quality meets the communication conditions, ensuring that the first device can promptly detect that the network quality meets the communication conditions, thereby enabling the first device to promptly send the determined target interaction information to the second device.
[0058] To facilitate understanding by those skilled in the art, the information interaction method provided by the present application is described in detail below in conjunction with a complete embodiment:
[0059] S1, when it is detected that the network quality parameter value is less than a preset network quality parameter threshold, determine the target interaction information corresponding to the user operation by any method in steps S2, S3, and S4.
[0060] S2, perform iterative operations; the iterative operations include: determining the response information of the user operation sent by the server based on the user operation and historical operation information; determining the next operation corresponding to the response information based on the response information and historical operation information, taking the next operation as a new user operation, and performing iterative operations until the preset iterative conditions are met to obtain the target interaction information.
[0061] S3, determining target interaction information based on the image sensor and / or the audio sensor.
[0062] S4, determining target interaction information from the memory.
[0063] S5. When it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold, the target interaction information is sent to the second device in the order of sending the multiple interaction information included in the target interaction information; the sending order is determined according to the generation time and / or logical order of the multiple interaction information.
[0064] It should be noted that for the descriptions in the above S1-S5, reference may be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.
[0065] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0066] Based on the same inventive concept, the embodiment of the present application also provides an information interaction device for implementing the above-mentioned information interaction method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more information interaction device embodiments provided below can refer to the limitations on the information interaction method above, and will not be repeated here.
[0067] In one embodiment, Figure 4 As shown, an information interaction device is provided, comprising: a first determination module 10 and a sending module 11, wherein:
[0068] The first determination module 10 is used to determine target interaction information corresponding to the user operation when the network quality does not meet the preset communication condition.
[0069] The sending module 11 is used to send the target interaction information to the second device when it is detected that the network quality meets the communication condition.
[0070] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0071] Based on the above embodiments, Figure 5 As shown, optionally, the first determination module 10 includes: a first determination unit 101, wherein:
[0072] The first determining unit 101 is configured to determine target interaction information based on a user operation and historical operation information of the user.
[0073] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0074] On the basis of the above embodiment, optionally, the above-mentioned first determination unit 101 is used to perform an iterative operation; the iterative operation includes: determining the response information of the user operation sent by the server based on the user operation and historical operation information; determining the next operation corresponding to the response information based on the response information and historical operation information, taking the next operation as a new user operation, and performing the iterative operation until the preset iteration condition is met to obtain the target interaction information.
[0075] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0076] Based on the above embodiments, Figure 6 As shown, optionally, the first determining module 10 includes: a second determining unit 102, wherein:
[0077] The second determining unit 102 is configured to determine target interaction information based on an image sensor and / or an audio sensor.
[0078] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0079] Based on the above embodiments, Figure 7 As shown, optionally, the first determining module 10 includes: a third determining unit 103, wherein:
[0080] The third determining unit 103 is configured to determine target interaction information from the memory.
[0081] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0082] Based on the above embodiments, Figure 8 As shown, optionally, the sending module 11 includes: a sending unit 111, wherein:
[0083] The sending unit 111 is used to send the target interaction information to the second device according to the sending order of the multiple interaction information; the sending order is determined according to the generation time and / or logical order of the multiple interaction information.
[0084] It should be noted that Figure 8 The embodiment shown is in Figure 7 The embodiment based on the embodiment shown, of course Figure 8 It can also be based on Figure 5 The embodiment shown or Figure 6 Further embodiments based on the illustrated embodiment are not exemplified one by one in this embodiment.
[0085] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0086] Based on the above embodiments, Fig. 9 As shown, optionally, the above device further includes: a second determining module 12, wherein:
[0087] The second determination module 12 is configured to determine that the network quality meets the communication condition when it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold.
[0088] The information interaction device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0089] Each module in the above information interaction device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0090] In one embodiment, a computer device is provided. The computer device may be an electronic device, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an information interaction method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0091] Those skilled in the art will understand that Fig.10 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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0092] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0093] When the network quality does not meet the preset communication conditions, determining the target interaction information corresponding to the user operation;
[0094] When it is detected that the network quality meets the communication condition, the target interaction information is sent to the second device.
[0095] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0096] Based on the user operation and the user's historical operation information, target interaction information is determined.
[0097] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0098] Performing an iterative operation; the iterative operation includes: determining the response information of the user operation sent by the server based on the user operation and the historical operation information;
[0099] Based on the response information and historical operation information, the next operation corresponding to the response information is determined, and the next operation is used as a new user operation to perform iterative operations until the preset iteration condition is met to obtain the target interaction information.
[0100] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0101] Target interaction information is determined based on the image sensor and / or the audio sensor.
[0102] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0103] Target interaction information is determined from the memory.
[0104] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0105] The target interaction information is sent to the second device according to the sending order of the multiple pieces of interaction information; the sending order is determined according to the generation time and / or logical order of the multiple pieces of interaction information.
[0106] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0107] When it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold, it is determined that the network quality meets the communication condition.
[0108] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0109] When the network quality does not meet the preset communication conditions, determining the target interaction information corresponding to the user operation;
[0110] When it is detected that the network quality meets the communication condition, the target interaction information is sent to the second device.
[0111] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0112] Based on the user operation and the user's historical operation information, target interaction information is determined.
[0113] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0114] Performing an iterative operation; the iterative operation includes: determining the response information of the user operation sent by the server based on the user operation and the historical operation information;
[0115] Based on the response information and historical operation information, the next operation corresponding to the response information is determined, and the next operation is used as a new user operation to perform iterative operations until the preset iteration condition is met to obtain the target interaction information.
[0116] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0117] Target interaction information is determined based on the image sensor and / or the audio sensor.
[0118] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0119] Target interaction information is determined from the memory.
[0120] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0121] The target interaction information is sent to the second device according to a sending order of the multiple pieces of interaction information included in the target interaction information; the sending order is determined according to generation time and / or logical order of the multiple pieces of interaction information.
[0122] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0123] When it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold, it is determined that the network quality meets the communication condition.
[0124] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0125] When the network quality does not meet the preset communication conditions, determining the target interaction information corresponding to the user operation;
[0126] When it is detected that the network quality meets the communication condition, the target interaction information is sent to the second device.
[0127] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0128] Based on the user operation and the user's historical operation information, target interaction information is determined.
[0129] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0130] Performing an iterative operation; the iterative operation includes: determining the response information of the user operation sent by the server based on the user operation and the historical operation information;
[0131] Based on the response information and historical operation information, the next operation corresponding to the response information is determined, and the next operation is used as a new user operation to perform iterative operations until the preset iteration condition is met to obtain the target interaction information.
[0132] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0133] Target interaction information is determined based on the image sensor and / or the audio sensor.
[0134] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0135] Target interaction information is determined from the memory.
[0136] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0137] The target interaction information is sent to the second device according to a sending order of the multiple pieces of interaction information included in the target interaction information; the sending order is determined according to generation time and / or logical order of the multiple pieces of interaction information.
[0138] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0139] When it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold, it is determined that the network quality meets the communication condition.
[0140] 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 laws, regulations and standards of relevant countries and regions.
[0141] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0142] The technical features of the above embodiments may be arbitrarily combined. 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 specification.
[0143] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An information interaction method, characterized in that: Applied to a first device, comprising: When the network quality does not meet the preset communication conditions, determining the target interaction information corresponding to the user operation; In a case where it is detected that the network quality satisfies the communication condition, the target interaction information is sent to the second device.
2. The method according to claim 1, characterized in that The determining target interaction information corresponding to the user operation includes: The target interaction information is determined based on the user operation and the user's historical operation information.
3. The method according to claim 2, characterized in that The determining the target interaction information based on the user operation and the user's historical operation information includes: Performing an iterative operation; the iterative operation includes: determining response information of the user operation sent by the server based on the user operation and the historical operation information; Based on the response information and the historical operation information, a next operation corresponding to the response information is determined, the next operation is used as a new user operation, and the iterative operation is performed until a preset iterative condition is met to obtain the target interaction information.
4. The method according to claim 1, characterized in that The determining of the target interaction information corresponding to the user operation includes: The target interaction information is determined based on an image sensor and / or an audio sensor.
5. The method according to claim 1, characterized in that The determining of the target interaction information corresponding to the user operation includes: The target interaction information is determined from a memory.
6. The method according to any one of claims 1 to 5, characterized in that: The target interaction information includes a plurality of pieces of interaction information; and sending the target interaction information to the second device includes: The target interaction information is sent to the second device in a sending order of the multiple pieces of interaction information; the sending order is determined according to generation time and / or logical order of the multiple pieces of interaction information.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: When it is detected that the network quality parameter value is greater than or equal to a preset network quality parameter threshold, it is determined that the network quality meets the communication condition.
8. An information interaction device, characterized in that: Applied to a first device, comprising: A first determination module, configured to determine target interaction information corresponding to a user operation when the network quality does not meet a preset communication condition; A sending module is used to send the target interaction information to the second device when it is detected that the network quality meets the communication condition.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor executes the steps of the information interaction method according to any one of claims 1 to 7.
10. 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 7 are implemented.
11. 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 7 are implemented.
Citation Information
Patent Citations
Information interaction method and terminal
CN106487652A
Delayed payment method, mobile terminal and storage medium
CN109801061A
Cloud game control method and device, electronic equipment and readable storage medium
CN110507989A
Game auxiliary running method and device and electronic equipment
CN110639200A