Disclosure of Invention
In view of this, the embodiments of the present application provide a session marking method to solve the technical defects in the prior art. The embodiment of the application also provides a session marking device, a computing device and a computer readable storage medium.
The embodiment of the application discloses a session marking method, which comprises the following steps:
detecting a conversation action of a conversation page;
Judging whether the conversation action is a trigger action of a mark trigger mark preset aiming at the conversation page or not;
if so, displaying a marking control of the session content in the session page on the session page;
acquiring a mark input corresponding to the conversation content input by triggering the mark control;
a session token for the session content is updated based on the token input.
Optionally, after the step of updating the session content based on the flag input is executed, the method includes:
determining the state identifier of the session mark of the session content according to a mark control triggered in the input process of the mark input corresponding to the session content;
displaying the state identifier of the session mark on the session page;
and the type of the state identification and the type of the marking control have a one-to-one correspondence relationship.
Optionally, the step of determining whether the session action is a trigger action for marking a trigger identifier preset for the session page, if not, includes:
judging whether the session action is a wakeup action aiming at the mark trigger mark;
if yes, updating the mark display state of the mark trigger mark;
Wherein the wake-up action comprises at least one of:
the action that the stay time of the conversation content exceeds the preset time, the click action aiming at the conversation content and the click action aiming at the graphic mark in the conversation page.
Optionally, the identifier shows a status, including at least one of: a benchmark display state and a highlight display state.
Optionally, the updating the identifier display state of the marker trigger includes:
and changing the mark display state of the mark trigger mark from the reference display state to the highlight display state.
Optionally, after the sub-step of updating the identifier presentation status of the mark trigger is executed, the sub-step includes:
if a second trigger action aiming at the mark trigger mark is detected, displaying a mark control of the conversation content in the conversation page on the conversation page;
acquiring a second marking input corresponding to the conversation content input by triggering the marking control;
updating a session token for the session content based on the second token input;
and displaying the session mark of the session content on the session page.
Optionally, the identifier display state of the identifier trigger is determined based on the session frequency corresponding to the session content in the session page;
If the session frequency corresponding to the session content is greater than a preset session frequency threshold, the identifier display state of the marker trigger identifier is a reference display state;
and if the session frequency corresponding to the session content is less than or equal to the preset session frequency threshold, the identifier display state of the mark trigger identifier is a highlighted display state.
Optionally, the mark control is provided with a corresponding control state;
correspondingly, the step of displaying the markup control of the session content in the session page on the session page includes:
determining the control state of a marking control of the session content in the session page;
displaying the marking control on the conversation page based on the control state;
wherein the control state of the marked control comprises at least one of the following items: a selected state and an unselected state.
Optionally, the session marking method includes:
receiving a secondary marking action for the marking control;
judging whether the control state of the marking control is the selected state or not;
and if so, updating the control state of the marked control to the unselected state.
Optionally, the marking control includes at least one of: the system comprises an evaluation control, an expression mark content input control, a text mark content input control and a collection control.
Optionally, the session content in the session page includes at least one of the following: a session entry, a session segment of at least two consecutive session entries.
Optionally, if the number of the state identifiers displayed on the session page is greater than 1, the state identifiers are sequentially arranged from front to back according to the selected time sequence.
Optionally, the session marking method includes:
judging whether the session action is a state identifier trigger action aiming at the state identifier of the session marker;
and if so, canceling the selection of the state identifier of the session mark, deleting the state identifier of the session mark, or entering an editing window for editing the session mark.
Optionally, the session marking method includes:
judging whether the conversation action is a conversation input action aiming at a conversation input box of the conversation page;
if yes, hiding a marking control of the session page;
updating the mark display state of the session mark corresponding to the session content in the session page to the reference display state;
and displaying the session content on the session page, the mark trigger mark in the reference display state and/or the mark content of the session mark corresponding to the session content.
The present application also provides a session marking apparatus, including:
a conversation action detection unit configured to detect a conversation action of a conversation page;
a session action judging unit configured to judge whether the session action is a trigger action of a mark trigger mark preset for the session page; if yes, operating a marking control display unit;
the mark control display unit is configured to display a mark control of the session content in the session page on the session page;
a mark input acquisition unit configured to acquire a mark input corresponding to the session content input by triggering the mark control;
a session flag updating unit configured to update a session flag of the session content based on the flag input.
The present application further provides a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
detecting a conversation action of a conversation page;
judging whether the conversation action is a trigger action of a mark trigger mark preset aiming at the conversation page or not;
if so, displaying a marking control of the session content in the session page on the session page;
Acquiring a mark input corresponding to the conversation content input by triggering the mark control;
a session token for the session content is updated based on the token input.
The present application also provides a computer readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the session marking method.
Compared with the prior art, the method has the following advantages:
the application provides a session marking method, which comprises the following steps: detecting a conversation action of a conversation page; judging whether the conversation action is a trigger action of a mark trigger mark preset for the conversation page; if so, displaying a marking control of the session content in the session page on the session page; acquiring a mark input corresponding to the conversation content input by triggering the mark control; a session token for the session content is updated based on the token input.
According to the session marking method, the triggering action of the user for marking the session content on the session page is detected, the marking control for marking the session content is further displayed on the session page, the marking control for marking the session content in the session page is obtained by triggering the marking control for marking the session content in the session page, the marking operation which is possibly required by the user is determined by detecting the session action of the user on the session page in the realization process, so that the user is reasonably guided to use the marking function, excessive disturbance is avoided, the marking function and the session content are combined more deeply, and the user can perform the marking operation more intuitively and conveniently.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The application provides a session marking method, a session marking device, a computing device and a computer readable storage medium. The following detailed description and the description of the steps of the method are individually made with reference to the drawings of the embodiments provided in the present application.
The embodiment of the session marking method provided by the application is as follows:
referring to fig. 1, which shows a processing flow chart of a session marking method provided in this embodiment, referring to fig. 2, which shows a schematic diagram of a first session page provided in this embodiment of the present application; referring to fig. 3, a schematic diagram of a second session page provided by the embodiment of the present application is shown; referring to fig. 4, a schematic diagram of a third session page provided by the embodiment of the present application is shown; referring to fig. 5, a schematic diagram of a fourth session page provided by the embodiment of the present application is shown; referring to fig. 6, a schematic diagram of a fifth session page provided in the embodiment of the present application is shown; referring to fig. 7, a schematic diagram of a sixth session page provided in the embodiment of the present application is shown.
The session marking method provided by the application comprises the following steps:
step S102, detecting the conversation action of the conversation page.
On some content platforms, such as blogs, posts, articles, comments and other scenes, the user is supported to perform operations of like clicking, stepping on, collecting and the like on corresponding contents, the states and comments and the like issued by the user also support functions of like clicking, stepping on, marking and the like, and obvious trigger points of like clicking, stepping on and marking are provided under each state or message; however, such explicit trigger points are not suitable for the session scenario, because the number of session messages in the session scenario is relatively large, and if such an explicit trigger point is set for each session message, information on a session page may be confused.
The session marking method provided by the application judges the marks which are possibly needed by the user according to the operation state of the user in the session interaction process of the session page, and guides the user to use the hidden function of the session page in a micro-interaction mode, namely: the corresponding marking function is carried out on the conversation content in the conversation page, so that the user is reasonably guided to use the marking function, and excessive disturbance is avoided; meanwhile, the trigger mark for guiding the user to mark is displayed on the session page, so that the marking function and the session content are combined more deeply, and the user can perform marking operation more intuitively and conveniently.
The conversation marking method provided by the embodiment of the application supports the user to mark different dimensions of the conversation content in the conversation page in the conversation interaction process of the user through the conversation page. Preferably, the session content in the session page includes at least one of the following: a session entry, a session segment of at least two consecutive session entries.
Wherein, the conversation item refers to a single conversation message displayed in a conversation page; the conversation fragment is composed of a plurality of continuous conversation messages, and in practical application, the conversation fragment can be regarded as a conversation card composed of a plurality of continuous conversation messages.
Step S104, judging whether the conversation action is a trigger action of a mark trigger mark preset for the conversation page.
The marking trigger mark in the embodiment of the application refers to a trigger interface which is preset in a session page and used for entering into marking the session content of the session page, and a user enters into a state of marking the session content in the session page by triggering the marking trigger mark in the session page.
In specific implementation, judging whether the session action detected on the session page is a trigger action aiming at the mark trigger identifier;
If so, indicating that the triggering action sent by the user at the session page currently aims at triggering the mark triggering identifier, entering a processing process of marking the session content of the session page, executing the following step S106, and displaying a mark control of the session content in the current session page at the session page;
if not, indicating that the purpose of the session action sent by the user at the session page is not used for triggering the mark trigger identifier, preferably, further judging whether the session action is a wakeup action aiming at the mark trigger identifier;
if the wake-up action is the wake-up action, updating the mark display state of the mark trigger mark;
if not, no processing is required.
The wake-up action in the embodiment of the present application includes at least one of: the action that the stay time of the conversation content exceeds the preset time, the click action aiming at the conversation content and the click action aiming at the graphic mark in the conversation page.
The mark display state of the mark trigger mark preferably includes the following two states: a baseline presentation state and a highlight presentation state. Correspondingly, the updating of the identifier display state of the marker trigger preferably means changing the identifier display state of the marker trigger from the reference display state to the highlight display state.
It should be noted that, in the session page, the identifier display state of the tag trigger identifier is initially a reference display state in the identifier display state of the session page, and if the user inputs a wake-up action corresponding to the tag trigger identifier in the session page, the identifier display state of the tag trigger identifier is updated to a highlighted display state, and the user is guided to perform corresponding operations through different states, which embodies the idea that the user is guided to perform corresponding tag operations according to the operations of the user in the session interaction process of the session page.
Further, on the basis of the above updating of the identifier display state of the marker trigger, that is, after the above changing the identifier display state of the marker trigger from the reference display state to the highlighted display state, preferably, if a second trigger action for the marker trigger is detected, a marker control for the session content in the session page is displayed on the session page, and a second marker input corresponding to the session content input by triggering the marker control is acquired, and then the session marker of the session content is updated based on the second marker input, and finally the session marker of the session content is displayed on the session page.
During specific implementation, in the process of performing session interaction on the session page, the operation intention of the user can be judged or predicted according to the operation of the user in the session interaction process, for example, if the user operates more inputs concentrated on the session input box in the session interaction process on the session page, the user is most likely to be in a highly concentrated state of the session interaction; if the user slides the historical conversation item up and down on the conversation page, the historical conversation item is likely to be relevant data recorded in the historical conversation item, and therefore conversation operation of the user on the conversation page and conversation frequency of the user have relevance to a certain extent, and based on the relevance, the following preferred embodiments are provided in the embodiment of the application:
determining the identifier display state of the marker trigger identifier according to the session frequency corresponding to the session content in the session page, specifically, if the session frequency corresponding to the session content is greater than a preset session frequency threshold, indicating that more users concentrate on session interaction, and setting the identifier display state of the marker trigger identifier as a reference display state; if the session frequency corresponding to the session content is less than or equal to the preset session frequency threshold, it indicates that the user is not highly concentrated on session interaction, and it is very likely that the session content is marked or the historical session content is viewed, and the mark display state of the mark trigger mark is set to be a highlighted display state, so that the user is guided to mark better according to the operation of the user in the session interaction process.
And step S106, displaying the mark control of the conversation content in the conversation page on the conversation page.
The marking control in the embodiment of the application comprises at least one of the following items: the system comprises an evaluation control, an expression mark content input control, a text mark content input control and a collection control.
The evaluation control is used for evaluating the session entries or the session segments, such as "like" or "step on" the session content; the expression mark content input control is used for inputting corresponding expression mark content in the marking process; the text marked content input control is used for inputting corresponding text marked content in the marking process; the collection control is used for collecting aiming at the conversation items or the conversation fragments.
It should be noted that, besides the 4 marking controls provided above, the marking control may also adopt other types of controls, such as a deletion control for deleting a corresponding session entry or a session segment, and further such as a reminder control for adding a reminder to a corresponding session entry or a session segment, which is not limited in this embodiment.
In a preferred embodiment provided by the embodiment of the present application, the marking control has a corresponding control state; correspondingly, in the process of displaying the marked control of the session content on the session page, firstly, determining the control state of the marked control of the session content on the session page, and displaying the marked control on the session page based on the control state on the basis; and the control states of the marked control are divided into a selected state and an unselected state.
Further, on the basis of marking two control states of the control, the state of the marking control can be changed by operating the marking control, specifically, after receiving a secondary marking action for the marking control, whether the control state of the marking control is a selected state is judged firstly, and if yes, the control state of the marking control is updated to the unselected state; and if not, updating the control state of the marking control to the selected state.
It should be noted that, the mark control may be set not only in units of session pages, but also in order to implement more detailed marking of the session content of the session pages, a session control corresponding to each session entry or each session segment in the session pages may be set, and specific implementation of marking of a corresponding session entry or a corresponding session segment is implemented based on the session control, which is referred to in the description of the corresponding part of this embodiment, and is not described herein again.
Step S108, obtaining the mark input corresponding to the conversation content input by triggering the mark control.
As described above, the markup control in the embodiment of the present application includes an evaluation control, an emoticon input control, a text markup content input control, and a collection control. The evaluation control is used for evaluating the session entries or the session segments, such as "like" or "step on" the session content; the expression mark content input control is used for inputting corresponding expression mark content in the marking process; the text label content input control is used for inputting corresponding text label content in the label process; the collection control is used for collecting aiming at the conversation items or the conversation fragments.
In practical applications, if the session entry or the session segment in the session page is to be evaluated, the evaluation control is triggered to correspondingly evaluate the session entry or the session segment in the session page, for example, the evaluation control is clicked to "like" or "step" the content of the session entry or the session segment.
Similarly, if emotion marking is performed on a session entry or a session segment in a session page, corresponding emotion mark content is input by triggering the emotion mark content input control, for example, the session content is very loud, an emotion list is opened by clicking the emotion mark content input control, and the session content is marked by selecting an emotion representing the loud emotion from the emotion list.
If the text mark is to be performed on the session entry or the session segment in the session page, the corresponding text mark content is input by triggering the text mark content input control, for example, the session content is very important and the session content needs to be marked, the text input box is opened by clicking the text mark content input control, and the corresponding text mark is input through the text input box.
If the session entry or the session segment in the session page needs to be collected, the collection is performed by triggering the collection control, for example, if the session content needs to be stored for later viewing, the collection is performed by clicking the collection control.
Step S110, updating the conversation mark of the conversation content based on the mark input.
The conversation mark of the conversation content is updated according to the obtained mark input, and the conversation mark of the conversation content can be displayed more intuitively on the basis, for example, the conversation mark is displayed in a voice, text or video mode, so that the conversation content and the conversation mark are combined more organically in the conversation interaction process.
In a preferred implementation manner provided by the embodiment of the present application, after the session flag of the session content is updated based on the flag input, the state identifier of the session flag of the session content is determined according to the flag control triggered in the input process of the flag input corresponding to the session content; displaying the state identifier of the session mark on the session page; and the type of the state identification and the type of the marking control have a one-to-one correspondence relationship.
In practical application, it may also be possible to mark a session entry or a session segment for multiple times, and correspondingly, generate multiple corresponding state identifiers by triggering and selecting a marking control for multiple times; preferably, if the number of the state identifiers shown on the session page is greater than 1, the state identifiers are sequentially arranged from front to back according to the selected time sequence.
Furthermore, the state identifier of the session mark is edited by triggering the state identifier of the session mark, so that a more diversified session mark mode is provided for a user in a session interaction process. In a preferred embodiment provided in the embodiment of the present application, it is determined whether the session action is a state identifier trigger action for a state identifier of the session token; and if so, canceling the selection of the state identifier of the session mark, deleting the state identifier of the session mark, or entering an editing window for editing the session mark.
In addition, in the process of carrying out conversation interaction on a conversation page, a user needs to return to continue the conversation interaction in time after the marking is finished, or a conversation message is received in the marking process and needs to be replied in time, and the quick switching from the marking to the conversation can be realized through the following preferable implementation mode. Specifically, whether the conversation action is a conversation input action of a conversation input box of the conversation page is judged;
If yes, hiding a marking control of the session page; updating the mark display state of the session mark corresponding to the session content in the session page to the reference display state; displaying the session content on the session page, the mark trigger mark in the reference display state and/or the mark content of the session mark corresponding to the session content;
if not, the processing is not required.
The following description, with reference to fig. 2 to fig. 7, takes as an example the implementation of the session marking method provided in the present application in the session interaction process:
as shown in fig. 2, a flag trigger 201 is preset on a session page, and the flag trigger 201 has two states: a benchmark display state and a highlight display state; the identifier display state of the trigger identifier 201 in fig. 2 is a reference display state, and the identifier display state of the trigger identifier 201 in fig. 3 is a highlight display state; the mark trigger 201 in the benchmark display state can be awakened to the mark trigger 201 in the highlight display state through the awakening action of the user.
Specifically, the wake-up action may be an action in which the duration of the session content in the current session page exceeds 5s, a click action for the session content in the current session page, or a click action for a graphical identifier in the session page in the current session page.
The highlighted display state of the mark trigger 201 is distinguished from the reference display state by a breathing effect reduction method, a color change method or other dynamic visual display effects.
The mark trigger 201 in the reference display state shown in fig. 2 and the mark trigger 201 in the highlighted display state shown in fig. 3 may be triggered by a triggering action (for example, a touch action), and after the triggering action, the mark control, for example, 3 mark controls shown in fig. 4, are displayed on the session page sequentially from top to bottom: an evaluation control 401, an expression mark content input control 402 and a text mark content input control 403; the labeled control has 2 control states: a selected state and an unselected state.
When any one of the evaluation control 401, the expression mark content input control 402 and the text mark content input control 403 is triggered, firstly, whether the control state of the triggered mark control is in a selected state is judged, if the control state is in the selected state, when the mark control is currently triggered, a deselection operation is executed aiming at the mark control, and the control state of the mark control is changed from the selected state to the deselected state; if the state is the unselected state, when the marking control is triggered currently, selecting operation is executed for the marking control, and the control state of the marking control is changed from the unselected state to the selected state.
If the marking control is selected, and the control state is updated to the selected state, then a state identifier corresponding to the selected marking control is displayed on the session page, where the state identifier is also a state identifier for indicating a marked state of a marked session entry or a marked state of a session segment in the session page, such as a state identifier 501 corresponding to the selected evaluation control 401 shown in fig. 5; if the evaluation control 401 is selected again, the control state is updated to the unselected state, and the display of the state identifier 501 corresponding to the evaluation control 401 on the session page is cancelled, as shown in fig. 2.
In addition, the marking control also supports multiple selections, such as the selected evaluation control 401 shown in fig. 6, if the text marked content input control 403 is also selected, the state identifications corresponding to all the selected marking controls are displayed on the conversation page at the same time: the state identifier 501 corresponding to the evaluation control 401 and the state identifier 701 corresponding to the text label content input control 403 are shown in fig. 7.
When the plurality of status identifiers are displayed on the session page, the status identifiers are arranged in sequence from front to back according to the selection time sequence of the corresponding markup controls, as shown in fig. 7, the status identifier 501 corresponding to the evaluation control 401 which is selected in front is arranged in front, and the status identifier 701 corresponding to the text markup content input control 403 which is selected in back is arranged in back.
To sum up, the conversation marking method provided by the application further displays a marking control for marking the conversation content on the conversation page by detecting the triggering action of the user for marking the conversation content on the conversation page, acquires the marking control for marking the conversation content on the conversation page by triggering the marking control, realizes marking the conversation content on the conversation page, and determines the marking operation possibly required by the user by detecting the conversation action of the user on the conversation page in the realization process, thereby reasonably guiding the user to use the marking function, avoiding excessive disturbance, and performing more deep combination on the marking function and the conversation content, and enabling the user to perform the marking operation more intuitively and conveniently.
The embodiment of the session marking device provided by the application is as follows:
in the above embodiment, a session marking method is provided, and correspondingly, a session marking apparatus is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 8, a schematic diagram of an embodiment of a session marking apparatus provided in the present application is shown.
Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments provided above for relevant portions. The device embodiments described below are merely illustrative.
The application provides a conversation marking device, including:
a conversation action detection unit 802 configured to detect a conversation action of a conversation page;
a session action determining unit 804 configured to determine whether the session action is a trigger action of a mark trigger preset for the session page; if yes, the mark control display unit 806 is operated;
the markup control showing unit 806 is configured to show, in the session page, markup controls of session content in the session page;
a mark input acquisition unit 808 configured to acquire a mark input corresponding to the session content input by triggering the mark control;
a session flag updating unit 810 configured to update a session flag of the session content based on the flag input.
Optionally, the session marking apparatus includes:
the state identification determining unit is configured to determine the state identification of the session marker of the session content according to a marker control triggered in the input process of the marker input corresponding to the session content;
the state identifier display unit is configured to display the state identifier of the session mark on the session page;
and the type of the state identification and the type of the marking control have a one-to-one correspondence relationship.
Optionally, if the judgment result output by the session action judgment unit 804 is negative, the wake-up action detection unit is operated;
the awakening action detection unit is used for judging whether the session action is an awakening action aiming at the mark trigger identifier; if yes, operating the identifier display state updating unit;
the mark display state updating unit is configured to update the mark display state of the mark trigger mark;
wherein the wake-up action comprises at least one of: the action that the stay time of the conversation content exceeds the preset time, the click action aiming at the conversation content and the click action aiming at the graphic mark in the conversation page.
Optionally, the identifier shows a status, including at least one of: a benchmark display state and a highlight display state.
Optionally, the identifier display state updating unit is specifically configured to change the identifier display state of the mark trigger identifier from the reference display state to the highlighted display state.
Optionally, after the identifier display status updating unit is operated, the method includes:
the second trigger action detection unit is configured to display a mark control of the session content in the session page on the session page if a second trigger action aiming at the mark trigger identifier is detected;
A second mark input acquisition unit configured to acquire a second mark input corresponding to the session content input by triggering the mark control;
a second session flag updating unit configured to update a session flag of the session content based on the second flag input;
and the conversation mark display unit is configured to display the conversation mark of the conversation content on the conversation page.
Optionally, the identifier display state of the identifier trigger is determined based on the session frequency corresponding to the session content in the session page;
if the session frequency corresponding to the session content is greater than a preset session frequency threshold, the identifier display state of the marker trigger identifier is a reference display state;
and if the session frequency corresponding to the session content is less than or equal to the preset session frequency threshold, the identifier display state of the mark trigger identifier is a highlighted display state.
Optionally, the marking control is provided with a corresponding control state;
accordingly, the markup control display unit 806 includes:
a control state determining subunit, configured to determine a control state of a marked control of the session content in the session page;
A markup control presentation subunit configured to present the markup control on the session page based on the control state;
wherein the control state of the marked control comprises at least one of the following items: a selected state and an unselected state.
Optionally, the session marking apparatus includes:
a secondary marking action receiving unit configured to receive a secondary marking action for the marking control;
the control state judging unit is configured to judge whether the control state of the marked control is the selected state; and if so, updating the control state of the marked control to the unselected state.
Optionally, the marking control includes at least one of: the system comprises an evaluation control, an expression mark content input control, a text mark content input control and a collection control.
Optionally, the session content in the session page includes at least one of the following: a session entry, a session segment of at least two consecutive session entries.
Optionally, if the number of the state identifiers displayed on the session page is greater than 1, the state identifiers are sequentially arranged from front to back according to the selected time sequence.
Optionally, the session marking apparatus includes:
A state identifier trigger action detection unit configured to determine whether the session action is a state identifier trigger action for the state identifier of the session marker;
and if so, canceling the selection of the state identifier of the session mark, deleting the state identifier of the session mark, or entering an editing window for editing the session mark.
Optionally, the session marking apparatus includes:
a conversation input action determination unit configured to determine whether the conversation action is a conversation input action for a conversation input box of the conversation page;
if yes, operating a mark control hiding unit;
the marking control hiding unit is configured to hide a marking control of the session page;
a benchmark display state updating unit configured to update a mark display state of a session mark corresponding to session content in the session page to the benchmark display state;
and the marked content display unit is configured to display the session content, the marked trigger identifier in the reference display state and/or the marked content of the session identifier corresponding to the session content on the session page.
The embodiment of a computing device provided by the application is as follows:
FIG. 9 is a block diagram that illustrates a computing device 900 in accordance with one embodiment of the present description. Components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is coupled to the memory 910 via a bus 930, and a database 950 is used to store data.
Computing device 900 also includes access device 940, access device 940 enabling computing device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the other components of computing device 900 described above and not shown in FIG. 9 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 9 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 900 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 900 may also be a mobile or stationary server.
The present application provides a computing device comprising a memory 910, a processor 920, and computer instructions stored on the memory and executable on the processor, the processor 920 being configured to execute the following computer-executable instructions:
detecting a conversation action of a conversation page;
judging whether the conversation action is a trigger action of a mark trigger mark preset for the conversation page;
if so, displaying a marking control of the session content in the session page on the session page;
acquiring a mark input corresponding to the conversation content input by triggering the mark control;
a session token for the session content is updated based on the token input.
Optionally, after the session marking instruction for updating the session content based on the marking input is executed, the processor 920 is further configured to execute the following computer-executable instructions:
determining the state identifier of the session mark of the session content according to a mark control triggered in the input process of the mark input corresponding to the session content;
displaying the state identifier of the session mark on the session page;
and the type of the state identifier and the type of the marking control have one-to-one correspondence.
Optionally, the processor 920 is further configured to execute the following computer-executable instructions, where the execution result of the trigger action instruction is determined whether the session action is a trigger identifier preset for the session page, and the result is determined as no:
judging whether the session action is a wakeup action aiming at the mark trigger mark;
if so, updating the mark display state of the mark trigger mark;
wherein the wake-up action comprises at least one of: the action that the stay time of the conversation content exceeds the preset time, the click action aiming at the conversation content and the click action aiming at the graphic mark in the conversation page.
Optionally, the identifier display status includes at least one of the following: a benchmark display state and a highlight display state.
Optionally, the updating the identifier display state of the marker trigger includes:
and changing the mark display state of the mark trigger mark from the reference display state to the highlight display state.
Optionally, after the instruction for updating the identifier display status of the flag trigger is executed, the processor 920 is further configured to execute the following computer-executable instructions:
if a second trigger action aiming at the mark trigger mark is detected, displaying a mark control of the conversation content in the conversation page on the conversation page;
acquiring a second marking input corresponding to the conversation content input by triggering the marking control;
updating a session token for the session content based on the second token input;
and displaying the session mark of the session content on the session page.
Optionally, the identifier display state of the identifier trigger is determined based on the session frequency corresponding to the session content in the session page;
if the session frequency corresponding to the session content is greater than a preset session frequency threshold, the identifier display state of the marker trigger identifier is a reference display state;
And if the session frequency corresponding to the session content is less than or equal to the preset session frequency threshold, the identifier display state of the mark trigger identifier is a highlighted display state.
Optionally, the marking control is provided with a corresponding control state;
correspondingly, the step of displaying the markup control of the session content in the session page on the session page includes:
determining the control state of a marking control of the session content in the session page;
displaying the marking control on the conversation page based on the control state;
wherein the control state of the marked control comprises at least one of the following: a selected state and an unselected state.
Optionally, the processor 920 is further configured to execute the following computer-executable instructions:
receiving a secondary marking action for the marking control;
judging whether the control state of the marking control is the selected state or not;
and if so, updating the control state of the marked control to the unselected state.
Optionally, the marking control includes at least one of: the system comprises an evaluation control, an expression mark content input control, a text mark content input control and a collection control.
Optionally, the session content in the session page includes at least one of the following: a session entry, a session segment of at least two consecutive session entries.
Optionally, if the number of the state identifiers displayed on the session page is greater than 1, the state identifiers are sequentially arranged from front to back according to the selected time sequence.
Optionally, the processor 920 is further configured to execute the following computer-executable instructions:
judging whether the session action is a state identifier trigger action aiming at the state identifier of the session marker;
and if so, canceling the selection of the state identifier of the session mark, deleting the state identifier of the session mark, or entering an editing window for editing the session mark.
Optionally, the processor 920 is further configured to execute the following computer-executable instructions:
judging whether the conversation action is a conversation input action aiming at a conversation input box of the conversation page;
if yes, hiding a marking control of the session page;
updating the mark display state of the session mark corresponding to the session content in the session page to the reference display state;
and displaying the session content on the session page, the mark trigger mark in the reference display state and/or the mark content of the session mark corresponding to the session content.
The embodiment of a computer-readable storage medium provided by the application is as follows:
An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which when executed by a processor implement the following:
detecting a conversation action of a conversation page;
judging whether the conversation action is a trigger action of a mark trigger mark preset for the conversation page;
if so, displaying a marking control of the session content in the session page on the session page;
acquiring a mark input corresponding to the conversation content input by triggering the mark control;
a session token for the session content is updated based on the token input.
Optionally, after the step of updating the session content based on the flag input is executed, the method includes:
determining the state identifier of the session mark of the session content according to a mark control triggered in the input process of the mark input corresponding to the session content;
displaying the state identifier of the session mark on the session page;
and the type of the state identification and the type of the marking control have a one-to-one correspondence relationship.
Optionally, the step of determining whether the session action is a trigger action for marking a trigger identifier preset for the session page, if not, includes:
Judging whether the session action is a wakeup action aiming at the mark trigger mark;
if so, updating the mark display state of the mark trigger mark;
wherein the wake-up action comprises at least one of:
the action that the stay time of the conversation content exceeds the preset time, the click action aiming at the conversation content and the click action aiming at the graphic mark in the conversation page.
Optionally, the identifier shows a status, including at least one of: a benchmark display state and a highlight display state.
Optionally, the updating the identifier display state of the marker trigger includes:
and changing the mark display state of the mark trigger mark from the reference display state to the highlight display state.
Optionally, after the sub-step of updating the identifier presentation status of the mark trigger is executed, the sub-step includes:
if a second trigger action aiming at the mark trigger mark is detected, displaying a mark control of the conversation content in the conversation page on the conversation page;
acquiring a second marking input corresponding to the conversation content input by triggering the marking control;
updating a session token for the session content based on the second token input;
And displaying the session mark of the session content on the session page.
Optionally, the identifier display state of the marker trigger identifier is determined based on a session frequency corresponding to session content in the session page;
if the session frequency corresponding to the session content is greater than a preset session frequency threshold, the identifier display state of the marker trigger identifier is a reference display state;
and if the session frequency corresponding to the session content is less than or equal to the preset session frequency threshold, the identifier display state of the mark trigger identifier is a highlighted display state.
Optionally, the marking control is provided with a corresponding control state;
correspondingly, the step of displaying the markup control of the session content in the session page on the session page includes:
determining the control state of a marking control of the session content in the session page;
displaying the marking control on the conversation page based on the control state;
wherein the control state of the marked control comprises at least one of the following items: a selected state and an unselected state.
Optionally, the instructions when executed by the processor implement the following:
receiving a secondary marking action for the marking control;
Judging whether the control state of the marking control is the selected state or not;
and if so, updating the control state of the marked control to the unselected state.
Optionally, the marking control includes at least one of: the system comprises an evaluation control, an expression mark content input control, a text mark content input control and a collection control.
Optionally, the session content in the session page includes at least one of the following: a session entry, a session segment of at least two consecutive session entries.
Optionally, if the number of the state identifiers displayed on the session page is greater than 1, the state identifiers are sequentially arranged from front to back according to the selected time sequence.
Optionally, the instructions when executed by the processor implement the following:
judging whether the session action is a state identifier trigger action aiming at the state identifier of the session marker;
and if so, canceling the selection of the state identifier of the session mark, deleting the state identifier of the session mark, or entering an editing window for editing the session mark.
Optionally, the instructions when executed by the processor implement the following:
judging whether the conversation action is a conversation input action aiming at a conversation input box of the conversation page;
If yes, hiding a marking control of the session page;
updating the mark display state of the session mark corresponding to the session content in the session page to the reference display state;
and displaying the session content on the session page, the mark trigger mark in the reference display state and/or the mark content of the session mark corresponding to the session content.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned session marking method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned session marking method.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently considered to be preferred embodiments and that acts and modules are not required in the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.