CN112578916A - Information processing method and system - Google Patents

Information processing method and system Download PDF

Info

Publication number
CN112578916A
CN112578916A CN201910932894.0A CN201910932894A CN112578916A CN 112578916 A CN112578916 A CN 112578916A CN 201910932894 A CN201910932894 A CN 201910932894A CN 112578916 A CN112578916 A CN 112578916A
Authority
CN
China
Prior art keywords
background
input information
selection instruction
information
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910932894.0A
Other languages
Chinese (zh)
Other versions
CN112578916B (en
Inventor
梁启龙
马小捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201910932894.0A priority Critical patent/CN112578916B/en
Publication of CN112578916A publication Critical patent/CN112578916A/en
Application granted granted Critical
Publication of CN112578916B publication Critical patent/CN112578916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an information method and system. One embodiment of the method comprises: acquiring input information input by a user in an input frame of an interface of the instant messaging application, and displaying the input information of a current line by using the maximum available font size; in response to receiving the font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving the background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; and responding to the received information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a corresponding receiver. The implementation mode takes pictures, color backgrounds or videos as the input information backgrounds, enriches the message display styles, and makes the message display diversified and more interesting.

Description

Information processing method and system
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an information processing method and system.
Background
With the development of communication technology, people are more and more accustomed to using Instant Messaging (Instant Messaging) software to communicate with people. In the prior art, the background of the text information sent through the conversation window of the instant messaging software is white, and the text information is generally displayed by using the font size with the same size.
Disclosure of Invention
The embodiment of the application provides an information processing method and system.
In a first aspect, an embodiment of the present application provides an information processing method, including: acquiring input information input by a user in an input frame of an interface of an instant messaging application, and displaying the input information of a current row by using a maximum available font size, wherein the input information comprises at least one row of information, the maximum available font size is determined based on the display width upper limit of the current row and the input information amount of the current row, and the current row is a row currently operated by the user; in response to receiving the font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving the background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; and responding to the received information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a corresponding receiver.
In some embodiments, the above, in response to receiving the context selection instruction, using the context indicated by the context selection instruction as the context for presenting the input information includes: and responding to a background selection instruction of a user, acquiring a background, adjusting the size of the background according to the input information of the current line displayed by the maximum available font size, and taking the background after size adjustment as the background for presenting the input information.
In some embodiments, the background indicated by the background selection instruction is a picture or a video; the above, in response to receiving the background selection instruction, using the background indicated by the background selection instruction as the background for presenting the input information, includes: and in response to receiving the background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, cutting the background indicated by the background selection instruction according to the screen size and the input information of the current line displayed with the largest available font size, and taking the cut background as the background for presenting the input information.
In some embodiments, the background indicated by the background selection instruction is a picture or a video; the above, in response to receiving the background selection instruction, using the background indicated by the background selection instruction as the background for presenting the input information, includes: and in response to receiving the background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, zooming the background by using the background indicated by the background selection instruction and the input information of the current line displayed with the largest available font size according to the screen size, and taking the zoomed background as the background for presenting the input information.
In some embodiments, the background indicated by the background selection instruction is a picture or a video; the above, in response to receiving the background selection instruction, using the background indicated by the background selection instruction as the background for presenting the input information, includes: and in response to receiving the background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, splicing the background indicated by the background selection instruction with the input information of the current line displayed in the largest available font size according to the screen size, and taking the spliced background as the background for presenting the input information.
In some embodiments, the upper limit of the display width of the current line is the upper limit of the line display width of the input box; or, the display width upper limit of the current line is the preset width upper limit of the current line, and the preset width upper limit of the current line is different from the preset width upper limit of at least one other line in the input information.
In some embodiments, the displaying the information in the current input line with the maximum available font size includes: and searching the maximum available word size corresponding to the current line from the candidate word sizes every time the input information input by the user in the input box is detected, and displaying the input information of the current line by using the searched maximum available word size.
In some embodiments, the generating the updated input information as an instant message in response to receiving the information sending operation of the user, and sending the instant message to the corresponding recipient includes: generating a corresponding static picture or dynamic picture according to the instant message; and sending the static pictures or the dynamic pictures to corresponding receivers.
In a second aspect, an embodiment of the present application provides an information processing apparatus, including: the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is configured to be used for acquiring input information input by a user in an input frame of an interface of an instant messaging application and displaying the input information of a current line by using a maximum available font size, the input information comprises at least one line of information, the maximum available font size is determined based on the display width upper limit of the current line and the input information amount of the current line, and the current line is a line currently operated by the user; a background selection unit configured to display the input information in a font style indicated by the font selection instruction in response to receiving the font selection instruction, and/or to take a background indicated by the background selection instruction as a background for presenting the input information and take the background and the input information as updated input information in response to receiving the background selection instruction; the background is a color background, a picture or a video; and the sending unit is configured to respond to the received information sending operation of the user, generate the updated input information into the instant message and send the instant message to the corresponding receiver.
In a third aspect, an embodiment of the present application provides an information processing system, where the system includes: the terminal comprises a first terminal, a second terminal and a third terminal, wherein the first terminal is used for acquiring input information input by a user in an input frame of an interface of an instant messaging application and displaying the input information of a current line by using a maximum available character size, the input information comprises at least one line of information, the maximum available character size is determined based on the display width upper limit of the current line and the input information amount of the current line, and the current line is a line currently operated by the user; in response to receiving the font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving the background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; in response to receiving the information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to the server; and the second terminal is used for receiving and displaying the instant message sent by the server.
In some embodiments, the generating the updated input information into an instant message in response to receiving the information sending operation of the user, and sending the instant message to the server includes: generating a corresponding static picture or dynamic picture according to the instant message; sending the static pictures or the dynamic pictures to a server; the receiving and displaying of the instant message sent by the server includes: and receiving and displaying the static pictures or the dynamic pictures sent by the server.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, where the program, when executed by a processor, implements the method according to any one of the embodiments of the first aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement a method as in any embodiment of the first aspect.
The information processing method and the information processing system provided by the embodiment of the application acquire input information input by a user in an input middle frame of an instant messaging application interface, and display the input information of a current line by using a maximum available character size, wherein the maximum available character size is determined based on the display width upper limit of the current line and the input information amount of the current line, and the current line is a line currently operated by the user; in response to receiving the font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving the background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; and responding to the received information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a corresponding receiver. The picture, the color background or the video is used as the display background of the input information, thereby enriching the message display style, and leading the message display to be diversified and more interesting.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of an information processing method according to the present application;
fig. 3 is a schematic diagram of an application scenario of the information processing method according to the present embodiment;
FIG. 4 is a flow diagram of yet another embodiment of an information processing method according to the present application;
FIG. 5 is a block diagram of one embodiment of an information handling system according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use with the computer device of some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In a typical configuration of the present application, each of the terminal device and the server device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memories. 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, which include both non-transitory and non-transitory, removable and non-removable media, may implement the 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 tape, magnetic disk storage 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, computer readable media does not include non-transitory computer readable media (transmyedia), such as modulated data signals and carrier waves.
Fig. 1 shows an exemplary architecture 100 to which the information processing method and information processing system of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The users may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send instant messages or the like. Various communication client applications, such as instant messaging tools, social platform software, etc., may be installed on the terminal devices 101, 102, 103. The terminal devices 101, 102, and 103 may serve as a receiving end of instant messaging and a sending end of instant messaging. Such as users A, B, communicate over the internet through instant messaging applications on respective terminal devices. The user A inputs the instant message through the terminal equipment of the user A and sends the instant message to the terminal equipment used by the user B through the server side in real time, at the moment, the terminal equipment used by the user A is used as a sending end of the instant messaging, and the terminal equipment used by the user B is used as a receiving end of the instant messaging. After reading the instant message sent by the user A, the user B edits the instant message and replies the message of the user A, and sends the edited instant message to the terminal equipment of the user A, at the moment, the terminal equipment used by the user B is used as a sending end of the instant communication, and the terminal equipment used by the user A is used as a receiving end of the instant communication.
The terminal devices 101, 102, 103 may be hardware devices or software that support network connectivity to provide various network services. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices supporting information interaction or instant messaging functions, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as a plurality of software or software modules for providing instant messaging services, for example, or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for communication applications on the terminal devices 101, 102, 103. The background server can receive the interactive information of the terminal equipment as the sender and send the interactive information to the terminal equipment of the receiver.
It should be noted that the server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices and servers in fig. 1 is merely illustrative. There may be any number of terminal devices and servers, as desired for implementation.
With continuing reference to FIG. 2, a flow 200 of one embodiment of an information processing method according to the present application is shown, the information processing method comprising the steps of:
step 201, obtaining the input information input by the user in the input box of the interface of the instant messaging application, and displaying the input information of the current line with the maximum available font size.
In this embodiment, the input box may be understood as an area presented in an interface of the instant messaging application on the screen of the execution subject for the user to input information. In addition, during the process of information input, the content presented in the input box changes, so that the user can know the input content.
The input information may include one or more lines of information input into the input box by the user. Here, it is understood that the input information acquired by the execution subject (e.g., the terminal device in fig. 1) of the information processing method may include, but is not limited to: the character information (including Chinese, English and other languages and characters with various styles and colors); emoji information (e.g., emoji, etc.); picture information (e.g., two-dimensional codes, etc.); geographical location information, etc.
The execution main body of the embodiment acquires input information input by a user in an input box of an interface of the instant messaging application in real time, and displays the input information of the current line by using the maximum available font size, wherein the maximum available font size is determined based on the upper limit of the display width of the current line and the input information amount of the current line. Here, the input information amount may be understood as the number of characters of information that the user desires to input on the current line. The information herein may include, but is not limited to, text, expressions, numbers, and the like. Further, it can be appreciated that the current row is the row currently operated by the user.
In this embodiment, the upper limit of the display width of the current line is the upper limit of the line display width of the input frame. Or, the display width upper limit of the current line is the preset width upper limit of the current line, and the preset width upper limit of the current line is different from the preset width upper limit of at least one other line in the input information. Therefore, the line display widths of the instant messages are different, the message display styles are enriched, and the message display is diversified. The total display width of the information in the current input row (such as the row where the cursor is located) is less than or equal to the display width of the input row; and displaying the input information of the current line by the maximum available font size under the condition that the display width of the input line is not exceeded.
In this embodiment, the execution main body displays the input information of the current line in the maximum available font size, searches the maximum available font size corresponding to the current line from the plurality of candidate font sizes each time the input information input in the input box by the user is detected, and displays the input information of the current line in the searched maximum available font size. The execution main body of the embodiment displays the information in the current input line with the corresponding maximum available font size according to the input information amount in the current input line, and the maximum available font size decreases with the increase of the input information amount in the current input line or increases with the decrease of the input information amount in the current input line.
For example, in the case where the total display width of the information in the current input line does not exceed the line display width of the input line, the maximum available font size decreases as the amount of input information in the current input line increases, and increases as the amount of input information in the current input line decreases.
In this embodiment, the execution main body determines the maximum available font size corresponding to the current input line from a plurality of candidate font sizes according to the input information amount in the current input line; and displaying the information in the current input line according to the maximum available word size corresponding to the current input line, wherein the total display width of the information in the current input line is less than or equal to the line display width of the input box.
For example, the input information amount of "mom says" in the first row of the input box is 3, assuming that the plurality of candidate word sizes include twenty word sizes with increasing sizes, such as No. 1, No. 2, No. 3, No. … 20, if the 15 word size is selected, the total display width of "mom says" is less than or equal to the row display width of the input box, and if the 16 word size is selected, the total display width of "mom says" is greater than the row display width of the input box, the 15 word size is determined as the maximum available word size corresponding to the current input row, and the information in the current input row is displayed with the 15 word size for the user to preview.
In some optional implementations of this embodiment, the first terminal iteratively searches for a maximum available font size corresponding to the current input line from the multiple candidate font sizes; and displaying the information in the current input line by using the maximum available font size corresponding to the current input line, wherein the total display width of the information in the current input line is less than or equal to the line display width of the input box.
For example, in the above example, it is assumed that the candidate word sizes include twenty increasing-sized word sizes, such as # 1, # 2, # 3, and # … 20. The iterative search mode comprises the following steps: if the number 10 is available, checking whether the number 11 is available; if the No. 11 character number is unavailable, determining the No. 10 character number as the maximum available character number corresponding to the current input line; if the number 11 word number is available, continuously checking whether the number 12 word number is available until determining the maximum available word number corresponding to the current input line. And judging whether the candidate character size is available or not according to the fact that the total display width of the information in the current input line is smaller than or equal to the line display width of the input box.
In this embodiment, iteratively searching for the maximum available font size corresponding to the current input line from the multiple candidate font sizes includes: when the input information amount in the current input line is increased, the maximum available word size corresponding to the current input line is searched downward in an iterative mode from a plurality of candidate word sizes on the basis of the original display word size of the current input line; or, when the input information amount in the current input line is reduced, the maximum available word size corresponding to the current input line is searched from the plurality of candidate word sizes in an upward iteration mode on the basis of the original display word size of the current input line.
For example, in the above example, it is assumed that the candidate word sizes include twenty increasing-sized word sizes, such as # 1, # 2, # 3, and # … 20. Assuming that the original display character size is the 10-size character size, when a user adds input information in the current input line, namely the input information amount in the current input line is increased, sequentially carrying out downward iterative search according to the sequence of 10-size, 9-size and 8-size … until the maximum available character size corresponding to the current input line is determined; and when the input information is reduced in the current input line by the user, namely the input information amount in the current input line is reduced, sequentially and upwardly iteratively searching according to the sequence of No. 10, No. 11 and No. 12 … until the maximum available character size corresponding to the current input line is determined.
Step 202, in response to receiving the font selection instruction, displaying the input information in the font style indicated by the font selection instruction, and/or, in response to receiving the background selection instruction, using the background indicated by the background selection instruction as the background for presenting the input information, and using the background and the input information as the updated input information.
In this embodiment, the background selection instruction and the font selection instruction of the user may be implemented in a human-computer interaction manner currently or to be developed in the future. These human-computer interaction means include, but are not limited to: shaking the terminal, clicking on a virtual button (e.g., a virtual button displayed on a display screen), clicking on a physical button, gesture recognition, voice recognition, or other human-machine interaction means developed in the future. Taking gesture recognition as an example, the camera of the execution main body in this embodiment acquires gesture information of the user, and compares the gesture information with a predefined operation gesture corresponding to the background selection instruction or the font selection instruction. And submitting the background selection instruction or the font selection instruction if the user gesture is identified as the operation gesture corresponding to the background selection instruction or the font selection instruction.
In this embodiment, the font style may be all font styles applied in the field of computers, including but not limited to: regular script, Song and black body.
In this embodiment, the background includes, but is not limited to, a colored background, a picture, or a video. The color background can be a single color background or a color background of a combination of colors. The pictures include, but are not limited to, character pictures, animal pictures, game pictures, cartoon pictures, and landscape pictures, and may be dynamic pictures or static pictures based on the above picture categories, and support JPEG (Joint Photographic Experts Group), TIFF (Tag Image File Format), BMP (Bitmap), PNG (Portable Network Graphic Format), GIF (Graphics Interchange Format), and other picture File formats. Videos include, but are not limited to, movie dramas, self-portrait videos, live videos; video file formats in existing or future technologies such as rm (Real Media, multimedia container format), rmvb (Real Media Variable Bitrate multimedia container format), mov (Movie digital video technology, file format for digital cinema video technology), and the like are supported.
In this embodiment, for the sake of the aesthetic appearance and viewing comfort of the instant message, the size of the background may be adjusted according to the input information that displays the current line with the largest available font size, so that the background is adapted to the input information. In some optional embodiments of this embodiment, when the selected background is a picture or a video, a part of the picture or the video may be selected as the background by clipping the selected background; the selected background can be zoomed to be used as the background; the selected multiple pictures or video screens can also be used as the background of the input information in a splicing manner, which includes but is not limited to left-right splicing or up-down splicing of multiple pictures or videos.
In some optional embodiments of the present embodiment, in order to increase the interest of the communication, a background with contents corresponding to or distinct from the input information may be selected. For example, a scene picture corresponding to the content of the input information is selected as the background of the input information.
In this embodiment, the color background, the picture or the video serving as the background may be a background stored locally in the execution subject (for example, the terminal device in fig. 1) of this embodiment, or may be a background browsed by the user in the network. In some optional embodiments of this embodiment, a background library is created, and a user may autonomously select a background stored in the execution subject of this embodiment and add the background to the background library. For various files in the network that can be used as a background, the user can download them locally and then add them to the background library. Therefore, the diversity of the user background selection is increased, and the interestingness is increased.
Step 203, in response to receiving the information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a corresponding receiver.
In this embodiment, the information sending operation of the user may be submitted in a man-machine interaction manner in the prior art or a future developed technology. These human-computer interaction means include, but are not limited to: shaking the terminal, clicking on a virtual button (e.g., a virtual button displayed on a display screen), clicking on a physical button, gesture recognition, voice recognition, or other human-machine interaction means developed in the future. Taking gesture recognition as an example, the camera of the execution main body in this embodiment acquires gesture information of the user, and compares the gesture information with a predefined operation gesture corresponding to the sending operation. And submitting the sending operation if the user gesture is recognized as an operation gesture corresponding to the sending operation.
In this embodiment, the instant message includes: user's input information, background information, each row of input information in the input information is displayed with the maximum available font size when presented. The corresponding recipients include one or more recipients participating in the session to which the input information corresponds, or include one or more recipients in a user-specified session. The session may be a single session of one-to-one conversation between users, or a group session in a group chat.
In this embodiment, the instant message determines the maximum available font size to display based on the upper limit of the display width of the current line and the input information amount of the current line, and the line display widths of different input lines are different; the user can freely select pictures, color backgrounds or videos as the backgrounds of the input information and can edit the backgrounds; therefore, the message display style is enriched, and the message display is diversified; the interest of communication is increased.
With continued reference to fig. 3, one application scenario of the information processing method according to the present embodiment is schematically shown. The user inputs "mom say" in the input box 301 of the instant messaging application, the input information amount of the user is 3, and the execution main body (for example, the terminal device in fig. 1) in the embodiment selects "mom say" with the maximum display word size of 15 "according to the input information amount of" mom say "and the preset row display width of the current row. Next, the user performs a line feed operation, and "mom say" displayed in a font of No. 15 is displayed in the display frame. Next, the user inputs two sets of input information, namely "remember to wear" and "fall pants" in the input box, and the two sets of input information are displayed in the corresponding maximum character sizes. Then, the user selects a picture 302 as the background of the input information in the background library, the picture 302 is an image of a person standing in the cold wind for sedge trembling, and the task is to wear autumn trousers. The content of the picture 302 corresponds to the input information, and the communication interest is increased. Then, in response to receiving the information sending operation of the user, the execution main body (for example, the terminal device in fig. 1) of the embodiment generates the updated input information as an instant message, and sends the instant message to the corresponding recipient.
With continuing reference to FIG. 4, an illustrative flow 400 is shown in accordance with another embodiment of the present application as applied to an information processing method comprising the steps of:
step 401, obtaining input information input by a user in an input box of an interface of the instant messaging application, and displaying the input information of a current line by using a maximum available font size.
In this embodiment, step 401 is performed in a manner similar to step 201, and is not described herein again.
Step 402, in response to receiving the font selection instruction, displaying the input information in the font style indicated by the font selection instruction, and/or, in response to receiving the background selection instruction, using the background indicated by the background selection instruction as the background for presenting the input information, and using the background and the input information as the updated input information.
In this embodiment, step 402 is performed in a manner similar to step 202, and is not described herein again.
Step 403: and responding to the received information sending operation of the user, generating the updated input information into an instant message, generating a corresponding static picture or dynamic picture according to the instant message, and sending the static picture or dynamic picture to a corresponding receiver.
In this embodiment, the execution main body of this embodiment generates a corresponding still picture for the instant information of which the background is a color background and a still picture, generates a corresponding dynamic picture for the instant information of which the background is a dynamic picture and a video, and sends the generated still picture or dynamic picture to a corresponding receiving party.
In this embodiment, the protection of the instant message of the user is highlighted, and the recipient user can only accept and display the static picture or the dynamic picture corresponding to the instant message, but cannot change the static picture or the dynamic picture. Therefore, the receiver needs to make a new static picture or dynamic picture, and the making scale of the static picture or dynamic picture corresponding to the instant message during communication of the user can be stimulated.
With continued reference to FIG. 5, one embodiment 500 of an information handling system according to the present application is shown, the information handling system comprising a first terminal 501, a server 502, and a second terminal 503. It should be noted that the first terminal and the second terminal are not specific to one or more terminal devices, but are specific to a sending end and a receiving end of information.
The first terminal 501 is configured to obtain input information input by a user in an input box of an interface of an instant messaging application, and display the input information of a current line with a maximum available font size, where the input information includes at least one line of information, the maximum available font size is determined based on an upper limit of a display width of the current line and an amount of input information of the current line, and the current line is a line currently operated by the user; in response to receiving the font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving the background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; in response to receiving the information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to the server 502; the second terminal 503 is used for receiving and displaying the instant message sent by the server 502.
In some embodiments, the first terminal 501 is further configured to generate a corresponding static picture or dynamic picture according to the instant message; sending the static picture or the dynamic picture to the server 502; the second terminal 503 is used for receiving and displaying the still picture or the moving picture sent by the server.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing devices of embodiments of the present application (e.g., devices 101, 102, 103, 105 shown in FIG. 1). The apparatus shown in fig. 6 is only an example, and should not bring any limitation to the function and use range of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a processor (e.g., CPU, central processing unit) 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The processor 601, the ROM602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the method of the present application.
It should be noted that the computer readable medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a background selection unit, and a transmission unit. The names of the units do not form a limitation on the units themselves in some cases, for example, the acquiring unit may be further described as a unit for acquiring input information input by a user in an input box of an interface of an instant messaging application and displaying the input information of a current line with a maximum available font size.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the computer device to: acquiring input information input by a user in an input frame of an interface of an instant messaging application, and displaying the input information of a current row by using a maximum available font size, wherein the input information comprises at least one row of information, the maximum available font size is determined based on the display width upper limit of the current row and the input information amount of the current row, and the current row is a row currently operated by the user; in response to receiving the font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving the background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; and responding to the received information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a corresponding receiver.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. An information processing method characterized by comprising:
acquiring input information input by a user in an input frame of an interface of an instant messaging application, and displaying the input information of a current line by using a maximum available font size, wherein the input information comprises at least one line of information, the maximum available font size is determined based on the display width upper limit of the current line and the input information amount of the current line, and the current line is a line currently operated by the user;
in response to receiving a font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving a background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information, wherein the background is a color background, a picture or a video;
and responding to the received information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a corresponding receiver.
2. The method of claim 1, wherein the, in response to receiving a context selection instruction, regarding a context indicated by the context selection instruction as a context for presenting the input information, comprises:
and responding to a background selection instruction of the user, acquiring the background, adjusting the size of the background according to the input information of the current line displayed by the maximum available font size, and taking the background after size adjustment as the background for presenting the input information.
3. The method of claim 1, wherein the background indicated by the background selection instruction is a picture or a video;
the responding to the received background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, comprising:
and in response to receiving a background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, cutting the background indicated by the background selection instruction according to the screen size and the input information of the current line displayed with the maximum available font size, and taking the cut background as the background for presenting the input information.
4. The method of claim 1, wherein the background indicated by the background selection instruction is a picture or a video;
the responding to the received background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, comprising:
and in response to receiving a background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, zooming the background indicated by the background selection instruction according to the screen size and the input information of the current line displayed by the maximum available font size, and taking the zoomed background as the background for presenting the input information.
5. The method of claim 1, wherein the background indicated by the background selection instruction is a picture or a video;
the responding to the received background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, comprising:
and in response to receiving a background selection instruction, taking the background indicated by the background selection instruction as the background for presenting the input information, splicing the background indicated by the background selection instruction according to the screen size and the input information of the current line displayed by the maximum available font size, and taking the spliced background as the background for presenting the input information.
6. The method of claim 1, wherein the display width upper limit of the current row is a row display width upper limit of the input box; or, the display width upper limit of the current line is a preset width upper limit of the current line, and the preset width upper limit of the current line is different from the preset width upper limit of at least one other line in the input information.
7. The method of claim 1, wherein said displaying information in a current input line with a maximum available font size comprises:
and searching the maximum available word size corresponding to the current line from a plurality of candidate word sizes every time the input information input by the user in the input box is detected, and displaying the input information of the current line by using the searched maximum available word size.
8. The method of any of claims 1-7, wherein generating the updated input information as an instant message and sending the instant message to a corresponding recipient in response to receiving the user's information sending operation comprises:
generating a corresponding static picture or dynamic picture according to the instant message;
and sending the generated static picture or dynamic picture to a corresponding receiver.
9. An information processing system, wherein the system comprises:
the terminal comprises a first terminal, a second terminal and a third terminal, wherein the first terminal is used for acquiring input information input by a user in an input frame of an interface of an instant messaging application and displaying the input information of a current line by using a maximum available font size, the input information comprises at least one line of information, the maximum available font size is determined based on the display width upper limit of the current line and the input information amount of the current line, and the current line is a line currently operated by the user; in response to receiving a font selection instruction, displaying the input information in a font style indicated by the font selection instruction, and/or in response to receiving a background selection instruction, taking a background indicated by the background selection instruction as a background for presenting the input information, and taking the background and the input information as updated input information; the background is a color background, a picture or a video; in response to receiving the information sending operation of the user, generating the updated input information into an instant message, and sending the instant message to a server;
and the second terminal is used for receiving and displaying the instant message sent by the server.
10. The system of claim 9, wherein the generating the updated input information as an instant message and sending the instant message to a server in response to receiving the user's information sending operation comprises:
generating a corresponding static picture or dynamic picture according to the instant message; sending the static pictures or the dynamic pictures to a server;
the receiving and displaying the instant message sent by the server includes:
and receiving and displaying the static pictures or the dynamic pictures sent by the server.
11. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-8.
12. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
CN201910932894.0A 2019-09-29 2019-09-29 Information processing method and system Active CN112578916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910932894.0A CN112578916B (en) 2019-09-29 2019-09-29 Information processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910932894.0A CN112578916B (en) 2019-09-29 2019-09-29 Information processing method and system

Publications (2)

Publication Number Publication Date
CN112578916A true CN112578916A (en) 2021-03-30
CN112578916B CN112578916B (en) 2023-07-14

Family

ID=75111241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910932894.0A Active CN112578916B (en) 2019-09-29 2019-09-29 Information processing method and system

Country Status (1)

Country Link
CN (1) CN112578916B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060041848A1 (en) * 2004-08-23 2006-02-23 Luigi Lira Overlaid display of messages in the user interface of instant messaging and other digital communication services
US20160028666A1 (en) * 2014-07-24 2016-01-28 Framy Inc. System and method for instant messaging
US20160127287A1 (en) * 2013-02-08 2016-05-05 Sk Planet Co., Ltd. Method of providing instant messaging service, recording medium that records program therefor, and terminal
CN106878151A (en) * 2017-02-15 2017-06-20 上海掌门科技有限公司 A kind of method for transmitting information, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060041848A1 (en) * 2004-08-23 2006-02-23 Luigi Lira Overlaid display of messages in the user interface of instant messaging and other digital communication services
US20160127287A1 (en) * 2013-02-08 2016-05-05 Sk Planet Co., Ltd. Method of providing instant messaging service, recording medium that records program therefor, and terminal
US20160028666A1 (en) * 2014-07-24 2016-01-28 Framy Inc. System and method for instant messaging
CN106878151A (en) * 2017-02-15 2017-06-20 上海掌门科技有限公司 A kind of method for transmitting information, equipment and system

Also Published As

Publication number Publication date
CN112578916B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN110458918B (en) Method and device for outputting information
CN106844705B (en) Method and apparatus for displaying multimedia content
CN110069738B (en) Information processing method and device, terminal equipment and server
CN109446442B (en) Method and apparatus for processing information
CN111783508A (en) Method and apparatus for processing image
CN113157153A (en) Content sharing method and device, electronic equipment and computer readable storage medium
CN111339418A (en) Page display method and device, electronic equipment and computer readable medium
CN112073307A (en) Mail processing method and device, electronic equipment and computer readable medium
CN111461967B (en) Picture processing method, device, equipment and computer readable medium
CN110519155B (en) Information processing method and system
CN113589991A (en) Text input method and device, electronic equipment and storage medium
CN106878151B (en) Method, equipment and system for transmitting information
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN113642290A (en) Text typesetting method and device, electronic equipment and storage medium
CN109640119B (en) Method and device for pushing information
CN109947526B (en) Method and apparatus for outputting information
CN113220381A (en) Click data display method and device
CN113282852A (en) Method and device for editing webpage
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN112578916B (en) Information processing method and system
CN110083321B (en) Content display method and device, intelligent screen projection terminal and readable storage medium
CN115269886A (en) Media content processing method, device, equipment and storage medium
CN114742013A (en) Online document display method and device and electronic equipment
CN113641853A (en) Dynamic cover generation method, device, electronic equipment, medium and program product
CN112016280A (en) File editing method and device and computer readable medium

Legal Events

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