CN117193581A - Prompt information display method, device, equipment and storage medium - Google Patents

Prompt information display method, device, equipment and storage medium Download PDF

Info

Publication number
CN117193581A
CN117193581A CN202311258545.8A CN202311258545A CN117193581A CN 117193581 A CN117193581 A CN 117193581A CN 202311258545 A CN202311258545 A CN 202311258545A CN 117193581 A CN117193581 A CN 117193581A
Authority
CN
China
Prior art keywords
target
information
prompt
prompt information
application
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
Application number
CN202311258545.8A
Other languages
Chinese (zh)
Inventor
程晓虹
雷明海
吕烨
李大中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311258545.8A priority Critical patent/CN117193581A/en
Publication of CN117193581A publication Critical patent/CN117193581A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a prompt message display method, a device, equipment and a storage medium. The method comprises the following steps: receiving an information prompt instruction, wherein the information prompt instruction is generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from a prompt system, the information prompt instruction comprises the identification of a target application and the identification of the target prompt information in the target application, and the target application is used for storing the target prompt information; determining a target application and target prompt information in the target application according to the information prompt instruction; and sending the target prompt information to the service system so that the service system displays the target prompt information in a target area corresponding to the target content according to the target prompt information. By separating the hint information code from the business system, the code simplicity of the business system can be maintained.

Description

Prompt information display method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying prompt information.
Background
The existing systems on the market are numerous and complex, and with the increase of the functional specialty and complexity of the application systems, operation training for related personnel consumes a lot of manpower and financial resources. Meanwhile, when related personnel use the application system, the related personnel forget the operation flow of the system, so that the related personnel need to consult the operation guide or communicate with other people, and a great amount of time is wasted.
Currently, on the one hand, online customer service may be provided by providing an offline system operation manual, developing a help center module for the system, and the like. Most of these solutions require additional labor to be expended by the user when the user encounters a problem, to page through documents, to precisely query help centers, to make customer service calls, etc. On the other hand, the most accurate mode is that prompt information is directly written in the code and then is directly displayed through a system page, so that a user can intuitively see the prompt information.
However, the problem of redundancy of service system codes caused by embedding prompt information codes into the service system exists in the prior art.
Disclosure of Invention
The application provides a prompt message display method, a device, equipment and a storage medium, which are used for solving the problem of code redundancy caused by the fact that prompt messages are embedded into a system.
In a first aspect, the present application provides a method for displaying a prompt message, including:
receiving an information prompt instruction, wherein the information prompt instruction is generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from a prompt system, the information prompt instruction comprises the identification of a target application and the identification of the target prompt information in the target application, and the target application is used for storing the target prompt information;
determining a target application and target prompt information in the target application according to the information prompt instruction;
and sending the target prompt information to the service system so that the service system displays the target prompt information in a target area corresponding to the target content according to the target prompt information.
In the application, before receiving the information prompt instruction, the method further comprises the following steps:
determining an application list in a prompt system;
responding to the creation operation of a user, creating a target application in an application list in a prompt system, and generating an identification of the target application;
and in response to the writing operation of the user on the target application, writing the target prompt information and the identification of the target prompt information in the target application.
In the application, according to the information prompt instruction, the target application and the target prompt information in the target application are determined, and the method comprises the following steps:
determining a target application from an application list in a prompt system according to the identification of the target application in the information prompt instruction;
and determining the target prompt information from the multiple prompt information in the target application according to the identification of the target prompt information in the information prompt instruction.
In the application, after the target prompt information is sent to the service system, so that the service system displays the target prompt information in the target area corresponding to the target content according to the target prompt information, the method further comprises the following steps:
when the target prompt information is in a cancel release state, adjusting the target prompt information to be in an editable state, wherein the cancel release state characterizes the state of the target prompt information determined by a service system in response to cancel display operation of a user on a target area;
when the target prompt information is in an editable state, responding to the modification operation of the user on the target prompt information to obtain modification prompt information, so as to determine the modification prompt information after receiving the information prompt instruction;
and sending the modification prompt information to the service system, so that the service system can display the modification prompt information in a target area corresponding to the target content according to the modification prompt information.
In the application, after the target prompt information is sent to the service system, so that the service system displays the target prompt information in the target area corresponding to the target content according to the target prompt information, the method further comprises the following steps:
the target prompt information is transferred to a cache;
determining the time for transferring the target prompt information to the cache;
and if the time from the transfer of the target prompt information to the cache exceeds the preset time, deleting the target prompt information in the cache.
In the application, after determining the time when the target prompt information is transferred to the cache, the method further comprises the following steps:
if the time for transferring the target prompt information to the cache does not exceed the preset time, receiving a deleting instruction;
and deleting the target prompt information in the cache according to the deleting instruction.
In the present application, after the target prompt information is transferred to the cache, the method further includes:
receiving a restoring instruction;
and according to the restoring instruction, restoring the target prompt information transferred to the cache so as to display the target prompt information in a target area corresponding to the target content in the service system after receiving the information prompt instruction.
In the application, after the target prompt information is sent to the service system, so that the service system displays the target prompt information in the target area corresponding to the target content according to the target prompt information, the method further comprises the following steps:
Determining whether target prompt information in the target application and each target prompt information are in a quotation state;
and if all the target prompt information is in the unreferenced state, deleting the target application after receiving the target application.
In a second aspect, the present application provides a prompt message display device, including:
the receiving module is used for receiving an information prompt instruction, wherein the information prompt instruction is an instruction generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from a prompt system, the information prompt instruction comprises an identification of a target application and an identification of the target prompt information in the target application, and the target application is used for storing the target prompt information;
the determining module is used for determining the target application and the target prompt information in the target application according to the information prompt instruction;
the sending module is used for sending the target prompt information to the service system so that the service system can display the target prompt information in a target area corresponding to the target content according to the target prompt information.
In a third aspect, the present application provides an electronic device comprising: a processor, a memory communicatively coupled to the processor;
The memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of the present application.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of the application.
The application provides a prompt message display method, a device, equipment and a storage medium. The method comprises the following steps: receiving an information prompt instruction, wherein the information prompt instruction is generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from a prompt system, the information prompt instruction comprises the identification of a target application and the identification of the target prompt information in the target application, and the target application is used for storing the target prompt information; determining a target application and target prompt information in the target application according to the information prompt instruction; and sending the target prompt information to the service system so that the service system displays the target prompt information in a target area corresponding to the target content according to the target prompt information. The application can realize separation of prompt information codes from service systems, keep conciseness of codes of the service systems and simultaneously uniformly manage prompt information of each service system by receiving information prompt instructions containing application identifiers and identifiers of prompt information, determining target prompt information from prompt systems different from the service systems by the application identifiers and the identifiers of the prompt information, sending the target prompt information to the service systems, and enabling the service systems to write codes.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flow chart of a method for displaying prompt messages according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for displaying prompt messages according to an embodiment of the present application;
fig. 3 is a schematic diagram of a structural device of a prompt message display device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
In the prior art, in a service system, for displaying prompt information, a prompt component is used for displaying the prompt information on one hand, and the prompt information is directly displayed on a page on the other hand; however, both of these methods require that the prompt information codes be directly written in the service system, resulting in the situation that the service system codes are too redundant. Meanwhile, when the prompt information codes are modified, the service system codes need to be redeployed, and the steps are complicated. Meanwhile, the prompt information type only supports texts and pictures, and the type is single.
The application provides a prompt information display method, a device, equipment and a storage medium, wherein a target application can be configured in a prompt system, one target application is used for one service system, and prompt information is configured in the target application, so that the modification, addition and deletion operations of prompt information codes can be changed from processing in the service system to processing in the prompt system, and multiple service system prompt information can be uniformly managed.
The execution subject of the determination method provided by the embodiment of the application can be a server. The server can be a mobile phone, a tablet, a computer and other devices. The implementation manner of the execution main body is not particularly limited in this embodiment, as long as the execution main body is capable of receiving an information prompt instruction, where the information prompt instruction is an instruction generated by a service system in response to an operation of a user on a target content on a display interface, where the information prompt instruction is used to determine target prompt information corresponding to the target content from a prompt system, where the information prompt instruction includes an identifier of a target application and an identifier of target prompt information in the target application, and the target application is used to store the target prompt information; determining a target application and target prompt information in the target application according to the information prompt instruction; and sending the target prompt information to the service system, so that the service system can display the target prompt information in a target area corresponding to the target content according to the target prompt information.
The prompt information refers to a text prompt displayed on a page for a certain element. This element may be a picture, a link, a button, etc. The hint information can provide information or instructions about this element, which can help the user better understand the content and functionality of the website, and provide the necessary information to help the user better use the website. For example, on an e-commerce website, when a user hovers a mouse over a product picture, detailed information about the product, such as size, color, price, etc., may be displayed. This may help the user to better understand the product and help them make more informed decisions.
Fig. 1 is a flow chart of a method for displaying prompt messages according to an embodiment of the present application. As shown in fig. 1, the method execution body may be a server or other servers, and the embodiment is not particularly limited herein, and as shown in fig. 1, the method includes:
s101, receiving an information prompt instruction, wherein the information prompt instruction is generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from a prompt system, the information prompt instruction comprises identification of a target application and identification of the target prompt information in the target application, and the target application is used for storing the target prompt information.
The information prompt instruction is an instruction sent by a user to the prompt system when the user wants to obtain the prompt information of a certain area A of a service system page, and the instruction can be used for obtaining the prompt information of the area A in the prompt system; the information prompt instruction comprises an application identifier corresponding to the area A and a prompt information identifier; corresponding prompt text information can be obtained from the prompt system by the application identifier and the prompt information identifier; the information prompt instruction can be preset in the system in advance, and then triggered by clicking a mouse, pressing a keyboard and hovering the mouse by a user; the user can also directly input information prompt instructions in the service system.
The target application is an application for storing prompt information in the prompt system, and based on the service system using the prompt, a generic term after new registration is performed in the prompt maintenance system is used for marking the prompt information for distinguishing each service system, and one service system corresponds to one application.
When a user develops a new service system A, an application B needs to be newly built in a prompt system, and then prompt information of the service system A is newly built in the application B; the application B stores the prompt information of all the service systems A.
The application identifier needs to be unique in the information prompt system, and the prompt information identifier in the same application is unique.
S102, determining a target application and target prompt information in the target application according to the information prompt instruction.
The target prompt information is used for describing a using method of a certain component and a certain region component or explaining certain data or fields, and the type of the target prompt information comprises texts, pictures, videos and links. For example: a business system has a discount chart showing the temperature change of area a over the last seven days of the week, the highest temperature of the day being represented by the red broken line, and the lowest temperature of the day being represented by the blue broken line. When the mouse hovers over the red broken line, the bullet frame displays the highest temperature of one day, and when the mouse hovers over the blue broken line, the bullet frame displays the lowest temperature of one day, and in the broken line diagram, the highest temperature of one day and the lowest temperature of one day are prompt messages for explaining the data of the broken line.
In this embodiment of the present application, before receiving the information prompt instruction, the method further includes:
determining an application list in a prompt system;
responding to the creation operation of a user, creating a target application in an application list in a prompt system, and generating an identification of the target application;
and in response to the writing operation of the user on the target application, writing the target prompt information and the identification of the target prompt information in the target application.
When a user needs to introduce prompt information in developing a new service system, an application needs to be newly built in the prompt system, the application has an application identifier AK, the application comprises all the prompt information in the new service system, and each prompt information comprises an identification code of the user.
In a business system, a mount plug-in is commanded using npm (Node PackageManager ) command or yarn (Yet Another Resource Negotiator, resource management system in Hadoop 2. X), for example npm command to mount plug-in may be: npminstall vue-global-custom-tools. After the plugin is installed, the plugin can be introduced by using an import under the condition of mia, then an application identifier corresponding to the prompt system is obtained by the plugin in the service system, the application identifier can be AK, and the prompt text information can be code.
In a business system, using a vue.use incoming AK access application, example codes are as follows:
import GlobalCustomTooltips from"vue-global-custom-tooltips";
Vue.use(GlobalCustomTooltips,{
ak:"TaApisS1KwbnTqbGqkBfKKEskjmftsgQ",});
wherein "TaApiss1 KwbTqbGqkBfKKESkjmftsgQ" is a specific application identifier.
After the service system obtains the application identifier, the service system uses the plug-in to obtain the corresponding prompt information code in the application in the area needing the prompt information, and the example code can be as follows:
<GlobalCustomTooltips code="IoSysCodeHJksmh">
< span > component internal content
</GlobalCustomTooltips>
The "IoSysCodeHJksmh" is a specific code of the prompt information.
In the embodiment of the present application, determining a target application and target prompt information in the target application according to an information prompt instruction includes:
determining a target application from an application list in a prompt system according to the identification of the target application in the information prompt instruction;
and determining the target prompt information from the multiple prompt information in the target application according to the identification of the target prompt information in the information prompt instruction.
When a user needs to acquire prompt information of a certain area of a service system, an information prompt instruction is sent through the service system, the information prompt instruction comprises an application identifier corresponding to the service system and an identifier of corresponding prompt information in an application, the application corresponding to the service system can be determined from the prompt system through the application identifier in the information prompt instruction, and then the corresponding prompt information identifier can be determined from the application through the prompt information identifier in the information prompt instruction.
And S103, sending the target prompt information to the service system, so that the service system displays the target prompt information in a target area corresponding to the target content according to the target prompt information.
The element (i.e. the component) has its own area, and the prompt message code (code) wraps the element, so that the corresponding prompt message can be displayed in the corresponding area.
In this embodiment of the present application, after sending the target prompt information to the service system, so that the service system displays the target prompt information in the target area corresponding to the target content according to the target prompt information, the method further includes:
when the target prompt information is in a cancel release state, adjusting the target prompt information to be in an editable state, wherein the cancel release state characterizes the state of the target prompt information determined by a service system in response to cancel display operation of a user on a target area;
when the target prompt information is in an editable state, responding to the modification operation of the user on the target prompt information to obtain modification prompt information, so as to determine the modification prompt information after receiving the information prompt instruction;
and sending the modification prompt information to the service system, so that the service system can display the modification prompt information in a target area corresponding to the target content according to the modification prompt information.
The prompt information state comprises a cancel release state and a release state. When the prompt information state is the cancel release state, the prompt information can be edited and modified, and the user sends a prompt instruction in the service system and cannot acquire the corresponding prompt information. When the prompt information state is the release state, the prompt information can not be edited and modified, and a user sends a prompt instruction in the service system, so that the corresponding prompt information can be obtained.
When the prompt information A1 in the service system A needs to be modified, an application B corresponding to the service system is found in the prompt system, then the prompt information A1 is found in the application B, the prompt information A1 is released, then the content of the prompt information A1 is modified, after the modification is finished, the prompt information A1 is clicked and released, and in the service system A, a user can acquire the latest prompt information A1 when the user performs the prompt information acquisition operation on the region of the prompt information A1.
In this embodiment of the present application, after sending the target prompt information to the service system, so that the service system displays the target prompt information in the target area corresponding to the target content according to the target prompt information, the method further includes:
the target prompt information is transferred to a cache;
Determining the time for transferring the target prompt information to the cache;
and if the time from the transfer of the target prompt information to the cache exceeds the preset time, deleting the target prompt information in the cache.
The buffer memory can be a temporary recycle bin, and when the prompt information is in the temporary recycle bin, the user can not acquire the corresponding prompt information content when making corresponding operation on the corresponding area of the prompt information.
The buffering time refers to the time of the most reserved prompt information in the temporary recycle bin. In the buffer time, the user can restore the prompt information from the temporary recycle bin, so that the user can acquire the corresponding prompt information content when making corresponding operation on the corresponding area of the service system. When the caching time exceeds the preset time, the prompt system can thoroughly delete the prompt information, and a user cannot find the prompt information in the temporary recycling station or restore the prompt information from the temporary recycling station. The cache time is preset by a user, and the default time of the preset time is generally 30 days, and can be set to 40 days, 50 days or 60 days.
In this embodiment of the present application, after determining the time when the target hint information is transferred to the cache, the method further includes:
If the time for transferring the target prompt information to the cache does not exceed the preset time, receiving a deleting instruction;
and deleting the target prompt information in the cache according to the deleting instruction.
The deleting instruction is an instruction for deleting the prompt information from the temporary recycle bin. The deletion instruction can be executed only when the prompt information is in the temporary recycle bin and the cache time of the prompt information is within the preset range, so that the prompt information is deleted from the temporary recycle bin. A deleting button can be arranged on the prompt information in the temporary recycling station, and when a user clicks the deleting button, a preset deleting instruction is sent to the prompt system so that the prompt system deletes the prompt information; the prompt message can also be deleted directly from the database; or the prompt system can input a deletion instruction so as to delete the prompt information. When the prompt information is in the temporary recycling station, after the deletion instruction is executed in the buffer time, the prompt information is thoroughly deleted in the temporary recycling station, and the prompt information cannot be found in the temporary recycling group to be restored.
In this embodiment of the present application, after the target hint information is transferred to the cache, the method further includes:
Receiving a restoring instruction;
and according to the restoring instruction, restoring the target prompt information transferred to the cache so as to display the target prompt information in a target area corresponding to the target content in the service system after receiving the information prompt instruction.
The restoring instruction is used for restoring the prompt information of the temporary recycle bin, so that when a user makes corresponding operation on the service system area, the corresponding prompt information content can be obtained. The recovery instruction can be executed only when the prompt information is in the temporary recycle bin and the buffer time of the prompt information is within the preset. A restoring button can be arranged on the prompt information in the temporary recycling station, and when a user clicks the restoring button, a preset restoring instruction is sent to the prompt system so that the prompt system restores the prompt information; the corresponding state of the hint information may also be modified from a database, for example: in the database, if the prompt message is indicated by '1' as normal display (i.e. not in the temporary recycling station and in a normal release state), if the prompt message is indicated by '2' as in the temporary recycling station, a field corresponding to the state of the prompt message is changed from '2' to '1'; the restoring instruction can be input into the prompting system, so that the prompting system restores the prompting information.
In this embodiment of the present application, after sending the target prompt information to the service system, so that the service system displays the target prompt information in the target area corresponding to the target content according to the target prompt information, the method further includes:
determining whether target prompt information in the target application and each target prompt information are in a quotation state;
and if all the target prompt information is in the unreferenced state, deleting the target application after receiving the target application.
The prompt information comprises a reference state and an unreferenced state. The quotation state characterizes the target prompt information existence service system for use; the unreferenced state characterizes that the target prompt information is not used by the service system.
When the user deletes the application, if the application is deleted successfully, the application and all prompt messages in the application are deleted.
When the user deletes the application, if all the prompt messages in the application do not have service system references, the application and all the prompt messages in the application are directly deleted; if all the prompt messages in the application are referred by the service system, the application and all the prompt messages in the application cannot be deleted directly, and the referred prompt messages are deleted before deleting the application and all the prompt messages in the application.
According to the prompt information display method provided by the embodiment of the application, an application is newly built in the prompt system, the application has an application identifier, the application is newly built with prompt information, the prompt information has a prompt information identifier, the service system acquires the application identifier and the prompt information identifier through the plug-in, and then the service system acquires the prompt information from the prompt system. According to the application, the prompt information of each service system is separated from the system and is placed in the prompt system, so that on one hand, unified management of the prompt information is facilitated, and on the other hand, the simplicity of codes of each application system is ensured; meanwhile, certain prompt information of the service system is modified and deleted, code deployment on the service system is not needed, and steps are simplified; meanwhile, the content of the prompt information supports video, pictures, characters and links, and the types of the prompt information are richer.
Fig. 2 is a flow chart of another method for displaying prompt messages according to an embodiment of the present application. As shown in fig. 2, the method execution body may be a server or other servers, and the embodiment is not particularly limited herein, and as shown in fig. 2, the method includes:
s201, when a new development service system needs to be accessed to prompt information, newly building an application and prompt information in the application in the prompt system, wherein the application has a code (AK), and the prompt information has a code (identifier).
The prompt information can comprise text content, video content, link content and picture content, and one application comprises a plurality of prompt information.
The method for creating the application and the prompt information in the application in the prompt system comprises the following steps: first, click on application management, a list of all maintained applications is presented on the interface. Clicking to create an application, editing application information, and generating a unique code (AK) of the application after saving. Entering the prompt system, clicking the prompt management entry prompt management page, clicking a new or editing prompt, associating an application, writing a prompt article (the article supports rich text editing, such as characters, pictures, videos, links and the like), and generating a prompt unique code (code) when the article is released for the first time.
The prompting information modification method comprises the following steps: finding out the released prompt information in the prompt system, clicking to cancel release, changing the prompt information into draft state, editing and then reissuing.
The method for deleting the prompt information comprises the following steps: clicking and deleting the prompt information in the prompt maintenance system, enabling the prompt information to temporarily enter the recovery station, and enabling the prompt information entering the recovery station not to be displayed in the service system. The preset time (default 30 days, or any time can be preset by a user), and after the preset time is reached, the prompt system automatically clears the prompt information; the time can be preset (defaulting to 30 days or presetting any time by a user), and when the preset time is reached, all prompt information in the recycle bin is cleared; and in the preset time, the user clicks to delete the prompt information for two times, so that the prompt information is permanently deleted, and the prompt information cannot be recovered. And in the preset time, the prompt information in the recovery station can be recovered.
The application deletion method comprises the following steps: if the application has a prompt article applied by the business system, the application cannot be deleted; the prompt article applied by the business system in the application needs to be deleted, and the application can be deleted. If the application does not have the prompt article applied by the business system, the application can be deleted directly.
S202, installing a plug-in the service system, wherein the plug-in is used for acquiring the application AK and the prompt message code.
The service system is a system for applying prompt information.
The method for installing the plug-in comprises the following steps: plug-ins are installed using npm or yarn command lines, for example: npm instrument vue-global-custom-tools.
S203, the service system acquires the application AK and the prompt message identification code corresponding to the application through the plug-in, acquires the corresponding prompt message, and sets the region needing to display the prompt message.
The service system obtains the application AK and the prompt message identification code corresponding to the application through the plug-in, and the method for obtaining the corresponding prompt message comprises the following steps:
the front-end technician uses the import plug-in under the front-end engineering file mia, uses the vue. Use incoming application AK to access the application, and the example code is as follows:
import GlobalCustomTooltips from"vue-global-custom-tooltips";
Vue.use(GlobalCustomTooltips,{
ak:"TaApisS1KwbnTqbGqkBfKKEskjmftsgQ"})
wherein, taApiss1 KwbTqbGqkBfKKKEkjmftsgQ is a specific application identifier AK corresponding to the service system.
Front-end technicians write the content inside the component in the source code, and enter text identification codes, examples of which are as follows:
<GlobalCustomTooltips code="IoSysCodeHJksmh">
< span > component internal content
</GlobalCustomTooltips>
The IoSysCodeHJksmh is a specific prompt message code in an application specific identifier AK corresponding to the service system.
S204, when the user hovers the mouse to a specific area, corresponding prompt information is displayed, and when the mouse moves out of the specific area, the corresponding prompt information is not displayed.
According to the other prompt information display method provided by the embodiment of the application, the prompt information codes are separated from the service system through the prompt system and the plug-in, the prompt information is not written in the service system source code, and meanwhile, the complex prompt information writing such as texts, pictures, videos, links and the like is supported. The method can better relation prompt information, execute the operations of deleting and modifying text information and keep the source code concise. Meanwhile, the maintenance is convenient, the prompt information is not required to be modified or deleted, and the service system source code is not required to be redeployed.
Fig. 3 is a diagram illustrating a structure of a prompt message display device according to an embodiment of the present application. As shown in fig. 3, the prompt message display device 30 includes: a receiving module 301, a determining module 302, and a transmitting module 303. Wherein:
The receiving module 301 is configured to receive an information prompt instruction, where the information prompt instruction is an instruction generated by the service system in response to an operation of a user on a target content on the display interface, and is used to determine target prompt information corresponding to the target content from the prompt system, where the information prompt instruction includes an identifier of a target application and an identifier of the target prompt information in the target application, and the target application is used to store the target prompt information;
the determining module 302 is configured to determine, according to the information prompt instruction, the target application and target prompt information in the target application;
the sending module 303 is configured to send the target prompt information to the service system, so that the service system displays the target prompt information in a target area corresponding to the target content according to the target prompt information.
In an embodiment of the present application, the obtaining module 302 may be further specifically configured to:
determining an application list in a prompt system;
responding to the creation operation of a user, creating a target application in an application list in a prompt system, and generating an identification of the target application;
and in response to the writing operation of the user on the target application, writing the target prompt information and the identification of the target prompt information in the target application.
In an embodiment of the present application, the obtaining module 302 may be further specifically configured to:
determining a target application from an application list in a prompt system according to the identification of the target application in the information prompt instruction;
and determining the target prompt information from the multiple prompt information in the target application according to the identification of the target prompt information in the information prompt instruction.
In the embodiment of the present application, the sending module 303 may be further specifically configured to:
when the target prompt information is in a cancel release state, adjusting the target prompt information to be in an editable state, wherein the cancel release state characterizes the state of the target prompt information determined by a service system in response to cancel display operation of a user on a target area;
when the target prompt information is in an editable state, responding to the modification operation of the user on the target prompt information to obtain modification prompt information, so as to determine the modification prompt information after receiving the information prompt instruction;
and sending the modification prompt information to the service system, so that the service system can display the modification prompt information in a target area corresponding to the target content according to the modification prompt information.
In the embodiment of the present application, the sending module 303 may be further specifically configured to:
The target prompt information is transferred to a cache;
determining the time for transferring the target prompt information to the cache;
and if the time from the transfer of the target prompt information to the cache exceeds the preset time, deleting the target prompt information in the cache.
In the embodiment of the present application, the sending module 303 may be further specifically configured to:
if the time for transferring the target prompt information to the cache does not exceed the preset time, receiving a deleting instruction;
and deleting the target prompt information in the cache according to the deleting instruction.
In the embodiment of the present application, the sending module 303 may be further specifically configured to:
receiving a restoring instruction;
and according to the restoring instruction, restoring the target prompt information transferred to the cache so as to display the target prompt information in a target area corresponding to the target content in the service system after receiving the information prompt instruction.
In the embodiment of the present application, the sending module 303 may be further specifically configured to:
determining whether target prompt information in the target application and each target prompt information are in a quotation state;
and if all the target prompt information is in the unreferenced state, deleting the target application after receiving the target application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic device 40 includes:
the electronic device 40 may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, communication components 403, and the like. Wherein the processor 401, the memory 402 and the communication section 403 are connected by a bus 404.
In a specific implementation, at least one processor 401 executes computer-executable instructions stored in a memory 402, so that at least one processor 401 executes the prompt message display method as described above.
The specific implementation process of the processor 401 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 4, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The Memory may comprise high-speed Memory (Random Access Memory, RAM) or may further comprise Non-volatile Memory (NVM), such as at least one disk Memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
In some embodiments, a computer program product is also provided, comprising a computer program or instructions which, when executed by a processor, implement the steps of any of the prompt message display methods described above.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform any of the steps in the method for displaying hint information provided by the embodiment of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
The instructions stored in the storage medium can execute the steps in any prompt message display method provided by the embodiment of the present application, so that the beneficial effects of any prompt message display method provided by the embodiment of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A prompt message display method, characterized in that it is applied to a prompt system, the method comprising:
receiving an information prompt instruction, wherein the information prompt instruction is generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from the prompt system, the information prompt instruction comprises an identification of a target application and an identification of the target prompt information in the target application, and the target application is used for storing the target prompt information;
determining the target application and the target prompt information in the target application according to the information prompt instruction;
and sending the target prompt information to the service system, so that the service system displays the target prompt information in a target area corresponding to the target content according to the target prompt information.
2. The method of claim 1, wherein prior to the receiving the information hint instruction, the method further comprises:
determining an application list in the prompt system;
responding to the creation operation of a user, creating the target application in an application list in the prompt system, and generating an identification of the target application;
and responding to the writing operation of the user on the target application, and writing the target prompt information and the identification of the target prompt information in the target application.
3. The method of claim 1, wherein determining the target application and the target hint information in the target application according to the information hint instruction comprises:
determining the target application from an application list in the prompt system according to the identification of the target application in the information prompt instruction;
and determining the target prompt information from a plurality of prompt information in the target application according to the identification of the target prompt information in the information prompt instruction.
4. The method of claim 1, wherein after the sending the target hint information to the business system to cause the business system to display the target hint information in a target area corresponding to the target content according to the target hint information, the method further comprises:
When the target prompt information is in a cancel release state, adjusting the target prompt information to be in an editable state, wherein the cancel release state represents the state of the target prompt information determined by the service system in response to a cancel display operation of a user on the target area;
when the target prompt information is in an editable state, responding to the modification operation of a user on the target prompt information to obtain modification prompt information, so as to determine the modification prompt information after receiving the information prompt instruction;
and sending the modification prompt information to the service system, so that the service system can display the modification prompt information in a target area corresponding to the target content according to the modification prompt information.
5. The method of claim 1, wherein after the sending the target hint information to the business system to cause the business system to display the target hint information in a target area corresponding to the target content according to the target hint information, the method further comprises:
the target prompt information is transferred to a cache;
Determining the time for transferring the target prompt information to a cache;
and if the time for transferring the target prompt information to the cache exceeds the preset time, deleting the target prompt information in the cache.
6. The method of claim 5, wherein after the determining the time for the target hint information to be cached, the method further comprises:
if the time for transferring the target prompt information to the cache does not exceed the preset time, receiving a deleting instruction;
and deleting the target prompt information in the cache according to the deleting instruction.
7. The method of claim 5, wherein after the target hint information is transferred to a cache, the method further comprises:
receiving a restoring instruction;
and according to the restoration instruction, restoring the target prompt information stored in the cache, so as to display the target prompt information in a target area corresponding to the target content in the service system after receiving the information prompt instruction.
8. The method of claim 1, wherein after the sending the target hint information to the business system to cause the business system to display the target hint information in a target area corresponding to the target content according to the target hint information, the method further comprises:
Determining whether the target prompt information and each target prompt information in the target application are in a reference state;
and if the target prompt information is in an unreferenced state, deleting the target application after receiving the target application.
9. A hint information display device, characterized by comprising:
the information prompt system comprises a receiving module, a display module and a processing module, wherein the receiving module is used for receiving an information prompt instruction, the information prompt instruction is generated by a service system in response to the operation of a user on target content on a display interface, the information prompt instruction is used for determining target prompt information corresponding to the target content from the prompt system, the information prompt instruction comprises an identification of a target application and an identification of the target prompt information in the target application, and the target application is used for storing the target prompt information;
the determining module is used for determining the target application and the target prompt information in the target application according to the information prompt instruction;
and the sending module is used for sending the target prompt information to the service system so that the service system can display the target prompt information in a target area corresponding to the target content according to the target prompt information.
10. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 8.
11. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 8.
CN202311258545.8A 2023-09-26 2023-09-26 Prompt information display method, device, equipment and storage medium Pending CN117193581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311258545.8A CN117193581A (en) 2023-09-26 2023-09-26 Prompt information display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311258545.8A CN117193581A (en) 2023-09-26 2023-09-26 Prompt information display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117193581A true CN117193581A (en) 2023-12-08

Family

ID=88992324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311258545.8A Pending CN117193581A (en) 2023-09-26 2023-09-26 Prompt information display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117193581A (en)

Similar Documents

Publication Publication Date Title
CN110597595B (en) Method for providing multi-language information, method for configuring multi-language information, device, equipment and medium
US20190220304A1 (en) Method and device for processing application program page, and storage medium
US7318193B2 (en) Method and apparatus for automatic document generation based on annotation
CN106708480B (en) Management platform implementation method and device
US9792034B2 (en) Multi-source, multi-destination data transfers
CN101405991B (en) Method, apparatus and computer program for controlling retention of data messages
US20160381164A1 (en) Optimizing storage in a publish / subscribe environment
US8412687B1 (en) System and method for delivering content to a communication device in a content delivery system
CN110321177B (en) Mobile application localized loading method and device and electronic equipment
US20100076937A1 (en) Feed processing
CN111797351A (en) Page data management method and device, electronic equipment and medium
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
CN115795211A (en) Page display method, device, system, equipment and storage medium
CN108319619B (en) Data processing method and device
US11521242B2 (en) Asynchronous execution of tasks and ordering of task execution
CN110716804A (en) Method and device for automatically deleting useless resources, storage medium and electronic equipment
CN108845762A (en) Disk drive bleach-out process and device when a kind of solution hot plug
CN117193581A (en) Prompt information display method, device, equipment and storage medium
CN115964192A (en) Request processing method and device, electronic equipment and storage medium
JP2007328750A (en) Compound document preparing method and registering method to blog
US20040088399A1 (en) Terminal apparatus and control method thereof
CN113761415A (en) Page display method and device
CN113760695A (en) Method and device for positioning problem code
JPH04305751A (en) File transfer system
WO2019132256A1 (en) Content providing method and system therefor

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