CN115079889B - Information processing method, device, equipment, medium and product - Google Patents

Information processing method, device, equipment, medium and product Download PDF

Info

Publication number
CN115079889B
CN115079889B CN202210657742.6A CN202210657742A CN115079889B CN 115079889 B CN115079889 B CN 115079889B CN 202210657742 A CN202210657742 A CN 202210657742A CN 115079889 B CN115079889 B CN 115079889B
Authority
CN
China
Prior art keywords
target file
input box
file
displaying
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.)
Active
Application number
CN202210657742.6A
Other languages
Chinese (zh)
Other versions
CN115079889A (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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210657742.6A priority Critical patent/CN115079889B/en
Publication of CN115079889A publication Critical patent/CN115079889A/en
Application granted granted Critical
Publication of CN115079889B publication Critical patent/CN115079889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • 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]
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开提供一种信息处理方法、装置、设备、介质及产品,该方法包括:响应于在会话的会话界面中输入目标文件的操作,显示第一输入框;以及在所述第一输入框中显示所述目标文件;其中,所述会话界面具有第一输入框和第二输入框,所述第一输入框的尺寸大于所述第二输入框。本公开的技术方案提高了沟通效率。

The present disclosure provides an information processing method, apparatus, device, medium and product, the method comprising: in response to an operation of inputting a target file in a conversation interface of a conversation, displaying a first input box; and displaying the target file in the first input box; wherein the conversation interface has a first input box and a second input box, and the size of the first input box is larger than that of the second input box. The technical solution of the present disclosure improves communication efficiency.

Description

Information processing method, device, equipment, medium and product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information processing method, apparatus, device, medium, and product.
Background
In instant messaging scenarios, it is often desirable to send text files, folders, compression packs, pictures, videos, etc. in a conversation. At present, in order to realize diversity interaction, a file object can be input into a session input box in a dragging mode, and at the moment, the file object is directly input into a session interface as a communication message, namely, is directly displayed on a screen as a file message. However, the file object is single in transmission mode, and when a user needs to send description information related to the file object in a session, the user needs to edit the information separately and send the information again, so that the information aiming at the same thing is dispersed into a plurality of messages, and communication efficiency is reduced.
Disclosure of Invention
The disclosure provides an information processing method, an information processing device, information processing equipment, an information processing medium and an information processing product, which are used for solving the technical problems of single file object transmission mode and low communication efficiency in the prior art.
According to an aspect of the present disclosure, there is provided an information processing method including:
Displaying a first input box in response to an operation of inputting a target file in a session interface of a session;
and displaying the target file in the first input box;
the session interface is provided with a first input box and a second input box, and the size of the first input box is larger than that of the second input box.
According to another aspect of the present disclosure, there is provided an information processing apparatus based on a session interface, including:
a first response unit for displaying a first input box in response to an operation of inputting a target file in a session interface;
A first display unit configured to display the target file in the first input box;
The conversation interface is provided with a second input box, and the size of the first input box is larger than that of the second input box.
According to another aspect of the present disclosure, there is provided an electronic device, comprising a processor,
The system comprises a memory for storing a program, an output device and an input device, wherein the output device is used for displaying a session interface, a first input frame and a second input frame target file, and the input device is used for detecting input operation on the target file;
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform a session interface information processing method.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute an information processing method.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program, wherein the computer program implements an information processing method when executed by a processor.
According to one or more technical schemes provided by the embodiment of the application, for a session interface, a first input box can be displayed and a target file can be displayed in the first input box in response to the operation of the target file input in the session interface of the session. By displaying the target file in the first input box, the target file can be edited in the first input box, and when the file sending function is provided for a user, the target file is output by using the second input box with a larger size compared with the first input box, so that the target file has more file processing space, the information processing efficiency is improved, and the information communication efficiency is improved.
Drawings
Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments, with reference to the following drawings, wherein:
FIG. 1 illustrates a flow chart of one embodiment of an information processing method provided by embodiments of the present disclosure;
FIG. 2 illustrates an exemplary diagram of a display screen provided by an embodiment of the present disclosure;
FIG. 3 shows a flow chart of yet another embodiment of an information processing method provided by an embodiment of the present disclosure;
FIG. 4 shows a flowchart of yet another embodiment of an information processing method provided by an embodiment of the present disclosure;
FIG. 5 illustrates an example diagram of a second input box provided by an embodiment of the present disclosure;
FIG. 6 illustrates an exemplary diagram of a launch window provided by an embodiment of the present disclosure;
FIG. 7 shows a flowchart of yet another embodiment of an information processing method provided by an embodiment of the present disclosure;
FIG. 8 illustrates an exemplary diagram of a floating window displaying operational options provided by an embodiment of the present disclosure;
FIG. 9 illustrates an exemplary view of an edit window for a picture provided by an embodiment of the present disclosure;
Fig. 10 is a schematic diagram showing the structure of an embodiment of an information processing apparatus provided by an embodiment of the present disclosure;
FIG. 11 shows a schematic block diagram of an electronic device according to an exemplary embodiment of the present disclosure;
fig. 12 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect. And/or may refer to two or more listed side-by-side schemes, any one of which may be selected, or all of which may be selected. For example, A and/or B include the following three parallel schemes A, B, A and B.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment," another embodiment "means" at least one additional embodiment, "and" some embodiments "means" at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The technical scheme disclosed by the invention can be applied to an instant messaging scene, can comprise different areas for a session interface in the instant messaging scene, starts different output and input frames for files, pictures or videos dragged or moved to the session interface according to different object types and moving areas, realizes interaction of multiple output types, and improves the transmission efficiency and accuracy of objects.
The technical scheme of the present disclosure is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a flowchart of an embodiment of an information processing method according to an embodiment of the present disclosure may include the following steps:
and 101, displaying a first input box in response to the operation of inputting the target file in the session interface of the session.
102, Displaying a target file in a first input box;
The conversation interface is provided with a first input box and a second input box, and the size of the first input box is larger than that of the second input box.
The session interface and the target file may be displayed in a display screen. The display screen may include one or more, and the session interface and the target file may be located on the same display screen or may be located on different display screens.
The session interface may have at least one input box. The conversation interface may have a first input box and a second input box, and the first input box may be displayed directly in the conversation interface, for example in a pop-up window. The second input box is not displayed at the same time as the first input box, and can be switched by a switching control. Typically, the second input box is displayed by default in the session interface, and a control of the first input box may be displayed, and when the user is detected to trigger the control, the first input box may be displayed.
The session interface information processing method provided by the disclosure can be configured in an electronic device, and the electronic device can comprise a display screen. The display screen may be used to display a session interface and a target file.
In some embodiments, the method further comprises determining a file type of the target file and an end position of the target file at the session interface in response to an input operation to move the target file to the session interface.
The target files may include multimedia files and text files.
The multimedia file may include, for example, images, video, audio, etc. The Image files may include, for example, bmp (Bitmap), jpg (Joint Photographic Experts Group, a group of joint Image specialists), tiff (TAG IMAGE FILE Format ), gif (GRAPHICS INTERCHANGE Format, interpretable as a graphic exchange Format), pcx (PC Paintbrush Exchange, picture file Format), tga (TAGGED GRAPHICS, tag Image), exif (Exchangeable IMAGE FILE Format ), fpx (Flash Pix, smart Image file), svg (Scalable Vector Graphics, scalable vector graphic), psd (Photoshop Document, graphic file Format), cdr (Corel DRAW, graphic design package), pcd (kodak PhotoCD, image compression Format), dxf (DRAWING INTERCHANGE Format, vector data Format), eps (Encapsulated PostScript, vector Format map), ai (Adobe illustrator, vector graphic file Format), RAW (RAW Format, uncompressed Image), and the like. Video files may include, for example, AVI (Audio Video Interleaved, audio video staggering format), mov (QuickTime, film format), rmvb (REAL MEDIA Variable Bit Rate, variable bit rate video), rm (REALMEDIA, streaming media file format), FLV (flash video, video file), mp4 (Moving Picture Experts Group 4, moving picture experts group), 3GP (3 rd Generation Partnership Project, third generation partnership project program), and the like. Optionally, the second input box may be displayed by default in the display interface, and when an operation of inputting the target file for the session interface is detected, the first input box may be triggered to be displayed. After the second input box is displayed, the first input box is no longer displayed.
In the embodiment of the disclosure, for the session interface, the first input box may be displayed and the target file may be displayed in the first input box in response to an operation of the target file input at the session interface of the session. By displaying the target file in the first input box, the target file can be displayed in the larger first input box, more display areas are provided, the target file is provided with a file sending function for a user, meanwhile, a larger information editing area can be provided by utilizing the second input box with a larger size compared with the first input box, the user can conveniently input other text information or files and the like in the first input box, and finally, the information is sent to a session together as the content of one message. And the processing efficiency of the message is improved. And the large input box provides a wide input content visual field for the user, so that the user can conveniently and integrally check the input content, and the input experience of the user is improved.
In other embodiments of the present disclosure, the first input box may also include message editing capabilities not provided by the second input box. For example, the first input box may include a rich text editing box having an editing function for a target file, and the like.
As one embodiment, the operation of entering the target file in the session interface includes one or more of the following:
a drag-in operation of dragging the target file into the session interface;
and pasting the target file in the second input box.
At least one region may be included in the session interface. Different areas are used to provide different functions.
The drag-in operation or the paste operation performed on the target file can be completed through a mouse, a finger or a touch screen.
The user can operate the mouse to select the target file, for example, the target file can be selected by clicking the left button of the mouse, and the left button is kept not loosened, so that the target file can be kept in a selected state. And when the target file is in the selected state, dragging the mouse to drag the target file into the session interface. Optionally, the user may also select the target file through the touch screen using a finger or a stylus and perform a drag-in operation for the target file.
The target file is selected and dragged from the initial position to the session interface, and a displacement track can be generated. The two ends of the displacement track can be respectively the initial position and the final position of the target file. The initial position of the target file may be the position corresponding to the target file being selected for the first time. The initial position may include a position corresponding to any point in the object area where the target file is located. The end position of the target file may be a position when the target file stops being selected, or a position when the target file is terminated to move.
In some embodiments, the session interface may include at least one region. The division of the regions may be used to provide the user with different manners of display and/or different manners of operation for the target file.
For ease of understanding, as shown in FIG. 2, which is an exemplary illustration of a display screen 200, a session interface 201 and a target file 202 may be included in the display screen. The session interface 201 may include a contact area 2011, a second input box 2012, a session box 2013. Wherein, the session box 2013 is used for displaying historical session messages, and the second input box is used for inputting messages in real time. The second input box 2012 may include a message input box. The target file 202 may be dragged or pasted to any position in the session interface 201, alternatively, the file 202 may be dragged or pasted to any position of the first area corresponding to the second input box 2012, and also may be dragged or pasted to any position of the second area corresponding to the session box 2013. Optionally, after the target file is input to the session interface, the session interface 201 may enter a frozen state, where the second input box 2012 is in a non-editable state, at which time the first input box 203 may be displayed, the first input box 203 is in an active state, and file editing may be performed, and optionally, a "determine" control 2031 may be included in the first input box 203 for receiving a confirmation operation from the user.
In the embodiment of the disclosure, the input operation of the target file can be completed through at least one of the dragging operation and the pasting operation, and the input efficiency of the target file is improved.
As shown in fig. 3, a flowchart of still another embodiment of an information processing method according to an embodiment of the present disclosure may include a step 301 of determining whether an end point position of a target file is a first preset area in a session interface in response to an operation of inputting the target file in the session interface of a session, and if yes, executing step 302, and if not, executing step 303 or 304.
And 302, displaying a first input box and displaying a target file in the first input box.
Optionally, judging whether the end position of the target file is located in a first preset area in the session interface may include detecting that a left mouse button selects the target file, detecting a position when the left mouse button is released when the mouse drags the target file, and judging whether the position when the left mouse button is released is located in the first preset area in the session interface.
As shown in fig. 2, the first preset area may include an area 203 corresponding to the second input box. Judging whether the end position of the target file is located in the first preset area in the session interface may include judging whether the end position of the target file is located in the first preset area corresponding to the second input box in the session interface.
As one possible implementation manner, the first preset area is an area of a second input box in the session interface, and the session interface displays the second input box by default.
And 303, sending the target file to the session.
Here, if the user inputs other information in the first input box, the information including the target file in the first input box is transmitted as one piece of information to the session.
304, Displaying a sending popup window of the target file. And displaying a cancel sending control and a confirm sending control in the popup window.
And if the user is detected to click on the cancel control, canceling the sending target file. And if the user is detected to click the confirmation sending control, sending the information containing the target file in the first input box into the session as one piece of information.
When the end position of the target file is located in a first preset area (such as in a second input box), the first input box can be aroused, and a user can check and edit the message on the target file through the first input box with a larger size, so that the checking efficiency and the message editing efficiency of the target file are improved. As an alternative embodiment, the first input box may further comprise a rich text editing box. On the basis of providing a larger output range, the first input box can provide a rich text editing function, so that real-time editing of the target file is realized, and the content of the target file is enriched. The rich text editing function may include, for example, editing an object ontology, setting an edit of an object property for the object. Editing the object body may refer to editing the object body by graphic drawing, text content input, clipping, and the like. Editing of setting object properties for an object may refer to setting property settings for the object associated property information, such as title information, link information, color, brightness, etc., for the object.
For ease of understanding, an example diagram of the first input box is shown in fig. 5. The first input box 500 may include different input box areas such as an object editing area 501, a title input area 502, a toolbar 503, etc., wherein a target file 504 may be located in the object editing area 501. Tools may be included in toolbar 503, such as, for example, a formatting brush, color, font, linking tool, etc.
In practical application, when the first input box is displayed, the first input box can be displayed in a session interface. When the first input frame is displayed, the session interface can be set as a bottom display layer, and is switched to an inactive state or a frozen state, the session interface can not be updated any more, for example, the session in the session interface can not be updated any more, the first input frame is displayed on the upper layer of the display layer of the session interface, the first input frame enters the active state, and editing operation of the user on the target file in the first input frame can be detected.
In the embodiment of the disclosure, if a drag-in operation of dragging the target file into the session interface is detected, whether the end position of the target file is a first preset area in the session interface may be determined, and when the end position of the target file is the first preset area, the first input box may be displayed. The first preset area is used as the position of the dragging operation of the target file, so that the target file can be accurately detected, and the detection efficiency and accuracy of the target file are improved.
As one embodiment, before performing 302 the steps of displaying the first input box and displaying the target file in the first input box, further comprises:
Judging whether the file type of the target file is a preset type, if so, executing the steps of displaying the first input box and displaying the target file in the first input box. If not, executing the step of directly sending the target file into the session, and sending the target file into the session after the popup window is confirmed again.
The preset type includes one or both of a picture and a video. In the first input box, the picture may directly display image information, and the video may display a cover frame or any other frame therein, so that the user may need to add further description information in combination with the content of the picture, and thus, the preset type is defined as one of the picture and the video or one of them herein.
The end position can be the position of the track tail end corresponding to the session interface when the track of the target file is stopped to change.
Determining the destination location of the target file as the first preset area in the session interface may include determining the first preset area corresponding to the second input box of the session interface, and determining whether the destination location of the target file is located in the first preset area. If yes, determining that the end position of the target file is located in a second input box of the session interface. And if the destination position of the target file is not located in the first preset area, determining that the destination position of the target file is located in the area where the session frame of the session interface is located.
In the embodiment of the disclosure, whether the file type of the target file is a preset type is determined, and the step of displaying the first input frame can be executed when the end position of the target file is a first preset area in the session interface and the file type of the target file is a preset type, so that accurate setting of display conditions of the first input frame is realized, and the user is ensured to complete message input of the target user when the dragged file is of the preset type and reaches the first preset area. When the preset type comprises one or two of the pictures and the videos, the two or two of the pictures and the videos can be edited for the second time, compared with a direct sending scheme in the prior art, the method and the device provide more convenient multi-file editing and transmission schemes, solve the file transmission requirement of editability, and improve the message transmission efficiency.
As an embodiment, referring to fig. 4, the difference from fig. 3 is that, before performing 302 the step of displaying the first input box and displaying the target file in the first input box, it may further include:
305, judging whether the file type of the target file is a preset type, if so, executing step 302, and if not, executing step 303 or 304.
The method further comprises, after performing step 304, also performing step 306 or step 307.
And 306, responding to the confirmation operation triggered by the user in the sending popup window, and sending the target file to the session.
And 307, canceling the sending target file in response to a cancel operation triggered by the user in the sending popup.
Steps 306 and 307 are optional, and the system may be implemented in one of the ways selected. In addition, in the step sequence numbers, the number size does not limit the order of the steps, and the specific step sequence is based on the drawings and the text description.
In one possible design, before the sending popup corresponding to the target file is displayed, a limit sending prompt message that "the target file exceeds the limit and cannot be sent" may be generated, and then the sending popup corresponding to the target file may be displayed. For ease of understanding, as shown in fig. 6, to illustrate an example diagram of a launch window 600, the launch window 600 may include object launch information 601 for a target file. A send prompt area 602 may also be included, where the send prompt area may display, for example, a prompt message of "send file, send to a user", and of course, in practical application, the send popup 600 may also include a "cancel" control 603, and a "send" control 604. The object transmission information 601 may include information such as an object thumbnail 6011, an object name 6012, and the like. If it is detected that the user clicks the "send" control 604, then a target file may be sent to refer to the session display input box of the session interface.
In the embodiment of the present disclosure, when the end position of the target file is not the first preset area or the file type of the target file is not the preset type, the popup window sending may be performed. Namely, under the condition that the transmission of the editable mode of the first input window is not met, the popup window is directly used for transmission, various transmission effects of the target file are provided, and the transmission efficiency and accuracy are improved.
As shown in fig. 7, after displaying the target file in the first input box, further includes:
701, in response to a first operation triggered for a target file in a first input box, displaying operation options for the target file.
And 702, responding to the selection operation for the operation options, and executing corresponding processing on the target file in the first input box.
The first operation may include a hover operation (river), a right click operation, etc. The hover operation may include a mouse hover, i.e., a residence time of the mouse at the target file is above a hover time threshold, determining that a hover operation is detected to be triggered for the target file in the first input box. The right click operation may include an operation of clicking a right button of the mouse. The target file can be clicked through a right key, at least one operation option is displayed, the operation option can comprise a copy option, an original image viewing option and an editing option, the copy option is selected as an example, and the copy of the target file can be completed through the copy operation. When the copy operation of the target file is detected, a paste operation can be executed in the first input box, and the target file is copied in the first input box, so that a copied file of the target file is obtained.
In the embodiment of the disclosure, after the target file is displayed in the first input box, the operation options of the target file can be displayed in response to the first operation triggered on the target file in the first input box, one or more possible file processing operation options can be provided by the display operation options, more diversified file processing modes can be provided for a user, and efficient processing of the file is achieved.
As an embodiment, before the step of displaying the operation options of the target file, the method further comprises:
Judging whether the file type of the target file belongs to an editable type or not;
And if the file type of the target file is determined to be of an editable type, executing the step of displaying operation options of the target file.
The editable type may include a preset editable file type. Judging whether the file type of the target file belongs to the editable type may include acquiring a preset editable type, inquiring whether the file type of the target file exists in the preset editable type, if so, determining that the target file belongs to the editable type, and if not, determining that the target file does not belong to the editable type. The file attribute of the target file can be queried to obtain the type keyword of the target file, and if the type keyword is consistent with the preset editable type keyword, the file type of the target file can be determined to belong to the editable type.
Alternatively, the picture type may be an editable type, and the picture may be edited through the first input box. The name of the picture type such as JPG, BMP and the like can be used as the type key word of the editable type.
In the embodiment of the disclosure, by detecting the editable type of the file type of the target file, when the file type of the target file belongs to the editable type, the file can be edited, and the editing efficiency of the target file is high.
In some embodiments, the operational options for the target file include one or more of a view original, a copy, and an edit option.
When the original image option is checked, corresponding processing is carried out on the target file, wherein the processing comprises the steps of amplifying the picture of the target file and displaying the amplified target file in a popup window;
when the operation options comprise a copy option, corresponding processing is performed on the target file, wherein the processing comprises copying the target file and pasting the target file at a corresponding target position according to corresponding pasting operation. For example, detecting a paste operation performed by the user in the first input box, displaying the target file and a copy of the target file in the first input box, or when detecting that the user performs a paste operation in other locations (e.g., a local folder, a document, an input box of another session, etc.), pasting the target file in the corresponding location.
When the operation options comprise editing options, corresponding processing is carried out on the target file, wherein the processing comprises displaying the amplified target file in a popup window, the popup window comprises at least one editing control, acquiring the edited target file in response to editing operation based on the editing control, and displaying the edited target file in a first input box.
Optionally, when the target file is a picture, the selection operation for any editing control can be detected to obtain an editing pen corresponding to the editing control
Optionally, at least one option operation may be displayed when a click operation is triggered, and for convenience of understanding, as shown in fig. 8, for the first input box 800, at least one operation option may be displayed when a user is detected to trigger a hover operation for the target file 801, and the at least one operation option may be displayed in a hover window 802, and may include an operation option of viewing an original image option 803, a copy option 804, an edit option 805, and the like.
The click operation may include a left click, a right click, etc. The operation page may be a page when the object editing operation is performed, and may refer to a drawing page of an image, for example. The target editing object may include a target file and editing contents of the target file.
When the option of checking the original image is triggered, an image output page of the original image can be generated, and the image can be displayed in the image output page.
The copy option may refer to an operation option to copy the target file to generate the same copy object.
When the editing option is triggered, a page may be generated for editing the target file using the tool provided by the first input box.
For easy understanding, taking the target file as an example of a picture 900 as shown in fig. 9, when the target file in fig. 8 is a picture, clicking operation on an editing option in at least one operation option displayed on the picture may be detected, after the editing option is triggered, the original drawing 900 may be output in a popup window, and a corresponding editing tool 901 may be displayed, where the editing tool 901 may be located above the original drawing 900 in the form of a floating window, taking one of the editing tools as a text box as an example, and the editing tool of the text box may be selected in the original drawing 900 to draw one text box 902, and the target text 903 may be input in the text box 902.
In the embodiment of the disclosure, at least one of an original image viewing option, a copying option and an editing option is provided for the target file, and the online editing of the target file is completed, so that the richness of the file is higher and the content is more comprehensive.
As yet another embodiment, the method further comprises:
and transmitting the content in the first input box into the session in response to a preset operation of the user on the first input box. For example, a send control may be in the first input box, and the user may send the content in the first input box into the session by triggering the send control.
The content in the first input box may be directly sent to the session, and the content in the first input box may include the target file, may also include editing content input by the user when performing an editing operation on the target file, or may also include other content input by the user in the input box, such as text content or other files.
Alternatively, the preset operation of the first input box may include a triggering operation performed with respect to a "confirm" control of the first input box. The content in the first input box may include a target file and content edited by a user for the target file. Specifically, an editing operation performed by a user on the first input box can be detected, and editing content corresponding to the editing operation is obtained, so that the content of the first input box is determined according to the editing content and the target file. The editing content may include a result of a specific editing action performed on the target file, for example, an object title generated by a action of setting a title on the target file may be an editing content, and a drawing displayed on an upper layer of the target file generated by performing a checking operation on the target file locally is the editing content.
In the embodiment of the disclosure, the content in the first input box can be sent to the session in response to the preset operation of the user on the first input box, so that accurate sending of the content is realized. Compared with the independent target file, the method has the advantages that the method has richer content for forwarding the target file, and the message transmission effectiveness can be improved.
In one possible design, the method further includes, prior to displaying the first input box:
judging whether the target file meets the transmission limiting condition or not;
if the target file meets the transmission limiting condition, executing the steps of displaying a first input box and displaying the target file in the first input box;
And if the target file is determined not to meet the transmission limiting condition, the target file is sent to the session or the target file is canceled to be sent.
And when the target file does not meet the limiting condition, the target file is not transmitted through the first input box mode, and the target file can be transmitted to the session through a popup window transmission mode. A session of the present disclosure may refer to an open session window that corresponds to a session box for displaying session messages.
If the limit value corresponding to the target file does not meet the limit condition, sending a message based on the object of the target file, generating a sending popup of the target file, and outputting the sending popup.
The target file may include a picture. Optionally, other pictures than the target picture in the at least one picture may be transmitted in a popup manner. For non-selected pictures, of course, a pop-up window may be used for output,
Alternatively, the video transmission sequence corresponding to the at least one video may be determined according to the positions corresponding to the at least one video respectively. The video transmission sequence corresponding to at least one video can also be randomly determined. And the video transmission sequence corresponding to the at least one video can be determined in sequence according to the sequence from the big video duration to the small video duration according to the video duration corresponding to the at least one video respectively.
In the embodiment of the disclosure, the transmission function of the target file can be effectively limited by the transmission limiting condition, so that the phenomenon of transmission failure caused by the fact that the target file does not meet the transmission limiting condition is avoided, and the transmission effectiveness and accuracy of the target file are improved.
In some embodiments, when the target file is a plurality of files, determining whether the target file satisfies the transmission constraint includes one or more of:
Determining whether the target file contains a file with a file type which is not a preset type or not, if not, determining that the target file meets the transmission limiting condition, and if so, determining that the target file does not meet the transmission limiting condition;
And judging whether the target file contains a file with the single file size exceeding a first threshold value, if not, determining that the target file meets the transmission limiting condition, and if so, determining that the target file does not meet the transmission limiting condition.
When the target file includes a plurality of files and is of picture type, it can be judged whether the target file contains a file with a single file size exceeding a first threshold. And if the target file contains a single file which is larger than the first threshold value, starting a popup window for each file, and sending the file through the popup window.
The step of judging whether the target file meets the transmission limiting condition can further comprise detecting whether the target file input into the conversation in a dragging or pasting mode reaches a popup window release condition, if so, directly adopting the popup window to send the target file to the conversation, and if not, displaying a first input frame, displaying the target file in the first input frame, and sending the target file to the conversation through the first input frame. The popup condition may include at least one of a number of files exceeding a number threshold, a size of a single file exceeding a second threshold, a file type not being a picture or video. When the target object comprises at least one and popup sending is enabled, popup can be independently generated for each target file, and popups of the target files are sequentially displayed.
When the target file includes a plurality of and includes a picture type and other file types, the file types of the plurality of target files may be different. When detecting that other file types are non-preset files, the other file types cannot be edited online through the first input box, and the popup window sending mode can be directly started to send the other file types.
The preset type may include at least one of a picture and a video. The non-preset types may include text file types, which may include, for example, one or more file types of word (message) files, pdf (Portable Document Format ) files, compression packs, folders, mirror files, and the like.
The transmission limiting condition may include a transmission limiting parameter, which may refer to one or more of a memory parameter, a number parameter, a duration parameter, a length parameter, a width parameter, a frame rate parameter, a code rate parameter, etc. of the object, in addition to the preset type or not and the file size judgment. The transmission limit parameter may be determined according to an object type of the target file, for example, when the target file is an image type, the transmission limit parameter may include a memory parameter, a length parameter, and a width parameter. When the target file is of a video type, the transmission limit parameters may include a memory parameter, a number parameter, a duration parameter of the video, a frame rate parameter, a code rate parameter, and the like. Each transmission limiting parameter may correspond to a respective parameter threshold. A parameter value of the target file corresponding to the transmission limiting parameter may be determined, and the parameter value may be compared with a parameter threshold corresponding to the parameter.
In the embodiment of the disclosure, a file with a file type of a target file being a non-preset type is regarded as a file which does not meet the transmission limiting condition, and a file with a size exceeding a first threshold value of a single file is regarded as a judgment which does not meet the transmission limiting condition, so that the target file meeting the transmission limiting condition is transmitted, the transmission efficiency and accuracy of the target file are improved, and the phenomenon of file transmission failure caused by direct transmission due to the fact that the file type or the size does not meet the transmission limiting condition is avoided.
In the case of dividing the respective functional modules by the respective functions, as shown in fig. 10, a schematic structural diagram of an embodiment of a session interface-based information processing apparatus provided in an embodiment of the present disclosure is shown, where the session interface-based information processing apparatus may be an electronic device. The apparatus may include:
a first response unit 1001 for displaying a first input box in response to an operation of inputting a target file in a session interface;
A first display unit 1002 for displaying a target file in a first input box;
The conversation interface is provided with a second input box, and the size of the first input box is larger than that of the second input box.
As an embodiment, the apparatus further comprises one or more of the following elements, for entering the target file in the session interface:
The file dragging operation is used for dragging the target file into the conversation interface;
A file pasting operation for pasting the target file in the second input box.
In one possible design, the first response unit includes:
The first dragging-in module is used for dragging the target file into the dragging-in operation of the session interface;
the apparatus further comprises:
The first judging unit is used for judging whether the end position of the target file is a first preset area in the session interface or not;
and the first processing unit is used for executing the step of displaying the first input frame if the end position of the target file is determined to be the first preset area in the session interface.
As an optional implementation manner, the first preset area is an area of a second input box in the session interface, wherein the session interface displays the second input box by default.
In certain embodiments, further comprising:
the second judging unit is used for judging whether the file type of the target file is a preset type or not;
the second processing unit is used for executing the steps of displaying the first input frame and displaying the target file in the first input frame if the end position of the target file is determined to be a first preset area in the session interface and the file type of the target file is determined to be a preset type;
the preset type includes one or both of a picture and a video.
As yet another embodiment, further comprising:
The third processing unit is used for sending the target file to the session if the terminal position of the target file is not determined to be a first preset area in the session interface or the file type of the target file is determined to be not a preset type;
Or the fourth processing unit is used for displaying a sending popup window corresponding to the target file, responding to the confirmation operation triggered by the user in the sending popup window, sending the target file to the session, or responding to the cancellation operation triggered by the user in the sending popup window, and canceling the sending of the target file. As yet another embodiment, further comprising:
The second response unit is used for responding to a first operation triggered for the target file in the first input box and displaying operation options of the target file;
And a third response unit for executing corresponding processing on the target file in the first input box in response to the selection operation for the operation option.
In one possible design, the method further comprises:
A third judging unit for judging whether the file type of the target file belongs to an editable type;
And a fifth processing unit, configured to execute the step of displaying the operation options of the target file if it is determined that the file type of the target file belongs to the editable type.
As an alternative implementation, the operation options of the target file comprise one or more of an original image viewing option, a copy option and an edit option
When the original image option is checked, corresponding processing is carried out on the target file in the first input box, wherein the processing comprises the steps of amplifying the picture of the target file and displaying the amplified target file in a popup window;
when the operation options comprise a copy option, corresponding processing is carried out on the target file in the first input box, wherein the processing comprises the steps of copying the target file in the first input box and pasting the target file at a corresponding target position according to corresponding pasting operation;
When the operation options comprise editing options, corresponding processing is carried out on the target file in the first input box, wherein the processing comprises displaying the amplified target file in a popup window, the popup window comprises at least one editing control, acquiring the edited target file in response to editing operation based on the editing control, and displaying the edited target file in the first input box.
Detecting the editing operation of the user on the target file based on the editing pen to obtain the target file with the editing object.
As an embodiment, further comprising:
and the fourth response unit is used for responding to the preset operation of the user on the first input box and sending the content in the first input box to the session.
In some embodiments, the apparatus may further comprise:
A fourth judging unit for judging whether the target file satisfies the transmission limiting condition;
a transmission limiting unit for executing the steps of displaying the first input box and displaying the target file in the first input box if the target file is determined to meet the transmission limiting condition;
And the non-transmission limiting unit is used for transmitting the target file to the session or canceling transmitting the target file if the target file is determined not to meet the transmission limiting condition.
In one possible design, when the target file is a plurality of files, the fourth judging unit includes one or more of the following:
The first judging module is used for judging whether the target file contains files with the file types of non-preset types or not, if not, determining that the target file meets the transmission limiting conditions, and if so, determining that the target file does not meet the transmission limiting conditions;
and the second judging module is used for judging whether the target file contains a file with the single file size exceeding the first threshold value, if not, determining that the target file meets the transmission limiting condition, and if so, determining that the target file does not meet the transmission limiting condition.
The foregoing description of the solution provided by the embodiments of the present disclosure has been mainly presented from the perspective of a server. It will be appreciated that the server, in order to implement the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The embodiments of the present disclosure may divide functional units of a server according to the above method examples, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present disclosure, the division of the modules is merely a logic function division, and other division manners may be implemented in actual practice.
Fig. 11 shows a schematic block diagram of an electronic device according to an exemplary embodiment of the present disclosure. As shown in fig. 11, the electronic device 1100 includes one or more (including two) processors 101, a memory 1102 storing a program, an output device 1103, and an input device 1104. The output device 1103 may be used to display a session interface and a target file, the input device 1104 may be used to detect an input operation of the target file, and the processor 1101 may support the electronic device to perform the data processing step in the above-described session interface-based information processing.
Alternatively, the memory 1104 may include read-only memory and random access memory, and provide operating instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (non-volatile random access memory, NVRAM).
In some embodiments, as shown in fig. 11, the processor 1101 performs the corresponding operation by invoking a memory-stored operating instruction (which may be stored in an operating system). The processor 1101 controls the processing operations of any of the terminal devices, which may also be referred to as a central processing unit (central processing unit, CPU). Memory 1102 may include read-only memory and random access memory, and provides instructions and data to processor 1301. A portion of memory 1102 may also include NVRAM. Such as a memory, a communication interface, and a memory coupled together by a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. But for clarity of illustration, the various buses are labeled as bus system 1105 in fig. 11.
The method disclosed by the embodiment of the disclosure can be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, a digital signal processor (DIGITAL SIGNAL processing, DSP), an ASIC, an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks of the disclosure in the embodiments of the disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The exemplary embodiments of the present disclosure also provide an electronic device comprising at least one processor and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor for causing the electronic device to perform a method according to embodiments of the present disclosure when executed by the at least one processor.
The present disclosure also provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to an embodiment of the present disclosure.
The present disclosure also provides a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to an embodiment of the present disclosure.
With reference to fig. 12, a block diagram of an electronic device 1200 that may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 12, the electronic device 1200 includes a computing unit 1201 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1202 or a computer program loaded from a storage unit 1208 into a Random Access Memory (RAM) 12803. In the RAM 1203, various programs and data required for the operation of the device 1200 may also be stored. The computing unit 1201, the ROM1202, and the RAM 1203 are connected to each other via a bus 1204. An input/output (I/O) interface 1205 is also connected to the bus 1204.
Various components in the electronic device 1200 are connected to the I/O interface 1205, including an input unit 1206, an output unit 1207, a storage unit 1208, and a communication unit 1209. The input unit 1206 may be any type of device capable of inputting information to the electronic device 1200, and the input unit 1206 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 1207 may be any type of device capable of presenting information, and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. Storage unit 1204 may include, but is not limited to, magnetic disks, optical disks. The communication unit 1209 allows the electronic device 1200 to exchange information/data with other devices over computer networks, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 1201 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1201 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 1201 performs the various methods and processes described above. For example, in some embodiments, the information processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1208. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 1200 via the ROM1202 and/or the communication unit 1209. In some embodiments, the computing unit 1201 may be configured to perform the information processing method by any other suitable means (e.g., by means of firmware).
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user, for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions of the embodiments of the present disclosure are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a terminal, a user equipment, or other programmable apparatus. The computer program or instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center, by wired or wireless means. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices such as servers, data centers, etc. that integrate one or more available media. Usable media may be magnetic media such as floppy disks, hard disks, magnetic tapes, optical media such as digital video disks (digital video disc, DVD), and semiconductor media such as Solid State Disks (SSDs).
Although the present disclosure has been described in connection with specific features and embodiments thereof, it will be apparent that various modifications and combinations thereof can be made without departing from the spirit and scope of the disclosure. Accordingly, the specification and drawings are merely exemplary illustrations of the present disclosure as defined in the appended claims and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of the disclosure. It will be apparent to those skilled in the art that various modifications and variations can be made to the present disclosure without departing from the spirit or scope of the disclosure. Thus, the present disclosure is intended to include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (14)

1.一种信息处理方法,其特征在于,包括:1. An information processing method, comprising: 响应于在会话的会话界面中输入目标文件的操作,显示第一输入框,其中,所述第一输入框包括富文本编辑框;In response to an operation of inputting a target file in a session interface of a session, displaying a first input box, wherein the first input box includes a rich text edit box; 以及在所述第一输入框中显示所述目标文件;and displaying the target file in the first input box; 所述在所述第一输入框中显示所述目标文件之后,所述方法还包括:响应于针对所述第一输入框中的所述目标文件触发的第一操作,显示操作选项;After displaying the target file in the first input box, the method further includes: displaying operation options in response to a first operation triggered for the target file in the first input box; 响应于用户针对所述操作选项的选择操作,在所述第一输入框中对所述目标文件进行处理;In response to a user's selection operation on the operation option, processing the target file in the first input box; 其中,所述会话界面具有第一输入框和第二输入框,所述第一输入框的尺寸大于所述第二输入框;The conversation interface has a first input box and a second input box, and the size of the first input box is larger than that of the second input box; 所述在会话界面中输入目标文件的操作包括:将目标文件拖入所述会话界面的拖入操作;The operation of inputting the target file in the conversation interface includes: a drag-in operation of dragging the target file into the conversation interface; 在所述显示第一输入框的步骤之前,所述方法还包括:Before the step of displaying the first input box, the method further includes: 判断目标文件的终点位置是否为所述会话界面中的第一预设区域;Determining whether the end position of the target file is the first preset area in the conversation interface; 若确定目标文件的终点位置为所述会话界面中的第一预设区域,则执行所述显示第一输入框以及在所述第一输入框中显示所述目标文件的步骤。If it is determined that the end position of the target file is the first preset area in the conversation interface, the steps of displaying the first input box and displaying the target file in the first input box are performed. 2.根据权利要求1所述的方法,其特征在于,所述在会话界面中输入目标文件的操作包括如下中的一种或多种:2. The method according to claim 1, wherein the operation of inputting the target file in the conversation interface comprises one or more of the following: 将目标文件拖入所述会话界面的拖入操作;A drag-in operation of dragging a target file into the session interface; 在所述第二输入框中粘贴目标文件的粘贴操作。Paste the target file in the second input box. 3.根据权利要求1所述的方法,其特征在于,所述第一预设区域为所述会话界面中所述第二输入框的区域;其中,所述会话界面默认显示第二输入框。3. The method according to claim 1 is characterized in that the first preset area is the area of the second input box in the conversation interface; wherein the conversation interface displays the second input box by default. 4.根据权利要求1所述的方法,其特征在于,在所述显示第一输入框的步骤之前,还包括:4. The method according to claim 1, characterized in that before the step of displaying the first input box, it also includes: 判断所述目标文件的文件类型是否为预设类型;Determine whether the file type of the target file is a preset type; 若确定所述目标文件的终点位置为所述会话界面中的第一预设区域,并且所述目标文件的文件类型为预设类型,则执行所述显示第一输入框以及在所述第一输入框中显示所述目标文件的步骤;If it is determined that the destination position of the target file is the first preset area in the conversation interface, and the file type of the target file is a preset type, then performing the steps of displaying the first input box and displaying the target file in the first input box; 所述预设类型包括图片和视频中的一种或两种。The preset types include one or both of pictures and videos. 5.根据权利要求4所述的方法,其特征在于,还包括:5. The method according to claim 4, further comprising: 若确定目标文件的终点位置不为所述会话界面中的第一预设区域,或者,确定目标文件的文件类型不为所述预设类型,If it is determined that the destination position of the target file is not the first preset area in the conversation interface, or if it is determined that the file type of the target file is not the preset type, 则将所述目标文件发送至所述会话;then sending the target file to the session; 或者,or, 显示所述目标文件对应的发送弹窗,响应于用户在所述发送弹窗中触发的确认操作,将所述目标文件发送至所述会话,或者,响应于所述用户在所述发送弹窗中触发的取消操作,取消发送所述目标文件。Display a sending pop-up window corresponding to the target file, and in response to a confirmation operation triggered by the user in the sending pop-up window, send the target file to the session, or, in response to a cancel operation triggered by the user in the sending pop-up window, cancel sending the target file. 6.根据权利要求1-5中任一项所述的方法,其特征在于,所述响应于针对所述第一输入框中的所述目标文件触发的第一操作,在所述第一输入框中对所述目标文件进行处理,包括:6. The method according to any one of claims 1 to 5, characterized in that in response to the first operation triggered on the target file in the first input box, processing the target file in the first input box comprises: 响应于针对所述第一输入框中的所述目标文件触发的第一操作,显示目标文件的操作选项;In response to a first operation triggered on the target file in the first input box, displaying operation options for the target file; 响应于针对所述操作选项的选择操作,对第一输入框中的所述目标文件执行相应的处理。In response to a selection operation on the operation option, corresponding processing is performed on the target file in the first input box. 7.根据权利要求6所述的方法,其特征在于,在所述显示目标文件的操作选项的步骤之前,该方法还包括:7. The method according to claim 6, characterized in that before the step of displaying the operation options of the target file, the method further comprises: 判断所述目标文件的文件类型是否属于可编辑类型;Determine whether the file type of the target file is an editable type; 若确定所述目标文件的文件类型属于可编辑类型,执行所述显示目标文件的操作选项的步骤。If it is determined that the file type of the target file is an editable type, the step of displaying operation options for the target file is performed. 8.根据权利要求6所述的方法,其特征在于,所述目标文件的操作选项包括如下中的一种或多种:查看原图选项、复制选项、编辑选项;8. The method according to claim 6, characterized in that the operation options of the target file include one or more of the following: view original image option, copy option, edit option; 所述操作选项包括查看原图选项时,所述对所述第一输入框中的所述目标文件执行相应的处理,包括:将所述目标文件的图片进行放大处理,并在弹窗中显示放大后的所述目标文件;When the operation option includes a view original image option, the corresponding processing is performed on the target file in the first input box, including: enlarging the image of the target file and displaying the enlarged target file in a pop-up window; 所述操作选项包括复制选项时,所述对所述第一输入框中的所述目标文件执行相应的处理,包括:对第一输入框中的所述目标文件进行复制,并根据相应的粘贴操作,在相应的目标位置粘贴所述目标文件;When the operation options include a copy option, performing corresponding processing on the target file in the first input box includes: copying the target file in the first input box, and pasting the target file at a corresponding target location according to a corresponding paste operation; 所述操作选项包括编辑选项时,所述对所述第一输入框中的所述目标文件执行相应的处理,包括:在弹窗中显示放大后的所述目标文件;所述弹窗包括至少一个编辑控件;响应于基于编辑控件的编辑操作,获取编辑后的所述目标文件;在所述第一输入框中显示所述编辑后的目标文件。When the operation options include editing options, the corresponding processing is performed on the target file in the first input box, including: displaying the enlarged target file in a pop-up window; the pop-up window includes at least one editing control; in response to an editing operation based on the editing control, obtaining the edited target file; and displaying the edited target file in the first input box. 9.根据权利要求1所述的方法,其特征在于,该方法还包括:9. The method according to claim 1, characterized in that the method further comprises: 响应于用户针对第一输入框的预设操作,将第一输入框中的内容发送至所述会话中。In response to a preset operation of the user on the first input box, the content in the first input box is sent to the conversation. 10.根据权利要求1-5任一项所述的方法,其特征在于,在显示第一输入框之前,该方法还包括:10. The method according to any one of claims 1 to 5, characterized in that before displaying the first input box, the method further comprises: 判断所述目标文件是否满足传输限制条件;Determining whether the target file meets the transmission restriction condition; 若确定所述目标文件满足传输限制条件,则执行所述显示第一输入框,以及在所述第一输入框中显示所述目标文件的步骤;If it is determined that the target file meets the transmission restriction condition, the steps of displaying the first input box and displaying the target file in the first input box are executed; 若确定所述目标文件不满足传输限制条件,则将所述目标文件发送至会话中或者取消发送所述目标文件。If it is determined that the target file does not meet the transmission restriction condition, the target file is sent to the session or the sending of the target file is canceled. 11.根据权利要求10所述的方法,其特征在于,当目标文件为多个文件时,所述判断所述目标文件是否满足传输限制条件,包括如下中的一种或多种:11. The method according to claim 10, characterized in that when the target file is a plurality of files, the determining whether the target file meets the transmission restriction condition comprises one or more of the following: 判断所述目标文件中是否包含文件类型为非预设类型的文件;若不包含则确定所述目标文件满足传输限制条件,若包含则确定所述目标文件不满足传输限制条件;Determine whether the target file contains a file whose file type is not a preset type; if not, determine that the target file meets the transmission restriction condition; if included, determine that the target file does not meet the transmission restriction condition; 判断所述目标文件中是否包含单个文件大小超过第一阈值的文件,若不包含则确定所述目标文件满足传输限制条件,若包含则确定所述目标文件不满足传输限制条件。It is determined whether the target file contains a file whose single file size exceeds a first threshold value. If not, it is determined that the target file meets the transmission restriction condition; if contained, it is determined that the target file does not meet the transmission restriction condition. 12.一种信息处理装置,其特征在于,包括:12. An information processing device, comprising: 第一响应单元,用于响应于在会话界面中输入目标文件的操作,显示第一输入框,在所述显示第一输入框的步骤之前,所述第一响应单元还用于判断目标文件的终点位置是否为所述会话界面中的第一预设区域;若确定目标文件的终点位置为所述会话界面中的第一预设区域,则执行所述显示第一输入框以及在所述第一输入框中显示所述目标文件的步骤,其中,所述第一输入框包括富文本编辑框;a first response unit, configured to display a first input box in response to an operation of inputting a target file in the conversation interface, wherein before the step of displaying the first input box, the first response unit is further configured to determine whether an end position of the target file is a first preset area in the conversation interface; if it is determined that the end position of the target file is the first preset area in the conversation interface, the steps of displaying the first input box and displaying the target file in the first input box are executed, wherein the first input box includes a rich text edit box; 第一显示单元,用于以及在所述第一输入框中显示所述目标文件,所述在所述第一输入框中显示所述目标文件之后,所述第一显示单元还用于响应于针对所述第一输入框中的所述目标文件触发的第一操作,显示操作选项;响应于用户针对所述操作选项的选择操作,在所述第一输入框中对所述目标文件进行处理;a first display unit, configured to display the target file in the first input box, and after displaying the target file in the first input box, the first display unit is further configured to display an operation option in response to a first operation triggered on the target file in the first input box; and process the target file in the first input box in response to a user selecting the operation option; 其中,所述会话界面具有第二输入框,所述第一输入框的尺寸大于所述第二输入框;所述在会话界面中输入目标文件的操作包括:将目标文件拖入所述会话界面的拖入操作。The conversation interface has a second input box, and the size of the first input box is larger than that of the second input box; the operation of inputting the target file in the conversation interface includes: a drag-in operation of dragging the target file into the conversation interface. 13.一种电子设备,包括:处理器,13. An electronic device comprising: a processor, 存储程序的存储器,输出装置,以及输入装置;所述输出装置用于显示会话界面、第一输入框和第二输入框;所述输入装置用于检测对目标文件的输入操作;A memory for storing a program, an output device, and an input device; the output device is used to display a conversation interface, a first input box, and a second input box; the input device is used to detect an input operation on a target file; 其中,所述程序包括指令,所述指令在由所述处理器执行时使所述处理器执行根据权利要求1-11中任一项所述的方法。The program comprises instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 11. 14.一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1-11中任一项所述的方法。14. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of claims 1-11.
CN202210657742.6A 2022-06-10 2022-06-10 Information processing method, device, equipment, medium and product Active CN115079889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210657742.6A CN115079889B (en) 2022-06-10 2022-06-10 Information processing method, device, equipment, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210657742.6A CN115079889B (en) 2022-06-10 2022-06-10 Information processing method, device, equipment, medium and product

Publications (2)

Publication Number Publication Date
CN115079889A CN115079889A (en) 2022-09-20
CN115079889B true CN115079889B (en) 2024-12-17

Family

ID=83250951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210657742.6A Active CN115079889B (en) 2022-06-10 2022-06-10 Information processing method, device, equipment, medium and product

Country Status (1)

Country Link
CN (1) CN115079889B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102414755A (en) * 2009-03-16 2012-04-11 苹果公司 Device, method, and graphical user interface for editing an audio or video attachment in an electronic message
CN109814968A (en) * 2019-01-21 2019-05-28 维沃移动通信有限公司 A kind of data inputting method, terminal device and computer readable storage medium
CN111158817A (en) * 2019-12-24 2020-05-15 维沃移动通信有限公司 An information processing method and electronic device
CN112764632A (en) * 2020-12-28 2021-05-07 维沃移动通信有限公司 Image sharing method and device and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286952B (en) * 2008-05-27 2012-09-26 腾讯科技(深圳)有限公司 Method and system for displaying information of file
CN101895853A (en) * 2009-05-20 2010-11-24 中国移动通信集团公司 Method for sending texts selected by terminal and terminal for sending selected texts
CN102866988B (en) * 2012-08-28 2015-10-21 中兴通讯股份有限公司 A kind of terminal and realization towing thereof copy the method for paste text
CN103885677B (en) * 2014-03-10 2017-03-15 小米科技有限责任公司 input processing method, device and terminal device
US10324614B2 (en) * 2015-10-12 2019-06-18 Dropbox, Inc. Sharing a file with a single contact
CN109634688B (en) * 2018-12-19 2022-01-21 北京达佳互联信息技术有限公司 Session interface display method, device, terminal and storage medium
CN110321044A (en) * 2019-04-25 2019-10-11 维沃移动通信有限公司 Sharing files method and terminal
CN110557459A (en) * 2019-09-19 2019-12-10 中国电子科技集团公司第五十四研究所 Information transmission platform applied to satellite data receiving station network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102414755A (en) * 2009-03-16 2012-04-11 苹果公司 Device, method, and graphical user interface for editing an audio or video attachment in an electronic message
CN109814968A (en) * 2019-01-21 2019-05-28 维沃移动通信有限公司 A kind of data inputting method, terminal device and computer readable storage medium
CN111158817A (en) * 2019-12-24 2020-05-15 维沃移动通信有限公司 An information processing method and electronic device
CN112764632A (en) * 2020-12-28 2021-05-07 维沃移动通信有限公司 Image sharing method and device and electronic equipment

Also Published As

Publication number Publication date
CN115079889A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US8380866B2 (en) Techniques for facilitating annotations
CN106776514B (en) An annotation method and device
AU2008284179B2 (en) Updating content display based on cursor position
US10691408B2 (en) Digital media message generation
US20140075335A1 (en) Image editing and sharing
US20140331116A1 (en) Link Expansion Service
CN115079884B (en) Method, device, equipment and storage medium for displaying conversation messages
US20160162151A1 (en) Input method and device thereof, and auxiliary input method and system thereof
CN107005458B (en) Unscripted digital media message generation method, apparatus, electronic device, and readable medium
US12501105B2 (en) Content collaboration method and electronic device
CN105359133A (en) Interaction of web content with electronic application documents
US10992623B2 (en) Digital media messages and files
US20150058708A1 (en) Systems and methods of character dialog generation
CN109145272B (en) Text rendering and layout method, apparatus, device and storage medium
CN116459508A (en) Method for generating special effect props, image processing method, device and electronic equipment
WO2017189226A1 (en) Email image attachment album curation
CN114785979A (en) On-screen display method, device, equipment and medium
CN113468447A (en) Document display processing method and device and electronic equipment
CN115079889B (en) Information processing method, device, equipment, medium and product
CN110262723A (en) A kind of office householder method and auxiliary system
CN107862035A (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN117311520A (en) Cloud integrated input method information input method and device and cloud integrated system
CN115328367A (en) Screen capturing method and device, electronic equipment and storage medium
CN107885807A (en) File saving method and device, intelligent tablet and storage medium
KR102189292B1 (en) Method for displaying chart and apparatus using the same

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