CN110334144B - Message display method, device, computer equipment and storage medium - Google Patents
Message display method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110334144B CN110334144B CN201910511932.5A CN201910511932A CN110334144B CN 110334144 B CN110334144 B CN 110334144B CN 201910511932 A CN201910511932 A CN 201910511932A CN 110334144 B CN110334144 B CN 110334144B
- Authority
- CN
- China
- Prior art keywords
- field
- displayed
- message
- conversion
- user
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/26—Visual data mining; Browsing structured data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a message display method, a device, computer equipment and a storage medium, wherein the message display method comprises the following steps: receiving a user login request; performing identity verification; returning login success information and a message display configuration page; receiving a message display request; acquiring a message segment table corresponding to a request user; acquiring a field value corresponding to a field to be displayed; detecting whether a field to be displayed is preconfigured with a corresponding conversion rule, if so, providing a conversion configuration option whether the field to be displayed needs conversion; if the selection result is that the field to be displayed needs to be converted, converting the field value corresponding to the field to be displayed according to a preset conversion rule to obtain a conversion result, returning the conversion result to the terminal for displaying, and if the selection result is that the field to be displayed does not need to be converted, directly returning the field value corresponding to the field to be displayed to the terminal for displaying. The invention configures different message text tables for different users, so that the message display mode is more flexible.
Description
Technical Field
The present invention relates to the field of message processing, and in particular, to a method and apparatus for displaying a message, a computer device, and a storage medium.
Background
With the continuous development of electronic information technology, various transactions and transaction information are stored in the form of transaction messages, and particularly, a large number of transaction messages are stored in large-scale trade manufacturers, electronic commerce platforms and banking systems. After the fields in the message are required to be defined by a demand person, development is carried out by a developer to realize message display. Because the message fields to be checked by different users are different, the values of the different fields may need to be converted when the different users check the message fields, so that different message display systems need to be developed according to the requirements of the different users, and when the message fields need to be newly added, the requirements definition and development flow need to be re-experienced. Therefore, the workload of the required personnel and the personnel of the operators is high, the energy of the required personnel and the personnel of the operators is wasted, and the time of the personnel is wasted.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present invention aims to provide a message display method, device, computer equipment and storage medium capable of displaying different messages according to different user requirements.
In order to achieve the above object, the present invention provides a message display method, including the following steps:
receiving a user login request sent by a requesting user through a terminal;
carrying out identity verification on the request user;
if the identity verification is successful, returning login success information and a message display configuration page to the terminal, and acquiring the identity information of the requesting user;
receiving a message display request input by the request user through the message display configuration page, wherein the message display request comprises a field name of a field to be displayed;
acquiring a message list corresponding to the request user according to the identity information of the request user;
acquiring a field value corresponding to the field to be displayed from a message word list corresponding to the request user according to the field name of the field to be displayed;
detecting whether the field to be displayed is pre-configured with a corresponding conversion rule, if so, providing a conversion configuration option for whether the field to be displayed needs conversion or not through the message display configuration page, otherwise, directly returning a field value corresponding to the field to be displayed to the terminal for display;
when a selection result of the conversion configuration option by the request user is received, if the selection result is that the field to be displayed needs to be converted, converting a field value corresponding to the field to be displayed according to a conversion rule corresponding to the pre-configured field to be displayed, obtaining a conversion result, returning the conversion result to the terminal for displaying, and if the selection result is that the field to be displayed does not need to be converted, directly returning the field value corresponding to the field to be displayed to the terminal for displaying.
Further, before receiving a user login request sent by a requesting user through a terminal, respectively establishing a message field table for different users, and associating each message field table with identity information of a corresponding user, wherein each message field table stores field names of a plurality of fields and corresponding field values.
Further, the method further comprises: when the field name of the newly added field input by the request user through the message display configuration page is received, the received field name of the newly added field is written into a message text table corresponding to the request user.
Further, the conversion rule of the field to be displayed is pre-configured in a rule configuration script corresponding to the field to be displayed, and the step of converting the field value corresponding to the field to be displayed according to the pre-configured conversion rule corresponding to the field to be displayed includes:
searching a rule configuration script corresponding to the field to be displayed;
and executing the rule configuration script corresponding to the field to be displayed.
Further, the step of obtaining the field value corresponding to the field to be displayed according to the field name of the field to be displayed includes:
and inquiring whether the field names of the fields in the message text table corresponding to the request user are matched with the field names of the fields to be displayed, and if so, reading the field values corresponding to the matched fields as the field values corresponding to the fields to be displayed.
Further, the step of authenticating the requesting user includes:
after receiving the user login request, instructing the terminal to acquire first biological characteristic information of the requesting user;
receiving the first biological characteristic information returned by the terminal, and searching second biological characteristic information with the maximum similarity with the first biological characteristic information and not less than a preset threshold value in a pre-stored user biological characteristic library;
if the second biological characteristic information is found, the authentication of the request user is judged to be successful, otherwise, the authentication of the request user is judged to be unsuccessful.
Further, the first biometric information and the second biometric information include facial image information, voiceprint information, or fingerprint information.
In order to achieve the above object, the present invention further provides a message display device, including:
the identity verification module is used for carrying out identity verification on a request user when receiving a user login request sent by the request user through a terminal, and if the identity verification is successful, returning login success information and a message display configuration page to the terminal, and simultaneously acquiring the identity information of the request user;
the request receiving module is used for receiving a message display request input by the request user through the message display configuration page, wherein the message display request comprises a field name of a field to be displayed;
the field table acquisition module is used for acquiring a message field table corresponding to the request user according to the identity information of the request user;
the field value acquisition module is used for acquiring a field value corresponding to the field to be displayed in a message text table corresponding to the request user according to the field name of the field to be displayed;
the rule detection module is used for detecting whether the field to be displayed is preconfigured with a corresponding conversion rule, if so, providing conversion configuration options whether the field to be displayed needs conversion or not through the message display configuration page;
the selection result receiving module is used for receiving the selection result of the conversion configuration options from the request user;
the conversion module is used for converting the field value corresponding to the field to be displayed according to the conversion rule corresponding to the field to be displayed when the selection result is that the field to be displayed needs to be converted, so as to obtain a conversion result;
and the display module is used for returning the conversion result to the terminal for display when the conversion result is obtained, and directly returning the field value corresponding to the field to be displayed to the terminal for display when the field to be displayed is not preconfigured with a corresponding conversion rule or the selection result is that the field to be displayed does not need conversion.
Further, the message display device further includes: and the field table establishing module is used for respectively establishing the message field tables for different users and associating each message field table with the identity information of the corresponding user, wherein each message field table stores field names of a plurality of fields and corresponding field values.
Further, the message display device further includes: and the field adding module is used for writing the received field name of the newly added field into a message text table corresponding to the requesting user when receiving the field name of the newly added field input by the requesting user through the message display configuration page.
Further, the conversion rule of the field to be displayed is pre-configured in a rule configuration script corresponding to the field to be displayed, and the conversion module includes:
the script searching unit is used for searching a rule configuration script corresponding to the field to be displayed when the selection result is that the field to be displayed needs to be converted;
and the script execution module unit is used for executing the rule configuration script corresponding to the field to be displayed to obtain a conversion result.
Further, the field value obtaining module includes:
the query unit is used for querying whether the field names of the fields in the message text table corresponding to the request user are matched with the field names of the fields to be displayed;
and the reading unit is used for reading the field value corresponding to the matched field as the field value corresponding to the field to be displayed when the query result of the query module is yes.
Further, the identity verification module includes:
the characteristic acquisition unit is used for instructing the terminal to acquire first biological characteristic information of the requesting user after receiving the user login request;
and the characteristic verification unit is used for receiving the first biological characteristic information returned by the terminal, searching second biological characteristic information with the maximum similarity with the first biological characteristic information and not smaller than a preset threshold value in a pre-stored user biological characteristic library, judging that the identity verification of the request user is successful if the second biological characteristic information is searched, and judging that the identity verification of the request user is unsuccessful if the second biological characteristic information is not searched.
Further, the first biometric information and the second biometric information include face image information, voiceprint information, or fingerprint information, respectively.
To achieve the above object, the present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the steps of the aforementioned method when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the aforementioned method.
By adopting the technical scheme, the invention has the following beneficial effects:
the invention configures different message word tables for different users, thereby acquiring personalized message word tables according to the identity information, leading the message display mode to be more flexible and avoiding developing different message display systems for the requirements of different users; meanwhile, when detecting that the field to be displayed is configured with a corresponding conversion rule, providing a conversion configuration option for whether the field to be displayed needs to be converted or not through the message display configuration page, wherein a user can configure whether the field to be displayed needs to be converted or not through the conversion configuration option, and when a selection result is that the field to be displayed needs to be converted, converting field values corresponding to the field to be displayed according to the preset conversion rule automatically, and the user does not need to inform a developer of developing personalized conversion requirements of the field to be displayed. In addition, when a new field needs to be added in the message, a user can configure the field name of the new field through the message display configuration page, and after the new field is received, the field name of the new field is stored in the message text table, and a requirement definition flow and a development flow are not required to be experienced, so that the workload of a requirement person and a personnel of a driver is greatly reduced, the effort and time of the requirement person and the personnel of the driver are saved, and frequent edition issuing is not caused.
Drawings
FIG. 1 is a flow chart of one embodiment of a message display method of the present invention;
FIG. 2 is a block diagram illustrating one embodiment of a message display apparatus according to the present invention;
FIG. 3 is a hardware architecture diagram of a computer device of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The invention provides a message display method, as shown in fig. 1, comprising the following steps:
s1, receiving a user login request sent by a user through a mobile phone, a tablet or a computer and the like.
S2, carrying out identity authentication on the request user. The specific verification process is as follows: after receiving a user login request, the command terminal collects first biological characteristic information of a requesting user; then, receiving first biological characteristic information returned by the terminal, and searching second biological characteristic information which has the maximum similarity with the first biological characteristic information and is not smaller than a preset threshold value in a pre-stored user biological characteristic library; if the second biological characteristic information is found, the authentication of the requesting user is judged to be successful, otherwise, the authentication of the requesting user is judged to be unsuccessful. The first biometric information and the second biometric information may be face image information, voiceprint information, or fingerprint information. If the identity verification is successful, login success information and a message display configuration page are returned to the terminal, meanwhile, the identity information associated with the second biological characteristic information is obtained as the identity information of the requesting user, and if the identity verification is unsuccessful, login failure information is returned to the terminal.
S3, receiving a message display request input by a request user through a message display configuration page, wherein the message display request comprises a field name of a field to be displayed, which is requested to be displayed by the request user. For example, assuming that user a wishes to read field M, user a may enter a message presentation request via a message presentation configuration page, which should contain the field name of field M that the user requested to present.
S4, acquiring a message field table corresponding to the request user according to the identity information of the request user. In this embodiment, before executing step S1, different message field tables are configured for different users in advance, and each message field table is associated with identity information of a corresponding user, where each message field table stores field names of multiple fields and corresponding field values. For example, assuming that there are three users A, B, C, three message lists X1, X2, and X3 are pre-established in the database, and X1 is associated with the identity information of the user a, X2 is associated with the identity information of the user B, and X3 is associated with the identity information of the user C, respectively. When a message display request input by a user A is received, the identity information of the user A can be obtained from the message display request, and the associated message text table X1 can be obtained according to the identity information.
When the request user needs to add a new field in the corresponding message field table, the field name of the new field is input through the message display configuration page, and after the field name of the new field is received, the field name of the new field is added into the message field table corresponding to the request user, so that the requirement definition and development flow are not needed. For example, if the user a needs to add the field "price" to the message text table X1, the field name "price" may be directly written in the message text table X1 in correspondence.
S5, according to the field name of the field to be displayed in the message display request, acquiring a field value corresponding to the field to be displayed in the message text table corresponding to the request user acquired in the step S4. Specifically, whether the field name of the field in the message text table corresponding to the query request user is matched with the field name of the field to be displayed is judged, if yes, the matched field is the field to be displayed, and the field value corresponding to the matched field is the field value corresponding to the field to be displayed, otherwise, the fact that the field to be displayed does not exist is indicated, and the process is ended. For example, if the message display request input by the user a includes a field name M of the field to be displayed, firstly, whether the field name M of the field exists in the message table X1 corresponding to the user a is queried, if so, the field value corresponding to the field name M is read from the message table X1, otherwise, the flow is ended.
S6, detecting whether the field to be displayed is preconfigured with a corresponding conversion rule, if so, providing a conversion configuration option whether the field to be displayed needs conversion or not through a message display configuration page, otherwise, executing step S9. Specifically, before executing step S1, the present embodiment establishes a corresponding Groovy script (named rule configuration script) for the fields to be converted in each message list in advance, and configures the conversion rule of the corresponding fields in the script. For example, assume that the message text table X1 corresponding to the user a has a field name "gender", and the corresponding field value is "0" or "1"; alternatively, the message table X1 has a field name "currency", and the corresponding field values are "00", "01", "02", and the like. For such code field values without specific meaning, if they are directly displayed on the terminal page, the user may not understand the meaning, so that the translation needs to be performed first, and therefore, the invention configures corresponding conversion rule scripts for these fields in advance. For example, in the script corresponding to the field "gender", the field value "0" is configured to be converted into "male", and the field value "1" is configured to be converted into "female"; in the script corresponding to the "coin type", the field value "00" is configured to be converted into "renminbi", "01" is configured to be converted into "dollar", "02" is configured to be converted into "euro", and the like.
After the field value corresponding to the field to be displayed is obtained, whether the field to be displayed is preconfigured with a corresponding rule configuration script is detected first, and if yes, the fact that the field to be displayed is preconfigured with a corresponding conversion rule is indicated.
S7, if the step S6 detects that the field to be displayed is configured with the corresponding conversion rule, providing a conversion configuration option for requesting a user to select whether the field to be displayed needs conversion or not through the message display configuration page, receiving a selection result of the conversion configuration option requesting the user, and if the selection result is that the field to be displayed needs conversion, executing the step S8, otherwise, executing the step S9.
And S8, when the selection result input by the user is that the field to be displayed needs to be converted, converting the field value corresponding to the field to be displayed according to the conversion rule corresponding to the pre-configured field to be displayed, obtaining a conversion result, and returning the conversion result to the terminal for displaying. The step of converting the field value corresponding to the field to be displayed according to the conversion rule corresponding to the pre-configured field to be displayed is realized by searching and executing the rule configuration script corresponding to the field to be displayed.
S9, if the step S6 detects that the field to be displayed is not configured with a corresponding conversion rule or the selection result received in the step S7 is that the field to be displayed does not need conversion, directly returning the field value corresponding to the field to be displayed to the terminal for display. For example, assuming that the field value corresponding to the field to be displayed read in step S5 is the field value "Zhang san" corresponding to the field "name" in the message text table X1, step S6 detects that the field to be displayed is not configured with the corresponding conversion rule, the "Zhang san" is directly returned to the terminal page for displaying.
Through the steps, different message segment tables are configured for different users, so that personalized message segment tables can be obtained according to the identity information, the message display mode is more flexible, and different message display systems do not need to be developed for the requirements of different users; meanwhile, when detecting that the field to be displayed is configured with a corresponding conversion rule, providing a conversion configuration option for whether the field to be displayed needs to be converted or not through the message display configuration page, configuring whether the field to be displayed needs to be converted or not through the conversion configuration option by a user, and automatically converting a field value corresponding to the field to be displayed according to the preset conversion rule when the selection result is that the field to be displayed needs to be converted, so that a developer does not need to be notified by the user to develop personalized conversion requirements of the developer. In addition, when a new field needs to be added in the message, a user can configure the field name of the new field through the message display configuration page, and after the new field is received, the field name of the new field is stored in the message text table without going through a requirement definition flow and a development flow, so that the workload of required personnel and personnel of a driver is greatly reduced, the effort and time of the required personnel and personnel of the driver are saved, and frequent edition issuing is avoided.
It should be noted that, for simplicity of description, the present embodiment is shown as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts, as some steps may be performed in other order or simultaneously in accordance with the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required for the present invention.
Example two
The present embodiment provides a message display apparatus 10, as shown in fig. 2, including:
a field table establishing module 101, configured to establish a message field table for different users, and associate each message field table with identity information of a corresponding user, where each message field table stores field names of a plurality of fields and corresponding field values;
the identity verification module 102 is configured to perform identity verification on a requesting user when receiving a user login request sent by the requesting user through a terminal, and if the identity verification is successful, return login success information and a message display configuration page to the terminal, and acquire identity information of the requesting user;
a request receiving module 103, configured to receive a message display request that requests a user to input through a message display configuration page, where the message display request includes a field name of a field to be displayed;
a field table obtaining module 104, configured to obtain a message table corresponding to the requesting user according to the identity information of the requesting user;
the field value obtaining module 105 is configured to obtain, according to a field name of a field to be displayed, a field value corresponding to the field to be displayed in a message field table corresponding to the requesting user;
the rule detection module 106 is configured to detect whether a field to be displayed is preconfigured with a corresponding conversion rule, if so, provide a conversion configuration option whether the field to be displayed needs conversion through the message display configuration page;
a selection result receiving module 107, configured to receive a selection result of the conversion configuration option by the requesting user;
the conversion module 108 is configured to, when the selection result is that the field to be displayed needs to be converted, convert a field value corresponding to the field to be displayed according to a conversion rule corresponding to the field to be displayed, so as to obtain a conversion result;
and the display module 109 is configured to return the conversion result to the terminal for display when the conversion result is obtained, and also configured to directly return the field value corresponding to the field to be displayed to the terminal for display when the field to be displayed is not preconfigured with the corresponding conversion rule or when the selection result is that the field to be displayed does not need conversion.
The field adding module 110 is configured to, when receiving a field name of an added field input by a requesting user through a message display configuration page, write the received field name of the added field into a message field table corresponding to the requesting user.
In this embodiment, the conversion rule of the field to be displayed is pre-configured in the rule configuration script corresponding to the field to be displayed, and the conversion module 108 includes:
the script searching unit is used for searching a rule configuration script corresponding to the field to be displayed when the selection result is that the field to be displayed needs to be converted;
and the script execution module unit is used for executing the rule configuration script corresponding to the field to be displayed to obtain a conversion result.
In the present embodiment, the field value acquisition module 105 includes:
the query unit is used for querying whether the field names of the fields in the message text table corresponding to the request user are matched with the field names of the fields to be displayed;
and the reading unit is used for reading the field value corresponding to the matched field as the field value corresponding to the field to be displayed when the query result of the query module is yes.
In this embodiment, the identity verification module 102 includes:
the characteristic acquisition unit is used for instructing the terminal to acquire first biological characteristic information of a requesting user after receiving a user login request;
the feature verification unit is used for receiving the first biological feature information returned by the terminal, searching second biological feature information with the maximum similarity with the first biological feature information and not smaller than a preset threshold value in a pre-stored user biological feature library, and judging that the identity verification of the requesting user is successful if the second biological feature information is found. The first biometric information and the second biometric information may be face image information, voiceprint information, or fingerprint information.
Those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments and that the modules referred to are not necessarily essential to the invention.
Example III
The invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server or a cabinet server (comprising independent servers or a server cluster formed by a plurality of servers) and the like which can execute programs. The computer device 20 of the present embodiment includes at least, but is not limited to: a memory 21, a processor 22, which may be communicatively coupled to each other via a system bus, as shown in fig. 3. It should be noted that fig. 3 only shows a computer device 20 having components 21-22, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may be implemented instead.
In the present embodiment, the memory 21 (i.e., readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 21 may be an internal storage unit of the computer device 20, such as a hard disk or memory of the computer device 20. In other embodiments, the memory 21 may also be an external storage device of the computer device 20, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 20. Of course, the memory 21 may also include both internal storage units of the computer device 20 and external storage devices. In this embodiment, the memory 21 is generally used for storing an operating system and various application software installed on the computer device 20, such as program codes of the message display apparatus 10 of the second embodiment. Further, the memory 21 may be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 20. In this embodiment, the processor 22 is configured to execute the program code stored in the memory 21 or process data, for example, execute the message display apparatus 10, so as to implement the message display method of the first embodiment.
Example IV
The present invention also provides a computer readable storage medium such as a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored that when executed by a processor performs a corresponding function. The computer readable storage medium of the present embodiment is configured to store the message display apparatus 10, and when executed by a processor, implements the message display method of the first embodiment.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (9)
1. The message display method is characterized by comprising the following steps:
respectively establishing a message field table for different users, and associating each message field table with the identity information of the corresponding user, wherein each message field table stores field names of a plurality of fields and corresponding field values;
receiving a user login request sent by a requesting user through a terminal;
carrying out identity verification on the request user;
if the identity verification is successful, returning login success information and a message display configuration page to the terminal, and acquiring the identity information of the requesting user;
receiving a message display request input by the request user through the message display configuration page, wherein the message display request comprises a field name of a field to be displayed;
acquiring a message list corresponding to the request user according to the identity information of the request user;
acquiring a field value corresponding to the field to be displayed from a message word list corresponding to the request user according to the field name of the field to be displayed;
detecting whether the field to be displayed is pre-configured with a corresponding conversion rule, if so, providing a conversion configuration option for whether the field to be displayed needs conversion or not through the message display configuration page, otherwise, directly returning a field value corresponding to the field to be displayed to the terminal for display;
when a selection result of the conversion configuration option by the request user is received, if the selection result is that the field to be displayed needs to be converted, converting a field value corresponding to the field to be displayed according to a conversion rule corresponding to the pre-configured field to be displayed, obtaining a conversion result, returning the conversion result to the terminal for displaying, and if the selection result is that the field to be displayed does not need to be converted, directly returning the field value corresponding to the field to be displayed to the terminal for displaying.
2. The message presentation method of claim 1, further comprising: when the field name of the newly added field input by the request user through the message display configuration page is received, the received field name of the newly added field is written into a message text table corresponding to the request user.
3. The method for displaying a message according to claim 1, wherein the conversion rule of the field to be displayed is pre-configured in a rule configuration script corresponding to the field to be displayed, and the step of converting the field value corresponding to the field to be displayed according to the pre-configured conversion rule corresponding to the field to be displayed includes:
searching a rule configuration script corresponding to the field to be displayed;
and executing the rule configuration script corresponding to the field to be displayed.
4. The method for displaying a message according to claim 1, wherein the step of obtaining the field value corresponding to the field to be displayed according to the field name of the field to be displayed comprises:
and inquiring whether the field names of the fields in the message text table corresponding to the request user are matched with the field names of the fields to be displayed, and if so, reading the field values corresponding to the matched fields as the field values corresponding to the fields to be displayed.
5. The method for displaying a message according to claim 1, wherein the step of authenticating the requesting user comprises:
after receiving the user login request, instructing the terminal to acquire first biological characteristic information of the requesting user;
receiving the first biological characteristic information returned by the terminal, and searching second biological characteristic information with the maximum similarity with the first biological characteristic information and not less than a preset threshold value in a pre-stored user biological characteristic library;
if the second biological characteristic information is found, the authentication of the request user is judged to be successful, otherwise, the authentication of the request user is judged to be unsuccessful.
6. The message display method according to claim 5, wherein the first biometric information and the second biometric information include facial image information, voiceprint information, or fingerprint information.
7. A message display device, comprising:
the system comprises a field table establishing module, a field setting module and a field setting module, wherein the field table establishing module is used for respectively establishing message field tables for different users and associating each message field table with the identity information of the corresponding user, wherein each message field table stores field names of a plurality of fields and corresponding field values;
the identity verification module is used for carrying out identity verification on a request user when receiving a user login request sent by the request user through a terminal, and if the identity verification is successful, returning login success information and a message display configuration page to the terminal, and simultaneously acquiring the identity information of the request user;
the request receiving module is used for receiving a message display request input by the request user through the message display configuration page, wherein the message display request comprises a field name of a field to be displayed;
the field table acquisition module is used for acquiring a message field table corresponding to the request user according to the identity information of the request user;
the field value acquisition module is used for acquiring a field value corresponding to the field to be displayed in a message text table corresponding to the request user according to the field name of the field to be displayed;
the rule detection module is used for detecting whether the field to be displayed is preconfigured with a corresponding conversion rule, if so, providing conversion configuration options whether the field to be displayed needs conversion or not through the message display configuration page;
the selection result receiving module is used for receiving the selection result of the conversion configuration options from the request user;
the conversion module is used for converting the field value corresponding to the field to be displayed according to the conversion rule corresponding to the field to be displayed when the selection result is that the field to be displayed needs to be converted, so as to obtain a conversion result;
and the display module is used for returning the conversion result to the terminal for display when the conversion result is obtained, and directly returning the field value corresponding to the field to be displayed to the terminal for display when the field to be displayed is not preconfigured with a corresponding conversion rule or the selection result is that the field to be displayed does not need conversion.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when the computer program is executed by the processor.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910511932.5A CN110334144B (en) | 2019-06-13 | 2019-06-13 | Message display method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910511932.5A CN110334144B (en) | 2019-06-13 | 2019-06-13 | Message display method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110334144A CN110334144A (en) | 2019-10-15 |
CN110334144B true CN110334144B (en) | 2023-07-25 |
Family
ID=68141085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910511932.5A Active CN110334144B (en) | 2019-06-13 | 2019-06-13 | Message display method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110334144B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190865B (en) * | 2019-10-17 | 2024-04-30 | 腾讯科技(深圳)有限公司 | Card configuration display method, device and computer readable storage medium |
CN110888931B (en) * | 2019-10-30 | 2022-05-20 | 南京领行科技股份有限公司 | Data display method and device, server, terminal equipment and readable storage medium |
CN112187761B (en) * | 2020-09-22 | 2022-12-13 | 中国建设银行股份有限公司 | Message parsing method, message construction method, message parsing device, message construction device, computer equipment and storage medium |
CN112650809B (en) * | 2021-01-07 | 2024-07-02 | 鲁班(北京)电子商务科技有限公司 | Method and device for formatting tree structure data and electronic equipment |
CN113014591B (en) * | 2021-03-08 | 2023-04-21 | 中国工商银行股份有限公司 | Method and device for detecting counterfeit public numbers, electronic equipment and medium |
CN114070886A (en) * | 2021-11-17 | 2022-02-18 | 深圳壹账通智能科技有限公司 | Message conversion method, device, equipment and medium |
CN114338835A (en) * | 2021-12-31 | 2022-04-12 | 中企云链(北京)金融信息服务有限公司 | Data message dynamic conversion method and device, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298429A (en) * | 2014-09-25 | 2015-01-21 | 北京搜狗科技发展有限公司 | Information presentation method based on input and input method system |
CN105656784A (en) * | 2014-11-13 | 2016-06-08 | 中兴通讯股份有限公司 | Method and device for searching VLAN (Virtual Local Area Network) transformation rule |
CN109086442A (en) * | 2018-08-16 | 2018-12-25 | 口口相传(北京)网络技术有限公司 | The methods of exhibiting and device of business datum |
CN109413098A (en) * | 2018-12-04 | 2019-03-01 | 北京达佳互联信息技术有限公司 | Method, apparatus, terminal and the storage medium that web page element is shown |
-
2019
- 2019-06-13 CN CN201910511932.5A patent/CN110334144B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298429A (en) * | 2014-09-25 | 2015-01-21 | 北京搜狗科技发展有限公司 | Information presentation method based on input and input method system |
CN105656784A (en) * | 2014-11-13 | 2016-06-08 | 中兴通讯股份有限公司 | Method and device for searching VLAN (Virtual Local Area Network) transformation rule |
CN109086442A (en) * | 2018-08-16 | 2018-12-25 | 口口相传(北京)网络技术有限公司 | The methods of exhibiting and device of business datum |
CN109413098A (en) * | 2018-12-04 | 2019-03-01 | 北京达佳互联信息技术有限公司 | Method, apparatus, terminal and the storage medium that web page element is shown |
Also Published As
Publication number | Publication date |
---|---|
CN110334144A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110334144B (en) | Message display method, device, computer equipment and storage medium | |
CN108427705B (en) | Electronic device, distributed system log query method and storage medium | |
CN110764942A (en) | Multi-type data checking method, device, computer system and readable storage medium | |
CN109766072B (en) | Information verification input method and device, computer equipment and storage medium | |
CN101971560B (en) | Method and apparatus for processing a multi-step authentication sequence | |
CN111274045A (en) | Multi-platform docking method and device, computer equipment and readable storage medium | |
CN108418797B (en) | Webpage access method and device, computer equipment and storage medium | |
US20200202360A1 (en) | Financial card with function of fingerprint verification and working method therefor | |
CN116737137A (en) | Business process generation method, device, computer equipment and storage medium | |
CN110750765B (en) | Service system, front-end page control method thereof, computer device, and storage medium | |
CN112559866A (en) | College book reading recommendation method, device, equipment and storage medium | |
CN113810394B (en) | Service processing method, device, electronic equipment and storage medium | |
CN111177387A (en) | User list information processing method, electronic device and computer readable storage medium | |
CN116383787A (en) | Page creation method, page creation device, computer equipment and storage medium | |
US9998609B2 (en) | System and method for detecting and alerting risks of inputting incorrect account information in refill transactions | |
CN109409922A (en) | Data aggregate modeling method, device, computer equipment and storage medium | |
CN105760160B (en) | Method, device and system for adding cards from plug-in | |
CN112948785B (en) | Account authentication method, device and equipment | |
CN109828752B (en) | Project code automatic generation method, device, computer equipment and storage medium | |
CN114117446A (en) | BIOS (basic input output System) image file refreshing and checking method, device, terminal and storage medium | |
CN113504957A (en) | Table data processing method and device, computer equipment and storage medium | |
CN108932276B (en) | Electronic loan method, device and equipment | |
CN110825795A (en) | Method, device and equipment for accessing database and computer readable storage medium | |
CN112541090A (en) | Vehicle technical and regulatory standard comparison method, system and related device | |
CN109543932A (en) | Borrowing method, terminal device and the server of equipment |
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 |