WO2012071921A1 - Im消息的显示方法和装置 - Google Patents
Im消息的显示方法和装置 Download PDFInfo
- Publication number
- WO2012071921A1 WO2012071921A1 PCT/CN2011/079433 CN2011079433W WO2012071921A1 WO 2012071921 A1 WO2012071921 A1 WO 2012071921A1 CN 2011079433 W CN2011079433 W CN 2011079433W WO 2012071921 A1 WO2012071921 A1 WO 2012071921A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- container
- size
- display
- processed
- picture
- 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.)
- Ceased
Links
Classifications
-
- 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]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/0484—Interaction 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
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- 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
- the present invention relates to the field of instant messaging, and in particular, to a method and an apparatus for displaying an IM message. Background technique
- IM instant messaging
- Pictures are a type of file that people often need to pass when using IM software. For example, when we use IM software, we often need to transfer images to each other through IM software. Book
- the display of the image is mainly the original size display. If the size of the image is larger than the size of the container and you want to see the occluded area of the image, drag the scroll bar to view it.
- the display mode of the picture is mainly the original size display. If the size of the image is larger than the size of the container and you want to see the occluded area of the image, you can view it by dragging and changing the size of the container.
- the display mode of the picture is mainly the original size display. If the size of the image is larger than the container size, there is no way to view the occluded area of the image.
- the IM software display picture container cannot directly display all the pictures to be displayed, and only the picture can be displayed. Part of it, and the other part of the picture will be blocked. If the user wants to view the entire contents of the picture, it is necessary to manually change the size of the display picture container, or drag the scroll bar that displays the picture container, which is inconvenient to operate. Summary of the invention
- Embodiments of the present invention provide a method and apparatus for displaying an IM message, such that a picture to be processed having a size larger than a container size can be adapted to the size of a container in the IM software, and the IM software can directly display all the pictures that are larger than the size of the container.
- the embodiment of the present invention adopts the following technical solutions:
- a method for displaying an IM message comprising:
- the display size of the picture to be processed is set to be no larger than the size of the container
- the to-be-processed picture is drawn according to the set display size.
- a display device for an IM message comprising:
- a setting unit configured to set a display size of the to-be-processed image to be no larger than a size of the container when a size of the to-be-processed image is larger than a size of the container;
- a first drawing unit configured to draw the to-be-processed picture according to the set display size.
- the method and device for displaying an IM message provided by the embodiment of the present invention, when the size of the image to be processed is larger than the size of the IM software container, the IM software processes the image to be processed, and sets the display size of the image to be processed to be no larger than the IM software container. After the size, the image is displayed in the display size of the set image to be processed.
- the image to be processed whose original size is larger than the size of the IM software container can be adapted to the size of the IM software container, and the IM software can directly display all the pictures larger than the size of the container.
- FIG. 1 is a flowchart of a method for displaying an IM message according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for displaying an improved IM message according to an embodiment of the present invention
- FIG. 3 is a flowchart of another method for displaying an IM message according to an embodiment of the present invention.
- FIG. 4 is a flowchart of another improved method for displaying an IM message according to an embodiment of the present invention.
- FIG. 5 is a structural diagram of a display apparatus of an IM message according to an embodiment of the present invention.
- FIG. 6 is a structural diagram of an apparatus for displaying an improved IM message according to an embodiment of the present invention.
- FIG. 7 is a structural diagram of another apparatus for displaying an IM message according to an embodiment of the present invention.
- the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
- An embodiment of the present invention provides a method for displaying an IM message. As shown in FIG. 1, the method includes the following steps:
- the IM software sets the display size of the picture to be processed to be no larger than the size of the container.
- the container in the embodiment of the present invention refers to a container capable of displaying the content of the chat message, and can be classified into different types according to different attributes.
- the container is mainly divided into two types: drag support and scroll bar support.
- the way images are displayed in the container can be divided into: original size display, adaptive display, and thumbnail display.
- the main stream IM software is mainly displayed in the original size of the chat content picture.
- the transferred pictures will appear larger than the size of the IM software container.
- the container of the IM software only displays part of the picture, and the other part is blocked by the container. You can see the entire contents of the image by dragging and dropping the container or moving the scroll bar.
- the IM software sets the display size of the picture to be processed to be no larger than the size of the container before displaying the picture.
- the IM software draws the to-be-processed picture according to the set display size.
- the picture whose size is larger than the size of the container is drawn according to the set display size. Since the display size of the picture has been set by the IM software to be no larger than the size of the container, the IM software container can display the picture when the picture is displayed. The entire content is fully displayed to the user.
- the IM software processes the image to be processed, and sets the display size of the image to be processed to be no larger than the size of the IM software container. , and then display the picture with the displayed size of the set image to be processed.
- the image to be processed whose original size is larger than the size of the IM software container can be adapted to the size of the IM software container, and the IM software can directly display all the pictures larger than the size of the container.
- the embodiment of the present invention provides another method for displaying an IM message.
- the method includes the following steps: 201.
- the IM software determines whether the size of the to-be-processed image is greater than the size of the container. When the size of the picture to be processed is larger than the size of the container, step 202 is performed; otherwise, step 203 is performed.
- the IM software first determines whether the size of the picture to be processed is larger than the size of the container, and further determines the operation content performed in the next step.
- the IM software sets a display size of the to-be-processed image to be no larger than a size of the container, and performs steps.
- the transferred pictures will appear larger than the size of the IM software container.
- the container of the IM software only displays part of the picture, and the other part is blocked by the container. You can see the entire contents of the image by dragging and dropping the container or moving the scroll bar.
- the IM software sets the display size of the picture to be processed to be no larger than the size of the container before displaying the picture.
- this step may include the following steps:
- the display width of the to-be-processed picture is set to the width of the container.
- the display height of the to-be-processed picture is set to the height of the container.
- the image to be processed is drawn according to the display width of the set image to be processed, that is, the width of the container, and the display height of the image to be processed.
- the width and height of the image to be processed Due to the display width and height of the image to be processed, that is, the width and height of the software to be processed are drawn in the IM software container, the width and height of the container are adapted, and therefore, the IM software displays the image to be processed according to the set display width.
- the width and height of the image to be processed must be within the container.
- this step may include the following steps:
- the width of the IM software container is obtained, and the display width of the image to be processed is set to the width of the IM software container.
- the display height of the to-be-processed picture is calculated according to the change rate of the display width of the picture to be processed with respect to the width of the picture to be processed.
- the to-be-processed picture is drawn according to the set display width of the to-be-processed picture, that is, the width of the container, and the calculated display height of the to-be-processed picture.
- the width of the container is adapted. Therefore, when the IM software displays the image to be processed according to the set display width, the image to be processed is The width must be within the container.
- the step may include the following steps:
- the height of the IM software container is obtained, and the display height of the image to be processed is set to the height of the container.
- the display width of the to-be-processed picture is calculated according to the change rate of the display height of the to-be-processed picture with respect to the height of the to-be-processed picture.
- the to-be-processed picture is drawn according to the calculated display width of the to-be-processed picture and the display height of the picture to be processed.
- the height of the container Due to the display height of the image to be processed, that is, the height of the software to be processed is drawn in the software container, the height of the container is adapted. Therefore, when the software displays the image to be processed according to the set display height, the image to be processed is The height must be within the container.
- the software displays the image according to the original size of the image to be processed, and the process ends.
- the software container can completely display the image for use, so the software can display the image according to the original size of the image to be processed.
- the software draws the to-be-processed picture according to the set display size.
- the picture whose size is larger than the size of the container is drawn according to the set display size. Since the display size of the picture has been set by the software to be no larger than the size of the container, the software container can display the picture when the picture is displayed. The entire content is fully displayed to the user.
- a default program that opens the to-be-processed picture.
- the display content of the to-be-processed picture is linked to the original picture address, and when the compressed picture displayed in the IM software container is clicked, the to-be-processed picture is opened by the system.
- the default program opens the pending picture.
- the IM software calculates a change ratio of a display size of the to-be-processed picture to the size of the to-be-processed picture.
- the present embodiment provides an embodiment of the present step. Specifically, the ratio of the display size of the to-be-processed picture to the size of the picture to be processed is M*M1, where M is the display width of the picture to be processed and the width of the container. Ratio, Ml is the ratio of the display height of the image to be processed to the height of the container.
- a compressed identifier may be drawn at the specified position, and the compressed identifier is used to indicate that the display size of the corresponding picture in the container is relative to the picture.
- the original size is compressed.
- the compression identifier may be disposed in a lower right corner of the picture, or an upper right corner, or a lower left corner, or an upper left corner, or a position in the picture.
- the compressed image When the compressed image is displayed in the corresponding position of the picture in the container, it indicates that the picture is compressed; when the corresponding position of the picture in the container does not display the compressed identification, it indicates that the picture has not been compressed.
- the IM software associates the change ratio with the compression identifier, and moves a mouse to the compression identifier to display the change ratio.
- the change ratio of the image can be associated with the compression identifier, and the mouse is moved to the compression identifier of the corresponding image to display the change of the corresponding image. proportion.
- the IM software determines whether the size of the container changes. After the size of the container changes to obtain the first change container, step 210 is performed, otherwise the flow ends.
- the container When the user uses the IM software, the container will be enlarged or reduced by dragging and dropping. After the container is enlarged or reduced, the original image that can be completely displayed by the container will not be completely displayed by the container because the size of the container is reduced. Pictures that cannot be fully displayed in the original container will become fully visible by the container due to the enlargement of the container size.
- the IM software acquires a size of the first change container; and the first change container is used as a current container. Go to step 201.
- the IM software processes the processed image, and sets the display size of the to-be-processed image to be no larger than the IM software container. After the size, the picture is displayed with the displayed size of the set image to be processed.
- the image to be processed whose original size is larger than the size of the IM software container can be adapted to the size of the IM software container, and the IM software can directly display all the pictures larger than the size of the container.
- the IM software resets the display size of the image to be processed according to the changed size of the container, so that after the size of the IM software container changes, the display size of the image to be processed can still be adapted to the changed container. size of.
- step 201-step 204 can implement the IM software to draw the picture to be processed according to the set display size.
- Step 205 Link the display content of the to-be-processed picture to its original picture address, and open the to-be-processed picture by using a default program of the system to open the to-be-processed picture.
- Step 206 - Step 208 calculates the compression ratio and draws the compression flag.
- Step 209 - Step 210 When the size of the IM software container changes, the size of the displayed picture is processed accordingly. The sequence of operations between each of the above sets of steps can be adjusted as needed.
- the embodiment of the present invention further preferably includes: setting an identification mark for the message in the container, and determining a position of the message in the second change container according to the set identification mark after the container size is changed to obtain the second change container;
- the above operation is to ensure that the position of the container in the container can be kept unchanged after the change of the size of the container, thereby improving the user experience;
- setting an identification mark for the message in the container includes: setting an identification mark for the visible content of the Nth line of the message in the container, where N is a non-zero natural number;
- Setting the identification mark for the message in the container may further include: setting an identification mark at a specified position of the specified layer of the message in the container, or setting an identification mark in the rendering data or the filling data of the message in the container; As shown in the figure, the embodiment provides an identifier for setting a message in the container. After the size of the container changes to obtain a second change container, a specific position of the message in the second change container is determined according to the set identification mark. Implementation method, the method includes the following steps:
- the IM software sets an identification mark for the visible content of the Nth line of the message in the container, where N is a non-zero natural number. In order to be able to find the visible content of the Nth line of the message in the container in a subsequent step, the visible content of the Nth line of the message in the container needs to be marked.
- the IM software searches for the number of rows of the identification mark in the second change container.
- the location of the message in the container changes in the container, and the number of rows in the container in the container changes, which may result in the first line of visible content in the container before the change.
- the number of display lines in the container changes.
- the IM software looks for the identification mark in the second change container. The number of rows, which in turn determines the number of rows in the container after the change in the first row of visible content in the container.
- the IM software determines whether the number of rows of the identification mark in the second change container is the Nth row of the second change container. When the number of rows of the identification mark in the second change container is not the Nth row of the second change container, step 304 is performed; otherwise, the flow ends.
- the method for displaying the IM message provided by the embodiment, after the size of the container changes, finds the number of rows of the visible content of the Nth row in the container before the change, and determines the visible content of the Nth row in the container before the change. Whether the number of rows in the container after the change is the Nth row; when the visible content of the Nth row in the container before the change is changed, the number of rows in the container is not the Nth row, the display area of the container after the change is changed, before the change
- the Nth line in the container shows the line of the content as the Nth line of the changed container display area.
- the position of the visible content of the Nth line of the message in the container is changed due to the change of the size of the container, so that the visible content of the Nth line in the container remains unchanged, thereby improving the user experience.
- the embodiment shown in FIG. 3 shows a method for implementing a visible content setting identification mark on the Nth line of the message in the container, and determining the position of the visible content of the Nth line in the second change container based on the identification mark, and Setting an identification mark at a specified position of a specified layer of the medium message, or setting an identification mark in the rendering data or the padding data of the message in the container, and determining the position of the message in the second change container according to the identification mark and the above embodiment Similar, it will not be repeated here;
- Another method for displaying an IM message shown in FIG. 3 is provided by the embodiment of the present invention. The method may be performed before, during, or after execution of the display method of the IM message shown in FIG. The technical solution described in the example.
- the embodiment of the present invention provides another method for displaying an IM message. As shown in FIG. 4, the method includes the following steps:
- the IM software sets an identification mark for the first line of visible content of the message in the container.
- This step can mark any line of the message in the container as needed, such as marking the first line of visible content in the container, or marking the visible content of the third line in the container.
- the embodiment of the present invention provides an implementation method of the step, which may be: inserting the identification mark in a preset position of the visible content of the first line of the message in the container.
- the identification mark in this step may be preset according to needs, for example, a special character that does not appear or rarely appears in the document may be set as an identification mark, for example, "&" is set as the identification in this embodiment.
- the tag which can also be a string, such as "#%& ⁇ ...% ⁇ **".
- the insertion position of the visible content of the identification mark in the first line is set as needed, and the preset position can be arbitrarily set, for example, at the beginning of the visible content of the first line, or visible for the first line. At the end of the content, or somewhere in the middle of the visible content on the first line.
- An embodiment of the present invention provides another implementation method of the present step, which may be: selecting one or more characters from the first line of visible content, obtaining a sequence number of each character in the entire message content; The set of sequence numbers is designated as the identification tag.
- the first character of the first line of visible content may be selected in the total message content in the container.
- A is used as the identification mark; you can also select two or more characters in the visible content of the first line, and obtain the serial numbers of all the two or more characters in the message content of the container, and set the collection ⁇ Al , A2, A3 ⁇ , An ⁇ are used as identification marks.
- the IM software determines whether the size of the container changes. After the container size changes to obtain the second change container, step 403 is performed; otherwise, the flow ends.
- the IM software searches for the number of rows of the identification mark in the second change container.
- the location of the message in the container changes in the container, and in the container
- the number of lines of message content in the container changes, which may cause the number of lines of visible content in the container to change in the container before the change.
- the IM software looks for the identification mark in the second change container. The number of rows, which in turn determines the number of rows in the container after the change in the first row of visible content in the container.
- the IM software determines whether the number of rows of the identification mark in the second change container is the first row of the second change container. When the number of lines in which the identification mark is in the second change container is not the first line of the second change container, step 405 is performed, otherwise, the flow ends.
- the IM software determines whether the number of rows of the identifier in the second variation container is the second variation container. first row. When the number of rows in the second change container is not the first row of the second change container, step 405 is performed; otherwise, the flow ends.
- the IM software moves the display area of the second change container, and uses the line of the identification mark as the first line of the second change container display area.
- the IM software processes the processed image, and sets the display size of the to-be-processed image to be no larger than the IM software container. After the size, the picture is displayed with the displayed size of the set image to be processed.
- the image to be processed whose original size is larger than the size of the IM software container can be adapted to the size of the IM software container, and the IM software can directly display all the pictures larger than the size of the container.
- the number of rows in the first row of the visible content in the container before the change is found, and it is determined whether the number of rows in the first row of the container before the change is changed.
- Change It is good to change the position of the visible content of the first line of the message in the container due to the change of the size of the container, so that the visible content of the first line in the container remains unchanged, thereby improving the user experience.
- An embodiment of the present invention provides a display device for an IM message. As shown in FIG. 5, the present invention includes: a setting unit 51 and a first drawing unit 52.
- the setting unit 51 sets the display size of the to-be-processed picture to be no larger than the size of the container; the first drawing unit 52 draws the display according to the set display size. Pending image.
- the display device of the IM message provided by the embodiment, when the size of the to-be-processed image is larger than the size of the IM software container, the IM software processes the processed image, and the setting unit sets the display size of the to-be-processed image to be no larger than the IM software container. After the size, the first drawing unit displays the picture with the display size of the set picture to be processed.
- the image to be processed which is larger than the size of the IM software container can be adapted to the size of the IM software container, and the IM software can directly display all the pictures larger than the size of the container.
- the embodiment of the present invention provides another display device for an IM message.
- the method includes: a setting unit 61, a first drawing unit 62, a calculating unit 63, and a second drawing unit 64.
- the setting unit 61 may include a first setting module 611, or a second setting module 612 and a first calculating module 613, or a third setting module 614 and a second calculating module 615, as shown by the broken line in FIG.
- the setting unit 61 sets the display size of the picture to be processed to be not larger than the size of the container.
- the setting unit 61 includes a first setting module 611.
- the first setting module 611 sets the display width of the to-be-processed picture to the width of the container, and the first setting module 611 sets the display height of the to-be-processed picture to the height of the container.
- the width and height of the image to be processed Due to the display width and height of the image to be processed, that is, the width and height of the software to be processed are drawn in the IM software container, the width and height of the container are adapted, and therefore, the IM software displays the image to be processed according to the set display width.
- the width and height of the image to be processed must be within the container.
- the embodiment of the present invention provides another implementation method, where the setting unit 61 includes a second setting module 612 and a first computing module.
- the second setting module 612 sets the display width of the to-be-processed picture to the width of the container; the first calculation module 613 changes according to the display width of the to-be-processed picture with respect to the width of the to-be-processed picture. Rate calculates the display height of the picture to be processed.
- the width of the container is adapted. Therefore, when the IM software displays the image to be processed according to the set display width, the image to be processed is The width must be within the container.
- the embodiment of the present invention provides another implementation method.
- the setting unit 61 includes a third setting module 614 and a second computing module 615.
- the third setting module 614 sets the display height of the to-be-processed picture to the height of the container; the second calculation module 615 changes according to the display height of the to-be-processed picture relative to the height of the to-be-processed picture. Rate calculates the display width of the picture to be processed.
- the second calculation module 615 calculates the display width of the to-be-processed picture according to the change rate of the display height of the to-be-processed picture with respect to the height of the to-be-processed picture:
- the height of the container Due to the display height of the image to be processed, that is, the height of the software to be processed is drawn in the IM software container, the height of the container is adapted. Therefore, when the IM software displays the image to be processed according to the set display height, the image to be processed is The height must be within the container.
- the first drawing unit 62 draws the to-be-processed picture according to the display width of the to-be-processed picture set by the setting unit 61 and the display height of the to-be-processed picture.
- the calculating unit 63 calculates a change ratio of the display size of the to-be-processed picture with respect to the size of the to-be-processed picture.
- the second drawing unit 54 draws a compression identifier at a specified position, and the compression identifier is used to indicate that the display size of the corresponding picture in the container is relative to the picture.
- the original size is compressed.
- the second association unit 65 links the display content of the picture to be processed to its original picture address;
- the device provides a picture opening unit, and the picture opening unit is configured to open the picture to be processed in a default program for opening the picture to be processed by the system, so as to facilitate processing the picture to be processed.
- the first associating unit 66 associates the change ratio with the compressed identifier, moves the mouse to the compressed identifier, or clicks the compressed identifier when the mouse clicks , showing the change ratio.
- the second judging unit 67 judges whether or not the size of the container has changed.
- the obtaining unit 68 acquires the size of the first changed container, and uses the first change container as the current container.
- the display device of the IM message provided by the embodiment, when the size of the to-be-processed image is larger than the size of the IM software container, the IM software processes the processed image, and the setting unit sets the display size of the to-be-processed image to be no larger than the IM software container. After the size, the first drawing unit displays the picture with the display size of the set picture to be processed.
- the image to be processed which is larger than the size of the IM software container can be adapted to the size of the IM software container, and the IM software can directly display all the pictures larger than the size of the container.
- the IM software resets the display size of the image to be processed according to the changed size of the container, so that after the size of the IM software container changes, the display size of the image to be processed can still be adapted to the changed container. size of.
- the display device of the IM message is further configured to set an identifier for the message in the container, and after the size of the container changes to obtain the second change container, determine that the message is in the second change container according to the set identification mark.
- the position of the container, after the change of the size of the container, the position of the container in the container can be kept unchanged after the change, thereby improving the user experience;
- setting an identification mark for the message in the container includes: setting an identification mark for the visible content of the Nth line of the message in the container, where N is a non-zero natural number;
- the display means of the IM message includes: an identification unit 71, a search unit 72, a first judging unit 73, and a moving unit 74.
- the identification unit 71 sets an identification mark for the visible content of the Nth line of the message in the container. In order to be able to find the visible content of the Nth line of the message in the container in a subsequent step, it needs to be visible to the Nth line of the message in the container. Content is tagged. You can mark any line of the message in the container as needed, such as marking the first line of visible content in the container, or marking the visible content of line 3 in the container.
- An embodiment of the present invention provides an implementation manner. Specifically, the identification unit 71 inserts the identification mark at a preset position of the first line of visible content of the message in the container.
- the identifier unit 71 selects one or more characters from the first line of visible content, and obtains a sequence number of each character in the entire message content; The set of the serial numbers is designated as the identification mark.
- the lookup unit 72 finds the number of lines in which the identification mark is located in the second change container.
- the first determining unit 73 determines whether the number of lines of the identification mark in the second change container is the first line of the second change container.
- the moving unit 74 moves the display area of the second change container, and the line of the identification mark is As the first row of the second change container display area.
- the searching unit searches for the container before the change.
- the first line shows the number of rows in the container after the content is changed.
- the third determining unit determines whether the number of rows in the container in the first row of the container before the change is the first row in the container after the change; In the first line, when the number of rows in the container after the change is not the first row, the display area of the container after the mobile unit moves changes, and the row of the visible content of the first row in the container before the change is used as the display area of the changed container.
- One line The position of the visible content of the first line of the message in the container is changed due to the change of the size of the container, so that the visible content of the first line in the container remains unchanged, thereby improving the user experience.
- FIG. 7 Another apparatus for displaying an IM message as shown in FIG. 7 is provided by the embodiment of the present invention.
- the apparatus may be executed before each operation unit of each of the operation units in the display device of the IM message shown in FIG.
- the technical solution described in this embodiment needs to be performed.
- the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is better. Way of application.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
- a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例公开了一种IM消息的显示方法和装置,涉及即时通信领域,使尺寸大于容器尺寸的待处理图片能够适应IM软件中容器的尺寸,IM软件可以直接将原本大于该容器尺寸的图片全部显示出来。该方法包括:当待处理图片的尺寸大于容器的尺寸时,将所述待处理图片的显示尺寸设置成不大于所述容器的尺寸;按照所设置的显示尺寸绘制所述待处理图片。主要应用于IM软件消息的显示。
Description
IM消息的显示方法和装置
技术领域
本发明涉及即时通信领域, 尤其涉及 IM消息的显示方法和装置。 背景技术
随着网络技术的发展, 即时通信 (IM, Instant Mes saging ) 已经成为人们生活中不可 或缺的沟通方式, 人们可以通过 IM说软件实时传递文字、 图片、 语音、 视频等信息。 IM软件 使人们的沟通和交流变得很方便。
图片是人们在使用 IM软件时经常需要传递的一种文件。 比如我们在使用 IM软件的时 候, 就会经常需要通过 IM软件相互传递图片。 书
在当前的主流的 IM软件中, 聊天内容中图片的展示方式主要有:
1.对于全滚动条支持全大小可变的容器, 图片的显示方式主要是原大小显示。 如果图 片的大小大于容器大小, 想查看图片被遮挡区域的话, 拖动滚动条可以查看。
2.对于纵向滚动条支持全大小可变的容器, 图片的显示方式主要是原大小显示。 如果 图片的大小大于容器大小, 想查看图片被遮挡区域的话, 拖拽改变容器大小后可以查看。
3.对于滚动条不支持纵向大小可变的容器, 图片的显示方式主要是原大小显示。 如果 图片的大小大于容器大小, 没有办法查看图片的被遮挡区域。
目前, IM软件在显示图片时, 当待显示图片尺寸大于显示图片容器尺寸时, 由于显示 图片容器尺寸的限制, IM软件显示图片容器不能直接将待显示图片全部显示出来, 只能显 示该图片的一部分, 而该图片的另一部分会被遮挡起来。 如果用户想要查看该图片的全部 内容, 则需要手动改变显示图片容器的尺寸, 或者拖动显示图片容器的滚动条, 操作起来 很不方便。 发明内容
本发明的实施例提供一种 IM消息的显示方法和装置, 使尺寸大于容器尺寸的待处理图 片能够适应 IM软件中容器的尺寸, IM软件可以直接将原本大于该容器尺寸的图片全部显示 出来。
为达到上述目的, 本发明的实施例采用如下技术方案:
一种 IM消息的显示方法, 包括:
当待处理图片的尺寸大于容器的尺寸时, 将所述待处理图片的显示尺寸设置成不大于 所述容器的尺寸;
按照所设置的显示尺寸绘制所述待处理图片。
一种 IM消息的显示装置, 包括:
设置单元, 用于当待处理图片的尺寸大于容器的尺寸时, 将所述待处理图片的显示尺 寸设置成不大于所述容器的尺寸;
第一绘制单元, 用于按照所设置的显示尺寸绘制所述待处理图片。
本发明实施例提供的 IM消息的显示方法和装置, 当待处理图片的尺寸大于 IM软件容 器的尺寸时, IM软件对待处理图片进行处理, 将待处理图片的显示尺寸设置成不大于 IM软 件容器的尺寸后, 再以设置的待处理图片的显示尺寸显示该图片。 使原本尺寸大于 IM软件 容器尺寸的待处理图片能够适应 IM软件容器的尺寸, IM软件可以直接将原本大于其容器尺 寸的图片全部显示出来。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明实施例中一种 IM消息的显示方法的流程图;
图 2为本发明实施例中一种改进的 IM消息的显示方法的流程图;
图 3为本发明实施例中另一种 IM消息的显示方法的流程图;
图 4为本发明实施例中另一种改进的 IM消息的显示方法的流程图;
图 5本发明实施例中一种 IM消息的显示装置的结构图;
图 6为本发明实施例中一种改进的 IM消息的显示装置的结构图;
图 7为本发明实施例中另一种 IM消息的显示装置的结构图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地 描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本 发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实 施例, 都属于本发明保护的范围。
本发明实施例提供了一种 IM消息的显示方法, 如图 1所示, 包括以下步骤:
101、 当待处理图片的尺寸大于容器的尺寸时, IM软件将所述待处理图片的显示尺寸设 置成不大于所述容器的尺寸。
本发明实施例中的容器, 是指能够显示聊天消息内容的容器, 可以按照不同的属性分 为不同的类型。 这里主要将该容器分成拖拽支持和滚动条支持两类。
图片在容器中的显示方式可以分为: 原大小显示、 自适应显示、 缩略图显示。 目前主 流 IM软件在聊天内容图片的现有显示方面, 主要是原大小显示。
在使用 IM软件传送图片时, 所传送的图片会出现比 IM软件的容器的尺寸大的情况, 此时, IM软件的容器只将该图片的一部分显示出来, 另一部分被容器遮挡起来, 用户需要 通过拖拽放大容器或者移动滚动条的方式才能看到图片的全部内容。
为了使 IM软件能够将尺寸大于容器尺寸的图片一次完整的展示给用户, 在显示该图片 前, IM软件将待处理图片的显示尺寸设置成不大于所述容器的尺寸。
102、 IM软件按照所设置的显示尺寸绘制所述待处理图片。
将尺寸大于容器尺寸的图片按照设置好的显示尺寸绘制, 由于该图片的显示尺寸已经 被 IM软件设置成不大于所述容器的尺寸, 所以, IM软件容器在显示该图片时, 能够将该图 片的全部内容完整的展示给用户。
本实施例提供的 IM消息的显示方法, 当待处理图片的尺寸大于 IM软件容器的尺寸时, IM软件对待处理图片进行处理,将待处理图片的显示尺寸设置成不大于 IM软件容器的尺寸 后, 再以设置的待处理图片的显示尺寸显示该图片。 使原本尺寸大于 IM软件容器尺寸的待 处理图片能够适应 IM软件容器的尺寸, IM软件可以直接将原本大于其容器尺寸的图片全部 显示出来。
作为本实施例的一种改进,本发明实施例提供另一种 IM消息的显示方法,如图 2所示, 包括以下步骤:
201、 IM软件判断待处理图片的尺寸是否大于容器的尺寸。 当待处理图片的尺寸大于容 器的尺寸时, 执行步骤 202, 否则, 执行步骤 203。
为了使本实施了所述方案更有针对性, 在对待处理图片进行相应处理之前, 首先 IM软 件判断待处理图片的尺寸是否大于容器的尺寸, 进而决定下一步骤执行的操作内容。
202、 IM 软件将所述待处理图片的显示尺寸设置成不大于所述容器的尺寸, 执行步骤
204。
在使用 IM软件传送图片时, 所传送的图片会出现比 IM软件的容器的尺寸大的情况, 此时, IM软件的容器只将该图片的一部分显示出来, 另一部分被容器遮挡起来, 用户需要 通过拖拽放大容器或者移动滚动条的方式才能看到图片的全部内容。
为了使 IM软件能够将尺寸大于容器尺寸的图片一次完整的展示给用户, 在显示该图片 前, IM软件将待处理图片的显示尺寸设置成不大于所述容器的尺寸。
作为本步骤的一种实施方式, 本步骤可以包括以下步骤:
第一步, 将所述待处理图片的显示宽度设置为所述容器的宽度。
第二步, 将所述待处理图片的显示高度设置为所述容器的高度。
第三步, 按照设定的待处理图片的显示宽度, 即容器的宽度, 以及待处理图片的显示 高度绘制该待处理图片。
由于待处理图片的显示宽度和高度, 即在 IM软件容器中绘制该待处理软件的宽度和高 度, 适应了容器的宽度和高度, 因此, IM软件在按照设置好的显示宽度显示该待处理图片 时, 该待处理图片的宽度和高度一定在容器内。
作为本步骤的另一种实施方式, 本步骤可以包括以下步骤:
第一步, 获取 IM软件容器的宽度, 并将待处理图片的显示宽度设置为 IM软件容器的 宽度。
第二步, 根据待处理图片的显示宽度相对于该待处理图片的宽度的变化率计算待处理 图片的显示高度。
具体的, 根据公式11=111*&1/&2计算待处理图片的显示高度, 其中, h为所述待处理图 片的显示高度, h i为所述待处理图片的高度, al为所述容器的宽度, a2为所述待处理图片 的宽度。 待处理图片的显示宽度相对于该待处理图片的宽度的变化率为 k, k=al/a2。
第三步, 按照设定的待处理图片的显示宽度, 即容器的宽度, 以及计算出的待处理图 片的显示高度绘制该待处理图片。
由于待处理图片的显示宽度, 即在 IM软件容器中绘制该待处理软件的宽度, 适应了容 器的宽度, 因此, IM软件在按照设置好的显示宽度显示该待处理图片时, 该待处理图片的 宽度一定在容器内。
作为本步骤的又一种实施方式, 本步骤可以包括以下步骤:
第一步, 获取 IM软件容器的高度, 并将所述待处理图片的显示高度设置为所述容器的 高度。
第二步, 根据所述待处理图片的显示高度相对于所述待处理图片的高度的变化率计算 所述待处理图片的显示宽度。
具体的, 根据公式 =41*111/112计算所述待处理图片的显示宽度, 其中, A为所述待处 理图片的显示宽度, A1为所述待处理图片的宽度, HI为所述容器的高度, H2为所述待处理 图片的高度。 待处理图片的显示高度相对于该待处理图片的高度的变化率为 K, Κ=Η1/Η2。
第三步, 按照计算出的待处理图片的显示宽度、 以及待处理图片的显示高度绘制所述 待处理图片。
由于待处理图片的显示高度, 即在 ΙΜ软件容器中绘制该待处理软件的高度, 适应了容 器的高度, 因此, ΙΜ软件在按照设置好的显示高度显示该待处理图片时, 该待处理图片的 高度一定在容器内。
203、 ΙΜ软件按照待处理图片的原始尺寸显示该图片, 流程结束。
由于此时待处理图片的尺寸小于 ΙΜ软件容器的尺寸, ΙΜ软件容器可以完整的将该图片 展示给用于, 所以, ΙΜ软件按照待处理图片的原始尺寸显示该图片即可。
204、 ΙΜ软件按照所设置的显示尺寸绘制所述待处理图片。
将尺寸大于容器尺寸的图片按照设置好的显示尺寸绘制, 由于该图片的显示尺寸已经 被 ΙΜ软件设置成不大于所述容器的尺寸, 所以, ΙΜ软件容器在显示该图片时, 能够将该图 片的全部内容完整的展示给用户。
205、 将所述待处理图片的显示内容链接到其原始图片地址, 以系统打开所述待处理图 片的默认程序打开所述待处理图片。
为了方便用户浏览待处理图片的原始图片, 将所述待处理图片的显示内容链接到其原 始图片地址, 在点击 IM软件容器中显示的被压缩过的图片时, 以系统打开所述待处理图片 的默认程序打开所述待处理图片。
206、 IM软件计算所述待处理图片的显示尺寸相对于所述待处理图片尺寸的变化比例。 本实施了提供本步骤的一种实施方式, 具体的, 待处理图片的显示尺寸相对于待处理 图片尺寸的变化比例为 M*M1, 其中, M为待处理图片的显示宽度和容器的宽度的比值, Ml 为待处理图片的显示高度和容器的高度的比值。
207、 在指定位置绘制压缩标识, 所述压缩标识用于表明所述容器内相应图片的显示尺 寸相对于所述图片的原始尺寸是被压缩过的。
为了使 IM软件的用户能够很直观的得知容器中显示的图片是否被缩小过, 可以在指定 位置绘制一个压缩标识, 述压缩标识用于表明容器内相应图片的显示尺寸相对于所述图片 的原始尺寸是被压缩过的。
作为本实施例的一种实施方式, 该压缩标识可以设置在图片的右下角, 或者右上角, 或者左下角, 或者左上角, 或者图片中的某个位置。
当容器中的图片的相应位置显示该压缩标识时, 说明该图片是被压缩过的; 当容器中 的图片的相应位置没有显示该压缩标识时, 说明该图片是没有被压缩过的。
208、 IM软件将所述变化比例与所述压缩标识关联起来,使鼠标移动到所述压缩标识上, 显示所述变化比例。
为了使 IM软件的用户能够很直观的得知容器中显示的图片的压缩比例, 可以将该图片 的变化比例与压缩标识关联起来, 使鼠标移动到相应图片的压缩标识上, 显示相应图片的 变化比例。
209、 IM软件判断所述容器的尺寸是否发生变化。在所述容器的尺寸发生变化得到第一 变化容器后, 执行步骤 210, 否则流程结束。
用户在使用 IM软件时, 会通过拖拽的方式将容器放大或者缩小, 在容器被放大或者缩 小后, 原本容器能够完全展示的图片会因为容器尺寸的缩小, 而变得不能被容器完全显示, 原本容器不能够完全展示的图片会因为容器尺寸的放大, 而变得能被容器完全显示。
因此, 有必要对 IM软件容器的尺寸进行判断, 并决定下一步执行的操作。
210、 IM软件获取所述第一变化容器的尺寸; 将所述第一变化容器作为当前的容器。 执 行步骤 201。
本实施例提供的 IM消息的显示方法, 当判断出待处理图片的尺寸大于 IM软件容器的 尺寸时, IM软件对待处理图片进行处理, 将待处理图片的显示尺寸设置成不大于 IM软件容 器的尺寸后, 再以设置的待处理图片的显示尺寸显示该图片。 使原本尺寸大于 IM软件容器 尺寸的待处理图片能够适应 IM软件容器的尺寸, IM软件可以直接将原本大于其容器尺寸的 图片全部显示出来。
并且在容器的尺寸发生变化后, IM软件根据变化后的容器的尺寸重新设置待处理图片 的显示尺寸, 使 IM软件容器尺寸发生变化后, 仍能够使待处理图片的显示尺寸适应变化后 的容器的尺寸。
上述图 2的方案中, 步骤 201-步骤 204 可以实现 IM软件按照所设置的显示尺寸绘制 待处理图片。 步骤 205将所述待处理图片的显示内容链接到其原始图片地址, 以系统打开 所述待处理图片的默认程序打开所述待处理图片。 步骤 206-步骤 208计算压缩比例及绘制 压缩标识。步骤 209-步骤 210在 IM软件容器尺寸变化时, 对其显示的图片的尺寸作相应的 处理。 上述每组步骤之间的操作顺序可以根据需要调整。
本发明实施例进一步优选地包括: 为容器中的消息设置识别标记, 在容器尺寸发生变 化得到第二变化容器后, 根据所设置的识别标记确定消息在第二变化容器中的位置;
上述操作是为了在容器的尺寸发生变化后, 确保变化前容器中的内容在变化后容器中 的位置可以保持不变, 进而提高用户的使用体验;
其中, 为容器中的消息设置识别标记包括: 为容器中消息的第 N行可见内容设置识别 标记, 其中, N为非零的自然数;
为容器中的消息设置识别标记在具体实现时还可以包括: 在容器中消息的指定图层的 指定位置设置识别标记, 或者在容器中消息的渲染数据或者填充数据内设置识别标记; 如图 3所示, 本实施例给出了为容器中的消息设置识别标记, 在容器尺寸发生变化得 到第二变化容器后, 根据所设置的识别标记确定消息在第二变化容器中的位置的一种具体 实现方法, 所述方法包括以下步骤:
301、 IM软件为所述容器中消息的第 N行可见内容设置识别标记, 其中, N为非零的自 然数。
为了在后续的步骤中, 容器中消息的第 N行可见内容能够被查找出来, 需要对容器中 消息的第 N行可见内容进行标记。
302、 IM软件在所述容器尺寸发生变化得到第二变化容器后, 查找所述识别标记在所述 第二变化容器中所在行数。
由于容器的尺寸发生变化后, 容器中消息内容在容器中的位置会发生变化, 且容器中 消息内容在容器中的行数会发生变化, 从而可能会导致变化前容器中的第一行可见内容在 容器中的显示行数发生变化。
为了获取变化前容器中的第一行可见内容在变化后容器中的行数是否发生变化, 在容 器尺寸发生变化得到第二变化容器后, IM软件查找识别标记在所述第二变化容器中所在的 行数, 进而确定变化前容器中的第一行可见内容在变化后容器中的行数。
303、 IM软件判断所述识别标记在所述第二变化容器中所在行数是否为所述第二变化容 器的第 N行。当所述识别标记在所述第二变化容器中所在行数不是所述第二变化容器的第 N 行时, 执行步骤 304, 否则, 流程结束。
304、 移动所述第二变化容器的显示区域, 将所述识别标识所在行作为所述第二变化容 器显示区域的第 N行。
本实施例提供的 IM消息的显示方法, 在容器的尺寸发生变化后, 查找变化前容器中的 第 N行可见内容在变化后容器中的行数, 判断变化前容器中的第 N行可见内容在变化后容 器中所在行数是否为第 N行; 当变化前容器中的第 N行可见内容在变化后容器中所在行数 不是第 N行时, 移动变化后容器的显示区域, 将变化前容器中的第 N行可见内容所在行作 为变化后容器显示区域的第 N行。 改善了由于容器尺寸的改变而引起的容器中消息的第 N 行可见内容位置发生变化, 使容器中的第 N行可见内容保持不变, 进而提高了用户的使用 体验。
图 3所示的实施例给出了在容器中消息的第 N行可见内容设置识别标记, 并根据识别 标记确定第 N行可见内容在第二变化容器里的位置的实现方法, 而有关在容器中消息的指 定图层的指定位置设置识别标记, 或者在容器中消息的渲染数据或者填充数据内设置识别 标记, 并根据识别标记确定消息在第二变化容器里的位置的实现方式与上述实施例类似, 此处就不再赘述;
本发明实施例提供的图 3所示的另一种 IM消息的显示方法, 该方法可以在图 2所示的 IM消息的显示方法执行前, 或者执行中, 或者执行后, 根据需要执行本实施例所述技术方 案。
作为本实施例的一种改进,本发明实施例提供又一种 IM消息的显示方法,如图 4所示, 包括以下步骤:
401、 IM软件为所述容器中消息的第一行可见内容设置识别标记。
本步骤可以根据需要对容器中消息的任何一行进行标记, 比如可以对容器中的第一行 可见内容进行标记, 或者对容器中的第 3行可见内容进行标记。
本发明实施例提供一种本步骤的实施方法, 可以为: 在所述容器中消息的第一行可见 内容的预设位置插入所述识别标记。
具体的, 本步骤中的识别标记可以根据需要预先设定, 比如可以将在文档中不会出现 或者极少出现的特殊字符设为识别标记, 例如将 "&" 设为本实施例中的识别标记, 该识 别标记也可以是一个字符串, 例如 "#%&¥...%〜**"。
在设置好了识别标记后, 根据需要设置该识别标记在第一行可见内容的插入位置, 该 预设位置可以任意设定, 例如为第一行可见内容的开始处, 或者为第一行可见内容的结尾 处, 或者在第一行可见内容的中间某个位置。
本发明实施例提供另一种本步骤的实施方法, 可以为: 从所述第一行可见内容中选择 一个或者多个字符, 获取每个字符在整个消息内容中的序号; 并将获取到的所述序号的集 合指定为所述识别标记。
具体的, 比如可以选择第一行可见内容的第一个字符在容器中全部消息内容中的序号
A, 将 A作为识别标记; 还可以选择第一行可见内容中的两个或者两个以上字符, 并获取这 两个或者两个以上字符在容器中全部消息内容中的序号, 将集合 {Al、 A2、 A3〜、 An}作为 识别标记。
402、 IM软件判断容器尺寸是否发生变化。在所述容器尺寸发生变化得到第二变化容器 后, 执行步骤 403, 否则, 流程结束。
403、 IM软件查找所述识别标记在所述第二变化容器中所在行数。
由于容器的尺寸发生变化后, 容器中消息内容在容器中的位置会发生变化, 且容器中
消息内容在容器中的行数会发生变化, 从而可能会导致变化前容器中的第一行可见内容在 容器中的显示行数发生变化。
为了获取变化前容器中的第一行可见内容在变化后容器中的行数是否发生变化, 在容 器尺寸发生变化得到第二变化容器后, IM软件查找识别标记在所述第二变化容器中所在的 行数, 进而确定变化前容器中的第一行可见内容在变化后容器中的行数。
404、 IM软件判断所述识别标记在所述第二变化容器中所在行数是否为所述第二变化容 器的第一行。 当识别标记在所述第二变化容器中所在行数不是所述第二变化容器的第一行 时, 执行步骤 405, 否则, 流程结束。
在获取了变化前容器中的第一行可见内容在变化后容器中的行数后, IM软件判断所述 识别标记在所述第二变化容器中所在行数是否为所述第二变化容器的第一行。 当所述识别 标记在所述第二变化容器中所在行数不是所述第二变化容器的第一行时, 执行步骤 405 ; 否 则, 流程结束 。
405、 IM软件移动所述第二变化容器的显示区域, 将所述识别标识所在行作为所述第二 变化容器显示区域的第一行。
为了将变化前容器中的第一行可见内容在变化后容器的第一行显示, 且容器内全部消 息内容的排版顺序不发生变化, 即使容器中的消息内容的起始段落从容器的第一行开始显 示, IM软件移动所述第二变化容器的显示区域, 将所述识别标识所在行作为所述第二变化 容器显示区域的第一行。
本实施例提供的 IM消息的显示方法, 当判断出待处理图片的尺寸大于 IM软件容器的 尺寸时, IM软件对待处理图片进行处理, 将待处理图片的显示尺寸设置成不大于 IM软件容 器的尺寸后, 再以设置的待处理图片的显示尺寸显示该图片。 使原本尺寸大于 IM软件容器 尺寸的待处理图片能够适应 IM软件容器的尺寸, IM软件可以直接将原本大于其容器尺寸的 图片全部显示出来。
在容器的尺寸发生变化后, 查找变化前容器中的第一行可见内容在变化后容器中的行 数, 判断变化前容器中的第一行可见内容在变化后容器中所在行数是否为第一行; 当变化 前容器中的第一行可见内容在变化后容器中所在行数不是第一行时, 移动变化后容器的显 示区域, 将变化前容器中的第一行可见内容所在行作为变化后容器显示区域的第一行。 改
善了由于容器尺寸的改变而引起的容器中消息的第一行可见内容位置发生变化, 使容器中 的第一行可见内容保持不变, 进而提高了用户的使用体验。
本发明实施例提供了一种 IM消息的显示装置, 如图 5所示, 包括: 设置单元 51、 第一 绘制单元 52。
其中, 当待处理图片的尺寸大于容器的尺寸时, 设置单元 51将所述待处理图片的显示 尺寸设置成不大于所述容器的尺寸; 第一绘制单元 52按照所设置的显示尺寸绘制所述待处 理图片。
本实施例提供的 IM消息的显示装置, 当待处理图片的尺寸大于 IM软件容器的尺寸时, IM软件对待处理图片进行处理,设置单元将待处理图片的显示尺寸设置成不大于 IM软件容 器的尺寸后, 第一绘制单元再以设置的待处理图片的显示尺寸显示该图片。 使原本尺寸大 于 IM软件容器尺寸的待处理图片能够适应 IM软件容器的尺寸, IM软件可以直接将原本大 于其容器尺寸的图片全部显示出来。
作为本实施例的一种改进,本发明实施例提供另一种 IM消息的显示装置,如图 6所示, 包括: 设置单元 61、 第一绘制单元 62、 计算单元 63、 第二绘制单元 64、 第二关联单元 65、 第一关联单元 66、 第二判断单元 67、 获取单元 68。
其中, 如图 6中虚线部分所示, 设置单元 61可以包括第一设置模块 611, 或者第二设 置模块 612和第一计算模块 613, 或者第三设置模块 614和第二计算模块 615。
当待处理图片的尺寸大于容器的尺寸时, 设置单元 61将所述待处理图片的显示尺寸设 置成不大于所述容器的尺寸。
本发明实施例提供一种实施方法, 设置单元 61包括第一设置模块 611。
具体的, 第一设置模块 611 将所述待处理图片的显示宽度设置为所述容器的宽度, 第 一设置模块 611将所述待处理图片的显示高度设置为所述容器的高度。
由于待处理图片的显示宽度和高度, 即在 IM软件容器中绘制该待处理软件的宽度和高 度, 适应了容器的宽度和高度, 因此, IM软件在按照设置好的显示宽度显示该待处理图片 时, 该待处理图片的宽度和高度一定在容器内。
本发明实施例提供另一种实施方法, 设置单元 61包括第二设置模块 612和第一计算模
具体的, 第二设置模块 612将所述待处理图片的显示宽度设置为所述容器的宽度; 第 一计算模块 613根据所述待处理图片的显示宽度相对于所述待处理图片的宽度的变化率计 算所述待处理图片的显示高度。
第一计算模块 623根据公式11=111*&1/&2计算所述待处理图片的显示高度, 其中, h为 所述待处理图片的显示高度, hi为所述待处理图片的高度, al为所述容器的宽度, a2为所 述待处理图片的宽度。
由于待处理图片的显示宽度, 即在 IM软件容器中绘制该待处理软件的宽度, 适应了容 器的宽度, 因此, IM软件在按照设置好的显示宽度显示该待处理图片时, 该待处理图片的 宽度一定在容器内。
本发明实施例提供另一种实施方法, 设置单元 61包括第三设置模块 614和第二计算模 块 615。
具体的, 第三设置模块 614将所述待处理图片的显示高度设置为所述容器的高度; 第 二计算模块 615根据所述待处理图片的显示高度相对于所述待处理图片的高度的变化率计 算所述待处理图片的显示宽度。
所述第二计算模块 615根据所述待处理图片的显示高度相对于所述待处理图片的高度 的变化率计算所述待处理图片的显示宽度为: 第二计算模块根据公式 A=A1*H1/H2计算所述 待处理图片的显示宽度, 其中, A 为所述待处理图片的显示宽度, A1 为所述待处理图片的 宽度, HI为所述容器的高度, H2为所述待处理图片的高度。
由于待处理图片的显示高度, 即在 IM软件容器中绘制该待处理软件的高度, 适应了容 器的高度, 因此, IM软件在按照设置好的显示高度显示该待处理图片时, 该待处理图片的 高度一定在容器内。
第一绘制单元 62按照设置单元 61设置的待处理图片的显示宽度、 以及所述待处理图 片的显示高度绘制所述待处理图片。
计算单元 63计算所述待处理图片的显示尺寸相对于所述待处理图片尺寸的变化比例。 为了方便用户辨别 IM软件容器中显示的图片是否被压缩过, 第二绘制单元 54在指定 位置绘制压缩标识, 所述压缩标识用于表明所述容器内相应图片的显示尺寸相对于所述图 片的原始尺寸是被压缩过的。
为了方便用户查看 IM软件容器中图片的原始图片, 第二关联单元 65将所述待处理图 片的显示内容链接到其原始图片地址;
这里, 装置提供一图片打开单元, 该图片打开单元, 用于以系统打开所述待处理图片 的默认程序打开所述待处理图片, 以方便对该待处理图片进行处理。
为了方便用户获知 IM软件中被压缩图片的压缩比例, 第一关联单元 66将所述变化比 例与所述压缩标识关联起来, 使鼠标移动到所述压缩标识上、 或者鼠标点击所述压缩标识 时, 显示所述变化比例。
第二判断单元 67判断所述容器的尺寸是否发生变化。
当第二判断单元 67 判断出容器的尺寸发生变化得到第一变化后容器时, 获取单元 68 获取第一变化后容器的尺寸, 并将所述第一变化容器作为当前的容器。
本实施例提供的 IM消息的显示装置, 当待处理图片的尺寸大于 IM软件容器的尺寸时, IM软件对待处理图片进行处理,设置单元将待处理图片的显示尺寸设置成不大于 IM软件容 器的尺寸后, 第一绘制单元再以设置的待处理图片的显示尺寸显示该图片。 使原本尺寸大 于 IM软件容器尺寸的待处理图片能够适应 IM软件容器的尺寸, IM软件可以直接将原本大 于其容器尺寸的图片全部显示出来。
并且在容器的尺寸发生变化后, IM软件根据变化后的容器的尺寸重新设置待处理图片 的显示尺寸, 使 IM软件容器尺寸发生变化后, 仍能够使待处理图片的显示尺寸适应变化后 的容器的尺寸。
本发明实施例中, IM消息的显示装置还具体用于为容器中的消息设置识别标记, 在容 器尺寸发生变化得到第二变化容器后, 根据所设置的识别标记确定消息在第二变化容器中 的位置, 确保容器的尺寸发生变化后, 变化前容器中的内容在变化后容器中的位置可以保 持不变, 进而提高用户的使用体验;
其中, 为容器中的消息设置识别标记包括: 为容器中消息的第 N行可见内容设置识别 标记, 其中, N为非零的自然数;
如图 7所示, 当为容器中消息的第 N行可见内容设置识别标记时, 该 IM消息的显示装 置包括: 标识单元 71、 查找单元 72、 第一判断单元 73、 移动单元 74。
其中, 标识单元 71为所述容器中消息的第 N行可见内容设置识别标记。 为了在后续的 步骤中, 容器中消息的第 N行可见内容能够被查找出来, 需要对容器中消息的第 N行可见
内容进行标记。 可以根据需要对容器中消息的任何一行进行标记, 比如可以对容器中的第 一行可见内容进行标记, 或者对容器中的第 3行可见内容进行标记。
本发明实施例提供了一种实施方式, 具体的, 标识单元 71在所述容器中消息的第一行 可见内容的预设位置插入所述识别标记。
本发明实施例提供了另一种实施方式, 具体的, 标识单元 71从所述第一行可见内容中 选择一个或者多个字符, 获取每个字符在整个消息内容中的序号; 并将获取到的所述序号 的集合指定为所述识别标记。
在所述容器尺寸发生变化得到第二变化容器后, 查找单元 72查找所述识别标记在所述 第二变化容器中所在行数。
第一判断单元 73判断所述识别标记在所述第二变化容器中所在行数是否为所述第二变 化容器的第一行。
当所述识别标记在所述第二变化容器中所在行数不是所述第二变化容器的第一行时, 移动单元 74移动所述第二变化容器的显示区域, 将所述识别标识所在行作为所述第二变化 容器显示区域的第一行。
本实施例提供的 IM消息的显示装置, 当判断出待处理图片的尺寸大于 IM软件容器的 尺寸时, IM软件对待处理图片进行处理, 在容器的尺寸发生变化后, 查找单元查找变化前 容器中的第一行可见内容在变化后容器中的行数, 第三判断单元判断变化前容器中的第一 行可见内容在变化后容器中所在行数是否为第一行; 当变化前容器中的第一行可见内容在 变化后容器中所在行数不是第一行时, 移动单元移动变化后容器的显示区域, 将变化前容 器中的第一行可见内容所在行作为变化后容器显示区域的第一行。 改善了由于容器尺寸的 改变而引起的容器中消息的第一行可见内容位置发生变化, 使容器中的第一行可见内容保 持不变, 进而提高了用户的使用体验。
本发明实施例提供的如图 7所示的另一种 IM消息的显示装置, 该装置可以在图 6所示 的 IM消息的显示装置中各个操作单元执行各个操作前, 或者执行各个后, 根据需要执行本 实施例所述技术方案。
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本发明可借助软 件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实
施方式。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分可 以以软件产品的形式体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机 的软盘, 硬盘或光盘等, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服 务器, 或者网络设备等) 执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟 悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应涵盖 在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。
Claims
1、 一种 IM消息的显示方法, 其特征在于, 所述方法包括:
当待处理图片的尺寸大于容器的尺寸时, 将所述待处理图片的显示尺寸设置成不大于所 述容器的尺寸;
按照所设置的显示尺寸绘制所述待处理图片。
2、 根据权利要求 1所述的 IM消息的显示方法, 其特征在于, 所述方法还包括: 为所述容器中的消息设置识别标记;
在所述容器尺寸发生变化得到第二变化容器后, 根据所述识别标识确定所述消息在所述 第二变化容器中的位置。
3、 根据权利要求 2所述的 IM消息的显示方法, 其特征在于, 所述为所述容器中的消息 设置识别标记, 在所述容器尺寸发生变化得到第二变化容器后, 根据所述识别标识确定所述 消息在所述第二变化容器中的位置包括:
为所述容器中消息的第 N行可见内容设置识别标记, 其中, N为非零的自然数; 在所述容器尺寸发生变化得到第二变化容器后, 查找所述识别标记在所述第二变化容器 中所在行数;
判断所述识别标记在所述第二变化容器中所在行数是否为所述第二变化容器的第 N行; 当所述识别标记在所述第二变化容器中所在行数不是所述第二变化容器的第 N行时, 移 动所述第二变化容器的显示区域, 将所述识别标识所在行作为所述第二变化容器显示区域的 第 N行。
4、 根据权利要求 3所述的 IM消息的显示方法, 其特征在于, 所述为所述容器中消息的 第 N行可见内容设置识别标记包括:
在所述容器中消息的第 N行可见内容的预设位置插入所述识别标记; 或者
从所述第 N行可见内容中选择一个或者多个字符, 获取每个字符在整个消息内容中的序 号; 并将获取到的所述序号的集合指定为所述识别标记。
5、 根据权利要求 1所述的 IM消息的显示方法, 其特征在于, 所述方法还包括: 计算所述待处理图片的显示尺寸相对于所述待处理图片尺寸的变化比例; 在指定位置绘制压缩标识, 所述压缩标识用于表明所述容器内相应图片的显示尺寸相对 于所述图片的原始尺寸是被压缩过的;
将所述变化比例与所述压缩标识关联起来, 当鼠标移动到所述压缩标识上、 或者鼠标点 击所述压缩标识时, 显示所述变化比例。
6、 根据权利要求 1至 5任一项所述的 IM消息的显示方法, 其特征在于, 在所述将所述 待处理图片的显示尺寸设置成不大于所述容器的尺寸之前, 所述方法还包括:
判断所述容器的尺寸是否发生变化;
在所述容器的尺寸发生变化得到第一变化容器后, 获取所述第一变化容器的尺寸, 将所 述第一变化容器作为当前的容器。
7、 根据权利要求 1至 6任一项所述的 IM消息的显示方法, 其特征在于, 所述方法还包 括- 将所述待处理图片的显示内容链接到其原始图片地址。
8、 根据权利要求 1-7任一项所述的 IM消息的显示方法, 其特征在于, 所述方法还包括: 以系统打开的所述待处理图片的默认程序打开所述待处理图片。
9、 根据权利要求 1所述的 IM消息的显示方法, 其特征在于, 所述将所述待处理图片的 显示尺寸设置成不大于所述容器的尺寸包括:
将所述待处理图片的显示宽度设置为所述容器的宽度, 将所述待处理图片的显示高度设 置为所述容器的高度;
或者, 将所述待处理图片的显示宽度设置为所述容器的宽度; 根据所述待处理图片的显 示宽度相对于所述待处理图片的宽度的变化率计算所述待处理图片的显示高度;
或者, 将所述待处理图片的显示高度设置为所述容器的高度; 根据所述待处理图片的显 示高度相对于所述待处理图片的高度的变化率计算所述待处理图片的显示宽度。
10、 根据权利要求 9所述的 IM消息的显示方法, 其特征在于, 所述按照所设置的显示尺 寸绘制所述待处理图片为: 按照所述待处理图片的显示宽度、 以及所述待处理图片的显示高 度绘制所述待处理图片。
11、 一种 IM消息的显示装置, 其特征在于, 所述 IM消息的显示装置包括:
设置单元, 用于当待处理图片的尺寸大于容器的尺寸时, 将所述待处理图片的显示尺寸 设置成不大于所述容器的尺寸;
第一绘制单元, 用于按照所设置的显示尺寸绘制所述待处理图片。
12、 根据权利要求 11所述的 IM消息的显示装置, 其特征在于, 所述 IM消息的显示装置 还具体用于为所述容器中的消息设置识别标记, 在所述容器尺寸发生变化得到第二变化容器 后, 根据所述识别标识确定所述消息在所述第二变化容器中的位置。
13、 根据权利要求 12所述的 IM消息的显示装置, 其特征在于, 所述 IM消息的显示装置 还包括:
标识单元, 用于为所述容器中消息的第 N行可见内容设置识别标记, 其中, N为非零的 自然数;
查找单元, 用于在所述容器尺寸发生变化得到第二变化容器后, 查找所述识别标记在所 述第二变化容器中所在行数;
第一判断单元, 用于判断所述识别标记在所述第二变化容器中所在行数是否为所述第二 变化容器的第 N行;
移动单元, 用于当所述识别标记在所述第二变化容器中所在行数不是所述第二变化容器 的第 N行时, 移动所述第二变化容器的显示区域, 将所述识别标识所在行作为所述第二变化 容器显示区域的第 N行。
14、 根据权利要求 13所述的 IM消息的显示装置, 其特征在于, 所述标识单元为所述容 器中消息的第 N行可见内容设置识别标记为: 所述标识单元在所述容器中消息的第 N行可见 内容的预设位置插入所述识别标记;
或者, 所述标识单元从所述第 N行可见内容中选择一个或者多个字符, 获取每个字符在 整个消息内容中的序号; 并将获取到的所述序号的集合指定为所述识别标记。
15、 根据权利要求 11所述的 IM消息的显示装置, 其特征在于, 所述 IM消息的显示装置 还包括:
计算单元,用于计算所述待处理图片的显示尺寸相对于所述待处理图片尺寸的变化比例; 第二绘制单元, 用于在指定位置绘制压缩标识, 所述压缩标识用于表明所述容器内相应 图片的显示尺寸相对于所述图片的原始尺寸是被压缩过的;
第一关联单元, 用于将所述变化比例与所述压缩标识关联起来, 使鼠标移动到所述压缩 标识上、 或者鼠标点击所述压缩标识时, 显示所述变化比例。
16、 根据权利要求 11至 15任一项所述的 IM消息的显示装置, 其特征在于, 所述 IM消 息的显示装置还包括:
第二判断单元, 用于判断所述容器的尺寸是否发生变化;
获取单元, 用于当所述容器的尺寸发生变化得到第一变化后容器时, 获取第一变化后容 器的尺寸, 将所述第一变化容器作为当前的容器。
17、 根据权利要求 11至 16任一项所述的 IM消息的显示装置, 其特征在于, 所述 IM消 息的显示装置还包括:
第二关联单元, 用于将所述待处理图片的显示内容链接到其原始图片地址。
18、 根据权利要求 11-17任一项所述的 IM消息的显示装置, 其特征在于, IM消息的显 示装置还包括:
图片打开单元, 用于以系统打开所述待处理图片的默认程序打开所述待处理图片。
19、 根据权利要求 11所述的 IM消息的显示装置, 其特征在于, 所述设置单元包括: 第一设置模块, 用于将所述待处理图片的显示宽度设置为所述容器的宽度, 将所述待处 理图片的显示高度设置为所述容器的高度;
或者, 第二设置模块, 用于将所述待处理图片的显示宽度设置为所述容器的宽度; 第一 计算模块, 用于根据所述待处理图片的显示宽度相对于所述待处理图片的宽度的变化率计算 所述待处理图片的显示高度;
或者, 第三设置模块, 用于将所述待处理图片的显示高度设置为所述容器的高度; 第二 计算模块, 用于根据所述待处理图片的显示高度相对于所述待处理图片的高度的变化率计算 所述待处理图片的显示宽度。
20、 根据权利要求 19所述的 IM消息的显示装置, 其特征在于, 所述绘制单元按照所设 置的显示尺寸绘制所述待处理图片为: 所述绘制单元按照所述待处理图片的显示宽度、 以及 所述待处理图片的显示高度绘制所述待处理图片。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/796,893 US8924861B2 (en) | 2010-12-03 | 2013-03-12 | Method and apparatus for displaying instant messaging (IM) message |
| US14/543,602 US9774549B2 (en) | 2010-12-03 | 2014-11-17 | Method and apparatus for displaying instant messaging (IM) message |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010588433.5 | 2010-12-03 | ||
| CN201010588433.5A CN102487362B (zh) | 2010-12-03 | 2010-12-03 | Im消息的显示方法和装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US13/796,893 Continuation US8924861B2 (en) | 2010-12-03 | 2013-03-12 | Method and apparatus for displaying instant messaging (IM) message |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012071921A1 true WO2012071921A1 (zh) | 2012-06-07 |
Family
ID=46152817
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/079433 Ceased WO2012071921A1 (zh) | 2010-12-03 | 2011-09-07 | Im消息的显示方法和装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (2) | US8924861B2 (zh) |
| CN (1) | CN102487362B (zh) |
| WO (1) | WO2012071921A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102124191B1 (ko) | 2013-07-24 | 2020-06-17 | 삼성전자주식회사 | 메시지 처리 방법 및 그 전자 장치 |
| CN105573580A (zh) * | 2015-12-10 | 2016-05-11 | 网易(杭州)网络有限公司 | 图文混合消息的显示方法及装置 |
| CN107154892A (zh) * | 2016-03-03 | 2017-09-12 | 游戏橘子数位科技股份有限公司 | 实时通讯互动的方法 |
| CN110913088B (zh) * | 2019-11-22 | 2021-11-09 | 合肥高维数据技术有限公司 | 一种用于im软件平台的图片传输方法和系统 |
| CN113655977B (zh) * | 2021-08-18 | 2024-10-29 | 北京达佳互联信息技术有限公司 | 一种素材展示方法、装置、电子设备及存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1980137A (zh) * | 2005-12-09 | 2007-06-13 | 腾讯科技(深圳)有限公司 | 一种对接收图片进行完整显示的方法及客户端 |
| CN101449270A (zh) * | 2006-03-15 | 2009-06-03 | 谷歌公司 | 自动显示尺寸调整后的图像 |
| CN101478732A (zh) * | 2009-02-11 | 2009-07-08 | 腾讯科技(深圳)有限公司 | 一种即时通信工具图片显示的方法和装置 |
Family Cites Families (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5001697A (en) * | 1988-02-10 | 1991-03-19 | Ibm Corp. | Method to automatically vary displayed object size with variations in window size |
| US5751283A (en) * | 1996-07-17 | 1998-05-12 | Microsoft Corporation | Resizing a window and an object on a display screen |
| US6456305B1 (en) * | 1999-03-18 | 2002-09-24 | Microsoft Corporation | Method and system for automatically fitting a graphical display of objects to the dimensions of a display window |
| US20060184886A1 (en) * | 1999-12-22 | 2006-08-17 | Urbanpixel Inc. | Spatial chat in a multiple browser environment |
| US6781608B1 (en) * | 2000-06-30 | 2004-08-24 | America Online, Inc. | Gradual image display |
| US7091976B1 (en) * | 2000-11-03 | 2006-08-15 | At&T Corp. | System and method of customizing animated entities for use in a multi-media communication application |
| US7421661B1 (en) * | 2002-04-30 | 2008-09-02 | Aol Llc | Instant messaging interface having an informational tool tip |
| WO2004046949A1 (en) * | 2002-11-18 | 2004-06-03 | America Online, Inc. | Handling a multimedia object associated with an electronic message |
| US20050188016A1 (en) * | 2002-11-25 | 2005-08-25 | Subramanyam Vdaygiri | Method and system for off-line, on-line, and instant-message-based multimedia collaboration |
| US7930350B2 (en) * | 2003-03-05 | 2011-04-19 | Canon U.S.A., Inc. | Digital image sharing enabled chat application |
| US7870199B2 (en) * | 2003-10-06 | 2011-01-11 | Aol Inc. | System and method for seamlessly bringing external services into instant messaging session |
| US20050091610A1 (en) * | 2003-10-22 | 2005-04-28 | International Business Machines Corporation | Selective display of windows on an auxiliary output device |
| US7921369B2 (en) * | 2004-12-30 | 2011-04-05 | Aol Inc. | Mood-based organization and display of instant messenger buddy lists |
| US20070186173A1 (en) * | 2006-02-03 | 2007-08-09 | Yahoo! Inc. | Instant messenger alerts and organization systems |
| US8010474B1 (en) * | 2006-09-05 | 2011-08-30 | Aol Inc. | Translating paralinguisitic indicators |
| US8352555B2 (en) * | 2007-08-17 | 2013-01-08 | Yahoo! Inc. | Scheduled online presence on instant messenger |
| KR101529502B1 (ko) * | 2008-10-16 | 2015-06-17 | 엘지전자 주식회사 | 인스턴트 메시지 제어방법과 이를 이용한 이동 단말기 |
| US8365081B1 (en) * | 2009-05-28 | 2013-01-29 | Amazon Technologies, Inc. | Embedding metadata within content |
| CN102270081B (zh) * | 2010-06-03 | 2015-09-23 | 腾讯科技(深圳)有限公司 | 一种调整列表元素大小的方法及装置 |
| KR101801188B1 (ko) * | 2011-07-05 | 2017-11-24 | 엘지전자 주식회사 | 휴대 전자기기 및 이의 제어방법 |
-
2010
- 2010-12-03 CN CN201010588433.5A patent/CN102487362B/zh active Active
-
2011
- 2011-09-07 WO PCT/CN2011/079433 patent/WO2012071921A1/zh not_active Ceased
-
2013
- 2013-03-12 US US13/796,893 patent/US8924861B2/en active Active
-
2014
- 2014-11-17 US US14/543,602 patent/US9774549B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1980137A (zh) * | 2005-12-09 | 2007-06-13 | 腾讯科技(深圳)有限公司 | 一种对接收图片进行完整显示的方法及客户端 |
| CN101449270A (zh) * | 2006-03-15 | 2009-06-03 | 谷歌公司 | 自动显示尺寸调整后的图像 |
| CN101478732A (zh) * | 2009-02-11 | 2009-07-08 | 腾讯科技(深圳)有限公司 | 一种即时通信工具图片显示的方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| US8924861B2 (en) | 2014-12-30 |
| US20150067535A1 (en) | 2015-03-05 |
| US9774549B2 (en) | 2017-09-26 |
| CN102487362A (zh) | 2012-06-06 |
| US20130191761A1 (en) | 2013-07-25 |
| CN102487362B (zh) | 2016-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12277103B2 (en) | Techniques for collapsing views of content items in a graphical user interface | |
| US11188216B2 (en) | Selectively emphasizing digital content | |
| US9245259B2 (en) | Presenting E-mail on a touch device | |
| US7636450B1 (en) | Displaying detected objects to indicate grouping | |
| JP6314975B2 (ja) | 表示制御装置、表示制御方法および表示制御プログラム | |
| US7813557B1 (en) | Tagging detected objects | |
| CN102722590B (zh) | 终端和图片获取方法 | |
| US11573984B2 (en) | Information processing device, information processing method, and program | |
| CN111770288B (zh) | 视频编辑方法、装置、终端及存储介质 | |
| CN106156189B (zh) | 一种标签生成方法及装置、信息获取方法及装置 | |
| CN103970437B (zh) | 操作便携式终端的方法及装置 | |
| WO2012071921A1 (zh) | Im消息的显示方法和装置 | |
| US20140372911A1 (en) | Interactive interface display control method, instant communication tool and computer storage medium | |
| WO2022242280A1 (zh) | 内容协同方法、装置、电子设备以及存储介质 | |
| WO2017096854A1 (zh) | 智能终端的图片预览方法及装置 | |
| JP2013008127A (ja) | 情報処理装置、プログラムおよび連携処理方法 | |
| CN103530320A (zh) | 多媒体文件处理方法、装置及终端 | |
| WO2014101416A1 (zh) | 一种文件展示方法及装置 | |
| CN106951493A (zh) | 无图新闻的自动配图展示方法及装置 | |
| WO2012025060A1 (zh) | 终端上消息列表的显示方法和终端 | |
| US7694885B1 (en) | Indicating a tag with visual data | |
| WO2013040939A1 (zh) | 一种针对视频添加批注的方法及装置 | |
| WO2016078454A1 (zh) | 一种动态头像的实现方法及装置 | |
| WO2012055190A1 (zh) | 一种设置用户界面的方法及装置 | |
| CN103888841B (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: 11844688 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 16/10/2013) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11844688 Country of ref document: EP Kind code of ref document: A1 |