CN117193901A - Information processing method and device and electronic equipment - Google Patents
Information processing method and device and electronic equipment Download PDFInfo
- Publication number
- CN117193901A CN117193901A CN202310908604.5A CN202310908604A CN117193901A CN 117193901 A CN117193901 A CN 117193901A CN 202310908604 A CN202310908604 A CN 202310908604A CN 117193901 A CN117193901 A CN 117193901A
- Authority
- CN
- China
- Prior art keywords
- dynamic change
- change information
- message
- information
- updating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 39
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 51
- 238000004458 analytical method Methods 0.000 claims description 18
- 230000004044 response Effects 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 4
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- LHCPRYRLDOSKHK-UHFFFAOYSA-N 7-deaza-8-aza-adenine Chemical compound NC1=NC=NC2=C1C=NN2 LHCPRYRLDOSKHK-UHFFFAOYSA-N 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The application discloses an information processing method, an information processing device and electronic equipment, and belongs to the technical field of information processing. The method comprises the following steps: in the chat interface, determining dynamic change information in a first message; determining a first object associated with the dynamic change information according to the dynamic change information, wherein the first object comprises at least one of an application program and a device state; and updating the dynamic change information according to the first object.
Description
Technical Field
The application belongs to the technical field of information processing, and particularly relates to an information processing method, an information processing device and electronic equipment.
Background
At present, in the process that a user uses a terminal device, a social program is often used for communication of work and life, and the user can often send various types of messages such as text, voice and the like to contacts such as friends and the like.
However, sometimes the message sent by the user is not constant, and a part of the content in the message may be related to other conditions outside, so the user may need to pay attention to the conditions outside, and then send a different message, such as: the message contains contents related to traffic jam, weather and the like, the conditions are dynamically changed, and the real-time dynamic change cannot be met when the fixed message is sent once.
Disclosure of Invention
The embodiment of the application aims to provide an information processing method, an information processing device and electronic equipment, which can solve the problem that when a sent message contains dynamic change information, the requirement of information dynamic change cannot be met by sending a fixed message once.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides an information processing method, including:
in the chat interface, determining dynamic change information in a first message;
determining a first object associated with the dynamic change information according to the dynamic change information, wherein the first object comprises at least one of an application program and a device state;
and updating the dynamic change information according to the first object.
In a second aspect, an embodiment of the present application provides an information processing apparatus including:
the first determining module is used for determining dynamic change information in the first message in the chat interface;
a second determining module, configured to determine, according to the dynamic change information, a first object associated with the dynamic change information, where the first object includes at least one of an application program and a device state;
And the updating module is used for updating the dynamic change information according to the first object.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, firstly, the dynamic change information in the first message is determined in the chat interface, then the first object associated with the dynamic change information is determined according to the dynamic change information, the dynamic change information can be updated in real time through the first object, namely, the dynamic change information can be obtained in real time through the first object along with the time change, so that the real-time property and the accuracy of the dynamic change information are realized.
Drawings
Fig. 1 is a schematic flow chart of an information processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram showing an information processing procedure according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of an information processing procedure according to an embodiment of the present application;
FIG. 4 is a third schematic diagram of an information processing procedure according to an embodiment of the present application;
FIG. 5 is a diagram showing an information processing procedure according to an embodiment of the present application;
FIG. 6 is a diagram showing an information processing procedure according to an embodiment of the present application;
FIG. 7 is a diagram showing a process of information processing according to an embodiment of the present application;
FIG. 8 is a diagram showing a process of information processing according to an embodiment of the present application;
fig. 9 is a schematic diagram of an information processing apparatus according to an embodiment of the present application;
fig. 10 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a block diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The information processing method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides an information processing method, which specifically includes the following steps:
step 101, in the chat interface, determining dynamic change information in the first message.
Specifically, in the chat interface, the electronic device may determine the dynamic change information in the first message in the chat interface, where the dynamic change information is not a fixed information that is constant, but may be dynamically changed according to other external conditions. For example: weather information, electricity amount information, traffic congestion information, and the like.
It will be appreciated that the first message in the chat interface may also be dynamically changed according to other external conditions, as the dynamic change information is dynamically changed according to other external conditions and the dynamic change information is included in the first message in the chat interface.
Step 102, determining a first object associated with the dynamic change information according to the dynamic change information, wherein the first object comprises at least one of an application program and a device state.
Specifically, the electronic device may determine, according to the dynamic change information, a first object associated with the dynamic change information, where the first object includes at least one of an application program and a device state, that is, at least one of the application program and the device state may be used as a dynamic change factor of the dynamic change information.
The device state may be a device memory state, a device power state, etc., which are not specifically limited herein.
And step 103, updating the dynamic change information according to the first object.
Specifically, after determining the first object associated with the dynamic change information, the electronic device may update the dynamic change information according to information related to the dynamic change information by the first object. For example: the dynamic change information is ' today ' weather, the first object is weather APP, and the dynamic change information is updated through the state information of the today's weather in the weather APP.
In the above embodiment of the present application, firstly, the dynamic change information in the first message is determined in the chat interface, and then the first object associated with the dynamic change information is determined according to the dynamic change information, through which the dynamic change information can be updated in real time, that is, as time changes, the dynamic change information can be obtained in real time through the first object, so as to achieve the real-time performance and accuracy of the dynamic change information.
As an optional specific embodiment of step 101, the determining the dynamic change information in the first message specifically includes:
receiving a first input for the first message;
selecting target information from the first message in response to the first input;
and determining the target information as the dynamic change information.
Specifically, the electronic device receives a first input of a user on a first message in the chat interface, and when the first input is received, the first message may be a message in a dialogue input box or a message which is already sent, and in response to the first input, at least part of content is selected from the first message as target information, and the target information is used as dynamic change information in the first message.
It will be appreciated that the entire content of the first message may be selected as the target information, or a part of the content of the first message may be selected as the target information, and another part of the content may be selected as the immutable information.
In a specific implementation, the user receives, on a social chat interface of the social program, an inquiry message sent by friend a, for example, the inquiry message is: "do you currently locate me here blocked? Play bars without blocking. The inquiry message is related to the condition of traffic jam, and the traffic jam condition is dynamically changed, so that the answer given by the user can only be the state of the current traffic jam condition, and the traffic jam condition can be changed after a period of time. For another example: the inquiry message is: "what is you that weather in tomorrow? Weather is good, i go to find you to play. The inquiry message is related to the open weather, and the open weather is dynamically changed, so that the user can only answer the currently obtained forecast information of the open weather, and the forecast information of the open weather may change after a period of time.
The second example is described as follows: the user needs to reply to the inquiry message, the user inputs a first message to be replied in the dialog box, the first message is "the open weather is clear, i want to find you together for the long term", the user can select the "the open weather is clear" in the first message according to the need, namely the electronic equipment receives the first input (namely the selection input) of the user for the "the open weather is clear" in the first message, the target information is selected from the first message in response to the first input, and the target information is determined as the dynamic change information in the first message. Specific ways of specifically determining the target information as dynamically changing information include, but are not limited to, the following two ways:
First kind: as shown in fig. 2, after selecting the target information "open weather and sunny day", a selection control of dynamic change information about the target information is displayed, the user may select the selection control of dynamic change information, and the electronic device determines the target information as dynamic change information after receiving the selection control of dynamic change information selected by the user.
Second kind: after the target information 'open weather and sunny day' is selected, the first operation is carried out on the target information by a user, so that the target information is determined to be dynamic change information. Wherein the first operation includes, but is not limited to: slide gestures, long press operations, etc.
As an optional specific embodiment of step 102, the determining, according to the dynamic change information, the first object associated with the dynamic change information may specifically include:
displaying selection controls corresponding to the objects respectively;
receiving a second input to the plurality of selection controls;
selecting a target selection control from the plurality of selection controls in response to the second input; among the objects, an object corresponding to the target selection control is a first object;
and establishing an association relation between the dynamic change information and the first object.
Specifically, after the dynamic change information is determined, selection controls corresponding to the states of the plurality of application programs APP and/or the equipment are displayed, namely the electronic equipment receives second input of a user on the plurality of selection controls, one of the plurality of selection controls is selected as a target selection control in response to the second input, and an object corresponding to the target selection control is the first object. After the first object is determined, an association relationship is established between the dynamic change information and the first object, so that the first object is the object associated with the dynamic change information, and the dynamic change information can be updated in real time through the first object.
It should be noted that, after the association relationship is established between the dynamic change information and the first object, the first object may automatically extract the context content of the dynamic change information in the first message, and update the dynamic change information in real time according to the context content, so as to obtain more accurate information.
In a specific implementation, the following description will take an object APP as an example: after the dynamic change information is determined, a set of APP is displayed above the dynamic change information, where the set is a selection control corresponding to a plurality of APP, as shown in fig. 3, where selection controls of 4 APP are listed in an exemplary manner. The user can select one of the selection controls corresponding to the APP as a target selection control, namely the electronic equipment receives second input of the user on the plurality of selection controls, one of the plurality of selection controls is selected as the target selection control in response to the second input, and an application program corresponding to the target selection control is the first object. And then, establishing an association relation between the dynamic change information and the first object, thereby updating the dynamic change information in real time through the first object, namely updating the specific content of the first message in real time through the first object.
For example: if the dynamic change information is traffic condition information, the target selection control can be a selection control corresponding to the navigation APP, namely the navigation APP is the first object. If the dynamic change information is information of weather conditions, the target selection control can be a selection control corresponding to the weather APP, namely the weather APP is the first object.
For another example: if the dynamic change information is information of the electric quantity condition, the target selection control may be a selection control corresponding to the equipment state related to the electric quantity, that is, the equipment state related to the electric quantity is the first object.
As another optional specific embodiment of step 102, the determining, according to the dynamic change information, the first object associated with the dynamic change information may specifically include:
carrying out semantic analysis on the dynamic change information to obtain an analysis result;
determining a first object from a plurality of objects according to the analysis result;
and establishing an association relation between the dynamic change information and the first object.
Specifically, after the dynamic change information is determined, the electronic device performs semantic analysis on the dynamic change information through the context content of the dynamic change information in the first message, so as to obtain an analysis result. And automatically selecting one object from the plurality of objects as a first object according to the analysis result, and establishing an association relation between the dynamic change information and the first object, wherein the first object is the object associated with the dynamic change information, and the dynamic change information can be updated in real time through the first object. The whole process is automatically carried out, manual selection by a user is not needed, the operation is simple and convenient, the time is saved, and the user experience is improved.
For example: the dynamic change information is 'sunny day', the dynamic change information is weather attribute information according to the context content 'sunny day and sunny day', the analysis result is weather-related dynamic change information, and the electronic equipment can determine that the first object is weather APP according to the analysis result.
As an alternative embodiment, the method may further include:
sending the first message;
wherein, the step 103 updates the dynamic change information according to the first object, including:
acquiring state information associated with the dynamic change information from the first object;
and under the condition that the state information is inconsistent with the dynamic change information, updating the dynamic change information in the first message according to the state information.
Specifically, the electronic device may send the first message after determining the first object according to the dynamic change information, or may determine the first object after sending the first message, or may perform the synchronization, which is not limited herein specifically.
After sending the first message, the electronic device may obtain status information associated with the dynamically changing information from the first object for a preset duration (or aperiodically) at intervals, for example: the dynamic change information is 'open weather and sunny day', the first object is weather APP, and the state information associated with the dynamic change information in the first object is open weather state information; if the weather state information of the tomorrow in the weather APP is a sunny day, the dynamic change information is correspondingly a 'tomorrow weather sunny day'; if the weather state information of the open sky in the weather APP is a rainy day, the dynamic change information is correspondingly a 'weather rainy day of the open sky'.
After the state information associated with the dynamic change information in the first object is acquired, the state information is compared with the dynamic change information, and whether the state information is consistent with the dynamic change information is judged. If the state information is consistent with the dynamic change information, the operation is not needed, and the state information associated with the dynamic change information is continuously acquired at intervals of a preset time period (or aperiodically). If the state information is inconsistent with the dynamic change information, the first object sends the changed state information to the social program, the social program detects whether a first message sent before is associated with the first object, and if so, the dynamic change information needs to be updated according to the changed state information.
As shown in fig. 4, in a specific implementation, the first message is "open weather and sunny day," i want to find you together as early as you, the dynamic change information is "open weather and sunny day," and the first object is weather APP. The electronic device sends a first message. The time length is preset at each interval, and the weather state information of tomorrow is obtained from the weather APP; if the weather state information of the tomorrow in the weather APP is sunny, the state information is consistent with the dynamic change information, no operation is needed, and the state information related to the dynamic change information is obtained continuously at intervals of a preset time length. If the weather state information of the tomorrow in the weather APP is rainy days, the state information is inconsistent with the dynamic change information, and the dynamic change information needs to be updated.
As an optional specific embodiment, the step of updating the dynamic change information in the first message according to the state information may specifically include:
and updating the dynamic change information in the sent first message according to the state information when the reading state of the first message is unread.
Specifically, if the state information is inconsistent with the dynamic change information, the first object sends the changed state information to the social program, the social program detects whether the first message sent out before is associated with the first object, if so, the dynamic change information needs to be updated, and at the moment, the reading state of the sent first message needs to be judged. If the read status is unread, the method indicates that the opposite party does not acquire the first message and the dynamic change information, and the dynamic change information can be directly updated in the sent first message.
As shown in fig. 4, in a specific implementation, the first message is "open weather and sunny day," i want to find you together as early as you, the dynamic change information is "open weather and sunny day," and the first object is weather APP. The electronic device sends a first message. The time length is preset at each interval, and the weather state information of tomorrow is obtained from the weather APP; if the weather state information of the tomorrow in the weather APP is sunny, the state information is consistent with the dynamic change information, no operation is needed, and the state information related to the dynamic change information is obtained continuously at intervals of a preset time length. If the weather state information of the tomorrow in the weather APP is rainy days, the state information is inconsistent with the dynamic change information, the dynamic change information needs to be updated, and the reading state of the sent first message needs to be judged at the moment. If the reading state is unread, the situation that the opposite party does not acquire the first message and the dynamic change information is indicated, the dynamic change information can be directly updated in the sent first message, the updated dynamic change information is the weather rainy day, namely, the weather rainy day is directly replaced by the weather rainy day, and the updated first message is the weather rainy day, so that I want to play together as soon as you are.
As another optional specific embodiment, the step of updating the dynamic change information in the first message according to the state information may specifically further include:
updating the dynamic change information according to the state information under the condition that the reading state of the first message is read;
generating a second message according to the updated dynamic change information and the first message;
and sending the second message.
Specifically, after the state information associated with the dynamic change information in the first object is acquired, the state information is compared with the dynamic change information, and whether the state information is consistent with the dynamic change information is judged. If the state information is inconsistent with the dynamic change information, the dynamic change information needs to be updated, and at the moment, the reading state of the sent first message needs to be judged. If the reading state of the first message is read, the method indicates that the opposite side has acquired the dynamic change information in the first message, and if the dynamic change information in the first message is changed, the dynamic change information needs to be retransmitted to inform the opposite side that the first message has changed. At this time, it is necessary to update the dynamic change information according to the state information, and generate a second message including the updated dynamic change information, and transmit the second message.
The second message may include only updated dynamic change information, or may include updated dynamic change information and non-variable information in the first message.
As shown in fig. 5, in a specific implementation, the first message is "open weather and sunny day," i want to find you together as early as you, the dynamic change information is "open weather and sunny day," and the first object is weather APP. The electronic device sends a first message. The time length is preset at each interval, and the weather state information of tomorrow is obtained from the weather APP; if the weather state information of the tomorrow in the weather APP is sunny, the state information is consistent with the dynamic change information, no operation is needed, and the state information related to the dynamic change information is obtained continuously at intervals of a preset time length. If the weather state information of the tomorrow in the weather APP is rainy days, the state information is inconsistent with the dynamic change information, the dynamic change information needs to be updated, and the reading state of the sent first message needs to be judged at the moment. If the reading state is read, the method indicates that the opposite party has acquired the first message and the dynamic change information, and at the moment, the dynamic change information is required to be updated into 'open weather rainy days' according to the state information, and a second message of 'open weather rainy days' is generated and sent.
As an optional specific embodiment, the step of sending the second message may specifically include:
establishing a reference relation between the second message and the first message;
and sending a second message referencing the first message according to the referencing relationship.
In particular, in order to make the sent second message clearer, a reference relationship may be established between the second message and the first message, and since the second message is sent after the first message, the second message references the first message, so that a user who receives the second message can learn that the second message is the first message after the update.
As shown in fig. 6, in a specific implementation, the first message is "open weather and sunny day," i want to find you together as early as you, the dynamic change information is "open weather and sunny day," and the first object is weather APP. The electronic device sends a first message. The time length is preset at each interval, and the weather state information of tomorrow is obtained from the weather APP; if the weather state information of the tomorrow in the weather APP is sunny, the state information is consistent with the dynamic change information, no operation is needed, and the state information related to the dynamic change information is obtained continuously at intervals of a preset time length. If the weather state information of the tomorrow in the weather APP is rainy days, the state information is inconsistent with the dynamic change information, the dynamic change information needs to be updated, and the reading state of the sent first message needs to be judged at the moment. If the reading state is read, the condition that the opposite side has acquired the first message and the dynamic change information is indicated, at the moment, the dynamic change information is required to be updated into 'tomorrow weather and rainy days' according to the state information, a second message of 'tomorrow weather and rainy days' is generated, a reference relation is established between the second message and the first message, the second message is transmitted, and the second message references the previously transmitted first message.
As an alternative embodiment, after the electronic device determines the dynamic change information in the first message, the method may further include:
according to the dynamic change information, determining condition information associated with the dynamic change information in the first message;
the step 103 of updating the dynamic change information according to the first object may specifically include:
updating the dynamic change information according to the first object under the condition that the dynamic change information does not meet the condition information;
wherein, after updating the dynamic change information according to the first object in step 103, the method may further include:
and under the condition that the updated dynamic change information meets the condition information, acquiring a third message, and sending the third message.
Specifically, the electronic device determines dynamic change information from the first message, determines condition information associated with the dynamic change information from the first message, determines whether the dynamic change information meets the condition information, and if the dynamic change information meets the condition information, acquires a third message and sends the third message. If the dynamic change information does not meet the condition information, the dynamic change information needs to be updated through the first object, after the dynamic change information is updated, whether the updated dynamic change information meets the condition information is judged, and the like. And if the updated dynamic change information meets the condition information, acquiring a third message and sending the third message.
It should be noted that, the condition information may be determined through a selection input of the user, or may be automatically determined by the electronic device according to the dynamic change information and the semantic analysis of the first message.
As shown in fig. 7, in a specific implementation, the first message is "30% of the current electric quantity, more than 50% of the current electric quantity, the charging treasured is taken, the dynamic change information is" 30% of the electric quantity ", the first object is the equipment state related to the electric quantity, the condition information is" more than 50% ", and the electric quantity 30% is less than 50%, i.e. the dynamic change information does not satisfy the condition information, and the dynamic change information needs to be updated through the equipment state related to the electric quantity. If the updated dynamic change information is "electric quantity 55%", and the electric quantity 55% is greater than 50%, that is, the updated dynamic change information satisfies the condition information, a third message "current electric quantity 55%, to take the treasured charge" is obtained, and the third message is sent.
As shown in fig. 8, in another specific implementation, the first message is "the current electric quantity is insufficient, the electric quantity is greater than 50%, the condition information is" the electric quantity is greater than 50% ", the dynamic change information is" the electric quantity ", and the first object is the device state related to the electric quantity. And acquiring the current electric quantity through the equipment state of the electric quantity in the first object, and if the current electric quantity is more than 50%, namely the dynamic change information meets the condition information, acquiring a third message of 'taking the charge pal', and sending the third message.
It should be noted that, the third message may be preset by the user in advance, and is automatically sent when the electric quantity satisfies 50%.
In summary, in the above embodiment of the present application, the dynamic change information in the first message is first determined, the dynamic change information is associated with the first object, and the dynamic change information is acquired and updated in real time through the first object, that is, the dynamic change information changes with time and can be acquired in real time through the first object, so as to achieve real-time performance and accuracy of the dynamic change information.
According to the information processing method provided by the embodiment of the application, the execution subject can be an information processing device. In the embodiment of the present application, an information processing apparatus is described by taking an example of an information processing method performed by the information processing apparatus.
As shown in fig. 9, an embodiment of the present application further provides an information processing apparatus 800, including:
a first determining module 801, configured to determine, in a chat interface, dynamic change information in a first message;
a second determining module 802, configured to determine, according to the dynamic change information, a first object associated with the dynamic change information, where the first object includes at least one of an application program and a device state;
And an updating module 803, configured to update the dynamic change information according to the first object.
In the above embodiment of the present application, firstly, the dynamic change information in the first message is determined in the chat interface, and then the first object associated with the dynamic change information is determined according to the dynamic change information, through which the dynamic change information can be updated in real time, that is, as time changes, the dynamic change information can be obtained in real time through the first object, so as to achieve the real-time performance and accuracy of the dynamic change information.
Optionally, the first determining module 801 is specifically configured to:
receiving a first input for a first message;
selecting target information from the first message in response to the first input;
and determining the target information as the dynamic change information.
Optionally, the second determining module 802 is specifically configured to:
displaying selection controls corresponding to the objects respectively;
receiving a second input to the plurality of selection controls;
selecting a target selection control from the plurality of selection controls in response to the second input; among the objects, an object corresponding to the target selection control is a first object;
And establishing an association relation between the dynamic change information and the first object. Displaying selection controls corresponding to the application programs respectively;
optionally, the second determining module 802 is specifically configured to:
carrying out semantic analysis on the dynamic change information to obtain an analysis result;
determining a first object from a plurality of objects according to the analysis result;
and establishing an association relation between the dynamic change information and the first object.
Optionally, the apparatus further includes:
a sending module, configured to send the first message;
the updating module 803 is specifically configured to:
acquiring state information associated with the dynamic change information from the first object;
and under the condition that the state information is inconsistent with the dynamic change information, updating the dynamic change information in the first message according to the state information.
Optionally, the updating module 803 is specifically configured to, when updating the dynamic change information in the first message according to the state information:
and updating the dynamic change information in the sent first message according to the state information when the reading state of the first message is unread.
Optionally, the updating module 803 is specifically further configured to, when updating the dynamic change information in the first message according to the state information:
updating the dynamic change information according to the state information under the condition that the reading state of the first message is read;
generating a second message according to the updated dynamic change information and the first message;
and sending the second message.
Optionally, when sending the second message, the updating module 803 is specifically configured to:
establishing a reference relation between the second message and the first message;
and sending a second message referencing the first message according to the referencing relationship.
Optionally, the apparatus further includes:
the third determining module is used for determining condition information associated with the dynamic change information in the first message according to the dynamic change information;
the updating module 803 is specifically configured to:
updating the dynamic change information according to the first object under the condition that the dynamic change information does not meet the condition information;
wherein the apparatus further comprises:
and the processing module is used for acquiring a third message and sending the third message under the condition that the updated dynamic change information meets the condition information.
In summary, in the above embodiment of the present application, the dynamic change information in the first message is first determined, the dynamic change information is associated with the first object, and the dynamic change information is acquired and updated in real time through the first object, that is, the dynamic change information changes with time and can be acquired in real time through the first object, so as to achieve real-time performance and accuracy of the dynamic change information.
The information processing apparatus in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The information processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The information processing apparatus provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 8, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 10, the embodiment of the present application further provides an electronic device 900, which includes a processor 901 and a memory 902, where a program or an instruction capable of being executed on the processor 901 is stored in the memory 902, and the program or the instruction implements each step of the embodiment of the information processing method when executed by the processor 901, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be arranged in different components, which are not described in detail herein.
Wherein the processor 1010 is configured to determine, in the chat interface, dynamic change information in the first message;
determining a first object associated with the dynamic change information according to the dynamic change information, wherein the first object comprises at least one of an application program and a device state;
and updating the dynamic change information according to the first object.
In the above embodiment of the present application, firstly, the dynamic change information in the first message is determined in the chat interface, and then the first object associated with the dynamic change information is determined according to the dynamic change information, through which the dynamic change information can be updated in real time, that is, as time changes, the dynamic change information can be obtained in real time through the first object, so as to achieve the real-time performance and accuracy of the dynamic change information.
Optionally, the processor 1010 is specifically configured to, when determining the dynamic change information in the first message:
receiving a first input for a first message;
selecting target information from the first message in response to the first input;
and determining the target information as the dynamic change information.
Optionally, the processor 1010 is specifically configured to, when determining, according to the dynamic change information, a first object associated with the dynamic change information:
displaying selection controls corresponding to the objects respectively;
receiving a second input to the plurality of selection controls;
selecting a target selection control from the plurality of selection controls in response to the second input; among the objects, an object corresponding to the target selection control is a first object;
and establishing an association relation between the dynamic change information and the first object.
Optionally, the processor 1010 is specifically configured to, when determining, according to the dynamic change information, a first object associated with the dynamic change information:
carrying out semantic analysis on the dynamic change information to obtain an analysis result;
determining a first object from a plurality of objects according to the analysis result;
And establishing an association relation between the dynamic change information and the first object.
Optionally, the processor 1010 is further configured to:
sending the first message;
wherein, when the processor 1010 updates the dynamic change information according to the first object, the processor is specifically configured to:
acquiring state information associated with the dynamic change information from the first object;
and under the condition that the state information is inconsistent with the dynamic change information, updating the dynamic change information in the first message according to the state information.
Optionally, when the processor 1010 updates the dynamic change information in the first message according to the state information, the method specifically is used for:
and updating the dynamic change information in the sent first message according to the state information when the reading state of the first message is unread.
Optionally, when the processor 1010 updates the dynamic change information in the first message according to the state information, the method specifically further includes:
updating the dynamic change information according to the state information under the condition that the reading state of the first message is read;
Generating a second message according to the updated dynamic change information and the first message;
and sending the second message.
Optionally, when the second message is sent, the processor 1010 is specifically configured to:
establishing a reference relation between the second message and the first message;
and sending a second message referencing the first message according to the referencing relationship.
Optionally, after the determining the dynamic change information in the first message, the processor 1010 is further configured to:
according to the dynamic change information, determining condition information associated with the dynamic change information in the first message;
wherein, when the processor 1010 updates the dynamic change information according to the first object, the processor is specifically configured to:
updating the dynamic change information according to the first object under the condition that the dynamic change information does not meet the condition information;
wherein the processor 1010 is further configured to, after the updating the dynamic change information according to the first object:
and under the condition that the updated dynamic change information meets the condition information, acquiring a third message, and sending the third message.
In summary, in the above embodiment of the present application, the dynamic change information in the first message is first determined, the dynamic change information is associated with the first object, and the dynamic change information is acquired and updated in real time through the first object, that is, the dynamic change information changes with time and can be acquired in real time through the first object, so as to achieve real-time performance and accuracy of the dynamic change information.
It should be appreciated that in an embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-described information processing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the information processing method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described information processing method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (11)
1. An information processing method, characterized by comprising:
in the chat interface, determining dynamic change information in a first message;
determining a first object associated with the dynamic change information according to the dynamic change information, wherein the first object comprises at least one of an application program and a device state;
and updating the dynamic change information according to the first object.
2. The method of claim 1, wherein the determining the dynamic change information in the first message comprises:
receiving a first input for a first message;
selecting target information from the first message in response to the first input;
and determining the target information as the dynamic change information.
3. The method of claim 1, wherein said determining a first object associated with said dynamically changing information based on said dynamically changing information comprises:
displaying selection controls corresponding to the objects respectively;
receiving a second input to the plurality of selection controls;
selecting a target selection control from the plurality of selection controls in response to the second input; among the objects, an object corresponding to the target selection control is a first object;
And establishing an association relation between the dynamic change information and the first object.
4. The method of claim 1, wherein said determining a first object associated with said dynamically changing information based on said dynamically changing information comprises:
carrying out semantic analysis on the dynamic change information to obtain an analysis result;
determining a first object from a plurality of objects according to the analysis result;
and establishing an association relation between the dynamic change information and the first object.
5. The method according to claim 2, wherein the method further comprises:
sending the first message;
wherein the updating the dynamic change information according to the first object includes:
acquiring state information associated with the dynamic change information from the first object;
and under the condition that the state information is inconsistent with the dynamic change information, updating the dynamic change information in the first message according to the state information.
6. The method of claim 5, wherein updating the dynamically changing information in the first message based on the status information comprises:
And updating the dynamic change information in the sent first message according to the state information when the reading state of the first message is unread.
7. The method of claim 5, wherein updating the dynamically changing information in the first message based on the status information further comprises:
updating the dynamic change information according to the state information under the condition that the reading state of the first message is read;
generating a second message according to the updated dynamic change information and the first message;
and sending the second message.
8. The method of claim 7, wherein the sending the second message comprises:
establishing a reference relation between the second message and the first message;
and sending a second message referencing the first message according to the referencing relationship.
9. The method of claim 2, wherein after the determining the dynamically changing information in the first message, the method further comprises:
according to the dynamic change information, determining condition information associated with the dynamic change information in the first message;
wherein the updating the dynamic change information according to the first object includes:
Updating the dynamic change information according to the first object under the condition that the dynamic change information does not meet the condition information;
wherein after updating the dynamic change information according to the first object, the method further includes:
and under the condition that the updated dynamic change information meets the condition information, acquiring a third message, and sending the third message.
10. An information processing apparatus, characterized by comprising:
the first determining module is used for determining dynamic change information in the first message in the chat interface;
a second determining module, configured to determine, according to the dynamic change information, a first object associated with the dynamic change information, where the first object includes at least one of an application program and a device state;
and the updating module is used for updating the dynamic change information according to the first object.
11. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the information processing method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310908604.5A CN117193901A (en) | 2023-07-21 | 2023-07-21 | Information processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310908604.5A CN117193901A (en) | 2023-07-21 | 2023-07-21 | Information processing method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117193901A true CN117193901A (en) | 2023-12-08 |
Family
ID=88989489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310908604.5A Pending CN117193901A (en) | 2023-07-21 | 2023-07-21 | Information processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117193901A (en) |
-
2023
- 2023-07-21 CN CN202310908604.5A patent/CN117193901A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113360238A (en) | Message processing method and device, electronic equipment and storage medium | |
CN112269798B (en) | Information display method and device and electronic equipment | |
CN114500432A (en) | Session message transceiving method and device, electronic equipment and readable storage medium | |
CN112272303A (en) | Live content display method and device, electronic equipment and storage medium | |
CN113596555B (en) | Video playing method and device and electronic equipment | |
CN113285866B (en) | Information sending method and device and electronic equipment | |
CN111897475A (en) | Message viewing method and device | |
CN112511412A (en) | Information sending method and device, electronic equipment and readable storage medium | |
CN114374663B (en) | Message processing method and message processing device | |
CN112711366A (en) | Image generation method and device and electronic equipment | |
CN114327088A (en) | Message sending method, device, electronic equipment and medium | |
US20240089223A1 (en) | Information display method and apparatus, and electronic device | |
CN112887488B (en) | Caller identification method and device and electronic equipment | |
CN115866314B (en) | Video playing method and device | |
CN116016756A (en) | Information processing method, apparatus, electronic device, and readable storage medium | |
CN115718581A (en) | Information display method and device, electronic equipment and storage medium | |
CN115586937A (en) | Interface display method and device, electronic equipment and readable storage medium | |
CN113239212B (en) | Information processing method and device and electronic equipment | |
CN115633007A (en) | Contact person determination method and device, electronic equipment and medium | |
CN114928761A (en) | Video sharing method and device and electronic equipment | |
CN117193901A (en) | Information processing method and device and electronic equipment | |
CN112929751B (en) | System, method and terminal for determining action execution | |
CN112035032B (en) | Expression adding method and device | |
CN117812032A (en) | Message processing method and device | |
CN115952311A (en) | Text information generation method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |