CN110417601B - Information prompting method, device and system in client and readable storage medium - Google Patents

Information prompting method, device and system in client and readable storage medium Download PDF

Info

Publication number
CN110417601B
CN110417601B CN201910712579.7A CN201910712579A CN110417601B CN 110417601 B CN110417601 B CN 110417601B CN 201910712579 A CN201910712579 A CN 201910712579A CN 110417601 B CN110417601 B CN 110417601B
Authority
CN
China
Prior art keywords
information prompt
client
information
trigger event
server
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.)
Active
Application number
CN201910712579.7A
Other languages
Chinese (zh)
Other versions
CN110417601A (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910712579.7A priority Critical patent/CN110417601B/en
Publication of CN110417601A publication Critical patent/CN110417601A/en
Application granted granted Critical
Publication of CN110417601B publication Critical patent/CN110417601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The embodiment of the invention provides an information prompting method, an information prompting device, an information prompting system and a readable storage medium in a client, wherein the information prompting method comprises the following steps: responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event; acquiring information prompt content corresponding to the information prompt trigger event according to the information prompt identification; and displaying the information prompt content. The information prompt content in the embodiment of the invention can be obtained by the information prompt identifier of the information prompt trigger event instead of being written into the client in a code form, so that when the prompt content needs to be adjusted, the client can obtain new information prompt content for displaying only by adjusting the information prompt content corresponding to the information prompt identifier without updating the client, and the adjustment process of the information prompt content is effectively simplified.

Description

Information prompting method, device and system in client and readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of man-machine interaction, in particular to an information prompting method, device and system in a client and a readable storage medium.
Background
With the development of the intellectualization of electronic devices, human-computer interaction interfaces are more and more valued by users, for example, in the existing various software products, the users can generate various prompt messages in the operation process to guide the operation of the users.
At present, common message reminding methods include Toast on a mobile platform, and a prompt dialog box on a Personal Computer (PC) platform. The operation mechanism of these messages is generally that prompt contents corresponding to each interactive scene are edited in advance, then relevant codes are written into the client, and the client displays the corresponding prompt contents based on the interactive scene triggered by the user, for example, in a login scene, if the client detects that the user inputs a correct user name and password, the login is successful, and the login is completed; but when the client detects that the user enters an incorrect username and/or password, "username or password error" is displayed.
In the above operation mechanism of message reminding, since the prompt content is written in the client in the form of code, the adjustment process is complicated when the prompt content needs to be adjusted.
Disclosure of Invention
The embodiment of the invention provides an information prompting method, device and system in a client and a readable storage medium, which aim to solve the technical problem that the adjustment process is complex when prompting content needs to be adjusted at present.
In a first aspect, an embodiment of the present invention provides an information prompting method in a client, including:
responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event;
acquiring information prompt content corresponding to the information prompt trigger event according to the information prompt identification;
and displaying the information prompt content.
In a possible design, the obtaining, according to the information prompt identifier, information prompt content corresponding to the information prompt trigger event includes:
and retrieving the information prompt content corresponding to the information prompt trigger event in the specified configuration data of the client according to the information prompt identifier.
In one possible design, the specified configuration data is data obtained by the client from a server.
In one possible design, the client updates the specified configuration data according to a specified policy.
In one possible design, the client updating the specified configuration data according to a specified policy includes:
and when the client is started, sending a data updating request to the server.
In one possible design, the client updating the specified configuration data according to a specified policy includes:
and when the network state of the client side changes, sending a data updating request to the server.
In one possible design, the client updating the specified configuration data according to a specified policy includes:
and when the client receives an update notification sent by the server, sending a data update request to the server.
In one possible design, the client includes a program unit and a data unit, the information prompt trigger event is monitored and obtained by the program unit, and the data unit includes the specified configuration data.
In one possible design, the determining an information cue identification of the information cue trigger event includes:
determining the service information of the information prompt trigger event;
and generating an information prompt identifier of the information prompt trigger event according to the service information.
In one possible design, the generating the information prompt identifier of the information prompt trigger event according to the service information includes:
acquiring a service type identifier, an instruction type identifier and a service state code corresponding to the information prompt trigger event;
and generating an information prompt identifier of the information prompt trigger event based on the service type identifier, the instruction type identifier and the service state code corresponding to the information prompt trigger event.
In a possible design, the obtaining, according to the information prompt identifier, information prompt content corresponding to the information prompt trigger event includes:
sending a request message to a server, wherein the request message comprises the information prompt identification;
and receiving the information prompt content fed back by the server, wherein the information prompt content fed back by the server is the information prompt content corresponding to the information prompt identification.
In a possible design, after the step of sending the request message to the server, the method further includes:
detecting whether the client receives information prompt content fed back by the server;
and when the client does not receive the information prompt content fed back by the server within a preset time period, calling the preset error prompt content and displaying the error prompt content.
In a second aspect, an embodiment of the present invention provides an information prompting method, including:
receiving a request message sent by a client, wherein the request message is used for acquiring specified configuration data;
and feeding back the appointed configuration data corresponding to the request message to the client so as to obtain and display the information prompt content corresponding to the information prompt trigger event from the appointed configuration data according to the information prompt identifier after the client responds to the information prompt trigger event and determines the information prompt identifier of the information prompt trigger event.
In one possible design, the method further includes:
and receiving a data updating request sent by a client, wherein the data updating request is used for acquiring the updated specified configuration data.
In one possible design, the method further includes:
receiving a query request message sent by a client, wherein the query request message comprises an information prompt identifier of an information prompt trigger event responded by the client;
searching the information prompt content corresponding to the information prompt identification;
and feeding back the searched information prompt content to the client.
In a third aspect, an embodiment of the present invention provides an information prompting apparatus in a client, including:
the response module is used for responding to an information prompt trigger event and determining an information prompt identifier of the information prompt trigger event;
the acquisition module is used for acquiring information prompt contents corresponding to the information prompt trigger events according to the information prompt identification;
and the display module is used for displaying the information prompt content.
In a fourth aspect, an embodiment of the present invention provides an information prompt apparatus, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a request message sent by a client, and the request message is used for acquiring specified configuration data;
and the feedback module is used for feeding back the specified configuration data corresponding to the request message to the client so as to obtain and display the information prompt content corresponding to the information prompt trigger event from the specified configuration data according to the information prompt identifier after the client responds to the information prompt trigger event and determines the information prompt identifier of the information prompt trigger event.
In a fifth aspect, an embodiment of the present invention provides an information prompting system, including: a client and a server, wherein the client is used for executing the information prompting method in the client according to the first aspect, and the server is used for executing the information prompting method according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a readable storage medium, where the readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method for prompting information in a client according to the first aspect is implemented.
In a seventh aspect, an embodiment of the present invention provides a readable storage medium, where a computer executing instruction is stored in the readable storage medium, and when a processor executes the computer executing instruction, the information prompting method according to the second aspect is implemented.
The information prompting method, the device, the system and the readable storage medium in the client provided by the embodiment of the invention can realize that: responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event; acquiring information prompt content corresponding to the information prompt trigger event according to the information prompt identification; and displaying the information prompt content. The information prompt content in the embodiment of the invention can be obtained by the information prompt identifier of the information prompt trigger event instead of being written into the client in a code form, so that when the prompt content needs to be adjusted, the client can obtain new information prompt content for displaying only by adjusting the information prompt content corresponding to the information prompt identifier without updating the client, and the adjustment process of the information prompt content is effectively simplified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of an information prompt system according to an embodiment of the present invention;
fig. 2 is a first schematic flow chart illustrating an information prompting method in a client according to an embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating a second method for prompting information in a client according to an embodiment of the present invention;
fig. 4 is a first schematic flow chart of an information prompting method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart diagram of an information prompting method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information prompt apparatus in a client according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an information prompt apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an information prompt system according to an embodiment of the present invention. As shown in fig. 1, the information prompting system provided in this embodiment includes a client (client)101 and a server (server) 102.
The client (or called user) 101 is a program corresponding to the server 102 and providing local services to the client. Typically installed on a common client machine, except for some applications that run only locally, need to interoperate with the server 102. More commonly used clients 101 include web browsers, such as those used by the world wide web, and instant messaging client software, among others. The client can comprise a mobile terminal, a tablet computer, a notebook computer, a desktop computer, a smart television and other network terminals. For example, the client 101 may include an Application (APP) running in the mobile terminal.
The server 102 includes, but is not limited to, a one-way server, a multi-way server, and a distributed server.
In the embodiment of the present invention, the client 101 is communicatively connected to the server 102 through a network, which includes but is not limited to: the information prompting method in the embodiment of the present invention may be executed by the client 101, the server 102, or both the server 102 and the client 101. For example, in some embodiments, the client 101 sends a request message to the server 102; upon receiving the request message, the server 102 generates a task item corresponding to the request message, and feeds the task item back to the client 101. The following examples are given for illustrative purposes.
Referring to fig. 2, fig. 2 is a first flowchart illustrating an information prompting method in a client according to an embodiment of the present invention, where an execution subject of the embodiment is the client 101 in the embodiment shown in fig. 1, and the method includes:
s201, responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event.
In the embodiment of the invention, the client system monitors whether an information prompt trigger event is triggered in the client in real time, and if the information prompt trigger event is triggered in the client, the information prompt identifier of the information prompt trigger event is determined.
For example, in a login process, after a user inputs an account in the client, if the client login system detects that an account input by the user does not exist, an information prompt trigger event for prompting the user that "the currently input account does not exist" is triggered, and when the client receives an "exit" instruction triggered by the user, the information prompt trigger event for prompting the user that "do not exit the current account? "the information prompts a trigger event; for another example, when the client monitors that the user triggers the "latest activity" icon in the client, the newly configured activity title is displayed, for example, "which is the stormy day? "and the like.
Since there may be multiple information prompt trigger events in one client, in order to distinguish the information prompt trigger events, in this embodiment, the information prompt identifier of each information prompt trigger event is unique.
S202, obtaining the information prompt content corresponding to the information prompt trigger event according to the information prompt identification.
In the embodiment of the invention, after the client determines the information prompt identifier of the information prompt trigger event, the client can acquire the information prompt content corresponding to the information prompt trigger event according to the information prompt identifier.
The client may retrieve the information prompt content corresponding to the information prompt trigger event in the specified configuration data of the client according to the information prompt identifier, or query the information prompt content corresponding to the information prompt trigger event from the server according to the information prompt identifier, which is not limited herein.
And the client searches the information prompt content corresponding to the information prompt trigger event in the specified configuration data of the client according to the information prompt identifier, wherein the specified configuration data is the data acquired by the client from the server. Specifically, the server may pre-configure information prompt contents corresponding to each information prompt trigger event, and then send the information prompt contents corresponding to each information prompt trigger event as the specified data to the client.
Under the condition that the client inquires the information prompt content corresponding to the information prompt trigger event from the server according to the information prompt identification, the server locally stores the information prompt identification of each information prompt trigger event and the information prompt content corresponding to each information prompt identification in advance. When the server receives a request message sent by the client, the server can inquire the information prompt content corresponding to the information prompt trigger event from the server locally according to the information prompt identification.
And S203, displaying the information prompt content.
In the embodiment of the invention, after the information prompt content corresponding to the information prompt trigger event is found out, the information prompt content is displayed on the display interface by the client, so that the aim of reminding a user is fulfilled.
It can be understood that, in the embodiment of the present invention, the information prompt content is not fixedly set in the client in the form of a software code, so that when the information prompt content needs to be adjusted, the information prompt content of the information prompt trigger event can be directly modified, and the client can acquire new information prompt content for display without updating the client. For example, if the information prompt identifier of the information prompt trigger event a is a, and the information prompt content corresponding to the information prompt identifier a is "password error", the client displays "password error" when the information prompt trigger event a is triggered; if the password needs to be checked when the information prompt trigger event A is triggered, only the information prompt content 'password error' corresponding to the information prompt identifier a needs to be modified into 'password check request'. Thus, when the information prompt triggering event A is triggered again, the client displays the prompt content of 'please check the password'.
The information prompting method in the client provided by the embodiment of the invention comprises the following steps: responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event; acquiring information prompt content corresponding to the information prompt trigger event according to the information prompt identification; and displaying the information prompt content. The information prompt content in the embodiment of the invention can be obtained by the information prompt identifier of the information prompt trigger event instead of being written into the client in a code form, so that when the prompt content needs to be adjusted, the client can obtain new information prompt content for displaying only by adjusting the information prompt content corresponding to the information prompt identifier without updating the client, and the adjustment process of the information prompt content is effectively simplified.
Further, based on the description of the above embodiment, in an embodiment of the present invention, the client includes a program unit and a DATA unit, the information prompt trigger event is monitored and obtained by the program unit, and the DATA unit includes specified configuration DATA (CONTENT _ DATA).
And the client updates the specified configuration data according to the specified strategy. For example, when a client starts up, a data update request is sent to the server.
Specifically, in practical applications, in order to reduce the query pressure of the server, all the configuration DATA (CONTENT _ DATA) may be updated when the client starts. The whole CONTENT _ DATA has a VERSION number (CONTENT _ DATA _ VERSION), when the client is started, the local CONTENT _ DATA _ VERSION of the client is compared with the local CONTENT _ DATA _ VERSION of the server, if the two are different, DATA updating is carried out, and if the two are the same, updating is not needed. Therefore, when the client side obtains the information prompt content corresponding to the information prompt trigger event according to the information prompt identification, the client side can directly provide query service locally without sending a query request to the server, so that the pressure of the server can be reduced, and the product experience can be improved.
In addition, the client also includes the following modes according to the mode of updating the specified configuration data:
in the first mode, when the network state of the client changes, a data updating request is sent to the server.
And secondly, when the client receives the update notification sent by the server, sending a data update request to the server.
Specifically, the server may actively send an update notification to the client after updating the configuration data each time.
After receiving a data update request sent by the client, the server can send the configuration data of the latest version to the client.
In the information prompting method in the client, the client acquires the specified configuration data from the server and updates the specified configuration data according to the specified strategy, so that the client can acquire the latest information prompting content and the server pressure can be effectively reduced.
Further, based on the foregoing embodiment, in the embodiment of the present invention, the determining the information prompting identifier of the information prompting trigger event described in step 201 may specifically include the following steps:
step a, determining the service information of the information prompt trigger event.
And b, generating an information prompt identifier of the information prompt trigger event according to the service information.
Specifically, the service information includes a service type identifier, a command type identifier, and a service status CODE, and the information prompt identifier of the information prompt trigger event may be generated by obtaining a service type identifier (service ID, abbreviated as SID), a command type identifier (command ID, abbreviated as CID), and a service status CODE (CODE) corresponding to the information prompt trigger event.
The client can provide multiple services, the service types comprise login service, address list service, instant messaging service and the like, each service type has one identifier, and different service types have different identifiers.
Each service may provide one or more commands (command), where the command type refers to a type of command provided by each service, and for example, the command types provided by the friend service include: add friends, delete friends, blacken friends, and the like.
The service status code is an identifier returned by the server for identifying the service status when the client interacts with the server, for example, when the instruction type is friend adding, if the server returns the service status code of "0", it indicates that friend adding is successful; if the server returns the service status code of '1', it indicates that the addition of the friend fails.
In this embodiment, the information prompt trigger events in the client may be classified in advance according to the service type, the instruction type, and the service state, and the service type, the instruction type, and the service state corresponding to each information prompt trigger event are determined, and then when an identifier of a prompt content required by any information prompt trigger event is generated, a corresponding information prompt identifier may be generated according to the service type identifier, the instruction type identifier, and the service state code corresponding to the information prompt trigger event. For example, the identifier (CONTENT _ ID) of the information prompt CONTENT is service type identifier _ command type identifier _ service status code, and if the service type identifier, the command type identifier, and the service status code corresponding to a certain information prompt trigger event are respectively 11, 22, and 0, the information prompt identifier of the information prompt trigger event is 11_22_ 0.
The method provided by the embodiment of the invention generates the information prompt identifier corresponding to the information prompt trigger event according to the service type identifier, the instruction type identifier and the service state code corresponding to the information prompt trigger event, and can ensure that the information prompt identifier required by any information prompt trigger event is unique, so that the information prompt content required by the triggered information prompt trigger event can be accurately displayed.
Further, based on the foregoing embodiment, referring to fig. 3, fig. 3 is a schematic flowchart of a second flow chart of an information prompting method in a client according to an embodiment of the present invention. In the embodiment of the present invention, the information prompting method in the client includes:
s301, responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event.
S302, sending a request message to a server, wherein the request message comprises the information prompt identification.
And S303, receiving information prompting content fed back by the server, wherein the information prompting content fed back by the server is the information prompting content corresponding to the information prompting identification.
And S304, displaying the prompt content fed back by the server.
Specifically, when monitoring that an information prompt trigger event is triggered in the client, the client determines an information prompt identifier (for example, CONTENT _ ID) corresponding to the information prompt trigger event, and then sends a request message including the information prompt identifier to the server; after receiving the request message, the server searches for information prompt CONTENT (e.g., CONTENT _ TEXT) corresponding to the information prompt identifier, and feeds back the information prompt CONTENT to the client; and after receiving the information prompt content fed back by the server, the client displays the information prompt content. Compared with the prior art, the information prompt content in the embodiment of the invention is not fixedly arranged in the client but stored in the server, so that when the prompt content needs to be adjusted, the client can acquire new prompt content from the server for display only by modifying the prompt content stored in the server without updating the client, and the adjustment process of the prompt content is effectively simplified.
Further, based on the foregoing embodiment, in the embodiment of the present invention, after the sending the request message to the server, the client further includes:
detecting whether the client receives the information prompt content fed back by the server; and when the client does not receive the information prompt content fed back by the server within a preset time period, calling the preset error prompt content and displaying the error prompt content.
In the embodiment of the present invention, after a server receives a request message sent by a client, if the server does not locally store an information prompt identifier in the request message, or if a local query service of the server is abnormal, the server cannot feed back information prompt content corresponding to the information prompt identifier to the client, in this case, the client waits for a preset time (e.g. 2 seconds), and if the client does not receive the prompt content fed back by the server within the preset time, the client actively calls an error prompt content locally stored by the client, for example, calls "an unknown error occurs, an error code: CODE ", and displayed.
After the client calls the error prompt content, the error prompt content can be fed back to the server, the server can quickly locate the error reason after receiving the error prompt content, and then quickly configure a new information prompt identifier and information prompt content corresponding to the new information prompt identifier according to the service requirement.
According to the method provided by the embodiment of the invention, after the client sends the request message to the server, if the information prompt content fed back by the server is not received within the preset time period, the preset error prompt content is called and displayed, so that the user is reminded that the current operation is abnormal, and the misoperation of the user can be effectively prevented.
Referring to fig. 4, fig. 4 is a schematic flowchart of a first flow chart of an information prompting method according to an embodiment of the present invention, where an execution subject of the embodiment is the server 102 in the embodiment shown in fig. 1, and the method includes:
s401, receiving a request message sent by a client, wherein the request message is used for acquiring specified configuration data.
S402, feeding back the appointed configuration data corresponding to the request message to the client so as to respond to an information prompt trigger event at the client and obtain and display information prompt content corresponding to the information prompt trigger event from the appointed configuration data according to the information prompt identifier after determining the information prompt identifier of the information prompt trigger event.
That is, in the embodiment of the present invention, the server may provide configuration data for the client based on a request message sent by the client, so that when the client responds to an information prompt trigger event and determines an information prompt identifier of the information prompt trigger event, the client acquires and displays information prompt content corresponding to the information prompt trigger event from the specified configuration data according to the information prompt identifier.
Further, the server may be further configured to receive a data update request sent by the client, and provide the updated specified configuration data to the client.
It should be understood that the information prompting method described in the foregoing steps S401 to S402 is not consistent with the information prompting method described in the foregoing steps S201 to S203 only in terms of execution subject, and belongs to the same inventive concept, and the adopted technical means and the beneficial effects are the same, and the contents described in the foregoing steps S201 to S203 in the foregoing embodiment may be specifically referred to, and are not repeated herein.
Referring to fig. 5, fig. 5 is a flowchart illustrating a second method for prompting information according to an embodiment of the present invention, where an execution subject of the embodiment is the server 102 in the embodiment shown in fig. 1, and the method includes:
s501, receiving a query request message sent by a client, wherein the query request message comprises an information prompt identifier of an information prompt trigger event responded by the client.
S502, searching the information prompt content corresponding to the information prompt identification.
And S503, feeding back the searched information prompt content to the client.
That is, in the embodiment of the present invention, the server may provide a query service for the client based on the query request message sent by the client. When the client responds to the information prompt trigger event and determines the information prompt identifier of the information prompt trigger event, the client sends the information prompt identifier to the server, and then the information prompt content corresponding to the information prompt trigger event can be obtained from the server.
Further, based on the embodiment described in fig. 5, in the embodiment of the present invention, the information prompting method further includes:
when a modification operation instruction is received, determining target information prompt content corresponding to the modification operation instruction; and modifying the target information prompt content according to the modification operation instruction.
In other words, in the embodiment of the present invention, the information prompt content corresponding to any information prompt trigger event stored in the server can be modified at any time, and specifically, the information prompt content required by any information prompt trigger event can be modified by sending a modification operation instruction to the server through the management terminal. For example, the prompt message of "login failure" can be modified to "you don't have right to login".
It can be understood that, after the prompt content of the information prompt triggering event W in the server is modified, the client does not need to perform any updating operation, and can display the modified information prompt content of the information prompt triggering event W when the information prompt triggering event W is triggered.
Further, based on the foregoing embodiment, in the embodiment of the present invention, the information prompting method further includes:
when a newly added operation instruction is received, newly added information prompt content and a new information prompt identifier corresponding to the new information prompt content are determined; and storing the new information prompt content, the new information prompt mark and the corresponding relation between the new information prompt content and the new information prompt mark in a preset database.
In the embodiment of the invention, after the client updates the service, a new information prompt trigger event may be added, when the new information prompt trigger event is added in the client, a new operation instruction may be sent to the server through the client or the management terminal, and the newly added information prompt content, a new information prompt identifier corresponding to the new information prompt content (i.e. the information prompt identifier corresponding to the information prompt trigger event newly added in the client), and a corresponding relationship between the new information prompt content and the new information prompt identifier are stored in the server.
When a new information prompt trigger event added in the client is triggered, the client sends an information prompt identifier corresponding to the new information prompt trigger event to the server, and the server can find out the information prompt content required by the new information prompt trigger event based on the identifier and feed the information prompt content back to the client.
In other words, in the embodiment of the present invention, when a new information prompt trigger event exists at the client, only the newly added information prompt content and information prompt identifier need to be stored in the server, and configuration at the client is not required, which is convenient for the client to expand the service.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an information prompting device in a client according to an embodiment of the present invention. In fig. 6, an information prompt apparatus 60 in a client provided by the present embodiment includes:
the response module 601 is configured to respond to an information prompt trigger event, and determine an information prompt identifier of the information prompt trigger event.
An obtaining module 602, configured to obtain, according to the information prompt identifier, information prompt content corresponding to the information prompt trigger event.
A display module 603, configured to display the information prompt content.
The information prompt device 60 in the client according to this embodiment may be configured to implement the technical solution in the information prompt method embodiment in the client described in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
The information prompt device 60 in the client provided in the embodiment of the present invention can implement: responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event; acquiring information prompt content corresponding to the information prompt trigger event according to the information prompt identification; and displaying the information prompt content. The information prompt content in the embodiment of the invention can be obtained by the information prompt identifier of the information prompt trigger event instead of being written into the client in a code form, so that when the prompt content needs to be adjusted, the client can obtain new information prompt content for displaying only by adjusting the information prompt content corresponding to the information prompt identifier without updating the client, and the adjustment process of the information prompt content is effectively simplified.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an information prompting device according to an embodiment of the present invention. In fig. 7, the information presentation device 70 provided in this embodiment includes:
a receiving module 701, configured to receive a request message sent by a client, where the request message is used to obtain specified configuration data.
A feedback module 702, configured to feed back, to the client, the specified configuration data corresponding to the request message, so that after the client responds to an information prompt trigger event and determines an information prompt identifier of the information prompt trigger event, information prompt content corresponding to the information prompt trigger event is obtained and displayed from the specified configuration data according to the information prompt identifier.
The information prompt device 70 provided in this embodiment may be used to implement the technical solution in the information prompt method embodiment described in fig. 3, and the implementation principle and technical effect are similar, which are not described herein again.
In a possible design, the information prompting device 70 further includes an updating module, configured to receive a data updating request sent by the client, where the data updating request is used to obtain the updated specified configuration data.
In a possible design, the receiving module 701 is further configured to receive an inquiry request message sent by a client, where the inquiry request message includes an information prompt identifier of an information prompt trigger event responded by the client. The information prompt device 70 further includes a searching module, configured to search for the information prompt content corresponding to the information prompt identifier. The feedback module 702 is further configured to feed back the searched information prompt content to the client.
The embodiment of the invention also provides an information prompt system, which comprises a client and a server. The client is configured to execute the information prompting method in the client as described in fig. 2, and the server is configured to execute the information prompting method as described in fig. 3, which is not described herein again in this embodiment.
The embodiment of the present invention further provides a client, which can be used for executing the information prompting method in the client as described in fig. 2, and the implementation principle and the technical effect are similar, and this embodiment is not described herein again.
The embodiment of the present invention further provides a server, which can be used for executing the information prompting method described in fig. 3, and the implementation principle and the technical effect of the server are similar, and details are not described here again.
For better understanding of the embodiment of the present invention, referring to fig. 8, fig. 8 is a schematic diagram of a hardware structure of an apparatus according to the embodiment of the present invention. The hardware structure may be applied to an electronic device running the client, and specifically, the device 80 includes a processor 801 and a memory 802; wherein:
a memory 802 for storing computer-executable instructions;
the processor 801 is configured to execute the computer-executable instructions stored in the memory to implement the steps performed by the client in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 802 may be separate or integrated with the processor 801. When the memory 802 is separately provided, the voice interaction device further comprises a bus 803 for connecting the memory 802 and the processor 801.
In addition, the above apparatus 80 may also be applied to the above server. That is, the processor 801 may be configured to execute computer-executable instructions stored in the memory to implement the steps performed by the server in the above-described embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
An embodiment of the present invention further provides a readable storage medium, where a computer executing instruction is stored in the readable storage medium, and when a processor executes the computer executing instruction, the information prompting method in the client described in fig. 2 is implemented; alternatively, the information prompting method as described in fig. 3 above is implemented.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware mode, and can also be realized in a mode of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. 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 invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The storage medium may be implemented by any type or combination of volatile and non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (15)

1. An information prompting method in a client, characterized in that the method comprises:
responding to an information prompt trigger event, and determining an information prompt identifier of the information prompt trigger event;
acquiring information prompt content corresponding to the information prompt trigger event according to the information prompt identification;
displaying the information prompt content;
the determining the information prompt identifier of the information prompt trigger event includes:
acquiring a service type identifier, an instruction type identifier and a service state code corresponding to the information prompt trigger event; generating an information prompt identifier of the information prompt trigger event based on a service type identifier, an instruction type identifier and a service state code corresponding to the information prompt trigger event;
the obtaining of the information prompt content corresponding to the information prompt trigger event according to the information prompt identifier includes: retrieving information prompt content corresponding to the information prompt trigger event in appointed configuration data of the client according to the information prompt identification, wherein the appointed configuration data are data acquired by the client from a server; or alternatively
Sending a request message to a server, wherein the request message comprises the information prompt identification; and receiving the information prompt content fed back by the server, wherein the information prompt content fed back by the server is the information prompt content corresponding to the information prompt identification.
2. The method of claim 1, wherein the client updates the specified configuration data according to a specified policy.
3. The method of claim 2, wherein the client updates the specified configuration data according to a specified policy, comprising:
and when the client is started, sending a data updating request to the server.
4. The method of claim 2, wherein the client updates the specified configuration data according to a specified policy, comprising:
and when the network state of the client side is changed, sending a data updating request to the server.
5. The method of claim 2, wherein the client updates the specified configuration data according to a specified policy, comprising:
and when the client receives an update notification sent by the server, sending a data update request to the server.
6. The method of claim 1, wherein the client comprises a program element and a data element, wherein the information prompt trigger event is monitored by the program element, and wherein the data element comprises the specified configuration data.
7. The method of claim 1, wherein after the step of sending the request message to the server, further comprising:
detecting whether the client receives information prompt content fed back by the server;
and when the client does not receive the information prompt content fed back by the server within a preset time period, calling preset error prompt content and displaying the error prompt content.
8. An information prompting method, characterized in that the method comprises:
receiving a request message sent by a client, wherein the request message is used for acquiring specified configuration data;
feeding back specified configuration data corresponding to the request message to the client, so as to obtain and display information prompt content corresponding to the information prompt trigger event from the specified configuration data according to the information prompt identifier after the client responds to the information prompt trigger event and determines the information prompt identifier of the information prompt trigger event;
the information prompt identifier is generated by the client acquiring the service type identifier, the instruction type identifier and the service status code corresponding to the information prompt trigger event and based on the service type identifier, the instruction type identifier and the service status code corresponding to the information prompt trigger event.
9. The method of claim 8, further comprising:
and receiving a data updating request sent by a client, wherein the data updating request is used for acquiring the updated specified configuration data.
10. The method of claim 8, further comprising:
receiving a query request message sent by a client, wherein the query request message comprises an information prompt identifier of an information prompt trigger event responded by the client;
searching the information prompt content corresponding to the information prompt identification;
and feeding back the searched information prompt content to the client.
11. An information prompting device in a client, the device comprising:
the response module is used for responding to an information prompt trigger event and determining an information prompt identifier of the information prompt trigger event;
the acquisition module is used for acquiring information prompt contents corresponding to the information prompt trigger events according to the information prompt identification;
the display module is used for displaying the information prompt content;
the response module is specifically configured to: acquiring a service type identifier, an instruction type identifier and a service status code corresponding to the information prompt trigger event; generating an information prompt identifier of the information prompt trigger event based on a service type identifier, an instruction type identifier and a service state code corresponding to the information prompt trigger event;
the obtaining of the information prompt content corresponding to the information prompt trigger event according to the information prompt identifier includes: retrieving information prompt content corresponding to the information prompt trigger event in appointed configuration data of the client according to the information prompt identification, wherein the appointed configuration data are data acquired by the client from a server; or alternatively
Sending a request message to a server, wherein the request message comprises the information prompt identification; and receiving the information prompt content fed back by the server, wherein the information prompt content fed back by the server is the information prompt content corresponding to the information prompt identification.
12. An information prompting device, the device comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a request message sent by a client, and the request message is used for acquiring specified configuration data;
a feedback module, configured to feed back specified configuration data corresponding to the request message to the client, so as to obtain and display information prompt content corresponding to the information prompt trigger event from the specified configuration data according to the information prompt identifier after the client responds to the information prompt trigger event and determines the information prompt identifier of the information prompt trigger event; the information prompt identification is generated by the client side based on the service type identification, the instruction type identification and the service status code corresponding to the information prompt trigger event, wherein the service type identification, the instruction type identification and the service status code correspond to the information prompt trigger event.
13. An information prompting system, characterized in that the system comprises a client and a server, the client is used for executing the information prompting method in the client according to any one of claims 1 to 7, and the server is used for executing the information prompting method according to any one of claims 8 to 10.
14. A readable storage medium, wherein a computer executable instruction is stored in the readable storage medium, and when a processor executes the computer executable instruction, the information prompting method in the client according to any one of claims 1 to 7 is realized.
15. A readable storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the information prompting method according to any one of claims 8 to 10.
CN201910712579.7A 2019-08-02 2019-08-02 Information prompting method, device and system in client and readable storage medium Active CN110417601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910712579.7A CN110417601B (en) 2019-08-02 2019-08-02 Information prompting method, device and system in client and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910712579.7A CN110417601B (en) 2019-08-02 2019-08-02 Information prompting method, device and system in client and readable storage medium

Publications (2)

Publication Number Publication Date
CN110417601A CN110417601A (en) 2019-11-05
CN110417601B true CN110417601B (en) 2022-07-15

Family

ID=68365666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910712579.7A Active CN110417601B (en) 2019-08-02 2019-08-02 Information prompting method, device and system in client and readable storage medium

Country Status (1)

Country Link
CN (1) CN110417601B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242731B (en) * 2020-01-08 2022-11-04 北京三快在线科技有限公司 Service execution method and device
CN114640712B (en) * 2022-03-17 2024-01-30 广州博冠信息科技有限公司 Information generation method, device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035373A (en) * 2007-04-11 2007-09-12 重庆重邮信科(集团)股份有限公司 Method for using the AT instruction to realize the CCBS service
CN101179628A (en) * 2006-11-10 2008-05-14 上海千首网络技术有限公司 Method for presenting simultaneously information in mobile terminal and the applied mobile terminal
CN101860953A (en) * 2009-04-08 2010-10-13 北京博越世纪科技有限公司 Method for sending short message prompt after registration of mobile phone client
CN101917593A (en) * 2010-07-23 2010-12-15 中国有线电视网络有限公司 Method for prompting associated channel information, set top box and system terminal
CN107688424A (en) * 2017-07-27 2018-02-13 努比亚技术有限公司 A kind of browsing method of people of unread information, equipment and computer-readable recording medium
WO2018076873A1 (en) * 2016-10-25 2018-05-03 广东欧珀移动通信有限公司 Data sharing method, apparatus, medium, electronic device and system
CN108345483A (en) * 2018-01-10 2018-07-31 深圳市金立通信设备有限公司 A kind of reminding method of notification message, terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179628A (en) * 2006-11-10 2008-05-14 上海千首网络技术有限公司 Method for presenting simultaneously information in mobile terminal and the applied mobile terminal
CN101035373A (en) * 2007-04-11 2007-09-12 重庆重邮信科(集团)股份有限公司 Method for using the AT instruction to realize the CCBS service
CN101860953A (en) * 2009-04-08 2010-10-13 北京博越世纪科技有限公司 Method for sending short message prompt after registration of mobile phone client
CN101917593A (en) * 2010-07-23 2010-12-15 中国有线电视网络有限公司 Method for prompting associated channel information, set top box and system terminal
WO2018076873A1 (en) * 2016-10-25 2018-05-03 广东欧珀移动通信有限公司 Data sharing method, apparatus, medium, electronic device and system
CN107688424A (en) * 2017-07-27 2018-02-13 努比亚技术有限公司 A kind of browsing method of people of unread information, equipment and computer-readable recording medium
CN108345483A (en) * 2018-01-10 2018-07-31 深圳市金立通信设备有限公司 A kind of reminding method of notification message, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110417601A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
US9294606B2 (en) Method for realizing downloading of mobile terminal application program and mobile terminal
EP2847944B1 (en) Transmitting and displaying offline data
EP2605476A1 (en) Mobile communication device
US11221743B2 (en) Information processing method, terminal, server, and computer storage medium
US20200021963A1 (en) Communication Identifier Binding Processing Method and Terminal
CN113407383B (en) Main and standby system switching method and device, server and main and standby system
CN110417601B (en) Information prompting method, device and system in client and readable storage medium
US11704629B2 (en) Methods and devices for processing information card
CN102970207A (en) Instant communication method, client device and instant communication system
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN115951923A (en) Subscription event management method and related product
EP4284006A1 (en) Abnormal state processing method, server, and electronic device
CN113014404B (en) Message transmission method and device, server and second client
KR102331734B1 (en) Method for processing data of distributed coordination system and electronic apparatus therefor
CN114928603A (en) Client software upgrading method and device, electronic equipment and medium
CN111132042B (en) Short message concurrent control method and device, storage medium and processor
CN114157627B (en) Group processing method, device, electronic equipment and medium
CN117459484A (en) Message group processing method and related equipment
CN116150163A (en) Information prompting method, device, equipment, storage medium and product
CN114301969A (en) Message pushing method and device, electronic equipment and computer readable storage medium
AU2013201007B2 (en) Mobile communication device
CN117527734A (en) Message pushing method and related device
CN114374557A (en) Webpage data requesting method and device, electronic equipment and storage medium
AU2009312609B2 (en) Mobile communication device
CN114647788A (en) Content display method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant