Message input and display method and device, electronic equipment and readable storage medium

文档序号:1112542 发布日期:2020-09-29 浏览:10次 中文

阅读说明:本技术 消息输入及展示方法、装置、电子设备、可读存储介质 (Message input and display method and device, electronic equipment and readable storage medium ) 是由 祁国宁 鲍丰 张黎黎 于 2019-03-18 设计创作,主要内容包括:本说明书一个或多个实施例提供一种消息输入及展示方法、装置、电子设备、可读存储介质,该消息输入方法可以包括:展示通讯会话对应的会话界面;当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面;当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。(One or more embodiments of the present specification provide a message input and presentation method, apparatus, electronic device, and readable storage medium, where the message input method may include: displaying a session interface corresponding to the communication session; when the conversation interface is in a normal input mode, displaying a communication message in a first sub-area of a content display area of the conversation interface, and displaying a message input interface in a second sub-area of the content display area of the conversation interface; when the mobile terminal is in a full-screen input mode, the message input interface is displayed in the content display area.)

1. A message input method, comprising:

displaying a session interface corresponding to the communication session;

when the conversation interface is in a normal input mode, displaying a communication message in a first sub-area of a content display area of the conversation interface, and displaying a message input interface in a second sub-area of the content display area of the conversation interface;

when the mobile terminal is in a full-screen input mode, the message input interface is displayed in the content display area.

2. The method of claim 1, wherein a first specification of the message input interface in the full-screen input mode is greater than a second specification in the normal input mode.

3. The method of claim 1,

displaying a message input interface in the second sub-area, including: calling a conventional processing module to generate and display the message input interface;

displaying the message input interface in the content display area, including: and calling a high-level processing module to generate and display the message input interface.

4. The method of claim 3, wherein the high level processing module comprises a document editing module.

5. The method of claim 1, further comprising:

providing a basic editing function for the inputted content within the message input interface when in a normal input mode;

when in a full screen input mode, providing the basic editing function and/or an extended editing function different from the basic editing function for the input content in the message input interface.

6. The method of claim 1, further comprising:

when the message is in a normal input mode, generating a communication message in a normal format according to the input content in the message input interface;

and when the mobile terminal is in a full screen input mode, generating a communication message in a special format according to the input content in the message input interface.

7. The method of claim 6, wherein the special-format communication message comprises at least one of the following elements: text, picture, video, audio, document.

8. The method of claim 1, further comprising:

when the message input interface is in a full screen input mode, displaying the input characters and the selected non-character elements in the message input interface;

and editing the input content in the message input interface according to the received editing instruction.

9. A method for message presentation, comprising:

acquiring a communication message generated by a communication session;

when the communication message is in a conventional format, calling a conventional processing module to analyze the communication message;

when the communication message is in a special format, calling an advanced processing module to analyze the communication message;

and displaying the analyzed message content in a session interface corresponding to the communication session.

10. The method of claim 9,

the communication message with the conventional format is generated by a sender in a conventional input mode;

the communication message with the special format is generated by the sender in a full screen input mode.

11. A message input apparatus, comprising:

the interface display unit is used for displaying a session interface corresponding to the communication session;

the first display unit is used for displaying a communication message in a first sub-area and displaying a message input interface in a second sub-area of a content display area of the conversation interface when the conversation interface is in a conventional input mode;

and the second display unit displays the message input interface in the content display area when the second display unit is in a full-screen input mode.

12. The apparatus of claim 11, wherein a first size of the message input interface in the full-screen input mode is larger than a second size in the normal input mode.

13. The apparatus of claim 11,

the first display unit is specifically configured to: calling a conventional processing module to generate and display the message input interface;

the second display unit is specifically configured to: and calling a high-level processing module to generate and display the message input interface.

14. The apparatus of claim 13, wherein the advanced processing module comprises a document editing module.

15. The apparatus of claim 11, further comprising:

a first providing unit that provides a basic editing function for an inputted content within the message input interface when in a normal input mode;

and the second providing unit is used for providing the basic editing function and/or the expanded editing function different from the basic editing function for the input content in the message input interface when the full-screen input mode is adopted.

16. The apparatus of claim 11, further comprising:

the first generating unit generates a communication message in a conventional format according to the input content in the message input interface when the communication message is in a conventional input mode;

and the second generation unit generates the communication message with a special format according to the input content in the message input interface when the mobile terminal is in a full-screen input mode.

17. The apparatus of claim 16, wherein the special-format communication message comprises at least one of: text, picture, video, audio, document.

18. The apparatus of claim 11, further comprising:

the third display unit displays the input characters and the selected non-character elements in the message input interface when the message input interface is in a full screen input mode;

and the editing unit is used for editing the input content in the message input interface according to the received editing instruction.

19. A message presentation device, comprising:

the acquisition unit is used for acquiring communication messages generated by communication sessions;

the first calling unit is used for calling a conventional processing module to analyze the communication message when the communication message is in a conventional format;

the second calling unit is used for calling the advanced processing module to analyze the communication message when the communication message is in a special format;

and the display unit is used for displaying the analyzed message content in the session interface corresponding to the communication session.

20. The apparatus of claim 19,

the communication message with the conventional format is generated by a sender in a conventional input mode;

the communication message with the special format is generated by the sender in a full screen input mode.

21. An electronic device, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor implements the method of any one of claims 1-8 by executing the executable instructions.

22. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 8.

23. An electronic device, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor implements the method of any one of claims 9-10 by executing the executable instructions.

24. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 9-10.

Technical Field

One or more embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a method and an apparatus for inputting and displaying a message, an electronic device, and a readable storage medium.

Background

In the related art, users may receive and send messages through a communication application, for example, the communication application may be an instant communication application or an enterprise instant communication application, so as to achieve efficient communication between users. The communication application may support multiple communication forms, such as creating a single chat session between users to enable two-to-two communication between users, or creating a group chat session between multiple users based on the group to enable multi-party communication between the multiple users.

Disclosure of Invention

In view of this, one or more embodiments of the present specification provide a message input and display method, device, electronic device, and readable storage medium.

To achieve the above object, one or more embodiments of the present disclosure provide the following technical solutions:

according to a first aspect of one or more embodiments of the present specification, there is provided a message input method including:

displaying a session interface corresponding to the communication session;

when the conversation interface is in a normal input mode, displaying a communication message in a first sub-area of a content display area of the conversation interface, and displaying a message input interface in a second sub-area of the content display area of the conversation interface;

when the mobile terminal is in a full-screen input mode, the message input interface is displayed in the content display area.

According to a second aspect of one or more embodiments of the present specification, there is provided a message presentation method including:

acquiring a communication message generated by a communication session;

when the communication message is in a conventional format, calling a conventional processing module to analyze the communication message;

when the communication message is in a special format, calling an advanced processing module to analyze the communication message;

and displaying the analyzed message content in a session interface corresponding to the communication session.

According to a third aspect of one or more embodiments of the present specification, there is provided a message input apparatus including:

the interface display unit is used for displaying a session interface corresponding to the communication session;

the first display unit is used for displaying a communication message in a first sub-area and displaying a message input interface in a second sub-area of a content display area of the conversation interface when the conversation interface is in a conventional input mode;

and the second display unit displays the message input interface in the content display area when the second display unit is in a full-screen input mode.

According to a fourth aspect of one or more embodiments of the present specification, there is provided a message presentation apparatus including:

the acquisition unit is used for acquiring communication messages generated by communication sessions;

the first calling unit is used for calling a conventional processing module to analyze the communication message when the communication message is in a conventional format;

the second calling unit is used for calling the advanced processing module to analyze the communication message when the communication message is in a special format;

and the display unit is used for displaying the analyzed message content in the session interface corresponding to the communication session.

According to a fifth aspect of one or more embodiments herein, there is provided an electronic device, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor implements the method of the first aspect by executing the executable instructions.

According to a sixth aspect of one or more embodiments of the present description, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to the first aspect.

According to a seventh aspect of one or more embodiments of the present specification, there is provided an electronic device, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor implements the method according to the second aspect by executing the executable instructions.

According to an eighth aspect of one or more embodiments of the present description, a computer-readable storage medium is proposed, on which computer instructions are stored, which instructions, when executed by a processor, implement the steps of the method according to the second aspect.

Drawings

Fig. 1 is a schematic diagram of a communication system according to an exemplary embodiment.

Fig. 2 is a flow chart of a message input method provided by an exemplary embodiment.

Fig. 3 is a flowchart of a message presentation method according to an exemplary embodiment.

FIG. 4 is a diagrammatic illustration of a conversation interface provided by an exemplary embodiment.

FIG. 5 is a diagram illustrating an exemplary embodiment of switching from a normal input mode to a full-screen input mode.

FIG. 6 is a diagram of another exemplary embodiment of switching from a normal input mode to a full-screen input mode.

FIG. 7 is a diagram of an exemplary embodiment of a switch from a normal input mode to a full-screen input mode.

FIG. 8 is a diagram illustrating a conversational interface in full screen input mode, according to an exemplary embodiment.

Fig. 9 is a diagram illustrating a sent message on the sender side, provided by an exemplary embodiment.

Fig. 10 is a diagram illustrating a received message on the recipient side, provided by an example embodiment.

FIG. 11 is a schematic diagram of a message content viewing interface provided by an exemplary embodiment.

Fig. 12 is a schematic diagram of an apparatus according to an exemplary embodiment.

Fig. 13 is a block diagram of a message input device according to an exemplary embodiment.

Fig. 14 is a schematic structural diagram of another apparatus provided in an exemplary embodiment.

Fig. 15 is a block diagram of a message presentation apparatus according to an example embodiment.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.

It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.

Fig. 1 is a schematic diagram of a communication system according to an exemplary embodiment. As shown in fig. 1, the system may include a server 11, a network 12, a number of electronic devices such as a cell phone 13, a cell phone 14, a cell phone 15, and the like.

The server 11 may be a physical server comprising a separate host, or the server 11 may be a virtual server carried by a cluster of hosts. In the operation process, the server 11 may operate a server-side program of a certain application to implement a related service function of the application, for example, when the server 11 operates a program of a mobile group office platform, the server may be implemented as a server of the mobile group office platform. In the technical solution of one or more embodiments of the present specification, the server 11 may cooperate with the client running on the mobile phone 13-15 to implement the transceiving process of the communication message.

In this embodiment, the mobile group office platform not only can implement a communication function, but also can be used as an integrated functional platform with many other functions, for example, for processing internal events of a group such as an approval event (e.g., approval event such as leave request, office article claim, and finance), an attendance event, a task event, and a journal event, and for processing external events of a group such as ordering and purchasing, which is not limited in one or more embodiments of the present specification.

More specifically, the mobile corporate office platform may be supported by an Instant Messaging application in the related art, such as an Enterprise Instant Messaging (EIM) application, For example, Skype ForMicrosoft And the like. Certainly, the instant messaging function is only one of the communication functions supported by the mobile group office platform, and the mobile group office platform can also implement more other functions such as those described above, and details thereof are not described here.

The handsets 13-15 are just one type of electronic device that a user may use. In fact, it is obvious that the user can also use electronic devices of the type such as: tablet devices, notebook computers, Personal Digital Assistants (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), etc., which are not limited by one or more embodiments of the present disclosure. During the operation process, the electronic device may operate a client-side program of an application to implement a related service function of the application, for example, when the electronic device operates a program of a mobile community office platform, the electronic device may be implemented as a client of the mobile community office platform. For example, when the user a uses the mobile phone 13 and the user B uses the mobile phone 14, the user a may input and generate a communication message on the mobile phone 13, and the mobile phone 13 may implement the message input scheme of the present specification in the process, and the mobile phone 14 may receive and display the communication message generated by the mobile phone 13, so that the mobile phone 14 may implement the message display scheme of the present specification in the process.

It should be noted that: an application program of a client of the mobile community office platform can be pre-installed on the electronic equipment, so that the client can be started and run on the electronic equipment; of course, when an online "client" such as HTML5 technology is employed, the client can be obtained and run without installing a corresponding application on the electronic device.

And the network 12 for interaction between the handsets 13-15 and the server 11 may include various types of wired or wireless networks. In one embodiment, the Network 12 may include the Public Switched Telephone Network (PSTN) and the Internet. Meanwhile, the electronic devices such as the mobile phones 13 to 15 and the like can also perform communication interaction through the network 12, for example, a single chat communication session is established between any two electronic devices; alternatively, several electronic devices may participate in the same group chat communication session, so that any user may send communication messages to all other users in the group chat communication session through its own electronic device.

Fig. 2 is a flow chart of a message input method provided by an exemplary embodiment. As shown in FIG. 2, the method is applied to an electronic device (e.g. mobile phones 13-15 shown in FIG. 1), and may include the following steps:

step 202, displaying a session interface corresponding to the communication session.

In one embodiment, the electronic device runs a client of an application having a communication function. The application may have other functions besides the communication function, which is not limited in this specification. For example, the application may be an instant messaging application, or the application may be an enterprise instant messaging application.

In an embodiment, when the electronic device implements the corresponding communication function through the client running the application, a user using the electronic device may implement communication based on the communication function, for example, communication may be implemented through a communication session on the client. For example, the user a and the user B may use one electronic device respectively, so that a single chat type communication session may be established between the user a and the user B, and a session interface corresponding to the communication session may be presented on the electronic device used by the user a and the electronic device used by the user B respectively, so as to input a communication message based on the session interface and perform transceiving processing on the communication message.

Step 204A, when the conversation interface is in the normal input mode, displaying the communication message in the first sub-area of the content display area of the conversation interface, and displaying the message input interface in the second sub-area.

And step 204B, when the mobile terminal is in a full-screen input mode, displaying the message input interface in the content display area.

In an embodiment, in the normal input mode, the received or sent communication message and the message input interface can be simultaneously displayed in the conversation interface, so that a user can conveniently implement input operation in the message input interface while checking the communication message, and the display of the communication message and the implementation of the input operation are simultaneously implemented without mutual interference.

Because the screen size of the electronic device is limited, especially the screen size of the mobile electronic device is relatively smaller, and the message input interface in the conventional input mode can only occupy a part of the content display area of the conversation interface (i.e. the second sub-area mentioned above), the specification of the message input interface is smaller, and usually only 3-5 lines of message content can be displayed at the same time, when the message content input by the user is more, the message input interface can only generate a scroll bar, so that the user can check the message content not shown by dragging the scroll bar, which not only is inconvenient to operate, but also easily causes misoperation.

Therefore, when the message content required to be input by the user is more, the message input interface can be displayed in the whole content display area by switching from the normal input mode to the full-screen input mode, that is, the first specification of the message input interface in the full-screen input mode is larger than the second specification in the normal input mode, so that more message contents can be displayed at the same time. In one case, the amount of content of the message content in full screen input mode by the user may be limited so that the amount of content does not trigger the appearance of a scroll bar. In another case, the scroll bar is triggered to appear by the content amount of the message content, but the specification of the scroll bar is larger than that of the conventional input mode because the whole content display area is used for displaying the message input interface, so that when the user operation is performed under the same condition, the scroll bar is more conveniently dragged by the user, and the misoperation is less prone to occur.

In an embodiment, the message input interface in the regular input mode may show a preset amount of message content. When the content of the message input by the user does not exceed the preset amount, the normal input mode can be maintained; and when the content of the message exceeds the preset amount, the full-screen input mode can be automatically switched to, so that the occurrence of a scroll bar is avoided. After the communication message is sent, the full-screen input mode can be automatically recovered to the normal input mode, or the user can manually switch the recovery.

In an embodiment, the message input interface in the regular input mode may show a preset amount of message content. When the content of the message input by the user does not exceed the preset amount, the normal input mode can be maintained; and when the message content exceeds the preset amount, the normal input mode is still maintained, and a switching option for switching to the full-screen input mode is shown to the user, so that the user can actively select whether to switch to the full-screen input mode. After the communication message is sent, the full-screen input mode can be automatically recovered to the normal input mode, or the user can manually switch the recovery.

In an embodiment, the electronic device may always show the switching option between the normal input mode and the full screen input mode, so that the user may switch as desired at any time without considering the content amount of the inputted message content.

In an embodiment, the electronic device is configured as a client, which may contain a normal processing module and a high-level processing module for implementing the normal input mode and the full-screen input mode, respectively, as described above. Therefore, the client can generate a message input interface in a conventional input mode by calling the conventional processing module and show the message input interface in the second sub-area; and the client can generate a message input interface in a full screen input mode by calling the advanced processing module and display the message input interface in the content display area.

In an embodiment, in addition to the specification difference of the message input interface, the client may provide a differentiated editing function in the normal input mode and the full screen input mode for editing the message content that has been input in the message input interface. For example, when in the normal input mode, a basic editing function is provided for the input content within the message input interface, and when in the full screen input mode, the basic editing function and/or an extended editing function distinct from the basic editing function is provided for the input content within the message input interface. For example, the basic editing function may include cutting, deleting, adjusting the text size, and the like of the message content, and the extended editing function may include adjusting the font, color, inter-character distance, inter-line distance, and the like, although the description is not limited thereto; in a word, the extended editing function can realize a stronger editing function than the basic editing function to meet the application requirements of the user.

In one embodiment, the advanced processing module includes a document editing module. In other words, in the present specification, a document editing function provided by a document editing tool such as Microsoft Word, WPS Word, or the like in the related art is developed as the above-mentioned document editing module, and the document editing module is integrated with a client running on the electronic device, so that a user can edit the message content in the process of inputting the message content in the session interface, and does not need to use an additional document editing tool to edit and copy the message content into the message input interface. And moreover, the document editing module is integrated in the client, so that when a user receives the communication message generated based on the advanced processing module, the message content of the communication message can be directly displayed in a session interface, the user can conveniently and directly look up the message content, and compared with a document form, the method is obviously more visual and convenient, the processes of downloading the document, opening a document viewing tool/application and the like are omitted, and the method is particularly suitable for mobile group office scenes.

In an embodiment, when in the normal input mode, the client may generate a communication message in a normal format according to the input content in the message input interface; and when the client is in a full screen input mode, the client can generate the communication message with a special format according to the input content in the message input interface.

In one embodiment, the communication messages in the conventional format and the communication messages in the special format may differ only in the manner of encapsulating the message content, and the elements contained in the message content may be identical, for example, both contain text. In another embodiment, besides using different encapsulation methods for the regular format and the special format of the communication message, the types of the elements contained in the communication message may also be different: the communication messages in the conventional format are communication messages in the related art, the communication messages can only contain one type of elements, such as characters, pictures, videos, audios or documents, and the like, the user can only input characters (possibly also containing emoticons such as emoji) in the message input interface and can also select pictures (or videos, audios, documents and the like) to send, but the client side can respectively generate the characters, the pictures and the like into different communication messages and respectively send each communication message, so that finally each communication message actually contains only one type of elements; and the communication message of the special format may comprise at least one of the following elements: the communication message comprises characters, pictures, videos, audios, documents and the like, namely, the client can integrate various types of elements into the same communication message to be sent, so that each communication message can finally contain one or more types of elements. When the message input interface is in a full screen input mode, the input characters and the selected non-character elements can be displayed in the message input interface, and communication messages are not generated respectively; correspondingly, the client can program the input content in the message input interface according to the received program instruction.

Fig. 3 is a flowchart of a message presentation method according to an exemplary embodiment. As shown in FIG. 3, the method is applied to an electronic device (e.g. mobile phones 13-15 shown in FIG. 1), and may include the following steps:

step 302, a communication message generated by the communication session is acquired.

In one embodiment, the electronic device runs a client of an application having a communication function. The application may have other functions besides the communication function, which is not limited in this specification. For example, the application may be an instant messaging application, or the application may be an enterprise instant messaging application.

In an embodiment, when the electronic device implements the corresponding communication function through the client running the application, a user using the electronic device may implement communication based on the communication function, for example, communication may be implemented through a communication session on the client. For example, the user a and the user B may use one electronic device respectively, so that a single chat type communication session may be established between the user a and the user B, and a session interface corresponding to the communication session may be presented on the electronic device used by the user a and the electronic device used by the user B respectively, so as to input a communication message based on the session interface and perform transceiving processing on the communication message.

Step 304A, when the communication message is in a conventional format, calling a conventional processing module to analyze the communication message.

And step 304B, when the communication message is in a special format, calling a high-level processing module to analyze the communication message.

In one embodiment, the communication messages in the conventional format and the communication messages in the special format may differ only in the manner of encapsulating the message content, and the elements contained in the message content may be identical, for example, both contain text. In another embodiment, besides using different encapsulation methods for the regular format and the special format of the communication message, the types of the elements contained in the communication message may also be different: the communication messages in the conventional format are communication messages in the related art, the communication messages can only contain one type of elements, such as characters, pictures, videos, audios or documents, and the like, the user can only input characters (possibly also containing emoticons such as emoji) in the message input interface and can also select pictures (or videos, audios, documents and the like) to send, but the client side can respectively generate the characters, the pictures and the like into different communication messages and respectively send each communication message, so that finally each communication message actually contains only one type of elements; and the communication message of the special format may comprise at least one of the following elements: the communication message comprises characters, pictures, videos, audios, documents and the like, namely, the client can integrate various types of elements into the same communication message to be sent, so that each communication message can finally contain one or more types of elements. When the message input interface is in a full screen input mode, the input characters and the selected non-character elements can be displayed in the message input interface, and communication messages are not generated respectively; correspondingly, the client can program the input content in the message input interface according to the received program instruction.

In one embodiment, the communication message in the conventional format is generated by the sender in a conventional input mode; the communication message with the special format is generated by the sender in a full screen input mode.

In an embodiment, in the normal input mode, the received or sent communication message and the message input interface can be simultaneously displayed in the conversation interface, so that a user can conveniently implement input operation in the message input interface while checking the communication message, and the display of the communication message and the implementation of the input operation are simultaneously implemented without mutual interference.

Because the screen size of the electronic device is limited, especially the screen size of the mobile electronic device is relatively smaller, and the message input interface in the conventional input mode can only occupy a part of the content display area of the conversation interface (i.e. the second sub-area mentioned above), the specification of the message input interface is smaller, and usually only 3-5 lines of message content can be displayed at the same time, when the message content input by the user is more, the message input interface can only generate a scroll bar, so that the user can check the message content not shown by dragging the scroll bar, which not only is inconvenient to operate, but also easily causes misoperation.

Therefore, when the message content required to be input by the user is more, the message input interface can be displayed in the whole content display area by switching from the normal input mode to the full-screen input mode, that is, the first specification of the message input interface in the full-screen input mode is larger than the second specification in the normal input mode, so that more message contents can be displayed at the same time. In one case, the amount of content of the message content in full screen input mode by the user may be limited so that the amount of content does not trigger the appearance of a scroll bar. In another case, the scroll bar is triggered to appear by the content amount of the message content, but the specification of the scroll bar is larger than that of the conventional input mode because the whole content display area is used for displaying the message input interface, so that when the user operation is performed under the same condition, the scroll bar is more conveniently dragged by the user, and the misoperation is less prone to occur.

In an embodiment, the message input interface in the regular input mode may show a preset amount of message content. When the content of the message input by the user does not exceed the preset amount, the normal input mode can be maintained; and when the content of the message exceeds the preset amount, the full-screen input mode can be automatically switched to, so that the occurrence of a scroll bar is avoided. After the communication message is sent, the full-screen input mode can be automatically recovered to the normal input mode, or the user can manually switch the recovery.

In an embodiment, the message input interface in the regular input mode may show a preset amount of message content. When the content of the message input by the user does not exceed the preset amount, the normal input mode can be maintained; and when the message content exceeds the preset amount, the normal input mode is still maintained, and a switching option for switching to the full-screen input mode is shown to the user, so that the user can actively select whether to switch to the full-screen input mode. After the communication message is sent, the full-screen input mode can be automatically recovered to the normal input mode, or the user can manually switch the recovery.

In an embodiment, the electronic device may always show the switching option between the normal input mode and the full screen input mode, so that the user may switch as desired at any time without considering the content amount of the inputted message content.

In an embodiment, the electronic device is configured as a client, which may contain a normal processing module and a high-level processing module for implementing the normal input mode and the full-screen input mode, respectively, as described above. Therefore, the client can generate a message input interface in a conventional input mode by calling the conventional processing module and show the message input interface in the second sub-area; and the client can generate a message input interface in a full screen input mode by calling the advanced processing module and display the message input interface in the content display area.

In an embodiment, in addition to the specification difference of the message input interface, the client may provide a differentiated editing function in the normal input mode and the full screen input mode for editing the message content that has been input in the message input interface. For example, when in the normal input mode, a basic editing function is provided for the input content within the message input interface, and when in the full screen input mode, the basic editing function and/or an extended editing function distinct from the basic editing function is provided for the input content within the message input interface. For example, the basic editing function may include cutting, deleting, adjusting the text size, and the like of the message content, and the extended editing function may include adjusting the font, color, inter-character distance, inter-line distance, and the like, although the description is not limited thereto; in a word, the extended editing function can realize a stronger editing function than the basic editing function to meet the application requirements of the user.

In one embodiment, the advanced processing module includes a document editing module. In other words, in the present specification, a document editing function provided by a document editing tool such as Microsoft Word, WPS Word, or the like in the related art is developed as the above-mentioned document editing module, and the document editing module is integrated with a client running on the electronic device, so that a user can edit the message content in the process of inputting the message content in the session interface, and does not need to use an additional document editing tool to edit and copy the message content into the message input interface. And moreover, the document editing module is integrated in the client, so that when a user receives the communication message generated based on the advanced processing module, the message content of the communication message can be directly displayed in a session interface, the user can conveniently and directly look up the message content, and compared with a document form, the method is obviously more visual and convenient, the processes of downloading the document, opening a document viewing tool/application and the like are omitted, and the method is particularly suitable for mobile group office scenes.

And step 306, displaying the analyzed message content in a session interface corresponding to the communication session.

In an embodiment, for communication messages with different formats, the client may respectively invoke different modules to perform analysis, and the analysis may be performed in the same or similar manner, so that the user does not perceive the difference of the communication messages, and the user can obtain consistent use experience conveniently.

For convenience of understanding, the technical solutions of one or more embodiments of the present specification are described by taking the instant messaging application T as an example.

FIG. 4 is a diagrammatic illustration of a conversation interface provided by an exemplary embodiment. The electronic device which is supposed to be used by the user in a small dark state runs the client program of the application T, so that the electronic device is configured as the client 1 of the application T; similarly, the electronic device used by the user small white can also be configured as the client 2 of the application T, so that the user small black and the user small white can communicate with the client 2 based on the client 1. For example, a user small black and a user small white may establish a single chat type communication session such that the client 1 may present the user small black with a session interface 40 as shown in fig. 4.

The session interface 40 may include a content display area 40A, and the content display area 40A may further include a first sub-area 401 and a second sub-area 402, where the first sub-area 401 is used for displaying communication messages generated between a user's small black and a user's small white, and the second sub-area 402 is used for displaying the message input interface 403. In the session interface 40 shown in fig. 4, in addition to the content display area 40A, a keyboard display area 40B is included, and the keyboard display area 40B is used for displaying a virtual keyboard. After the user triggers the message input interface 403 to be small and dark, the conversation interface 40 includes a content display area 40A and a keyboard display area 40B as shown in fig. 4; when the user has not triggered the message input interface 403, the virtual keyboard is in a hidden state, so that the occupied area of the keyboard display area 40B is included in the content display area 40A.

The conversation interface 40 shown in fig. 4 is in the normal input mode, such that the content presentation area 40A includes both the first sub-area 401 and the second sub-area 402, and thus the message input interface 403 located in the second sub-area 402 occupies only a partial area of the content presentation area 40A. In the normal input mode, the specification of the message input interface 403 is relatively small, but the small size of the user can facilitate the communication message in the first sub-area 401 to be viewed in the process of implementing input.

However, the message content that can be accommodated by the message input interface 403 with a smaller size is relatively small, for example, 3-5 lines of text can be included, and more content will trigger the scroll bar in the message input interface 403, so that the user needs to drag the scroll bar to see other content than the 3-5 lines of content shown. Therefore, in the case of a large number of message contents, in order to facilitate viewing of the preceding and following text, adjustment of the inputted message contents, and the like, the user may wish to increase the specification of the message input interface 403 so that the message input interface 403 can simultaneously display more message contents.

FIG. 5 is a diagram illustrating an exemplary embodiment of switching from a normal input mode to a full-screen input mode. When it is detected that the user makes a preset operation such as long press on the blank message input interface 403 with little black, the mode switching option 50 shown in fig. 5 may be invoked, so that the user can switch from the normal input mode to the full-screen input mode by triggering the mode switching option 50, and the specification of the message input interface 403 can be increased. FIG. 6 is a diagram of another exemplary embodiment of switching from a normal input mode to a full-screen input mode. When it is detected that the user's blackish image performs a preset operation such as long press on the message input interface 403 with input content, the function menu 60 shown in fig. 6 may be called, and the function menu 60 includes a mode switching option 601, so that the user's blackish image may increase the specification of the message input interface 403 by triggering the mode switching option 601 to switch from the normal input mode to the full-screen input mode. FIG. 7 is a diagram of an exemplary embodiment of a switch from a normal input mode to a full-screen input mode. When it is detected that the user blackish is too much input in the message input interface 403, for example, 3 lines or more (for example, the message input interface 403 may display 3 lines of content at most), the mode switching option 70 shown in fig. 7 may be displayed, so that the user blackish may increase the size of the message input interface 403 by triggering the mode switching option 70 to switch from the normal input mode to the full-screen input mode.

FIG. 8 is a diagram illustrating a conversational interface in full screen input mode, according to an exemplary embodiment. As shown in fig. 8, when in the full screen input mode, the content display area 40A may be used to display the message input interface 403, but not to display the communication message located in the first sub-area, so that the user can input the message in a relatively larger area. After the message input is completed and the corresponding communication message is sent out, the client 1 can automatically return to the default conventional input mode from the full-screen input mode to wait for the next input operation; alternatively, the session interface 40 may include a mode switch option 80 as shown in fig. 8, such that a user small black may switch from a full-screen input mode to a regular input mode by triggering the mode switch option 80, without the client 1 itself implementing an automatic mode switch.

In addition to the specification difference of the message input interface 403, the client 1 can implement a differentiated editing function in the full screen input mode and the normal input mode. For example, the conventional input mode is similar to the communication application in the related art, the user maotai can input text in the message input interface 403, or select a picture, a video, an audio, a document, etc. by triggering the + identifier in the second sub-region, and then the client 1 will generate the text in the message input interface 403 or the picture, the video, the audio, the document, etc. selected by the user maotai, respectively, into corresponding communication messages to be sent to the user maotai, in the process, only the text can appear in the message input interface 403, and the selected picture, the video, the audio, the document, etc. cannot appear in the message input interface 403, so that the user maotai cannot edit and arrange various elements between the text and the picture, the video, the audio, the document, etc. Accordingly, the user can only receive a plurality of communication messages sent by the user, and each communication message only contains characters, pictures, videos, audios or documents, but cannot form a complete message content containing multiple elements.

In the embodiment shown in fig. 8, the text input by the user and the selected pictures PIC 1-PIC 4 can be displayed in the message input interface 403, so that the user can edit the text and the pictures respectively, and can also arrange the sequence between the text and the pictures. Moreover, the client 1 may generate all the contents of the text, the picture, etc. contained in the message input interface 403 into a communication message, and send the communication message to the user, for example, fig. 9 is a schematic diagram showing the sent message on the sender side and contains the sent communication message 90 displayed by the client 1 according to an exemplary embodiment, and fig. 10 is a schematic diagram showing the received message on the receiver side and contains the received communication message 1001 displayed by the client 2 in the conversation interface 1000 according to an exemplary embodiment.

In conjunction with FIGS. 9-10, it can be seen that: the presentation form of the communication message generated in the full screen input mode is similar to that of the communication message generated in the conventional input mode, and each communication message can be directly presented in the corresponding session interface, so that for the user xiaobao of the receiver, the difference of the input modes does not cause the user xiaobao to have obvious difference in the process of reading the message, and the user xiaobao can obtain consistent use experience. The difference is that: as described above, the full screen input mode can implement editing and layout of multiple elements, and all elements in the message input interface 403 can be generated into one communication message, so that a user can view message contents such as text and pictures in only one communication message 1001 at the same time, and a certain typesetting can exist between the message contents, which is convenient for the user to view and understand the message contents in the user's abstract.

Of course, if the user sends the communication message with too much message content, only part of the message content may be shown, for example, the communication message 90 shown in fig. 9 and the communication message 1001 shown in fig. 10 only show part of the text and pictures, and all the message content may be viewed by triggering the "view more" option. Taking fig. 10 as an example, after the user triggers the "view more" option in a small margin, the client 2 may switch to the message content viewing interface 1100 shown in fig. 11, where the message content viewing interface 1100 is used to display all the contents of the communication message 1001. Further, the user thumbnail can also process the displayed message content through an operation menu 1101 included in the message content viewing interface 1100, for example, the "DING" option is used to generate a reminder message, the content of the reminder message is the message content, the "copy" option is used to copy the message content, the "forward" option is used to forward the message content, the "reply" option is used to reply to the message content, the reply message is generated into a communication message related to the message content, and then the communication message returns to the user thumbnail, and the "task" option is used to generate a task event, and the content of the task event is the message content.

It should be noted that: the client 1 (the case of the client 2 is similar) may include a normal processing module and an advanced processing module, and the user widget may use a basic editing function provided by the normal processing module in a normal input mode, and may use an extended editing function provided by the advanced processing module in a full screen input mode (the advanced processing module may also include a basic editing function; or may use both the normal processing module and the advanced processing module in the full screen input mode). Meanwhile, for the input content formed in the message input interface 403 by the user, the client 1 may generate the communication message in the conventional format in the conventional input mode and generate the communication message in the special format in the full-screen input mode, so that after receiving the corresponding communication message, the client 2 may analyze the communication message in the conventional format through the conventional processing module and analyze the communication message in the special format through the advanced processing module, thereby presenting the communication message 1001 as shown in fig. 10.

The client 2 used by the user xiaobai may not include the advanced processing module due to the excessively low version, and at this time, the communication message in the special format may not be correctly analyzed, and then the user xiaobai needs to upgrade the version of the client 2 to obtain the advanced processing module, so as to analyze the communication message in the special format, and then display the message content obtained by analysis.

FIG. 12 is a schematic block diagram of an apparatus provided in an exemplary embodiment. Referring to fig. 12, at the hardware level, the apparatus includes a processor 1202, an internal bus 1204, a network interface 1206, a memory 1208, and a non-volatile memory 1210, although other hardware required for services may be included. The processor 1202 reads a corresponding computer program from the non-volatile memory 1210 into the memory 1208 and then runs the computer program to form a message input device on a logical level. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.

Referring to fig. 13, in a software implementation, the message input device may include:

an interface display unit 1301 which displays a session interface corresponding to the communication session;

a first display unit 1302, configured to display a communication message in a first sub-area and a message input interface in a second sub-area of a content display area of the session interface when the session interface is in a normal input mode;

the second display unit 1303, when in the full-screen input mode, displays the message input interface in the content display area.

Optionally, a first specification of the message input interface in the full-screen input mode is larger than a second specification in the normal input mode.

Alternatively to this, the first and second parts may,

the first display unit 1302 is specifically configured to: calling a conventional processing module to generate and display the message input interface;

the second display unit 1303 is specifically configured to: and calling a high-level processing module to generate and display the message input interface.

Optionally, the advanced processing module includes a document editing module.

Optionally, the method further includes:

a first providing unit 1304 that provides a basic editing function for the inputted contents within the message input interface when in a normal input mode;

the second providing unit 1305, when in a full screen input mode, provides the basic editing function and/or an extended editing function different from the basic editing function to the input content within the message input interface.

Optionally, the method further includes:

a first generating unit 1306, when in a normal input mode, generating a communication message in a normal format according to the input content in the message input interface;

second generating unit 1307 generates a communication message with a special format according to the input content in the message input interface when in the full screen input mode.

Optionally, the communication message with a special format includes at least one of the following elements: text, picture, video, audio, document.

Optionally, the method further includes:

a third display unit 1308, which displays the input text and the selected non-text elements in the message input interface when in a full screen input mode;

the arranging unit 1309 arranges the input content in the message input interface according to the received arranging instruction.

FIG. 14 is a schematic block diagram of an apparatus provided in an exemplary embodiment. Referring to FIG. 14, at the hardware level, the device includes a processor 1402, an internal bus 1404, a network interface 1406, a memory 1408, and a non-volatile storage 1410, although other hardware required for service may be included. The processor 1402 reads the corresponding computer program from the non-volatile memory 1410 into the memory 1408 and then runs, forming a message presentation apparatus on a logical level. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.

Referring to fig. 15, in a software implementation, the message presentation apparatus may include:

an acquisition unit 1501 that acquires a communication message generated by a communication session;

a first calling unit 1502, when the communication message is a communication message in a conventional format, calling a conventional processing module to analyze the communication message;

a second calling unit 1503, calling a high-level processing module to analyze the communication message when the communication message is a communication message with a special format;

a display unit 1504, which displays the analyzed message content in the session interface corresponding to the communication session.

Alternatively to this, the first and second parts may,

the communication message with the conventional format is generated by a sender in a conventional input mode;

the communication message with the special format is generated by the sender in a full screen input mode.

The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.

In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.

It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.

The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

27页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:页面切换方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类