CN105959469B - Short message display method, display device and terminal - Google Patents

Short message display method, display device and terminal Download PDF

Info

Publication number
CN105959469B
CN105959469B CN201610260611.9A CN201610260611A CN105959469B CN 105959469 B CN105959469 B CN 105959469B CN 201610260611 A CN201610260611 A CN 201610260611A CN 105959469 B CN105959469 B CN 105959469B
Authority
CN
China
Prior art keywords
card
short message
data information
card data
view parameters
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
CN201610260611.9A
Other languages
Chinese (zh)
Other versions
CN105959469A (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.)
Qiku Software Shenzhen Co Ltd
Original Assignee
Qiku Software Shenzhen 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 Qiku Software Shenzhen Co Ltd filed Critical Qiku Software Shenzhen Co Ltd
Priority to CN201610260611.9A priority Critical patent/CN105959469B/en
Publication of CN105959469A publication Critical patent/CN105959469A/en
Application granted granted Critical
Publication of CN105959469B publication Critical patent/CN105959469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail

Abstract

The invention provides a short message display method, a display device and a terminal, wherein the short message display method comprises the following steps: when a viewing instruction for the short message is received, judging whether card data information and card view parameters for displaying the short message in a card form can be inquired; when the card data information and the card view parameters can be inquired, generating a card matched with the text content of the short message according to the card data information and the card view parameters; when the card data information and the card view parameters cannot be inquired, analyzing the short message to obtain and store the card data information and the card view parameters, and generating a card matched with the text content of the short message according to the card data information and the card view parameters; and displaying the card matched with the text content of the short message. The technical scheme of the invention can rapidly display the short message in a card form, and improves the efficiency of obtaining information by a user, thereby improving the use experience of the user.

Description

Short message display method, display device and terminal
Technical Field
The invention relates to the technical field of terminals, in particular to a short message display method, a short message display device and a terminal.
Background
With the rapid development of terminal technology, terminals become indispensable tools in users' daily lives with convenience and practicability. The user can receive various short messages through the terminal, and how to display the short messages becomes a key factor influencing the information acquisition efficiency of the user.
At present, many data display of an Android system is to display some static interfaces first, then load data on a background, and refresh the interfaces after the data loading is completed. The method for refreshing the interface after loading data in the background is common, but short messages in various card forms are difficult to display quickly, and the information acquisition efficiency of a user is influenced, so that the use experience of the user is reduced, and no effective solution is provided at present for the problem.
Therefore, how to quickly display the short message as a card matched with the content of the short message becomes a technical problem to be solved urgently.
Disclosure of Invention
Based on at least one of the technical problems, the invention provides a new short message display scheme, which can quickly display the short message in a card form, ensure the smoothness of information display, and improve the efficiency of obtaining information by a user, thereby improving the use experience of the user.
In view of this, the present invention provides a method for displaying a short message, including: when a short message checking instruction is received, judging whether card data information and card view parameters for displaying the short message in a card form can be inquired; when the card data information and the card view parameters can be inquired, generating a card matched with the text content of the short message according to the card data information and the card view parameters; when the card data information and the card view parameters cannot be inquired, analyzing the short message to obtain and store the card data information and the card view parameters, and generating a card matched with the text content of the short message according to the card data information and the card view parameters; and displaying the card matched with the text content of the short message.
In the technical scheme, when a short message checking instruction is received, whether card data information and card view parameters used for displaying the short message in a card form can be inquired or not is judged, and when the card data information and the card view parameters can be inquired, a card matched with text content of the short message is generated according to the card data information and the card view parameters; meanwhile, when the card data information and the card view parameters cannot be inquired, the short message is analyzed to obtain the card data information and the card view parameters, and the card matched with the text content of the short message is generated according to the card data information and the card view parameters, so that the card can be smoothly displayed even if the card data information and the card view parameters are not stored in advance, the card data information and the card view parameters are stored after analysis, when the user checks the short message again, the short message does not need to be analyzed again, the card displaying speed is increased again, the information displaying smoothness is ensured, the information obtaining efficiency of the user is improved, and the use experience of the user is improved.
In the above technical solution, preferably, the step of determining whether the card data information and the card view parameter corresponding to the short message can be queried specifically includes: inquiring whether the card data information and the card view parameters are stored in an internal memory of the terminal to generate a first inquiry result; when the first query result is yes, judging that card data information and card view parameters corresponding to the short message can be queried; when the first query result is negative, querying whether card data information and the card view parameters are stored in an external memory of a terminal to generate a second query result; if the second query result is yes, judging that card data information and card view parameters corresponding to the short message can be queried; and judging that the card data information and the card view parameters corresponding to the short message cannot be inquired when the second inquiry result is negative.
In the technical scheme, since the internal memory of the terminal has the advantage of high access speed, a first query result is generated by querying whether the internal memory of the terminal stores the card data information and the card view parameters, and when the first query result is yes, the card data information and the card view parameters corresponding to the short message can be queried, so that once the card data information and the card view parameters are queried in the internal memory, the query action is ended, the card is directly generated according to the card data information and the card view parameters, and the whole loading process is very fast, so that the short message is rapidly displayed as the card; meanwhile, when the first query result is negative, that is, when the card data information and the card view parameter are not stored in the internal memory, whether the card data information and the card view parameter are stored in the external memory of the terminal is queried, so that a card can be directly generated according to the card data information and the card view parameter as long as any one of the internal memory or the external memory stores the card data information and the card view parameter, the short message does not need to be analyzed again, and the whole loading process is simplified.
In any one of the above technical solutions, preferably, the step of storing the card data information and the card view parameters specifically includes: and storing the card data information and the card view parameters into an internal memory of the terminal and/or an external memory of the terminal.
In the technical scheme, the card data information and the card view parameters are stored in the internal memory of the terminal and/or the external memory of the terminal, so that when the short message is loaded again, the card data information and the card view parameters can be directly inquired and called.
In any one of the above technical solutions, preferably, when receiving a viewing instruction for the short message, the method further includes: and displaying the text content of the short message.
In the technical scheme, when a viewing instruction of the short message is received, the text content of the short message is displayed, so that a user can timely view and confirm the received short message.
In any one of the above technical solutions, preferably, the step of displaying the card matched with the text content of the short message specifically includes: hiding the text content of the short message and only displaying a card matched with the text content of the short message; or displaying a card matched with the text content of the short message at the corresponding position of the text content of the short message.
In the technical scheme, on one hand, only the card matched with the text content of the short message is displayed by hiding the text content of the short message, so that a user can more visually check the short message content, the efficiency of obtaining information by the user is improved, and the occupied space of a display screen of the terminal is saved; on the other hand, the card matched with the text content of the short message can be displayed at the corresponding position of the text content of the short message, so that a user can visually check the content of the short message and can check the text information of the short message to further confirm the content of the short message when necessary, and the accuracy of the information, particularly important short messages, can be ensured.
According to a second aspect of the present invention, a short message display device is provided, which includes: the judging unit is used for judging whether card data information and card view parameters for displaying the short message in a card form can be inquired when a short message checking instruction is received; the first processing unit is used for generating a card matched with the text content of the short message according to the card data information and the card view parameters when the judging unit judges that the card data information and the card view parameters can be inquired; the second processing unit is used for analyzing the short message to obtain the card data information and the card view parameters when the judging unit judges that the card data information and the card view parameters cannot be inquired, and generating a card matched with the text content of the short message according to the card data information and the card view parameters; the storage unit is used for storing the card data information and the card view parameters which are obtained by the analysis of the second processing unit; and the display unit is used for displaying the card matched with the text content of the short message.
In the technical scheme, when a short message checking instruction is received, whether card data information and card view parameters used for displaying the short message in a card form can be inquired or not is judged, and when the card data information and the card view parameters can be inquired, a card matched with text content of the short message is generated according to the card data information and the card view parameters; meanwhile, when the card data information and the card view parameters cannot be inquired, the short message is analyzed to obtain the card data information and the card view parameters, and the card matched with the text content of the short message is generated according to the card data information and the card view parameters, so that the card can be smoothly displayed even if the card data information and the card view parameters are not stored in advance, the card data information and the card view parameters are stored after analysis, when the user checks the short message again, the short message does not need to be analyzed again, the card displaying speed is increased again, the information displaying smoothness is ensured, the information obtaining efficiency of the user is improved, and the use experience of the user is improved.
In the foregoing technical solution, preferably, the judging unit includes: the first query unit is used for querying whether the card data information and the card view parameters are stored in an internal memory of the terminal to generate a first query result, and is used for judging that the card data information and the card view parameters corresponding to the short message can be queried when the first query result is yes; and the second query unit is used for querying whether the card data information and the card view parameters are stored in an external memory of the terminal when the first query result is negative so as to generate a second query result, judging that the card data information and the card view parameters corresponding to the short message can be queried when the second query result is positive, and judging that the card data information and the card view parameters corresponding to the short message cannot be queried when the second query result is negative.
In the technical scheme, since the internal memory of the terminal has the advantage of high access speed, a first query result is generated by querying whether the internal memory of the terminal stores the card data information and the card view parameters, and when the first query result is yes, the card data information and the card view parameters corresponding to the short message can be queried, so that once the card data information and the card view parameters are queried in the internal memory, the query action is ended, the card is directly generated according to the card data information and the card view parameters, and the whole loading process is very fast, so that the short message is rapidly displayed as the card; meanwhile, when the first query result is negative, that is, when the card data information and the card view parameter are not stored in the internal memory, whether the card data information and the card view parameter are stored in the external memory of the terminal is queried, so that a card can be directly generated according to the card data information and the card view parameter as long as any one of the internal memory or the external memory stores the card data information and the card view parameter, the short message does not need to be analyzed again, and the whole loading process is simplified.
In any one of the above technical solutions, preferably, the storage unit is specifically configured to: and the card data information and the card view parameters are stored in an internal memory of the terminal and/or an external memory of the terminal.
In the technical scheme, the card data information and the card view parameters are stored in the internal memory of the terminal and/or the external memory of the terminal, so that when the short message is loaded again, the card data information and the card view parameters can be directly inquired and called.
In any one of the above technical solutions, preferably, the display unit is further configured to display text content of the short message when receiving a viewing instruction for the short message.
In the technical scheme, when a viewing instruction of the short message is received, the text content of the short message is displayed, so that a user can timely view and confirm the received short message.
In any one of the above technical solutions, preferably, the display unit is specifically configured to: hiding the text content of the short message and only displaying a card matched with the text content of the short message; or displaying a card matched with the text content of the short message at the corresponding position of the text content of the short message.
In the technical scheme, on one hand, only the card matched with the text content of the short message is displayed by hiding the text content of the short message, so that a user can more visually check the short message content, the efficiency of obtaining information by the user is improved, and the occupied space of a display screen of the terminal is saved; on the other hand, the card matched with the text content of the short message can be displayed at the corresponding position of the text content of the short message, so that a user can visually check the content of the short message and can check the text information of the short message to further confirm the content of the short message when necessary, and the accuracy of the information, particularly important short messages, can be ensured.
According to a third aspect of the present invention, there is also provided a terminal, comprising:
the short message display device according to any one of the above technical solutions.
Through the technical scheme, the short messages can be rapidly displayed in a card form, the information display fluency is ensured, the information acquisition efficiency of the user is improved, and the use experience of the user is improved.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a short message presentation method according to an embodiment of the present invention;
fig. 2 shows a schematic block diagram of a presentation apparatus for a short message according to an embodiment of the present invention;
fig. 3 shows a schematic block diagram of a terminal according to an embodiment of the invention;
fig. 4 is a schematic flow chart of a short message display method according to another embodiment of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 is a schematic flow chart of a short message display method according to an embodiment of the present invention.
As shown in fig. 1, the method for displaying a short message according to an embodiment of the present invention includes:
102, judging whether card data information and card view parameters for displaying the short message in a card form can be inquired when a viewing instruction of the short message is received;
104, when the card data information and the card view parameters can be inquired, generating a card matched with the text content of the short message according to the card data information and the card view parameters; and
106, when the card data information and the card view parameters cannot be inquired, analyzing the short message to obtain and store the card data information and the card view parameters, and generating a card matched with the text content of the short message according to the card data information and the card view parameters;
and step 108, displaying the cards matched with the text content of the short message.
In the technical scheme, when a short message checking instruction is received, whether card data information and card view parameters used for displaying the short message in a card form can be inquired or not is judged, and when the card data information and the card view parameters can be inquired, a card matched with text content of the short message is generated according to the card data information and the card view parameters; meanwhile, when the card data information and the card view parameters cannot be inquired, the short message is analyzed to obtain the card data information and the card view parameters, and the card matched with the text content of the short message is generated according to the card data information and the card view parameters, so that the card can be smoothly displayed even if the card data information and the card view parameters are not stored in advance, the card data information and the card view parameters are stored after analysis, when the user checks the short message again, the short message does not need to be analyzed again, the card displaying speed is increased again, the information displaying smoothness is ensured, the information obtaining efficiency of the user is improved, and the use experience of the user is improved.
In the above technical solution, preferably, step 102 specifically includes: inquiring whether the card data information and the card view parameters are stored in an internal memory of the terminal to generate a first inquiry result; when the first query result is yes, judging that card data information and card view parameters corresponding to the short message can be queried; when the first query result is negative, querying whether card data information and the card view parameters are stored in an external memory of a terminal to generate a second query result; if the second query result is yes, judging that card data information and card view parameters corresponding to the short message can be queried; and judging that the card data information and the card view parameters corresponding to the short message cannot be inquired when the second inquiry result is negative.
In the technical scheme, since the internal memory of the terminal has the advantage of high access speed, a first query result is generated by querying whether the internal memory of the terminal stores the card data information and the card view parameters, and when the first query result is yes, the card data information and the card view parameters corresponding to the short message can be queried, so that once the card data information and the card view parameters are queried in the internal memory, the query action is ended, the card is directly generated according to the card data information and the card view parameters, and the whole loading process is very fast, so that the short message is rapidly displayed as the card; meanwhile, when the first query result is negative, that is, when the card data information and the card view parameter are not stored in the internal memory, whether the card data information and the card view parameter are stored in the external memory of the terminal is queried, so that a card can be directly generated according to the card data information and the card view parameter as long as any one of the internal memory or the external memory stores the card data information and the card view parameter, the short message does not need to be analyzed again, and the whole loading process is simplified.
In any one of the above technical solutions, preferably, the step of storing the card data information and the card view parameters specifically includes: and storing the card data information and the card view parameters into an internal memory of the terminal and/or an external memory of the terminal.
In the technical scheme, the card data information and the card view parameters are stored in the internal memory of the terminal and/or the external memory of the terminal, so that when the short message is loaded again, the card data information and the card view parameters can be directly inquired and called.
In any one of the above technical solutions, preferably, when receiving a viewing instruction for the short message, the method further includes: and displaying the text content of the short message.
In the technical scheme, when a viewing instruction of the short message is received, the text content of the short message is displayed, so that a user can timely view and confirm the received short message.
In any one of the above technical solutions, preferably, the step of displaying the card matched with the text content of the short message specifically includes: hiding the text content of the short message and only displaying a card matched with the text content of the short message; or displaying a card matched with the text content of the short message at the corresponding position of the text content of the short message.
In the technical scheme, on one hand, only the card matched with the text content of the short message is displayed by hiding the text content of the short message, so that a user can more visually check the short message content, the efficiency of obtaining information by the user is improved, and the occupied space of a display screen of the terminal is saved; on the other hand, the card matched with the text content of the short message can be displayed at the corresponding position of the text content of the short message, so that a user can visually check the content of the short message and can check the text information of the short message to further confirm the content of the short message when necessary, and the accuracy of the information, particularly important short messages, can be ensured.
Fig. 2 shows a schematic block diagram of a presentation apparatus for a short message according to an embodiment of the present invention.
As shown in fig. 2, the apparatus 200 for displaying short messages according to the embodiment of the present invention includes: a judging unit 202, a first processing unit 204, a second processing unit 206, a storage unit 208 and a presentation unit 210.
The judging unit 202 is configured to, when receiving a viewing instruction for a short message, judge whether card data information and card view parameters for displaying the short message in a card form can be queried; a first processing unit 204, configured to generate a card that matches text content of the short message according to the card data information and the card view parameter when the determining unit 202 determines that the card data information and the card view parameter can be queried; the second processing unit 206 is configured to, when the determining unit 202 determines that the card data information and the card view parameter cannot be queried, parse the short message to obtain the card data information and the card view parameter, and generate a card matching text content of the short message according to the card data information and the card view parameter; the storage unit 208 is configured to store the card data information and the card view parameters obtained through analysis by the second processing unit; and the display unit 210 is used for displaying a card matched with the text content of the short message.
In the technical scheme, when a short message checking instruction is received, whether card data information and card view parameters used for displaying the short message in a card form can be inquired or not is judged, and when the card data information and the card view parameters can be inquired, a card matched with text content of the short message is generated according to the card data information and the card view parameters; meanwhile, when the card data information and the card view parameters cannot be inquired, the short message is analyzed to obtain the card data information and the card view parameters, and the card matched with the text content of the short message is generated according to the card data information and the card view parameters, so that the card can be smoothly displayed even if the card data information and the card view parameters are not stored in advance, the card data information and the card view parameters are stored after analysis, when the user checks the short message again, the short message does not need to be analyzed again, the card displaying speed is increased again, the information displaying smoothness is ensured, the information obtaining efficiency of the user is improved, and the use experience of the user is improved.
In the above technical solution, preferably, the determining unit 202 includes: the first querying unit 2022 is configured to query whether the card data information and the card view parameter are stored in an internal memory of the terminal, so as to generate a first query result, and determine that the card data information and the card view parameter corresponding to the short message can be queried when the first query result is yes; the second query unit 2024 is configured to query whether the card data information and the card view parameter are stored in an external memory of the terminal when the first query result is negative, to generate a second query result, determine that the card data information and the card view parameter corresponding to the short message can be queried when the second query result is positive, and determine that the card data information and the card view parameter corresponding to the short message cannot be queried when the second query result is negative.
In the technical scheme, since the internal memory of the terminal has the advantage of high access speed, a first query result is generated by querying whether the internal memory of the terminal stores the card data information and the card view parameters, and when the first query result is yes, the card data information and the card view parameters corresponding to the short message can be queried, so that once the card data information and the card view parameters are queried in the internal memory, the query action is ended, the card is directly generated according to the card data information and the card view parameters, and the whole loading process is very fast, so that the short message is rapidly displayed as the card; meanwhile, when the first query result is negative, that is, when the card data information and the card view parameter are not stored in the internal memory, whether the card data information and the card view parameter are stored in the external memory of the terminal is queried, so that a card can be directly generated according to the card data information and the card view parameter as long as any one of the internal memory or the external memory stores the card data information and the card view parameter, the short message does not need to be analyzed again, and the whole loading process is simplified.
In any one of the above technical solutions, preferably, the storage unit 208 is specifically configured to: and the card data information and the card view parameters are stored in an internal memory of the terminal and/or an external memory of the terminal.
In the technical scheme, the card data information and the card view parameters are stored in the internal memory of the terminal and/or the external memory of the terminal, so that when the short message is loaded again, the card data information and the card view parameters can be directly inquired and called.
In any one of the above technical solutions, preferably, the display unit 208 is further configured to display the text content of the short message when receiving a viewing instruction for the short message.
In the technical scheme, when a viewing instruction of the short message is received, the text content of the short message is displayed, so that a user can timely view and confirm the received short message.
In any one of the above technical solutions, preferably, the display unit 208 is specifically configured to: hiding the text content of the short message and only displaying a card matched with the text content of the short message; or displaying a card matched with the text content of the short message at the corresponding position of the text content of the short message.
In the technical scheme, on one hand, only the card matched with the text content of the short message is displayed by hiding the text content of the short message, so that a user can more visually check the short message content, the efficiency of obtaining information by the user is improved, and the occupied space of a display screen of the terminal is saved; on the other hand, the card matched with the text content of the short message can be displayed at the corresponding position of the text content of the short message, so that a user can visually check the content of the short message and can check the text information of the short message to further confirm the content of the short message when necessary, and the accuracy of the information, particularly important short messages, can be ensured.
Fig. 3 shows a schematic block diagram of a terminal according to an embodiment of the invention.
As shown in fig. 3, a terminal 300 according to an embodiment of the present invention includes: fig. 2 shows a device 200 for displaying short messages.
The technical solution of the present invention is further explained with reference to fig. 4.
In this embodiment, the loading process of the short message mainly includes displaying of common information data, loading of card data, and displaying of a card view. In particular, the amount of the solvent to be used,
and (3) displaying common information data:
and after entering an information display interface, loading information data corresponding to the short message, and then filling the information data into a list.
Loading card data:
after displaying the common information data, starting a thread pool to inquire the card data corresponding to the information displayed on the current interface, inquiring the data from the internal memory according to the unique identifier of the information, if not, inquiring from the external memory, if not, calling an interface for analyzing the card to analyze the card data of the information, and after the analysis is successful, storing the card data into the external memory by taking the unique identifier of the information as a key (clue), and simultaneously storing the card data into the internal memory.
And (3) displaying the card view:
after card data corresponding to information is acquired, a corresponding card view characteristic value is inquired from an internal memory by taking an information unique identifier as a key, if the card view characteristic value does not exist, some basic characteristic values of the card corresponding to the key, such as the type of the card (train ticket, verification code and the like), the telephone number in the card data, the company name corresponding to the number and the operation type of a card button (such as calling, replying, short message original text and the like), the view is dynamically assembled according to the characteristic values, and meanwhile, the view is stored into the internal memory by taking the information unique identifier as the key, then the view is added to the root layout of the card view, and the original information text view is hidden.
The specific process is shown in fig. 4, and includes:
step 402, displaying the general information content.
Step 404, judging whether the short message is to be displayed, if so, executing step 406; otherwise, ending.
And step 406, inquiring corresponding card data from the internal memory by taking the unique identifier of the information as a key.
Step 408, determining whether the corresponding card data can be acquired from the internal memory, if so, executing step 420; otherwise, step 410 is performed.
And step 410, inquiring card data from the external memory by taking the unique identifier of the information as a key.
Step 412, determining whether the corresponding card data can be acquired from the external memory, if yes, executing step 420; otherwise, step 414 is performed.
And step 414, calling interface analysis information for analyzing the card data.
Step 416, judging whether card data are generated, if so, executing step 418; otherwise, ending.
At step 418, the card data is stored in the internal memory and the external memory.
In step 420, the card view feature value corresponding to the card data is queried from the internal memory.
Step 422, judging whether data are returned, if so, executing step 434; otherwise, step 424 is performed.
Step 424, the card view characteristic value corresponding to the card data is inquired from the external memory.
Step 426, determining whether the card view feature value is queried, if yes, executing step 434; otherwise, step 428 is performed.
In step 428, an interface for analyzing the card feature values is called for analysis.
Step 430, judging whether the card view characteristic value is generated by analysis, if so, executing step 432; otherwise, ending.
Step 432, storing the card view characteristic values to the internal memory and the external memory.
Step 434, add the card view feature value to the root layout of the information content and hide the text content of the information.
Through the technical scheme of the embodiment, the key content of the information can be acquired under the condition that the information fluency is not influenced, and the key content is visually displayed in the form of the card corresponding to the scene, so that the monotonous display of the text information is avoided, and the efficiency of acquiring the information content by the user is greatly improved.
The technical scheme of the invention is described in detail in combination with the attached drawings, and the invention provides a new short message display scheme, which can quickly display the short message in a card form, ensure the smoothness of information display, improve the efficiency of obtaining information by a user, and further improve the use experience of the user.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A short message display method is characterized by comprising the following steps:
when a short message checking instruction is received, judging whether card data information and card view parameters for displaying the short message in a card form can be inquired;
when the card data information and the card view parameters can be inquired, generating a card matched with the text content of the short message according to the card data information and the card view parameters; and
when the card data information and the card view parameters cannot be inquired, analyzing the short message to obtain and store the card data information and the card view parameters, and generating a card matched with the text content of the short message according to the card data information and the card view parameters; the step of storing the card data information and the card view parameters specifically includes:
storing the card data information and the card view parameters into an internal memory of a terminal and/or an external memory of the terminal;
and displaying the card matched with the text content of the short message.
2. The method for displaying the short message according to claim 1, wherein the step of judging whether the card data information and the card view parameter corresponding to the short message can be inquired specifically comprises:
inquiring whether the card data information and the card view parameters are stored in an internal memory of the terminal to generate a first inquiry result;
when the first query result is yes, judging that card data information and card view parameters corresponding to the short message can be queried;
when the first query result is negative, querying whether card data information and the card view parameters are stored in an external memory of a terminal to generate a second query result;
if the second query result is yes, judging that card data information and card view parameters corresponding to the short message can be queried;
and judging that the card data information and the card view parameters corresponding to the short message cannot be inquired when the second inquiry result is negative.
3. The method for displaying the short message according to any one of claims 1 to 2, wherein when receiving a viewing instruction for the short message, the method further comprises:
and displaying the text content of the short message.
4. The method for displaying the short message according to claim 3, wherein the step of displaying the card matched with the text content of the short message specifically comprises:
hiding the text content of the short message and only displaying a card matched with the text content of the short message; or
And displaying a card matched with the text content of the short message at the corresponding position of the text content of the short message.
5. A short message display device is characterized by comprising:
the judging unit is used for judging whether card data information and card view parameters for displaying the short message in a card form can be inquired when a short message checking instruction is received;
the first processing unit is used for generating a card matched with the text content of the short message according to the card data information and the card view parameters when the judging unit judges that the card data information and the card view parameters can be inquired;
the second processing unit is used for analyzing the short message to obtain the card data information and the card view parameters when the judging unit judges that the card data information and the card view parameters cannot be inquired, and generating a card matched with the text content of the short message according to the card data information and the card view parameters;
the storage unit is used for storing the card data information and the card view parameters which are obtained by the analysis of the second processing unit; storing the card data information and the card view parameters into an internal memory of a terminal and/or an external memory of the terminal;
and the display unit is used for displaying the card matched with the text content of the short message.
6. The apparatus for displaying short messages according to claim 5, wherein the determining unit comprises:
the first query unit is used for querying whether the card data information and the card view parameters are stored in an internal memory of the terminal to generate a first query result, and is used for judging that the card data information and the card view parameters corresponding to the short message can be queried when the first query result is yes;
a second query unit, configured to query whether the card data information and the card view parameter are stored in an external memory of the terminal when the first query result is negative, to generate a second query result, determine that the card data information and the card view parameter corresponding to the short message can be queried when the second query result is positive, and use the second query unit to determine that the card data information and the card view parameter corresponding to the short message can be queried when the second query result is positive
And judging that the card data information and the card view parameters corresponding to the short message cannot be inquired when the second inquiry result is negative.
7. The apparatus for displaying short messages according to any one of claims 5 to 6,
the display unit is also used for displaying the text content of the short message when receiving a viewing instruction of the short message.
8. The short message display device of claim 7, wherein the display unit is specifically configured to:
hiding the text content of the short message and only displaying a card matched with the text content of the short message; or
And displaying a card matched with the text content of the short message at the corresponding position of the text content of the short message.
9. A terminal, comprising:
the apparatus for displaying short messages according to any one of claims 5 to 8.
CN201610260611.9A 2016-04-25 2016-04-25 Short message display method, display device and terminal Active CN105959469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610260611.9A CN105959469B (en) 2016-04-25 2016-04-25 Short message display method, display device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610260611.9A CN105959469B (en) 2016-04-25 2016-04-25 Short message display method, display device and terminal

Publications (2)

Publication Number Publication Date
CN105959469A CN105959469A (en) 2016-09-21
CN105959469B true CN105959469B (en) 2019-12-27

Family

ID=56916850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610260611.9A Active CN105959469B (en) 2016-04-25 2016-04-25 Short message display method, display device and terminal

Country Status (1)

Country Link
CN (1) CN105959469B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069752A (en) * 2018-01-23 2019-07-30 中国移动通信集团终端有限公司 Method, apparatus, equipment and the medium that message automatic adaptation is shown
CN110096594B (en) * 2019-04-29 2021-07-09 北京泰迪熊移动科技有限公司 Short message canonical form library generation method and device and computer storage equipment
CN110708423A (en) * 2019-09-26 2020-01-17 珠海市小源科技有限公司 Message content display method and device and storage medium
CN111970188B (en) * 2020-07-28 2022-09-30 维沃移动通信有限公司 Capability forwarding method and device
CN116033064B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Card display method, electronic device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616377A (en) * 2009-07-20 2009-12-30 中兴通讯股份有限公司 A kind of processing method of note and system
CN104601812A (en) * 2015-01-05 2015-05-06 小米科技有限责任公司 Message content showing method, message content showing determination method, device and system
CN105045773A (en) * 2015-07-10 2015-11-11 北京奇虎科技有限公司 Method and apparatus for generating card template type service short message
CN105391847A (en) * 2015-10-13 2016-03-09 北京奇虎科技有限公司 Method and device for providing service interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4713532B2 (en) * 2007-03-29 2011-06-29 株式会社エヌ・ティ・ティ・ドコモ Communication terminal and program thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616377A (en) * 2009-07-20 2009-12-30 中兴通讯股份有限公司 A kind of processing method of note and system
CN104601812A (en) * 2015-01-05 2015-05-06 小米科技有限责任公司 Message content showing method, message content showing determination method, device and system
CN105045773A (en) * 2015-07-10 2015-11-11 北京奇虎科技有限公司 Method and apparatus for generating card template type service short message
CN105391847A (en) * 2015-10-13 2016-03-09 北京奇虎科技有限公司 Method and device for providing service interface

Also Published As

Publication number Publication date
CN105959469A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105959469B (en) Short message display method, display device and terminal
CN108427731B (en) Page code processing method and device, terminal equipment and medium
CN107203372B (en) Control display method and device
CN113741898B (en) Form generation method, device and equipment
CN105516296A (en) Configuration method and device of group identification image
CN111488186A (en) Data processing method and device, electronic equipment and computer storage medium
CN106874718B (en) Privacy processing method and device and terminal
CN112905441A (en) Test case generation method, test method, device and equipment
CN110502716A (en) A kind of methods of exhibiting of information of vehicles, server, terminal device
CN110290486A (en) Short message sends test method, device, computer equipment and storage medium
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN107203389B (en) Control display method and device
CN108595141A (en) Pronunciation inputting method and device, computer installation and computer readable storage medium
CN109120509B (en) Information collection method and device
CN114741144B (en) Web-side complex form display method, device and system
CN112835774B (en) Visualization method and device for performance of display card, equipment and computer-readable storage medium
CN106302821B (en) Data request method and equipment thereof
CN113360805B (en) Data display method, device, computer equipment and storage medium
CN110187385B (en) Seismic data acquisition method, seismic data processing method and device
CN114706581A (en) Image analysis method, image analysis device, computer equipment and storage medium
CN104966188B (en) A kind of information processing method and electronic equipment
CN113948164A (en) Clinical medicine management method, device, equipment and computer readable storage medium
CN106713666A (en) Recognition display method and device of verification information
US20190272087A1 (en) Interface filtering method and system
JP2017526062A (en) System and method for detecting and alerting to risks in replenishment transactions

Legal Events

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