WO2020187085A1 - 消息输入及展示方法、装置、电子设备、可读存储介质 - Google Patents
消息输入及展示方法、装置、电子设备、可读存储介质 Download PDFInfo
- Publication number
- WO2020187085A1 WO2020187085A1 PCT/CN2020/078526 CN2020078526W WO2020187085A1 WO 2020187085 A1 WO2020187085 A1 WO 2020187085A1 CN 2020078526 W CN2020078526 W CN 2020078526W WO 2020187085 A1 WO2020187085 A1 WO 2020187085A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- communication
- input
- content
- input mode
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004891 communication Methods 0.000 claims abstract description 199
- 230000006870 function Effects 0.000 claims description 58
- 238000010586 diagram Methods 0.000 description 23
- 230000008569 process Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 101100153168 Arabidopsis thaliana TIC21 gene Proteins 0.000 description 1
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 101100273813 Homo sapiens CDKN1A gene Proteins 0.000 description 1
- 108700038981 SUMO-1 Proteins 0.000 description 1
- 101100083337 Schizosaccharomyces pombe (strain 972 / ATCC 24843) pic1 gene Proteins 0.000 description 1
- 102100026940 Small ubiquitin-related modifier 1 Human genes 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 235000012054 meals Nutrition 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/205—Parsing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Definitions
- One or more embodiments of this specification relate to the field of communication technology, and in particular to a method, device, electronic device, and readable storage medium for message input and display.
- users can send and receive messages through communication applications.
- the communication application can be an instant messaging application or an enterprise instant messaging application, thereby realizing efficient communication between users.
- Communication applications can support multiple forms of communication, such as creating a single chat session between users to achieve pairwise communication between users, or establishing groups between multiple users and creating group chats based on the group Conversation to achieve multi-party communication between multiple users.
- one or more embodiments of this specification provide a message input and display method, device, electronic device, and readable storage medium.
- a message input method including:
- the message input interface is displayed in the content display area.
- a message display method including:
- the communication message is a communication message in a conventional format, calling a conventional processing module to parse the communication message;
- the advanced processing module When the communication message is a communication message in a special format, call the advanced processing module to parse the communication message;
- the parsed message content is displayed.
- a message input device including:
- the interface display unit displays the conversation interface corresponding to the communication conversation
- the first display unit when in the normal input mode, displays the communication message and the message input interface in the first sub-area of the content display area of the conversation interface;
- the second display unit when in the full-screen input mode, displays the message input interface in the content display area.
- a message display device including:
- the acquiring unit acquires the communication message generated by the communication session
- the first calling unit when the communication message is a communication message in a regular format, calls a regular processing module to parse the communication message;
- the second calling unit when the communication message is a communication message in a special format, calls the advanced processing module to parse the communication message;
- the display unit displays the analyzed message content in the conversation interface corresponding to the communication conversation.
- an electronic device including:
- a memory for storing processor executable instructions
- the processor implements the method according to the first aspect by running the executable instruction.
- a computer-readable storage medium is provided, and computer instructions are stored thereon, which when executed by a processor implement the steps of the method described in the first aspect.
- an electronic device including:
- a memory for storing processor executable instructions
- the processor implements the method according to the second aspect by running the executable instruction.
- a computer-readable storage medium is provided, and computer instructions are stored thereon, which when executed by a processor implement the steps of the method described in the second aspect.
- Fig. 1 is a schematic structural diagram of a communication system provided by an exemplary embodiment
- Fig. 2 is a flowchart of a message input method provided by an exemplary embodiment
- Fig. 3 is a flowchart of a message display method provided by an exemplary embodiment
- Fig. 4 is a schematic diagram of a conversation interface provided by an exemplary embodiment
- Fig. 5 is a schematic diagram of switching from a normal input mode to a full-screen input mode according to an exemplary embodiment
- Fig. 6 is another schematic diagram of switching from a normal input mode to a full-screen input mode according to an exemplary embodiment
- Fig. 7 is another schematic diagram of switching from a normal input mode to a full-screen input mode according to an exemplary embodiment
- Fig. 8 is a schematic diagram of a conversation interface in a full-screen input mode provided by an exemplary embodiment
- Fig. 9 is a schematic diagram showing a sent message on the sender side according to an exemplary embodiment
- Fig. 10 is a schematic diagram showing received messages on the receiver side according to an exemplary embodiment
- Fig. 11 is a schematic diagram of a message content viewing interface provided by an exemplary embodiment
- Fig. 12 is a schematic structural diagram of a device provided by an exemplary embodiment
- Fig. 13 is a block diagram of a message input device provided by an exemplary embodiment
- Fig. 14 is a schematic structural diagram of another device provided by an exemplary embodiment
- Fig. 15 is a block diagram of a message display device provided by an exemplary embodiment.
- the steps of the corresponding method may not be executed in the order shown and described in this specification.
- the method includes more or fewer steps than described in this specification.
- a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may also be combined into a single step in other embodiments. description.
- Fig. 1 is a schematic structural diagram of a communication system provided by an exemplary embodiment.
- the system may include a server 11, a network 12, and several electronic devices, such as a mobile phone 13, a mobile phone 14, and a mobile phone 15.
- the server 11 may be a physical server including an independent host, or the server 11 may be a virtual server carried by a host cluster.
- the server 11 can run a program on the server side of an application to realize the related business functions of the application.
- the server 11 runs the program of the mobile group office platform, it can be implemented as the mobile group office The server side of the platform.
- the server 11 can cooperate with the client running on the mobile phone 13-15 to realize the sending and receiving of communication messages.
- the mobile group office platform can not only implement communication functions, but also serve as an integrated functional platform for many other functions, such as approval events (such as leave, office item application, financial approval events, etc.), attendance events
- approval events such as leave, office item application, financial approval events, etc.
- attendance events The processing of group internal events such as, task events, log events, and the processing of group external events such as ordering meals, purchasing, etc., one or more embodiments of this specification do not limit this.
- the mobile group office platform can be carried by instant messaging applications in related technologies, such as Enterprise Instant Messaging (EIM) applications, such as Wait.
- EIM Enterprise Instant Messaging
- Wait 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 mentioned above, which will not be repeated here.
- Mobile phones 13-15 are just one type of electronic equipment that users can use. In fact, users can obviously also use electronic devices such as the following types: tablet devices, notebook computers, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, smart watches, etc.). Various embodiments do not limit this.
- the electronic device can run a program on the client side of an application to implement related business functions of the application. For example, when the electronic device runs the program of a mobile group office platform, it can be implemented as the mobile The client of the corporate office platform.
- user A when user A uses mobile phone 13 and user B uses mobile phone 14, user A can input and generate a communication message on mobile phone 13, and mobile phone 13 can implement the message input scheme in this manual in the process, and mobile phone 14 can receive and display
- the above-mentioned communication message generated by the mobile phone 13 enables the mobile phone 14 to implement the message display solution of this specification in this process.
- the client application of the mobile group office platform can be pre-installed on the electronic device, so that the client can be started and run on the electronic device; of course, when the online "customer” In the case of "end", the client can be obtained and run without installing the corresponding application on the electronic device.
- the network 12 may include multiple types of wired or wireless networks.
- the network 12 may include a Public Switched Telephone Network (PSTN) and the Internet.
- PSTN Public Switched Telephone Network
- electronic devices such as mobile phones 13-15 can also communicate through the network 12, such as establishing a single chat communication session between any two electronic devices; or several electronic devices can participate in the same group chat communication session. This allows any user to send communication messages to all other users in the group chat communication session through its own electronic device.
- PSTN Public Switched Telephone Network
- Fig. 2 is a flowchart of a message input method provided by an exemplary embodiment. As shown in FIG. 2, the method is applied to electronic equipment (for example, mobile phones 13-15 shown in FIG. 1), and may include the following steps:
- Step 202 Display the conversation interface corresponding to the communication conversation.
- a client running an application on the electronic device has a communication function.
- the application can also have other functions besides the communication function, and this manual does not limit this.
- the foregoing application may be an instant messaging application, or the foregoing application may be an enterprise instant messaging application.
- the user who uses the electronic device can implement communication based on the communication function, for example, through a communication session on the client Implement communications.
- user A and user B can each use an electronic device, so that a single chat type communication session can be established between user A and user B, and the electronic device used by user A and the electronic device used by user B can be displayed separately A conversation interface corresponding to the communication conversation is displayed, so that communication messages are input based on the conversation interface, and communication messages are sent and received.
- Step 204A when in the normal input mode, display the communication message in the first sub-area of the content display area of the conversation interface, and display the message input interface in the second sub-area.
- Step 204B When in the full-screen input mode, display the message input interface in the content display area.
- the received or sent communication message and the message input interface can be displayed simultaneously in the conversation interface in the normal input mode, so that the user can perform input operations in the message input interface while viewing the communication message. This enables simultaneous implementation of the display of communication messages and the implementation of input operations without interfering with each other.
- the screen size 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 (ie, the second sub-area mentioned above) , Resulting in a small size of the message input interface, usually only 3-5 lines of message content can be displayed at the same time.
- the message input interface can only generate a scroll bar, so that the user needs to drag the scroll bar to view To the unshown message content is not only inconvenient to operate, but also easy to cause misoperation.
- the message input interface can be displayed in the entire content display area by switching from the normal input mode to the full-screen input mode, that is, the message input interface is the first in the full-screen input mode.
- One specification is larger than the second specification in the regular input mode, so that more message content can be displayed at the same time.
- the content volume of the message content of the user in the full-screen input mode can be limited, so that the content volume does not trigger the appearance of a scroll bar.
- the content volume of the message content is allowed to trigger the appearance of the scroll bar, but since the entire content display area is used to display the message input interface, the size of the scroll bar at this time is also larger than that of the conventional input mode.
- the message input interface in the normal input mode may show a preset amount of message content.
- 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 avoid triggering the appearance of the scroll bar.
- the communication message After the communication message has been sent, it can be automatically restored from the full-screen input mode to the normal input mode, or the user can manually switch and resume.
- the message input interface in the normal input mode may show a preset amount of message content.
- the content of the message entered by the user does not exceed the preset amount, it can be maintained in the regular input mode; when the content of the message exceeds the preset amount, it is still maintained in the regular input mode, and the user is shown to switch to full screen
- the switch option of the input mode allows the user to actively choose whether to switch to the full-screen input mode. After the communication message has been sent, it can be automatically restored from the full-screen input mode to the normal input mode, or the user can manually switch and resume.
- the electronic device can always show the switch option between the normal input mode and the full-screen input mode, so that the user can switch as needed at any time without considering the content of the input message content.
- the electronic device is configured as a client
- the client may include a regular processing module and an advanced processing module, which are used to implement the aforementioned regular input mode and full-screen input mode, respectively. Therefore, the client can generate a message input interface in the conventional input mode by calling the conventional processing module, and display it in the second sub-area; and, the client can generate a full-screen input mode by calling the advanced processing module And display it in the above content display area.
- the client in addition to the difference in specifications of the message input interface, can provide differentiated editing functions in the regular input mode and the full-screen input mode for editing the message content that has been entered in the message input interface .
- the basic editing function when in the normal input mode, the basic editing function is provided for the input content in the message input interface, and when in the full-screen input mode, the basic editing function is provided for the input content in the message input interface And/or an extended editing function that is different from the basic editing function.
- the basic editing function can include cutting, deleting, and adjusting the text size of the message content
- the extended editing function can include adjusting the font, color, word spacing, line spacing, etc., of course, this manual does not carry out this Restrictions;
- the extended editing function can achieve more powerful editing functions than the basic editing functions to meet the user's application needs.
- the above-mentioned advanced processing module includes a document editing module.
- this manual develops the document editing functions provided by document editing tools such as Microsoft Word and WPS Word in related technologies as the above-mentioned document editing module, and integrates it into the client running on the electronic device, so that the user can use the conversation interface
- the message content of the communication message can be directly displayed in the conversation interface, which is convenient for the user to directly check the message content Compared with the form of documents, it is obviously more intuitive and convenient, eliminating the need for downloading documents and opening document viewing tools/applications, and is especially suitable for mobile group office scenarios.
- the client when in the regular input mode, can generate a communication message in a regular format according to the input content in the message input interface; and when in the full-screen input mode, the client can generate a communication message according to the message The input content in the input interface generates a special format communication message.
- the difference between the communication messages in the conventional format and the special format may only lie in the way the message content is encapsulated, and the elements contained in the message content may be the same, for example, both contain text.
- the types of elements contained can also be different: the communication messages in the conventional format are communication messages in related technologies, and the communication messages are only Can contain one type of element, such as text, picture, video, audio, or document, etc.
- the user can only input text (may also contain emoticons, such as emoji, etc.) in the message input interface, or you can select another picture (or video) , Audio, documents, etc.), but the client will generate text and pictures into different communication messages, and send each communication message separately, so that each communication message actually contains only one type of Element;
- the special format communication message can contain at least one of the following elements: text, picture, video, audio, document, etc., that is, the client can integrate multiple types of elements in the same communication message for sending, so that the final Each communication message can contain one or more types of elements.
- the client when in the full-screen input mode, the entered text and selected non-text elements can be displayed in the message input interface, instead of generating communication messages separately; accordingly, the client can arrange according to the received Instructions to arrange the input content in the message input interface.
- Fig. 3 is a flowchart of a message display method provided by an exemplary embodiment. As shown in Fig. 3, the method is applied to electronic equipment (for example, mobile phones 13-15 shown in Fig. 1), and may include the following steps:
- Step 302 Obtain communication messages generated by the communication session.
- a client running an application on the electronic device has a communication function.
- the application can also have other functions besides the communication function, and this manual does not limit this.
- the foregoing application may be an instant messaging application, or the foregoing application may be an enterprise instant messaging application.
- the user who uses the electronic device can implement communication based on the communication function, for example, through a communication session on the client Implement communications.
- user A and user B can each use an electronic device, so that a single chat type communication session can be established between user A and user B, and the electronic device used by user A and the electronic device used by user B can be displayed separately A conversation interface corresponding to the communication conversation is displayed, so that communication messages are input based on the conversation interface, and communication messages are sent and received.
- step 304A when the communication message is a communication message in a conventional format, the conventional processing module is called to parse the communication message.
- Step 304B When the communication message is a communication message in a special format, call the advanced processing module to parse the communication message.
- the difference between the communication messages in the conventional format and the special format may only lie in the way the message content is encapsulated, and the elements contained in the message content may be the same, for example, both contain text.
- the types of elements contained can also be different: the communication messages in the conventional format are communication messages in related technologies, and the communication messages are only Can contain one type of element, such as text, picture, video, audio, or document, etc.
- the user can only input text (may also contain emoticons, such as emoji, etc.) in the message input interface, or you can select another picture (or video) , Audio, documents, etc.), but the client will generate text and pictures into different communication messages, and send each communication message separately, so that each communication message actually contains only one type of Element;
- the special format communication message can contain at least one of the following elements: text, picture, video, audio, document, etc., that is, the client can integrate multiple types of elements in the same communication message for sending, so that the final Each communication message can contain one or more types of elements.
- the client when in the full-screen input mode, the entered text and selected non-text elements can be displayed in the message input interface, instead of generating communication messages separately; accordingly, the client can arrange according to the received Instructions to arrange the input content in the message input interface.
- the communication message in the regular format is generated by the sender in the regular input mode; the communication message in the special format is generated by the sender in the full-screen input mode.
- the received or sent communication message and the message input interface can be displayed simultaneously in the conversation interface in the normal input mode, so that the user can perform input operations in the message input interface while viewing the communication message. This enables simultaneous implementation of the display of communication messages and the implementation of input operations without interfering with each other.
- the screen size 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 (ie, the second sub-area mentioned above) , Resulting in a small size of the message input interface, usually only 3-5 lines of message content can be displayed at the same time.
- the message input interface can only generate a scroll bar, so that the user needs to drag the scroll bar to view To the unshown message content is not only inconvenient to operate, but also easy to cause misoperation.
- the message input interface can be displayed in the entire content display area by switching from the normal input mode to the full-screen input mode, that is, the message input interface is the first in the full-screen input mode.
- One specification is larger than the second specification in the regular input mode, so that more message content can be displayed at the same time.
- the content volume of the message content of the user in the full-screen input mode can be limited, so that the content volume does not trigger the appearance of a scroll bar.
- the content volume of the message content is allowed to trigger the appearance of the scroll bar, but since the entire content display area is used to display the message input interface, the size of the scroll bar at this time is also larger than that of the conventional input mode.
- the message input interface in the normal input mode may show a preset amount of message content.
- 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 avoid triggering the appearance of the scroll bar.
- the communication message After the communication message has been sent, it can be automatically restored from the full-screen input mode to the normal input mode, or the user can manually switch and resume.
- the message input interface in the normal input mode may show a preset amount of message content.
- the content of the message entered by the user does not exceed the preset amount, it can be maintained in the regular input mode; when the content of the message exceeds the preset amount, it is still maintained in the regular input mode, and the user is shown to switch to full screen
- the switch option of the input mode allows the user to actively choose whether to switch to the full-screen input mode. After the communication message has been sent, it can be automatically restored from the full-screen input mode to the normal input mode, or the user can manually switch and resume.
- the electronic device can always show the switch option between the normal input mode and the full-screen input mode, so that the user can switch as needed at any time without considering the content of the input message content.
- the electronic device is configured as a client
- the client may include a regular processing module and an advanced processing module, which are used to implement the aforementioned regular input mode and full-screen input mode, respectively. Therefore, the client can generate a message input interface in the conventional input mode by calling the conventional processing module, and display it in the second sub-area; and, the client can generate a full-screen input mode by calling the advanced processing module And display it in the above content display area.
- the client in addition to the difference in specifications of the message input interface, can provide differentiated editing functions in the regular input mode and the full-screen input mode for editing the message content that has been entered in the message input interface .
- the basic editing function when in the normal input mode, the basic editing function is provided for the input content in the message input interface, and when in the full-screen input mode, the basic editing function is provided for the input content in the message input interface And/or an extended editing function that is different from the basic editing function.
- the basic editing function can include cutting, deleting, and adjusting the text size of the message content
- the extended editing function can include adjusting the font, color, word spacing, line spacing, etc., of course, this manual does not carry out this Restrictions;
- the extended editing function can achieve more powerful editing functions than the basic editing functions to meet the user's application needs.
- the above-mentioned advanced processing module includes a document editing module.
- this manual develops the document editing functions provided by document editing tools such as Microsoft Word and WPS Word in related technologies as the above-mentioned document editing module, and integrates it into the client running on the electronic device, so that the user can use the conversation interface
- the message content of the communication message can be directly displayed in the conversation interface, which is convenient for the user to directly check the message content Compared with the form of documents, it is obviously more intuitive and convenient, eliminating the need for downloading documents and opening document viewing tools/applications, and is especially suitable for mobile group office scenarios.
- Step 306 Display the parsed message content in the conversation interface corresponding to the communication conversation.
- the client can call different modules for analysis, and the analysis can be displayed in the same or similar manner, so that the user does not perceive the difference in communication messages, which is convenient Users get a consistent experience.
- an enterprise instant messaging application T is taken as an example to illustrate the technical solutions of one or more embodiments of this specification.
- Fig. 4 is a schematic diagram of a conversation interface provided by an exemplary embodiment.
- the electronic device used by user Xiaohei runs the client program of application T above, so that the electronic device is configured as the client 1 of application T; similarly, the electronic device used by user Xiaobai can also be configured as application T
- the client 2 of the so that the user Xiaohei and the user Xiaobai can communicate based on the client 1 and the client 2.
- the user Xiaohei and the user Xiaobai can establish a single chat type communication session, so that the client terminal 1 can present the user Xiaohei with a conversation interface 40 as shown in FIG. 4.
- the conversation interface 40 may include a content display area 40A.
- the content display area 40A may further include a first sub-area 401 and a second sub-area 402.
- the first sub-area 401 is used to communicate between the user Xiao Hei and the user Xiao Bai.
- the message is displayed, and the second sub-area 402 is used to display the message input interface 403.
- the conversation interface 40 shown in FIG. 4 in addition to the content display area 40A, it also includes a keyboard display area 40B, which is used to display a virtual keyboard.
- the conversation interface 40 includes the content display area 40A and the keyboard display area 40B as shown in FIG. 4; and when the user Xiaohei has not triggered the message input interface 403, the virtual keyboard is in a hidden state.
- 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, so that the content display area 40A includes both the first sub-area 401 and the second sub-area 402, so the message input interface 403 in the second sub-area 402 only occupies the content Part of the display area 40A.
- the specifications of the message input interface 403 are relatively small, but the user Xiaohei can easily view the communication messages in the first sub-area 401 during the input process.
- the message input interface 403 with a smaller specification can contain relatively less message content. For example, it can usually contain 3-5 lines of text. More content will trigger the scroll bar in the message input interface 403, making the user black Drag the scroll bar to view the content other than the 3-5 lines shown. Therefore, in the case of a large amount of message content, in order to facilitate viewing the context and adjusting the content of the entered message, the user Xiaohei hopes to increase the specifications of the message input interface 403 so that the message input interface 403 can display more information at the same time. Message content.
- Fig. 5 is a schematic diagram of switching from a normal input mode to a full-screen input mode according to an exemplary embodiment.
- the mode switching option 50 shown in FIG. 5 can be called up, so that the user Xiaohei can trigger the mode switching option 50, Switching from the normal input mode to the full-screen input mode can increase the specifications of the message input interface 403.
- Fig. 6 is another schematic diagram of switching from a normal input mode to a full-screen input mode according to an exemplary embodiment.
- Fig. 7 is another schematic diagram of switching from a normal input mode to a full-screen input mode according to an exemplary embodiment.
- the mode switch option as shown in Figure 7 can be displayed 70, so that the user Xiaohei can switch from the normal input mode to the full-screen input mode by triggering the mode switching option 70, which can increase the specifications of the message input interface 403.
- Fig. 8 is a schematic diagram of a conversation interface in a full-screen input mode according to an exemplary embodiment.
- the content display area 40A can be used to display the message input interface 403, instead of displaying the communication messages in the first sub-area, so that the user Xiaohei can display Implement message input in a relatively larger area.
- the client 1 can automatically return from the full-screen input mode to the default regular input mode to wait for the next input operation; or, the conversation interface 40 may include the mode shown in FIG. 8
- the switching option 80 allows the user Xiaohei to switch from the full-screen input mode to the regular input mode by triggering the mode switching option 80, and the client terminal 1 itself does not implement automatic mode switching.
- the client terminal 1 can implement differentiated editing functions in the full-screen input mode and the regular input mode.
- the conventional input mode is similar to the communication application in the related technology.
- the user Xiaohei can input text in the message input interface 403, or select pictures, videos, audios, documents, etc. by triggering the + sign in the second subarea, and then the customer Terminal 1 will generate the text in the message input interface 403 or the above pictures, videos, audios, documents, etc. selected by the user Xiaohei into corresponding communication messages to send to the user Xiaobai. During this process, only the text can appear in the message input In the interface 403, the selected pictures, videos, audios, documents, etc.
- user Xiaobai can only receive multiple communication messages sent by user Xiaohei, and each communication message contains only text, pictures, video, audio or documents, and cannot form a complete message containing multiple elements. content.
- the text input by the user Xiaohei and the selected pictures PIC1 to PIC4 can be displayed in the message input interface 403, so that the user Xiaohei can edit the text and the picture respectively, or Arrange the order between text and pictures.
- the client terminal 1 can generate all the text, pictures, etc. contained in the message input interface 403 into a communication message, and send it to the user Xiaobai.
- FIG. 9 is a kind of communication message provided by an exemplary embodiment.
- FIG. 10 is a schematic diagram showing a received message on the receiver side provided by an exemplary embodiment, including the client 2
- the received communication message 1001 is displayed in the conversation interface 1000.
- the full-screen input mode can realize the editing and arrangement of multiple elements, and all the elements in the message input interface 403 will be generated as a communication message, so that the user Xiaobai can only communicate in one communication
- Message content such as text and pictures can be viewed in the message 1001 at the same time, and there may be a certain typesetting between the message content, which is convenient for the user to view and understand the message content.
- the message content of the communication message sent by the user Xiaohei is too much, only part of the message content can be shown.
- 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.
- the client terminal 2 can switch to the message content viewing interface 1100 shown in Figure 11, which is used to display all of the communication message 1001 content.
- the user Xiaobai can also process the displayed message content through the operation menu 1101 included in the message content viewing interface 1100.
- the "DING” option is used to generate a reminder message, and the content of the reminder message is the above message content.
- the "Copy” option is used to copy the above message content
- the "Forward” option is used to forward the above message content
- the "Reply” option is used to reply to the above message content and generate the reply message as a communication message related to the above message content.
- the "task” option is used to generate a task event, and the content of the task event is the above message content.
- client 1 (the situation of client 2 is similar) can contain conventional processing modules and advanced processing modules
- user Xiaohei can use the basic editing functions provided by the conventional processing module in the normal input mode, and can be used in full screen
- the extended editing function provided by the advanced processing module is used in the input mode (the advanced processing module can also include basic editing functions; or, the conventional processing module and the advanced processing module can be used at the same time in the full-screen input mode).
- the client 1 can generate a communication message in a conventional format in the conventional input mode, and a communication message in a special format in the full-screen input mode, so that the client 2 is
- the communication message in the conventional format can be parsed by the conventional processing module, and the communication message in the special format can be parsed by the advanced processing module, so as to appear as a communication message 1001 as shown in FIG. 10.
- the client 2 used by user Xiaobai may not contain advanced processing modules because the version is too low. At this time, communication messages in special formats may not be correctly parsed. Then user Xiaobai needs to upgrade the version of client 2 to obtain advanced
- the processing module analyzes the communication message in a special format, and then displays the message content obtained by the analysis.
- Fig. 12 is a schematic structural diagram of a device according to an exemplary embodiment.
- the device includes a processor 1202, an internal bus 1204, a network interface 1206, a memory 1208, and a non-volatile memory 1210.
- the processor 1202 reads the corresponding computer program from the non-volatile memory 1210 to the memory 1208 and then runs it, forming a message input device on a logical level.
- one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each
- the logic unit can also be a hardware or logic device.
- the message input device may include:
- the interface display unit 1301 displays the conversation interface corresponding to the communication conversation
- the first display unit 1302 when in the normal input mode, displays the communication message and the message input interface in the first sub-area of the content display area of the conversation interface;
- the first specification of the message input interface in the full-screen input mode is greater than the second specification in the regular input mode.
- the first display unit 1302 is specifically configured to: call a conventional processing module to generate and display the message input interface;
- the second display unit 1303 is specifically configured to: call an advanced processing module to generate and display the message input interface.
- the advanced processing module includes a document editing module.
- Optional also includes:
- the second providing unit 130 when in the full-screen input mode, provides the basic editing function and/or the extended editing function that is different from the basic editing function for the input content in the message input interface.
- Optional also includes:
- the second generating unit 1307 when in the full-screen input mode, generates a communication message in a special format according to the input content in the message input interface.
- the communication message in the special format includes at least one of the following elements: text, picture, video, audio, and document.
- Optional also includes:
- the arranging unit 1309 arranges the input content in the message input interface according to the received arranging instruction.
- Fig. 14 is a schematic structural diagram of a device according to an exemplary embodiment. Please refer to FIG. 14.
- the device includes a processor 1402, an internal bus 1404, a network interface 1406, a memory 1408, and a non-volatile memory 1410. Of course, it may also include hardware required for other services.
- the processor 1402 reads the corresponding computer program from the non-volatile memory 1410 to the memory 1408 and then runs it to form a message display device on a logical level.
- one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each
- the logic unit can also be a hardware or logic device.
- the message display device may include:
- the obtaining unit 1501 obtains the communication message generated by the communication session
- the first calling unit 1502 when the communication message is a communication message in a conventional format, calls a conventional processing module to parse the communication message;
- the second calling unit 1503 when the communication message is a communication message in a special format, calls the advanced processing module to parse the communication message;
- the display unit 1504 displays the analyzed message content in the conversation interface corresponding to the communication conversation.
- the communication message in the conventional format is generated by the sender in the conventional input mode
- the communication message in the special format is generated by the sender in the full-screen input mode.
- a typical implementation device is a computer.
- the specific form of the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email receiving and sending device, and a game control A console, a tablet computer, a wearable device, or a combination of any of these devices.
- the computer includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
- processors CPU
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- the memory may include non-permanent memory in computer readable media, 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 computer readable media.
- RAM random access memory
- ROM read-only memory
- flash RAM flash memory
- Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
- the information can be computer-readable instructions, data structures, program modules, 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, CD-ROM, digital versatile disc (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 media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
- first, second, third, etc. may be used in one or more embodiments of this specification to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
- word “if” as used herein can be interpreted as "when” or “when” or "in response to determination”.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
一种消息输入及展示方法、装置、电子设备、可读存储介质,该消息输入方法可以包括:展示通讯会话对应的会话界面(202);当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面(204A);当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面(204B)。
Description
本申请要求2019年03月18日递交的申请号为201910204530.0、发明名称为“消息输入及展示方法、装置、电子设备、可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本说明书一个或多个实施例涉及通讯技术领域,尤其涉及一种消息输入及展示方法、装置、电子设备、可读存储介质。
在相关技术中,用户可以通过通讯应用实现消息收发,譬如该通讯应用可以为即时通讯应用或企业即时通讯应用,从而实现用户之间的高效沟通。通讯应用可以支持多种通讯形式,比如在用户与用户之间创建单聊会话,以实现用户之间的两两通讯,或者在多个用户之间建立群组,并基于该群组创建群聊会话,以实现多个用户之间的多方通讯。
发明内容
有鉴于此,本说明书一个或多个实施例提供一种消息输入及展示方法、装置、电子设备、可读存储介质。
为实现上述目的,本说明书一个或多个实施例提供技术方案如下:
根据本说明书一个或多个实施例的第一方面,提出了一种消息输入方法,包括:
展示通讯会话对应的会话界面;
当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面;
当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。
根据本说明书一个或多个实施例的第二方面,提出了一种消息展示方法,包括:
获取通讯会话产生的通讯消息;
当所述通讯消息为常规格式的通讯消息时,调用常规处理模块对所述通讯消息进行解析;
当所述通讯消息为特殊格式的通讯消息时,调用高级处理模块对所述通讯消息进行解析;
在所述通讯会话对应的会话界面中,展示解析得到的消息内容。
根据本说明书一个或多个实施例的第三方面,提出了一种消息输入装置,包括:
界面展示单元,展示通讯会话对应的会话界面;
第一展示单元,当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面;
第二展示单元,当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。
根据本说明书一个或多个实施例的第四方面,提出了一种消息展示装置,包括:
获取单元,获取通讯会话产生的通讯消息;
第一调用单元,当所述通讯消息为常规格式的通讯消息时,调用常规处理模块对所述通讯消息进行解析;
第二调用单元,当所述通讯消息为特殊格式的通讯消息时,调用高级处理模块对所述通讯消息进行解析;
展示单元,在所述通讯会话对应的会话界面中,展示解析得到的消息内容。
根据本说明书一个或多个实施例的第五方面,提出了一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器通过运行所述可执行指令以实现如第一方面所述的方法。
根据本说明书一个或多个实施例的第六方面,提出了一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现如第一方面所述方法的步骤。
根据本说明书一个或多个实施例的第七方面,提出了一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器通过运行所述可执行指令以实现如第二方面所述的方法。
根据本说明书一个或多个实施例的第八方面,提出了一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现如第二方面所述方法的步骤。
图1是一示例性实施例提供的一种通讯***的架构示意图;
图2是一示例性实施例提供的一种消息输入方法的流程图;
图3是一示例性实施例提供的一种消息展示方法的流程图;
图4是一示例性实施例提供的一种会话界面的示意图;
图5是一示例性实施例提供的一种由常规输入模式切换至全屏输入模式的示意图;
图6是一示例性实施例提供的另一种由常规输入模式切换至全屏输入模式的示意图;
图7是一示例性实施例提供的又一种由常规输入模式切换至全屏输入模式的示意图;
图8是一示例性实施例提供的一种全屏输入模式下的会话界面的示意图;
图9是一示例性实施例提供的一种在发送方侧示出已发送消息的示意图;
图10是一示例性实施例提供的一种在接收方侧示出已接收消息的示意图;
图11是一示例性实施例提供的一种消息内容查看界面的示意图;
图12是一示例性实施例提供的一种设备的结构示意图;
图13是一示例性实施例提供的一种消息输入装置的框图;
图14是一示例性实施例提供的另一种设备的结构示意图;
图15是一示例性实施例提供的一种消息展示装置的框图。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。
图1是一示例性实施例提供的一种通讯***的架构示意图。如图1所示,该***可以包括服务器11、网络12、若干电子设备,比如手机13、手机14和手机15等。
服务器11可以为包含一独立主机的物理服务器,或者该服务器11可以为主机集群承载的虚拟服务器。在运行过程中,服务器11可以运行某一应用的服务器侧的程序,以实现该应用的相关业务功能,比如当该服务器11运行移动化团体办公平台的程序时,可以实现为该移动化团体办公平台的服务端。而在本说明书一个或多个实施例的技术方案中,可由服务器11通过与手机13-15上运行的客户端进行配合,以实现对通讯消息的收发处理。
在本实施例中,移动化团体办公平台不仅可以实现通讯功能,还可以作为诸多其他功能的集成化功能平台,比如对于审批事件(如请假、办公物品申领、财务等审批事件)、考勤事件、任务事件、日志事件等团体内部事件的处理,再比如订餐、采购等团体外部事件的处理,本说明书一个或多个实施例并不对此进行限制。
较为具体地,移动化团体办公平台可以承载于相关技术中的即时通讯应用,比如企业即时通讯(Enterprise Instant Messaging,EIM)应用,例如
等。当然,即时通讯功能仅为移动化团体办公平台支持的通讯功能之一,该移动化团体办公平台还能够实现更多诸如上述的其他功能,此处不再赘述。
手机13-15只是用户可以使用的一种类型的电子设备。实际上,用户显然还可以使用诸如下述类型的电子设备:平板设备、笔记本电脑、掌上电脑(PDAs,Personal Digital Assistants)、可穿戴设备(如智能眼镜、智能手表等)等,本说明书一个或多个实施例并不对此进行限制。在运行过程中,该电子设备可以运行某一应用的客户端侧的程序,以实现该应用的相关业务功能,比如当该电子设备运行移动化团体办公平台的程序时,可以实现为该移动化团体办公平台的客户端。比如当用户A使用手机13、用户B使用手机14时,用户A可以在手机13上输入并生成通讯消息,而手机13可以在该过程中实现本说明书的消息输入方案,手机14可以接收并展示手机13生成的上述通讯消息,使得手机14可以在该过程中实现本说明书的消息展示方案。
需要指出的是:移动化团体办公平台的客户端的应用程序可以被预先安装在电子设备上,使得该客户端可以在该电子设备上被启动并运行;当然,当采用诸如HTML5技术的在线“客户端”时,无需在电子设备上安装相应的应用程序,即可获得并运行该客户端。
而对于手机13-15与服务器11之间进行交互的网络12,可以包括多种类型的有线 或无线网络。在一实施例中,该网络12可以包括公共交换电话网络(Public Switched Telephone Network,PSTN)和因特网。同时,手机13-15等电子设备之间也可以通过该网络12进行通讯交互,比如在任意两台电子设备之间建立单聊通讯会话;或者,若干电子设备可以参与至同一群聊通讯会话,使得任一用户可以通过自身的电子设备向该群聊通讯会话中的其他所有用户发送通讯消息。
图2是一示例性实施例提供的一种消息输入方法的流程图。如图2所示,该方法应用于电子设备(例如图1所示的手机13~15等),可以包括以下步骤:
步骤202,展示通讯会话对应的会话界面。
在一实施例中,电子设备上运行某一应用的客户端,该应用具有通讯功能。该应用还可以具有通讯功能之外的其他功能,本说明书并不对此进行限制。例如,上述应用可以为即时通讯应用,或者上述应用可以为企业即时通讯应用。
在一实施例中,当电子设备通过运行上述应用的客户端,以实现相应的通讯功能时,使用该电子设备的用户可以基于该通讯功能实施通讯,比如具体可以通过该客户端上的通讯会话实施通讯。比如,用户A与用户B可以分别使用一台电子设备,使得用户A与用户B之间可以建立单聊类型的通讯会话,而用户A使用的电子设备、用户B使用的电子设备上可以分别呈现出对应于该通讯会话的会话界面,从而基于该会话界面输入通讯消息,以及对通讯消息进行收发处理。
步骤204A,当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面。
步骤204B,当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。
在一实施例中,常规输入模式下可以在会话界面中对已接收或已发送的通讯消息、消息输入界面进行同时展示,便于用户在查看通讯消息的同时,在消息输入界面内实施输入操作,使得对通讯消息的展示与输入操作的实施之间同时实施、互不干扰。
由于电子设备的屏幕尺寸有限,尤其是移动化电子设备的屏幕尺寸相对更小,而常规输入模式下的消息输入界面只能够占用会话界面的内容展示区域的一部分(即上述的第二子区域),导致消息输入界面的规格较小,通常仅能够同时显示3-5行消息内容,当用户输入的消息内容较多时,消息输入界面只能够生成滚动条,使得用户需要拖动滚动条才能够查看到未示出的消息内容,不仅操作不便,而且容易造成误操作。
因此,当用户需要输入的消息内容较多时,可以通过从常规输入模式切换至全屏输 入模式,使得消息输入界面能够在整个内容展示区域进行展示,即消息输入界面在所述全屏输入模式下的第一规格大于在所述常规输入模式下的第二规格,从而能够同时展示更多的消息内容。一种情况下,可以限制用户在全屏输入模式下的消息内容的内容量,使得该内容量不会触发出现滚动条。另一种情况下,允许消息内容的内容量触发出现滚动条,但是由于整个内容展示区域均用于展示消息输入界面,使得此时滚动条的规格也较之常规输入模式更大,因而在相同条件下实施用户操作时,相对更加便于用户对滚动条进行拖动,以及相对更加不易出现误操作的情况。
在一实施例中,常规输入模式下的消息输入界面可以示出预设量的消息内容。当用户已输入的消息内容不超出该预设量时,可以维持在常规输入模式;而当消息内容超出该预设量时,可以自动切换至全屏输入模式,从而避免触发滚动条的出现。在通讯消息已发送后,可以由全屏输入模式自动恢复至常规输入模式,或者由用户手动切换恢复。
在一实施例中,常规输入模式下的消息输入界面可以示出预设量的消息内容。当用户已输入的消息内容不超出该预设量时,可以维持在常规输入模式;而当消息内容超出该预设量时,仍然维持在常规输入模式,并向用户示出用于切换至全屏输入模式的切换选项,使得用户可以主动选择是否切换至全屏输入模式。在通讯消息已发送后,可以由全屏输入模式自动恢复至常规输入模式,或者由用户手动切换恢复。
在一实施例中,电子设备可以始终示出常规输入模式与全屏输入模式之间的切换选项,使得用户可以随时根据需求进行切换,而无需考虑已输入的消息内容的内容量。
在一实施例中,电子设备被配置为客户端,该客户端可以包含常规处理模块和高级处理模块,分别用于实现上述的常规输入模式和全屏输入模式。因此,客户端可以通过调用常规处理模块,以生成常规输入模式下的消息输入界面,并将其展示于上述的第二子区域;以及,客户端可以通过调用高级处理模块,以生成全屏输入模式下的消息输入界面,并将其展示于上述内容展示区域。
在一实施例中,除了消息输入界面的规格差异之外,客户端在常规输入模式和全屏输入模式下可以提供差异化的编辑功能,以用于对消息输入界面内已输入的消息内容进行编辑。例如,当处于常规输入模式时,对所述消息输入界面内的已输入内容提供基础编辑功能,而当处于全屏输入模式时,对所述消息输入界面内的已输入内容提供所述基础编辑功能和/或区别于所述基础编辑功能的扩展编辑功能。举例而言,基础编辑功能可以包括对消息内容进行剪切、删除、调整文字字号等,而扩展编辑功能可以包括对字 体、颜色、字间距、行间距等进行调整,当然本说明书并不对此进行限制;总之,扩展编辑功能能够实现较之基础编辑功能更加强大的编辑功能,以满足用户的应用需求。
在一实施例中,上述的高级处理模块包括文档编辑模块。换言之,本说明书将相关技术中诸如Microsoft Word、WPS Word等文档编辑工具所提供的文档编辑功能开发为上述的文档编辑模块,并将其集成于电子设备上运行的客户端,使得用户在会话界面输入消息内容的过程中,即可针对消息内容进行编辑,而无需采用额外的文档编辑工具进行编辑后复制到消息输入界面内。并且,通过将文档编辑模块集成于客户端中,使得用户在接收到基于高级处理模块生成的通讯消息时,该通讯消息的消息内容可以直接展示于会话界面中,便于用户对消息内容进行直接查阅,相比于采用文档的形式而言,显然更加直观、便捷,免去了下载文档、开启文档查看工具/应用等过程,尤其适用于移动化团体办公场景中。
在一实施例中,当处于常规输入模式时,客户端可以根据所述消息输入界面内的已输入内容,生成常规格式的通讯消息;而当处于全屏输入模式时,客户端可以根据所述消息输入界面内的已输入内容,生成特殊格式的通讯消息。
在一实施例中,常规格式和特殊格式的通讯消息,区别可以仅在于对消息内容的封装方式,而消息内容所含的元素可以一致,比如均包含文字。在另一实施例中,常规格式和特殊格式的通讯消息除了采用不同的封装方式之外,所含的元素类型也可以存在差异:常规格式的通讯消息即相关技术中的通讯消息,通讯消息仅能够包含一种类型的元素,比如文字、图片、视频、音频或文档等,用户在消息输入界面内仅能够输入文字(还可能包含表情符号,如emoji等),也可以另外选择图片(或视频、音频、文档等)进行发送,但客户端会将文字和图片等分别生成为不同的通讯消息,并分别对每一通讯消息进行发送,使得最终每一通讯消息实际上仅包含一种类型的元素;而特殊格式的通讯消息可以包含下述元素中至少之一:文字、图片、视频、音频、文档等,即客户端可以将多种类型的元素集成在同一通讯消息中进行发送,使得最终每一通讯消息可以包含一种或多种类型的元素。其中,当处于全屏输入模式时,可以将已输入的文字和被选中的非文字元素展示于所述消息输入界面内,而并不分别生成通讯消息;相应的,客户端可以根据接收到的编排指令,对所述消息输入界面内的已输入内容进行编排。
图3是一示例性实施例提供的一种消息展示方法的流程图。如图3所示,该方法应用于电子设备(例如图1所示的手机13~15等),可以包括以下步骤:
步骤302,获取通讯会话产生的通讯消息。
在一实施例中,电子设备上运行某一应用的客户端,该应用具有通讯功能。该应用还可以具有通讯功能之外的其他功能,本说明书并不对此进行限制。例如,上述应用可以为即时通讯应用,或者上述应用可以为企业即时通讯应用。
在一实施例中,当电子设备通过运行上述应用的客户端,以实现相应的通讯功能时,使用该电子设备的用户可以基于该通讯功能实施通讯,比如具体可以通过该客户端上的通讯会话实施通讯。比如,用户A与用户B可以分别使用一台电子设备,使得用户A与用户B之间可以建立单聊类型的通讯会话,而用户A使用的电子设备、用户B使用的电子设备上可以分别呈现出对应于该通讯会话的会话界面,从而基于该会话界面输入通讯消息,以及对通讯消息进行收发处理。
步骤304A,当所述通讯消息为常规格式的通讯消息时,调用常规处理模块对所述通讯消息进行解析。
步骤304B,当所述通讯消息为特殊格式的通讯消息时,调用高级处理模块对所述通讯消息进行解析。
在一实施例中,常规格式和特殊格式的通讯消息,区别可以仅在于对消息内容的封装方式,而消息内容所含的元素可以一致,比如均包含文字。在另一实施例中,常规格式和特殊格式的通讯消息除了采用不同的封装方式之外,所含的元素类型也可以存在差异:常规格式的通讯消息即相关技术中的通讯消息,通讯消息仅能够包含一种类型的元素,比如文字、图片、视频、音频或文档等,用户在消息输入界面内仅能够输入文字(还可能包含表情符号,如emoji等),也可以另外选择图片(或视频、音频、文档等)进行发送,但客户端会将文字和图片等分别生成为不同的通讯消息,并分别对每一通讯消息进行发送,使得最终每一通讯消息实际上仅包含一种类型的元素;而特殊格式的通讯消息可以包含下述元素中至少之一:文字、图片、视频、音频、文档等,即客户端可以将多种类型的元素集成在同一通讯消息中进行发送,使得最终每一通讯消息可以包含一种或多种类型的元素。其中,当处于全屏输入模式时,可以将已输入的文字和被选中的非文字元素展示于所述消息输入界面内,而并不分别生成通讯消息;相应的,客户端可以根据接收到的编排指令,对所述消息输入界面内的已输入内容进行编排。
在一实施例中,所述常规格式的通讯消息由发送方在常规输入模式下生成;所述特殊格式的通讯消息由发送方在全屏输入模式下生成。
在一实施例中,常规输入模式下可以在会话界面中对已接收或已发送的通讯消息、消息输入界面进行同时展示,便于用户在查看通讯消息的同时,在消息输入界面内实施输入操作,使得对通讯消息的展示与输入操作的实施之间同时实施、互不干扰。
由于电子设备的屏幕尺寸有限,尤其是移动化电子设备的屏幕尺寸相对更小,而常规输入模式下的消息输入界面只能够占用会话界面的内容展示区域的一部分(即上述的第二子区域),导致消息输入界面的规格较小,通常仅能够同时显示3-5行消息内容,当用户输入的消息内容较多时,消息输入界面只能够生成滚动条,使得用户需要拖动滚动条才能够查看到未示出的消息内容,不仅操作不便,而且容易造成误操作。
因此,当用户需要输入的消息内容较多时,可以通过从常规输入模式切换至全屏输入模式,使得消息输入界面能够在整个内容展示区域进行展示,即消息输入界面在所述全屏输入模式下的第一规格大于在所述常规输入模式下的第二规格,从而能够同时展示更多的消息内容。一种情况下,可以限制用户在全屏输入模式下的消息内容的内容量,使得该内容量不会触发出现滚动条。另一种情况下,允许消息内容的内容量触发出现滚动条,但是由于整个内容展示区域均用于展示消息输入界面,使得此时滚动条的规格也较之常规输入模式更大,因而在相同条件下实施用户操作时,相对更加便于用户对滚动条进行拖动,以及相对更加不易出现误操作的情况。
在一实施例中,常规输入模式下的消息输入界面可以示出预设量的消息内容。当用户已输入的消息内容不超出该预设量时,可以维持在常规输入模式;而当消息内容超出该预设量时,可以自动切换至全屏输入模式,从而避免触发滚动条的出现。在通讯消息已发送后,可以由全屏输入模式自动恢复至常规输入模式,或者由用户手动切换恢复。
在一实施例中,常规输入模式下的消息输入界面可以示出预设量的消息内容。当用户已输入的消息内容不超出该预设量时,可以维持在常规输入模式;而当消息内容超出该预设量时,仍然维持在常规输入模式,并向用户示出用于切换至全屏输入模式的切换选项,使得用户可以主动选择是否切换至全屏输入模式。在通讯消息已发送后,可以由全屏输入模式自动恢复至常规输入模式,或者由用户手动切换恢复。
在一实施例中,电子设备可以始终示出常规输入模式与全屏输入模式之间的切换选项,使得用户可以随时根据需求进行切换,而无需考虑已输入的消息内容的内容量。
在一实施例中,电子设备被配置为客户端,该客户端可以包含常规处理模块和高级处理模块,分别用于实现上述的常规输入模式和全屏输入模式。因此,客户端可以通过 调用常规处理模块,以生成常规输入模式下的消息输入界面,并将其展示于上述的第二子区域;以及,客户端可以通过调用高级处理模块,以生成全屏输入模式下的消息输入界面,并将其展示于上述内容展示区域。
在一实施例中,除了消息输入界面的规格差异之外,客户端在常规输入模式和全屏输入模式下可以提供差异化的编辑功能,以用于对消息输入界面内已输入的消息内容进行编辑。例如,当处于常规输入模式时,对所述消息输入界面内的已输入内容提供基础编辑功能,而当处于全屏输入模式时,对所述消息输入界面内的已输入内容提供所述基础编辑功能和/或区别于所述基础编辑功能的扩展编辑功能。举例而言,基础编辑功能可以包括对消息内容进行剪切、删除、调整文字字号等,而扩展编辑功能可以包括对字体、颜色、字间距、行间距等进行调整,当然本说明书并不对此进行限制;总之,扩展编辑功能能够实现较之基础编辑功能更加强大的编辑功能,以满足用户的应用需求。
在一实施例中,上述的高级处理模块包括文档编辑模块。换言之,本说明书将相关技术中诸如Microsoft Word、WPS Word等文档编辑工具所提供的文档编辑功能开发为上述的文档编辑模块,并将其集成于电子设备上运行的客户端,使得用户在会话界面输入消息内容的过程中,即可针对消息内容进行编辑,而无需采用额外的文档编辑工具进行编辑后复制到消息输入界面内。并且,通过将文档编辑模块集成于客户端中,使得用户在接收到基于高级处理模块生成的通讯消息时,该通讯消息的消息内容可以直接展示于会话界面中,便于用户对消息内容进行直接查阅,相比于采用文档的形式而言,显然更加直观、便捷,免去了下载文档、开启文档查看工具/应用等过程,尤其适用于移动化团体办公场景中。
步骤306,在所述通讯会话对应的会话界面中,展示解析得到的消息内容。
在一实施例中,针对不同格式的通讯消息,客户端可以分别调用不同模块进行解析,而解析后可以采用相同或类似的方式进行展示,使得对于用户而言并不感知通讯消息的差异,便于用户获得一致的使用体验。
为了便于理解,以企业即时通讯应用T为例,对本说明书一个或多个实施例的技术方案进行说明。
图4是一示例性实施例提供的一种会话界面的示意图。假定用户小黑使用的电子设备上运行有上述应用T的客户端程序,使得该电子设备被配置为应用T的客户端1;类似地,用户小白使用的电子设备也可以被配置为应用T的客户端2,使得用户小黑与用 户小白可以基于客户端1与客户端2实现通讯。例如,用户小黑与用户小白可以建立单聊类型的通讯会话,使得客户端1可以向用户小黑呈现出如图4所示的会话界面40。
会话界面40可以包括内容展示区域40A,该内容展示区域40A可以进一步包括第一子区域401和第二子区域402,第一子区域401用于对用户小黑与用户小白之间产生的通讯消息进行展示,第二子区域402用于对消息输入界面403进行展示。在图4所示的会话界面40中,除了内容展示区域40A之外,还包括键盘展示区域40B,该键盘展示区域40B用于展示虚拟键盘。当用户小黑触发消息输入界面403后,会话界面40包括如图4所示的内容展示区域40A和键盘展示区域40B;而当用户小黑尚未触发消息输入界面403时,虚拟键盘处于隐藏状态,使得键盘展示区域40B的占用区域被纳入内容展示区域40A中。
图4所示的会话界面40处于常规输入模式,使得内容展示区域40A同时包括位于第一子区域401和第二子区域402,因而位于第二子区域402中的消息输入界面403仅占用了内容展示区域40A部分区域。在常规输入模式下,消息输入界面403的规格相对较小,但用户小黑能够便于在实施输入的过程中,对第一子区域401内的通讯消息进行查看。
但是,较小规格的消息输入界面403所能够容纳的消息内容也相对较少,比如通常能够包含3-5行文字,更多内容将触发消息输入界面403中的滚动条,使得用户小黑需要拖动滚动条才能够查看到所示出的3-5行内容之外的其他内容。因此,在消息内容较多的情况下,为了便于查看前后文、调整已输入的消息内容等,用户小黑希望增大消息输入界面403的规格,使得该消息输入界面403能够同时显示更多的消息内容。
图5是一示例性实施例提供的一种由常规输入模式切换至全屏输入模式的示意图。当检测到用户小黑对空白的消息输入界面403实施诸如长按等预设操作时,可以唤出如图5所示的模式切换选项50,使得用户小黑可以通过触发该模式切换选项50,从常规输入模式切换至全屏输入模式,可以增大消息输入界面403的规格。图6是一示例性实施例提供的另一种由常规输入模式切换至全屏输入模式的示意图。当检测到用户小黑对存在输入内容的消息输入界面403实施诸如长按等预设操作时,可以唤出如图6所示的功能菜单60,该功能菜单60包含模式切换选项601,使得用户小黑可以通过触发该模式切换选项601,从常规输入模式切换至全屏输入模式,可以增大消息输入界面403的规格。图7是一示例性实施例提供的又一种由常规输入模式切换至全屏输入模式的示意 图。当检测到用户小黑在消息输入界面403中输入的内容较多时,譬如达到或超过3行(比如消息输入界面403最多可以显示3行内容),可以显示出如图7所示的模式切换选项70,使得用户小黑可以通过触发该模式切换选项70,从常规输入模式切换至全屏输入模式,可以增大消息输入界面403的规格。
图8是一示例性实施例提供的一种全屏输入模式下的会话界面的示意图。如图8所示,当处于全屏输入模式时,内容展示区域40A可以全部用于对消息输入界面403进行展示,而不再展示上述位于第一子区域中的通讯消息,使得用户小黑可以在相对更大的区域内实施消息输入。在完成消息输入并发出相应的通讯消息后,客户端1可以自动从全屏输入模式返回至默认的常规输入模式,以等待下次输入操作;或者,会话界面40可以包括如图8所示的模式切换选项80,使得用户小黑可以通过触发该模式切换选项80而从全屏输入模式切换至常规输入模式,而客户端1本身并不实施自动的模式切换。
除了消息输入界面403的规格差异之外,客户端1在全屏输入模式与常规输入模式可以实现差异化的编辑功能。例如,常规输入模式与相关技术中的通讯应用类似,用户小黑可以在消息输入界面403内输入文字,或者通过触发第二子区域内的+标识选择图片、视频、音频、文档等,然后客户端1会将消息输入界面403中文字或用户小黑选择的上述图片、视频、音频、文档等分别生成为相应的通讯消息,以发送至用户小白,该过程中只有文字可以出现在消息输入界面403中,而被选中的图片、视频、音频、文档等并不会出现在消息输入界面403中,使得用户小黑无法实施文字与图片、视频、音频、文档等之间的多种元素的编辑与编排。相应地,用户小白只能够分别接收用户小黑所发送的多条通讯消息,每一通讯消息中仅包含文字、图片、视频、音频或文档,而无法组成一条完整的、包含多元素的消息内容。
而在图8所示的实施例中,用户小黑输入的文字、选择的图片PIC1~PIC4均可以展示于消息输入界面403中,使得用户小黑可以分别针对文字和图片进行编辑,也可以对文字与图片之间的顺序等进行编排。并且,客户端1可以将消息输入界面403所含的文字、图片等所有内容生成为一条通讯消息,并发送至用户小白,比如图9是一示例性实施例提供的一种在发送方侧示出已发送消息的示意图、包含客户端1展示的已发送的通讯消息90,而图10是一示例性实施例提供的一种在接收方侧示出已接收消息的示意图、包含客户端2在会话界面1000中展示的已接收的通讯消息1001。
结合图9-图10可知:在全屏输入模式下生成的通讯消息与常规输入模式下生成的 通讯消息的表现形式相似,每一通讯消息可以直接呈现在相应的会话界面中,使得对于接收方的用户小白而言,输入模式的差异并不会使其在读取消息的过程中存在明显不同,使得用户小白能够获得一致的使用体验。而存在的差异在于:正如上文所述,全屏输入模式能够实现对多种元素的编辑和编排,并且消息输入界面403内的所有元素会生成为一条通讯消息,使得用户小白仅在一条通讯消息1001中即可同时查看到文字、图片等消息内容,并且这些消息内容之间可以存在一定的排版,便于用户小白对消息内容的查看和理解。
当然,如果用户小黑所发送的通讯消息的消息内容过多,可以仅示出部分消息内容,例如图9所示的通讯消息90、图10所示的通讯消息1001仅示出部分文字和图片,可以通过触发“查看更多”选项来查看所有的消息内容。以图10为例,当用户小白触发“查看更多”选项后,客户端2可以切换至图11所示的消息内容查看界面1100,该消息内容查看界面1100用于展示通讯消息1001的所有内容。进一步地,用户小白还可以通过消息内容查看界面1100包含的操作菜单1101,对所展示的消息内容进行处理,比如“DING”选项用于生成提醒消息、该提醒消息的内容为上述消息内容,“复制”选项用于复制上述消息内容,“转发”选项用于转发上述消息内容,“回复”选项用于针对上述消息内容进行回复、并将回复消息生成为与上述消息内容相关的通讯消息后返回至用户小黑,“任务”选项用于生成任务事件、该任务事件的内容为上述消息内容。
需要说明的是:客户端1(客户端2的情况类似)可以包含常规处理模块和高级处理模块,用户小黑可以在常规输入模式下使用该常规处理模块所提供的基础编辑功能,可以在全屏输入模式下使用该高级处理模块所提供的扩展编辑功能(高级处理模块也可以包含基础编辑功能;或者,全屏输入模式下可以同时使用常规处理模块和高级处理模块)。同时,针对用户小黑在消息输入界面403内形成的输入内容,客户端1可以在常规输入模式下生成常规格式的通讯消息、在全屏输入模式下生成特殊格式的通讯消息,使得客户端2在收到相应的通讯消息后,可以通过常规处理模块对常规格式的通讯消息进行解析、通过高级处理模块对特殊格式的通讯消息进行解析,从而呈现为如图10所示的通讯消息1001。
用户小白所使用的客户端2可能由于版本过低而未包含高级处理模块,此时可能无法对特殊格式的通讯消息进行正确解析,那么用户小白需要对客户端2进行版本升级而获得高级处理模块,从而对特殊格式的通讯消息进行解析,然后对解析得到的消息内容 进行展示。
图12是一示例性实施例提供的一种设备的示意结构图。请参考图12,在硬件层面,该设备包括处理器1202、内部总线1204、网络接口1206、内存1208以及非易失性存储器1210,当然还可能包括其他业务所需要的硬件。处理器1202从非易失性存储器1210中读取对应的计算机程序到内存1208中然后运行,在逻辑层面上形成消息输入装置。当然,除了软件实现方式之外,本说明书一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
请参考图13,在软件实施方式中,该消息输入装置可以包括:
界面展示单元1301,展示通讯会话对应的会话界面;
第一展示单元1302,当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面;
第二展示单元1303,当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。
可选的,所述消息输入界面在所述全屏输入模式下的第一规格大于在所述常规输入模式下的第二规格。
可选的,
所述第一展示单元1302具体用于:调用常规处理模块,以生成并展示所述消息输入界面;
所述第二展示单元1303具体用于:调用高级处理模块,以生成并展示所述消息输入界面。
可选的,所述高级处理模块包括文档编辑模块。
可选的,还包括:
第一提供单元1304,当处于常规输入模式时,对所述消息输入界面内的已输入内容提供基础编辑功能;
第二提供单元1305,当处于全屏输入模式时,对所述消息输入界面内的已输入内容提供所述基础编辑功能和/或区别于所述基础编辑功能的扩展编辑功能。
可选的,还包括:
第一生成单元1306,当处于常规输入模式时,根据所述消息输入界面内的已输入内 容,生成常规格式的通讯消息;
第二生成单元1307,当处于全屏输入模式时,根据所述消息输入界面内的已输入内容,生成特殊格式的通讯消息。
可选的,所述特殊格式的通讯消息包括下述元素中至少之一:文字、图片、视频、音频、文档。
可选的,还包括:
第三展示单元1308,当处于全屏输入模式时,将已输入的文字和被选中的非文字元素展示于所述消息输入界面内;
编排单元1309,根据接收到的编排指令,对所述消息输入界面内的已输入内容进行编排。
图14是一示例性实施例提供的一种设备的示意结构图。请参考图14,在硬件层面,该设备包括处理器1402、内部总线1404、网络接口1406、内存1408以及非易失性存储器1410,当然还可能包括其他业务所需要的硬件。处理器1402从非易失性存储器1410中读取对应的计算机程序到内存1408中然后运行,在逻辑层面上形成消息展示装置。当然,除了软件实现方式之外,本说明书一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
请参考图15,在软件实施方式中,该消息展示装置可以包括:
获取单元1501,获取通讯会话产生的通讯消息;
第一调用单元1502,当所述通讯消息为常规格式的通讯消息时,调用常规处理模块对所述通讯消息进行解析;
第二调用单元1503,当所述通讯消息为特殊格式的通讯消息时,调用高级处理模块对所述通讯消息进行解析;
展示单元1504,在所述通讯会话对应的会话界面中,展示解析得到的消息内容。
可选的,
所述常规格式的通讯消息由发送方在常规输入模式下生成;
所述特殊格式的通讯消息由发送方在全屏输入模式下生成。
上述实施例阐明的***、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式 可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
在一个典型的配置中,计算机包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带、磁盘存储、量子存储器、基于石墨烯的存储介质或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
在本说明书一个或多个实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书 中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本说明书一个或多个实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
以上所述仅为本说明书一个或多个实施例的较佳实施例而已,并不用以限制本说明书一个或多个实施例,凡在本说明书一个或多个实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例保护的范围之内。
Claims (24)
- 一种消息输入方法,其特征在于,包括:展示通讯会话对应的会话界面;当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面;当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。
- 根据权利要求1所述的方法,其特征在于,所述消息输入界面在所述全屏输入模式下的第一规格大于在所述常规输入模式下的第二规格。
- 根据权利要求1所述的方法,其特征在于,在所述第二子区域展示消息输入界面,包括:调用常规处理模块,以生成并展示所述消息输入界面;在所述内容展示区域展示所述消息输入界面,包括:调用高级处理模块,以生成并展示所述消息输入界面。
- 根据权利要求3所述的方法,其特征在于,所述高级处理模块包括文档编辑模块。
- 根据权利要求1所述的方法,其特征在于,还包括:当处于常规输入模式时,对所述消息输入界面内的已输入内容提供基础编辑功能;当处于全屏输入模式时,对所述消息输入界面内的已输入内容提供所述基础编辑功能和/或区别于所述基础编辑功能的扩展编辑功能。
- 根据权利要求1所述的方法,其特征在于,还包括:当处于常规输入模式时,根据所述消息输入界面内的已输入内容,生成常规格式的通讯消息;当处于全屏输入模式时,根据所述消息输入界面内的已输入内容,生成特殊格式的通讯消息。
- 根据权利要求6所述的方法,其特征在于,所述特殊格式的通讯消息包括下述元素中至少之一:文字、图片、视频、音频、文档。
- 根据权利要求1所述的方法,其特征在于,还包括:当处于全屏输入模式时,将已输入的文字和被选中的非文字元素展示于所述消息输入界面内;根据接收到的编排指令,对所述消息输入界面内的已输入内容进行编排。
- 一种消息展示方法,其特征在于,包括:获取通讯会话产生的通讯消息;当所述通讯消息为常规格式的通讯消息时,调用常规处理模块对所述通讯消息进行解析;当所述通讯消息为特殊格式的通讯消息时,调用高级处理模块对所述通讯消息进行解析;在所述通讯会话对应的会话界面中,展示解析得到的消息内容。
- 根据权利要求9所述的方法,其特征在于,所述常规格式的通讯消息由发送方在常规输入模式下生成;所述特殊格式的通讯消息由发送方在全屏输入模式下生成。
- 一种消息输入装置,其特征在于,包括:界面展示单元,展示通讯会话对应的会话界面;第一展示单元,当处于常规输入模式时,在所述会话界面的内容展示区域的第一子区域展示通讯消息、第二子区域展示消息输入界面;第二展示单元,当处于全屏输入模式时,在所述内容展示区域展示所述消息输入界面。
- 根据权利要求11所述的装置,其特征在于,所述消息输入界面在所述全屏输入模式下的第一规格大于在所述常规输入模式下的第二规格。
- 根据权利要求11所述的装置,其特征在于,所述第一展示单元具体用于:调用常规处理模块,以生成并展示所述消息输入界面;所述第二展示单元具体用于:调用高级处理模块,以生成并展示所述消息输入界面。
- 根据权利要求13所述的装置,其特征在于,所述高级处理模块包括文档编辑模块。
- 根据权利要求11所述的装置,其特征在于,还包括:第一提供单元,当处于常规输入模式时,对所述消息输入界面内的已输入内容提供基础编辑功能;第二提供单元,当处于全屏输入模式时,对所述消息输入界面内的已输入内容提供所述基础编辑功能和/或区别于所述基础编辑功能的扩展编辑功能。
- 根据权利要求11所述的装置,其特征在于,还包括:第一生成单元,当处于常规输入模式时,根据所述消息输入界面内的已输入内容, 生成常规格式的通讯消息;第二生成单元,当处于全屏输入模式时,根据所述消息输入界面内的已输入内容,生成特殊格式的通讯消息。
- 根据权利要求16所述的装置,其特征在于,所述特殊格式的通讯消息包括下述元素中至少之一:文字、图片、视频、音频、文档。
- 根据权利要求11所述的装置,其特征在于,还包括:第三展示单元,当处于全屏输入模式时,将已输入的文字和被选中的非文字元素展示于所述消息输入界面内;编排单元,根据接收到的编排指令,对所述消息输入界面内的已输入内容进行编排。
- 一种消息展示装置,其特征在于,包括:获取单元,获取通讯会话产生的通讯消息;第一调用单元,当所述通讯消息为常规格式的通讯消息时,调用常规处理模块对所述通讯消息进行解析;第二调用单元,当所述通讯消息为特殊格式的通讯消息时,调用高级处理模块对所述通讯消息进行解析;展示单元,在所述通讯会话对应的会话界面中,展示解析得到的消息内容。
- 根据权利要求19所述的装置,其特征在于,所述常规格式的通讯消息由发送方在常规输入模式下生成;所述特殊格式的通讯消息由发送方在全屏输入模式下生成。
- 一种电子设备,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器通过运行所述可执行指令以实现如权利要求1-8中任一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现如权利要求1-8中任一项所述方法的步骤。
- 一种电子设备,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器通过运行所述可执行指令以实现如权利要求9-10中任一项所述 的方法。
- 一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现如权利要求9-10中任一项所述方法的步骤。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SG11202110251VA SG11202110251VA (en) | 2019-03-18 | 2020-03-10 | Message input and display method and apparatus, electronic device and readable storage medium |
US17/477,586 US11361145B2 (en) | 2019-03-18 | 2021-09-17 | Message input and display method and apparatus, electronic device and readable storage medium |
US17/825,819 US11657214B2 (en) | 2019-03-18 | 2022-05-26 | Message input and display method and apparatus, electronic device and readable storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910204530.0 | 2019-03-18 | ||
CN201910204530.0A CN111722764B (zh) | 2019-03-18 | 2019-03-18 | 消息输入及展示方法、装置、电子设备、可读存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/477,586 Continuation US11361145B2 (en) | 2019-03-18 | 2021-09-17 | Message input and display method and apparatus, electronic device and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020187085A1 true WO2020187085A1 (zh) | 2020-09-24 |
Family
ID=72519680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/078526 WO2020187085A1 (zh) | 2019-03-18 | 2020-03-10 | 消息输入及展示方法、装置、电子设备、可读存储介质 |
Country Status (4)
Country | Link |
---|---|
US (2) | US11361145B2 (zh) |
CN (1) | CN111722764B (zh) |
SG (1) | SG11202110251VA (zh) |
WO (1) | WO2020187085A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114356163A (zh) * | 2022-01-06 | 2022-04-15 | 青海省第三地质勘查院 | 一种数据操作页面的显示方法、装置及存储介质 |
CN115622969A (zh) * | 2022-09-22 | 2023-01-17 | 维沃移动通信有限公司 | 消息处理方法、装置、电子设备及介质 |
CN115514730A (zh) * | 2022-09-30 | 2022-12-23 | 网易(杭州)网络有限公司 | 信息处理的方法、信息处理的装置、介质及设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100171753A1 (en) * | 2009-01-05 | 2010-07-08 | Samsung Electronics Co. Ltd. | Apparatus and method for controlling display of an electronic device |
CN102750106A (zh) * | 2012-07-02 | 2012-10-24 | 安徽科大讯飞信息科技股份有限公司 | 全屏手写识别输入方法及*** |
CN102830977A (zh) * | 2012-08-21 | 2012-12-19 | 上海量明科技发展有限公司 | 即时通信录制中添加***型数据的方法、客户端及*** |
US20130275519A1 (en) * | 2012-04-13 | 2013-10-17 | United Video Properties, Inc. | Systems and methods for automatically responding to a message about unviewed content |
CN105242924A (zh) * | 2015-09-25 | 2016-01-13 | 联想(北京)有限公司 | 控制方法及应用所述控制方法的电子设备 |
Family Cites Families (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6155724A (ja) * | 1984-08-28 | 1986-03-20 | Fujitsu Ltd | フルスクリ−ン一括入力方式 |
US7036083B1 (en) * | 1999-12-14 | 2006-04-25 | Microsoft Corporation | Multimode interactive television chat |
CA2387936A1 (en) | 2002-05-29 | 2003-11-29 | Ibm Canada Limited-Ibm Canada Limitee | Menu user interface with size differentiation between enabled and disabled menu items |
US7185285B2 (en) * | 2003-02-19 | 2007-02-27 | Microsoft Corporation | User interface and content enhancements for real-time communication |
US20040233146A1 (en) | 2003-05-21 | 2004-11-25 | Nguyen Don J. | Selective window display |
US8874644B2 (en) | 2003-12-03 | 2014-10-28 | International Business Machines Corporation | Method, system, chat interface, and computer program product for comparing free time between instant message chat members |
EP1898612A1 (en) | 2004-01-19 | 2008-03-12 | Sharp Kabushiki Kaisha | Display of images and menu icons in a portable communication terminal |
US9819624B2 (en) * | 2004-03-31 | 2017-11-14 | Google Inc. | Displaying conversations in a conversation-based email system |
US7614011B2 (en) | 2004-10-21 | 2009-11-03 | International Business Machines Corporation | Apparatus and method for display power saving |
US7721315B2 (en) | 2004-12-17 | 2010-05-18 | Vibe Solutions Group, Inc. | Method and system for on-demand delivery of personalized internet-based content to television viewers |
US20060248150A1 (en) | 2005-04-29 | 2006-11-02 | International Business Machines Corporation | Methods and apparatus for managing and distinguishing instant messaging sessions and threads |
US9304675B2 (en) * | 2006-09-06 | 2016-04-05 | Apple Inc. | Portable electronic device for instant messaging |
US20080109752A1 (en) * | 2006-11-07 | 2008-05-08 | Yahoo! Inc. | Expanding search query input box to support livesearch interaction |
US8560724B2 (en) | 2007-03-01 | 2013-10-15 | Blackberry Limited | System and method for transformation of syndicated content for mobile delivery |
US9954996B2 (en) * | 2007-06-28 | 2018-04-24 | Apple Inc. | Portable electronic device with conversation management for incoming instant messages |
US8127254B2 (en) | 2007-06-29 | 2012-02-28 | Nokia Corporation | Unlocking a touch screen device |
US9690474B2 (en) * | 2007-12-21 | 2017-06-27 | Nokia Technologies Oy | User interface, device and method for providing an improved text input |
US8407603B2 (en) * | 2008-01-06 | 2013-03-26 | Apple Inc. | Portable electronic device for instant messaging multiple recipients |
US8358909B2 (en) | 2008-02-26 | 2013-01-22 | Microsoft Corporation | Coordinated output of messages and content |
US20090273568A1 (en) | 2008-05-01 | 2009-11-05 | John Groves Milner | Information management and display system |
US8339429B2 (en) | 2008-07-24 | 2012-12-25 | International Business Machines Corporation | Display monitor electric power consumption optimization |
US8909810B2 (en) | 2008-08-05 | 2014-12-09 | Isabella Products, Inc. | Systems and methods for multimedia content sharing |
US8463075B2 (en) * | 2010-08-11 | 2013-06-11 | International Business Machines Corporation | Dynamically resizing text area on a display device |
US9170706B2 (en) * | 2011-05-12 | 2015-10-27 | Microsoft Technology Licensing, Llc | Query box polymorphism |
CN103092456B (zh) * | 2011-10-31 | 2015-11-25 | 国际商业机器公司 | 一种文本框输入方法和*** |
US20130305144A1 (en) | 2012-05-09 | 2013-11-14 | Ni Group Limited | Method of Publishing Digital Content |
US20140201659A1 (en) * | 2013-01-11 | 2014-07-17 | International Business Machines Corporation | Method and system for providing a twisty user interface element |
US20150304251A1 (en) | 2014-04-17 | 2015-10-22 | Tictoc Planet, Inc. | Direct Manipulation of Object Size in User Interface |
US10289662B2 (en) * | 2014-05-01 | 2019-05-14 | Blackberry Limited | Communication device and method for receipt and presentation of input and feedback |
CN106201161B (zh) | 2014-09-23 | 2021-09-03 | 北京三星通信技术研究有限公司 | 电子设备的显示方法及*** |
US20160246466A1 (en) * | 2015-02-23 | 2016-08-25 | Nuance Communications, Inc. | Transparent full-screen text entry interface |
CN105607800A (zh) * | 2015-12-17 | 2016-05-25 | 广东欧珀移动通信有限公司 | 一种终端屏幕输入显示的方法及装置 |
US10983689B2 (en) * | 2016-05-18 | 2021-04-20 | Apple Inc. | Devices, methods, and graphical user interfaces for messaging |
CN108173738B (zh) * | 2016-12-08 | 2021-07-06 | 阿里巴巴集团控股有限公司 | 展示方法及装置 |
CN109085965B (zh) * | 2018-07-19 | 2019-09-06 | 掌阅科技股份有限公司 | 笔记生成方法、电子设备及计算机存储介质 |
CN109460180B (zh) * | 2018-11-01 | 2022-05-31 | 联想(北京)有限公司 | 控制方法和电子设备 |
US11194467B2 (en) * | 2019-06-01 | 2021-12-07 | Apple Inc. | Keyboard management user interfaces |
-
2019
- 2019-03-18 CN CN201910204530.0A patent/CN111722764B/zh active Active
-
2020
- 2020-03-10 WO PCT/CN2020/078526 patent/WO2020187085A1/zh active Application Filing
- 2020-03-10 SG SG11202110251VA patent/SG11202110251VA/en unknown
-
2021
- 2021-09-17 US US17/477,586 patent/US11361145B2/en active Active
-
2022
- 2022-05-26 US US17/825,819 patent/US11657214B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100171753A1 (en) * | 2009-01-05 | 2010-07-08 | Samsung Electronics Co. Ltd. | Apparatus and method for controlling display of an electronic device |
US20130275519A1 (en) * | 2012-04-13 | 2013-10-17 | United Video Properties, Inc. | Systems and methods for automatically responding to a message about unviewed content |
CN102750106A (zh) * | 2012-07-02 | 2012-10-24 | 安徽科大讯飞信息科技股份有限公司 | 全屏手写识别输入方法及*** |
CN102830977A (zh) * | 2012-08-21 | 2012-12-19 | 上海量明科技发展有限公司 | 即时通信录制中添加***型数据的方法、客户端及*** |
CN105242924A (zh) * | 2015-09-25 | 2016-01-13 | 联想(北京)有限公司 | 控制方法及应用所述控制方法的电子设备 |
Also Published As
Publication number | Publication date |
---|---|
US20220292252A1 (en) | 2022-09-15 |
CN111722764B (zh) | 2024-07-12 |
US11361145B2 (en) | 2022-06-14 |
SG11202110251VA (en) | 2021-10-28 |
US20220004696A1 (en) | 2022-01-06 |
US11657214B2 (en) | 2023-05-23 |
CN111722764A (zh) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220407833A1 (en) | Display method and device | |
US10439972B1 (en) | Apparatus and method for maintaining a message thread with opt-in permanence for entries | |
CN109905314B (zh) | 通讯方法及装置 | |
CN114629865B (zh) | 与动态扩展应用程序交互的即时消息*** | |
WO2020187085A1 (zh) | 消息输入及展示方法、装置、电子设备、可读存储介质 | |
EP2584770B1 (en) | Electronic device and method for reply message composition | |
EP2699029B1 (en) | Method and device for providing a message function | |
US9792015B2 (en) | Providing visualizations for conversations | |
CN109005098B (zh) | 任务提醒方法及装置、提醒消息的生成和展示方法及装置 | |
CN106375191B (zh) | 新闻订阅源技术 | |
WO2022152191A1 (zh) | 消息展示方法及装置 | |
CN108173738A (zh) | 展示方法及装置 | |
WO2018171453A1 (zh) | 通讯方法及装置 | |
US20170083211A1 (en) | Focused attention in documents and communications | |
WO2019062586A1 (zh) | 会议信息的显示方法及装置 | |
CN112838976B (zh) | 消息处理方法及装置 | |
US10616152B2 (en) | Avoiding message conflict | |
US20160165128A1 (en) | Capturing and sending images and videos based on a single user interaction with a user interface element | |
US11294557B2 (en) | Team configuration method, and method and apparatus for sharing team configuration solution | |
WO2023040845A1 (zh) | 消息发送方法、装置及电子设备 | |
US20200162267A1 (en) | Signature generating method, and signature template sharing method and device | |
US20160164809A1 (en) | Identifying and selecting contacts to include in a face tray of a messaging application | |
WO2023083172A1 (zh) | 表情处理方法、装置、电子设备、存储介质和产品 | |
WO2024131730A1 (zh) | 消息和信息处理方法、装置、电子设备、存储介质及程序产品 | |
WO2023200397A2 (zh) | 消息处理方法、装置、电子设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20772574 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20772574 Country of ref document: EP Kind code of ref document: A1 |