WO2022206538A1 - 信息发送方法、信息发送装置和电子设备 - Google Patents

信息发送方法、信息发送装置和电子设备 Download PDF

Info

Publication number
WO2022206538A1
WO2022206538A1 PCT/CN2022/082710 CN2022082710W WO2022206538A1 WO 2022206538 A1 WO2022206538 A1 WO 2022206538A1 CN 2022082710 W CN2022082710 W CN 2022082710W WO 2022206538 A1 WO2022206538 A1 WO 2022206538A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
input
image
keyword
information
Prior art date
Application number
PCT/CN2022/082710
Other languages
English (en)
French (fr)
Inventor
张孝东
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022206538A1 publication Critical patent/WO2022206538A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to an information sending method, an information sending device and an electronic device.
  • Sending images is a scene frequently encountered in the process of information sending.
  • the following requirements often arise: mark part of the area in the original image to remind the peer to pay attention to the content of the area.
  • the user needs to call up the editing interface of the image and manually edit the mark before sending, which is very complicated.
  • the purpose of the embodiments of the present application is to provide an information sending method, an information sending device and an electronic device, which can solve the problem of complex image labeling and sharing operations.
  • an embodiment of the present application provides a method for sending information, the method comprising:
  • a target image is displayed, wherein the target image is an image after adding a target mark to a target position of the first image, and the target position and the target mark are determined based on the at least one keyword.
  • an apparatus for sending information comprising:
  • a first determining module configured to determine at least one keyword based on the first information displayed in the information editing box
  • a first receiving module configured to receive the first input of the user
  • a second determination module configured to determine a first image in response to the first input
  • a first processing module for displaying a target image wherein the target image is an image after adding a target mark at a target position of the first image, and the target position and the target mark are based on the at least one key word definite.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the key information in the image can be automatically marked, which saves a lot of manual operations, and can optimize the user's operation experience of sending images.
  • Fig. 2 is one of the interface schematic diagrams of information sending provided by the embodiment of the present application.
  • Fig. 3 is the second interface schematic diagram of information sending provided by the embodiment of the present application.
  • Fig. 4 is the third interface schematic diagram of information sending provided by the embodiment of the present application.
  • FIG. 5 is a fourth schematic diagram of an interface for information sending provided by an embodiment of the present application.
  • FIG. 6 is a fifth schematic diagram of an interface for information sending provided by an embodiment of the present application.
  • FIG. 7 is a sixth schematic diagram of an interface for information sending provided by an embodiment of the present application.
  • FIG. 8 is a seventh schematic diagram of an interface for information sending provided by an embodiment of the present application.
  • FIG. 9 is an eighth schematic diagram of an interface for information sending provided by an embodiment of the present application.
  • Fig. 10 is the ninth schematic diagram of the interface for information sending provided by the embodiment of the present application.
  • FIG. 11 is a tenth schematic diagram of an interface for information sending provided by an embodiment of the present application.
  • FIG. 12 is a structural diagram of an information sending apparatus provided by an embodiment of the present application.
  • FIG. 13 is one of the schematic structural diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 14 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
  • the information sending method can be applied to the terminal, and can be specifically executed by, but not limited to, hardware or software in the terminal.
  • the execution subject of the information sending method may be a terminal, or a control device of the terminal, or the like.
  • Terminals include, but are not limited to, other portable communication devices such as mobile phones or tablet computers with touch-sensitive surfaces (eg, touch screen displays and/or touch pads). It should also be understood that, in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer with a touch sensitive surface (eg, a touch screen display and/or a touch pad).
  • a terminal including a display and a touch-sensitive surface is described. It should be understood, however, that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse and/or joystick.
  • An embodiment of the present application provides an information sending method, where the execution subject of the information sending method may be a terminal, including but not limited to a mobile terminal, a fixed terminal, or a control device of the terminal, and the like.
  • the information sending method includes: step 110 , step 120 , step 130 and step 140 .
  • Step 110 Determine at least one keyword based on the first information displayed in the information editing box
  • the user can open the chat interaction interface of the target social application (application, APP).
  • application application, APP
  • the target social application may be an APP with an instant messaging function, such as an instant messaging APP.
  • the target social application can support one-to-one chat or multi-group chat, which is not limited here.
  • the chat interface is differentiated by contacts.
  • the information sending method in this embodiment of the present application can be applied to a one-to-one chat scenario.
  • the chat interaction interface is a one-to-one, two-person chat interface between a user and a single contact, and the information sending method in this embodiment is used to realize Send messages to individual contacts.
  • the information sending method of the embodiment of the present application can also be applied to a group chat scenario.
  • the chat interaction interface is a group chat interface between a user and multiple contacts, and the information sending method of this embodiment is used to Contact information is sent.
  • the chat interaction interface may include a chat record display area and an information edit box, the chat record display area is used to display chat records and contact identifiers, etc., or the chat record display area is used to display chat records and group chat identifiers, etc. .
  • Chat records may include text information, picture information, video information, audio information, document information, and the like.
  • Contact identifiers include but are not limited to contact avatars and contact nicknames.
  • the group chat identification includes, but is not limited to, the group chat name, the graphic symbol used to identify the group chat interface, and the contact avatar of each contact in the chat group.
  • the terminal may display the chat records in the chat record display area in chronological order.
  • the information edit box is used for the user to input chat information.
  • the information editing box can support users to enter chat information such as text, pictures, videos, voices, and documents.
  • chat information such as text, pictures, videos, voices, and documents.
  • the terminal displays the chat information entered by the user in the information editing box in the chat record display area for other contacts and the user to view.
  • the information editing box may include a keyboard control area and a to-be-sent information display area, and the above-mentioned first information may be displayed in the to-be-sent information display area of the information edit box.
  • the first information can be entered in various ways:
  • the first information may be generated by the user through input to the keyboard control area, and the input is mainly touch input.
  • the user realizes the input of the first information by clicking the control on the keyboard control area, and displays it in the display area of the information to be sent.
  • the input method can be Wubi input, pinyin input (9 keys or 26 keys, etc.), handwriting input, etc., and can input Chinese, English or other characters.
  • the first information may be generated by the user through voice input.
  • the user speaks the information to be input
  • the terminal picks up the audio information through a microphone, and recognizes the first information through semantic recognition, and displays it in the information display area to be sent.
  • the first information is text information, for example, the first information in Figure 2 is "XXX, this sentence is well written", where "XXX” can refer to pronouns or phrases or sentences, such as "XXX” can be "location”, “ Time”, “Flower” or “Luoxia and Lonely Flying Together” and so on.
  • a keyword may be determined from the first information, and the keyword may be one or more, and a plurality of keywords may include two or more.
  • the keyword is used to find the corresponding target content from the first image.
  • the keyword can be used to find out the related text information from the first image, and the related relationship can be the same relationship or a subordinate relationship or other corresponding relationship.
  • the first image includes text information such as "the conference room on the 2nd floor of Tupo Hotel, Xihong City, the meeting starts at 10:30", and the keywords are "location” and "time”, then the corresponding target content in the first image can be "Xihong Tupo Hotel, 2nd floor conference room, 10:30".
  • keywords may be used to find associated image information from the first image.
  • the first image includes image information such as apples, bananas, people, etc.
  • the keyword is "apple”
  • the corresponding target content in the first image may be "apple”.
  • step 110 determining at least one keyword based on the first information displayed in the information editing box, may include:
  • the sixth input is used to select candidate words from the first information.
  • the sixth input can be expressed in at least one of the following ways:
  • the sixth input can be expressed as touch input, including but not limited to click input, sliding input, and pressing input.
  • receiving the user's sixth input may be represented as receiving a user's touch operation on the first information in the display area of the display screen of the terminal.
  • the sixth input may include: a touch operation of pressing the first information and a touch operation of dragging a cursor.
  • the display area may also display a first target control corresponding to the candidate word.
  • the display area can also display the following four controls "Select All", “Copy”, “Cut” and “Mark”, and "Mark” is the above-mentioned first target control.
  • the above operation method is similar to the internal logic of conventional operations such as copy and cut, which is more convenient for users to use.
  • the sixth input can be expressed as a physical key input.
  • the body of the terminal is provided with a physical button corresponding to the selection, and the sixth input from the user is received, which can be expressed as receiving the sixth input of the user pressing the corresponding physical button; the sixth input can also be simultaneously Press the combined operation of multiple entity cases.
  • the sixth input can be expressed as a voice input.
  • the terminal may directly determine "XXX" as a candidate word when receiving a voice such as "XXX is a candidate word”.
  • the terminal may directly determine "XXX" as a keyword when receiving a voice such as "XXX is a keyword”.
  • the sixth input may also be expressed in other forms, which may be determined according to actual needs, which is not limited in this embodiment of the present application.
  • candidate words are determined as keywords.
  • the seventh input is used to determine candidate words as keywords.
  • the seventh input can be expressed in at least one of the following ways:
  • the seventh input can be expressed as touch input, including but not limited to click input, sliding input, and pressing input.
  • receiving the seventh input from the user may be expressed as receiving a touch operation by the user on the display area of the display screen of the terminal.
  • the seventh input may be a touch operation in which the user clicks the "mark”.
  • the keyword can be displayed in a different way from other content in the first information, such as a different font color or a different grayscale of the region. As shown in Figure 4, "XXX" is determined After the keyword is selected, the font color changes to gray.
  • the above operation method is similar to the internal logic of conventional operations such as copying and cutting, which is more convenient for users to use, and can play an indication role by displaying keywords in different ways.
  • the seventh input can be expressed as a physical key input.
  • the body of the terminal is provided with a physical button corresponding to the determination, and receiving the seventh input from the user can be expressed as receiving the seventh input of the user pressing the corresponding physical button; the seventh input can also be simultaneously Press the combined operation of multiple entity cases.
  • the seventh input can be expressed as a voice input.
  • the terminal may determine "XXX" as a keyword when receiving a voice such as "XXX is a keyword”.
  • the seventh input may also be expressed in other forms, including but not limited to character input, etc., which may be determined according to actual needs, which is not limited in this embodiment of the present application.
  • the above actions may also be repeated to continue to determine the second keyword.
  • the target keyword needs to be canceled, it can also be achieved in a similar way.
  • the terminal automatically extracts the first information input by the user in the target format
  • step 110 determining at least one keyword based on the first information displayed in the information editing box, may include:
  • Extract keywords from the target position of the first information the first information is input in the target format
  • the first information itself is input according to the target format, so that the terminal can automatically extract the keywords.
  • the target format is "Keyword:. Content:”, and the first information is "Keyword: XXX. Content: This sentence is well written", then the terminal can automatically extract the keyword "XXX”.
  • This embodiment can also be used in scenarios with multiple keywords.
  • the target format is "Keywords: ,,. Content:”
  • the first information is "Keywords: XXX, YYY.
  • the terminal can automatically extract the keywords "XXX” and "YYY”.
  • the position of the keyword displayed in the first image is the target position.
  • the first image includes text information "AAAAAAXXXBBBBYYYCCCCC”.
  • the target position is to display “XXX”. " and "YYY"
  • the target position can be slightly larger than the actual display position of "XXX” and "YYY".
  • the above target format may be preset by the system, or may be set by the user according to personal habits.
  • the above method does not require the user to manually select the keywords again, which can accurately lock the keywords, greatly simplify the user's operation complexity, and provide a better user experience.
  • the terminal automatically extracts according to the preset target rules
  • step 110 determining at least one keyword based on the first information displayed in the information editing box, may include:
  • At least one keyword is determined from the first information, and the target rule is preset.
  • the first information has no fixed format, and the terminal determines the keyword from the first information according to the target rule.
  • Target rules can be set for users according to their needs.
  • the target rule can be the extraction location and time as keywords; or for a fruit seller, the target rule can be set to fruit.
  • the information sending method can automatically and accurately extract keywords according to the scene of information sending or the user's identity information, and flexibly realize intelligent marking.
  • the identification of keywords from the first information requires the use of semantic identification technology.
  • the user can input any information as the first information, and the use flexibility is higher, and the user does not need to manually select keywords, which greatly simplifies the user's operation complexity and provides a better user experience.
  • Step 120 receiving the first input of the user
  • Step 130 in response to the first input, determine the first image
  • step 120 the first input is used to determine the first image, which is the image to be sent after being marked.
  • the first input can be expressed in at least one of the following ways:
  • the first input can be expressed as touch input, including but not limited to click input, slide input, and press input.
  • receiving the user's first input may be expressed as receiving a user's touch operation on the display area of the terminal display screen.
  • the action area of the first input can be limited to a specific area, such as the upper middle area of the current display interface; or the second target control can be displayed on the current interface, and the second target control can be touched by touching the second target control.
  • the first input; or the first input is set as a continuous multiple tapping operation on the display area within the target time interval.
  • the first input can be represented as a physical key input.
  • the body of the terminal is provided with a physical button for calling up an album, and receiving the first input from the user can be expressed as receiving the first input of the user pressing the corresponding physical button; the first input can also be The combined operation of pressing multiple entity cases at the same time.
  • the first input can be expressed as a voice input.
  • the terminal may trigger the display of the album preview interface when receiving a voice such as "open album".
  • the first input may also represent a combination of the above-mentioned multiple inputs, or be in other forms, including but not limited to character input, etc., which can be determined according to actual needs, which is not limited in this embodiment of the present application.
  • step 120 receiving the user's first input, includes: receiving the user's first input on the keyword;
  • the first input may be any of the methods described in the above embodiments.
  • the first input can be the area where "XXX” is long-pressed.
  • the first input is used to display a second control pointing to the target album.
  • Step 130 determining the first image in response to the first input, including: in response to the first input, displaying a second control pointing to the target album; receiving an eighth input from the user on the second control; Identify the first image in the album.
  • a second control “album” is displayed, and the album can point to the target album.
  • the album that the second control can point to can have various situations:
  • the displayed second control points to the target album corresponding to the associated word.
  • the target album is a person sub-album.
  • the eighth input is used to determine the first image from the target album, and the eighth input may refer to other inputs and be represented in multiple forms.
  • the first input includes a touch operation of the user clicking the second control and a touch operation of clicking the first image in the target album.
  • the target album display interface may include image thumbnails. The user clicks the target thumbnail to confirm it as the first image, or the user clicks Click the confirmation control after the target thumbnail to confirm it as the first image.
  • the above-mentioned way of determining the first image is intuitive, has strong operability, and the user has a high degree of freedom of operation.
  • the first image can be determined at any time according to personal needs.
  • Step 120 receiving the first input from the user, including: receiving the first input from the user on the third control pointing to the target album;
  • the chat interaction interface itself displays a third control pointing to the target album, such as a control such as "+".
  • the first input may be any of the methods described in the above embodiments.
  • the first input may be the area where the "+” is clicked.
  • the first input is used to display the target album display interface and determine the first image.
  • Step 130 determining the first image in response to the first input includes: determining the first image from the target album in response to the first input.
  • the target album display interface may include image thumbnails. The user clicks the target thumbnail to confirm it as the first image, or the user clicks Click the confirmation control after the target thumbnail to confirm it as the first image.
  • the above-mentioned way of determining the first image is intuitive, has strong operability, and the user has a high degree of freedom of operation.
  • the first image can be determined at any time according to personal needs.
  • step 120 receiving the user's first input, includes: receiving the user's first input on the second image on the current display interface;
  • Step 130 determining the first image in response to the first input, including: in response to the first input, using the second image as the first image.
  • the first input may be any of the methods described in the above embodiments.
  • the first input includes a touch operation in which the user presses and drags the image of the chat interaction interface.
  • the user determines the second image from the chat record by dragging the chat interaction interface, long presses the second image, and drags the second image to the information editing box.
  • the dragging to the information editing box may indicate that at least part of the second image is coincident with at least part of the information editing box, so that the second image can be determined as the first image.
  • the above method of determining the first image is intuitive and highly operable, and in a chatting scenario, there is no need to perform operations such as downloading the images in the chatting record.
  • the fourth control pointing to the target album is automatically displayed
  • the method further comprises: displaying a fourth control pointing to the target photo album under the condition that the user's input of re-determining the keyword is not received within the target time period after the last keyword is determined;
  • the user selects a keyword through an operation. For example, within the target time period after the Nth keyword is determined, the user does not determine the keyword again, which means that the key is the key. After the word has been selected, this is the fourth control that is automatically displayed on the current chat interaction interface.
  • the target time period may be preset by the system or preset by the user, for example, the target time period may be 1s-3s.
  • Step 120 receiving the first input from the user, including: receiving the first input from the user on the fourth control pointing to the target album;
  • the first input may be any of the methods described in the above embodiments.
  • the first input is used to display the target album display interface and determine the first image.
  • Step 130 determining the first image in response to the first input includes: determining the first image from the target album in response to the first input.
  • the target album display interface may include image thumbnails. The user clicks the target thumbnail to confirm it as the first image, or the user clicks Click the confirmation control after the target thumbnail to confirm it as the first image.
  • the above-mentioned way of determining the first image is intuitive, and a control pointing to the target album can be automatically called up.
  • Step 140 displaying the target image.
  • the target image is an image after adding a target mark to the target position of the first image, and the target position and target mark are determined based on at least one keyword.
  • the terminal uses keywords to perform matching and searching in the first image, and marks the found target content in the area where the target content is located.
  • the marking method includes: marking with an underline below the target content, Or mark the area where the target content is located with a closed frame.
  • the position of the keyword displayed in the first image is the target position.
  • the first image includes text information "AAAAAAXXXBBBBYYYCCCCC”.
  • the target position is the position where "XXX” is displayed, and the target position It can be slightly larger than the actual display position of "XXX” to completely mark the keyword without affecting the display of the keyword itself.
  • FIG. 8 and FIG. 10 the target image is shown, and FIG. 9 and FIG. 11 show the chat interaction interface after the target image is sent to the opposite end.
  • the target image when the target image is not sent, the target image can be displayed in multiple ways:
  • the suspension is displayed on the chat interaction interface.
  • Figure 8 and Figure 10 are in this way.
  • the target image can be displayed as a thumbnail.
  • This method does not affect the user's overall viewing of the chat interaction interface, and facilitates operations such as deletion to prevent mis-sending.
  • the current interface displays the editing interface of the target image.
  • the target image can be displayed in a larger area as much as possible, which is convenient for further editing.
  • the target image is sent to the opposite end, it can be displayed in the chat interaction interface.
  • the form of the mark can be various, including parameters such as the color, shape and line width of the mark, all of which can be set to be adjustable. For different markers, parameters can be set independently.
  • the tag feature corresponding to the keyword is determined.
  • the method may further include:
  • the method may further include:
  • a target mark is added at the target position of the first image to generate a target image.
  • the second input is used to determine the target tag, so that the target content can be found from the first image based on the keyword, that is, the target tag can be marked.
  • the parameters of the target marker can include the color, shape, line width, etc. of the marker.
  • the first control is displayed near the keyword.
  • the second input can refer to the first input, which has various forms. Taking the second input as a touch operation on the first control as an example, clicking on the first control will display the target mark editing menu. In the target mark editing menu, you can Parameters that determine the target tag associated with this keyword.
  • the first control can affect the reading of other information and other operations, and at this time, the keyword can correspond to the default target tag.
  • the method may further include:
  • parameters of the markers in the target image are adjusted or at least part of the markers in the target image are deleted.
  • the third input can refer to the first input and has various forms. Taking the third input as a touch operation as an example, the user can long press the target mark in the target image to display the editing menu, so as to realize the editing or editing of the target mark. delete.
  • the user can also make corrections to the markup before sending the target image.
  • At least part of the first information is also displayed in the target image.
  • the target image includes at least part of the first information.
  • the method may further include:
  • the target image is sent to the peer.
  • the target image includes: the original first image, the mark and at least part of the first information.
  • the fourth input can refer to the first input, and has various forms. Taking the fourth input as an example of a touch operation, clicking the "send" control can send the target image to the opposite end.
  • the first information is "XXX, this sentence is well written", the keyword is “XXX”, in the target image, "XXX” is marked with a wire frame, and the display "This sentence is written “Good”, at least part of the first message "This sentence is well written” is also used as a part of the target mark; click the "Send” control, that is, a message is sent, as shown in Figure 11, the message is the target image.
  • the method may further include:
  • the keyword includes the first keyword and the second keyword, determine the target position in the first image according to the first keyword, and determine the target mark according to the second keyword;
  • a target mark is added at the target position of the first image, and the target mark includes an indicator mark for indicating the target position and a content mark containing the second keyword;
  • the first keyword satisfies the first format condition
  • the second keyword satisfies the second format condition
  • the first information itself is input according to the target format, so that the terminal can automatically extract the first keyword and the second keyword.
  • the target format is "keyword:.content:”
  • the first format condition is “keyword:”
  • the second format condition is "content:”.
  • the terminal can automatically extract the first keyword "XXX" and the second keyword "This sentence is well written”.
  • the first keyword "XXX” is used to determine the target position in the first image, that is, searching for "XXX” in the first image to obtain the target position.
  • the second keyword "this sentence is well written" the target mark can be determined, and the target mark can be determined by determining the attribute of the target mark, the attribute representing the content and form of the target mark.
  • the target mark includes an indicator mark (mark box) and a content mark (this sentence is well written) outside "XXX".
  • the above two sending methods combine images and texts, making them more directional.
  • the target image does not include at least part of the first information
  • the method further includes:
  • the target image and at least part of the first information are sent to the peer.
  • the fifth input can refer to the first input and has various forms. Taking the fifth input as a touch operation as an example, clicking the "send" control can send the target image and at least part of the first information to the opposite end.
  • the first information is "XXX, this sentence is well written", the keyword is "XXX”, and "XXX" is marked in the target image; click the "Send” control, that is, send two pieces of information, as shown in Figure 9, the two pieces of information are the target image and "XXX, this sentence is well written".
  • the above sending method can clearly display the target image and the text information that the user wants to send to the opposite end.
  • the target image includes only the original first image and the indicative target indicia.
  • the key information in the image can be automatically marked, which saves a lot of manual operations, and can optimize the user's operation experience for sending images.
  • the execution body may be an information sending apparatus, or a control module in the information sending apparatus for executing the method for sending loading information.
  • the information sending method provided by the embodiments of the present application is described by taking the information sending apparatus executing the information sending processing method as an example.
  • the embodiments of the present application also provide an information sending apparatus.
  • the information sending apparatus includes: a first determination module 210 , a first reception module 220 , a second determination module 230 and a first display module 240 .
  • a first determining module 210 configured to determine at least one keyword based on the first information displayed in the information editing box;
  • a first receiving module 220 configured to receive the first input of the user
  • a second determination module 230 configured to determine the first image in response to the first input
  • the first display module 240 is configured to display a target image, wherein the target image is an image after adding a target mark to a target position of the first image, and the target position and target mark are determined based on at least one keyword.
  • the key information in the image can be automatically marked, which saves a lot of manual operations, and can optimize the user's operation experience for sending images.
  • the apparatus may also include:
  • a second receiving module configured to receive a second input from the user to the first control corresponding to the keyword after the at least one keyword is determined
  • a third determining module configured to determine the tagging feature associated with the keyword in response to the second input
  • the first processing module is configured to add the target mark to the target position of the first image after the determination of the first image and before the display of the target image, to generate the target image.
  • the apparatus may also include:
  • a fourth determination module configured to determine a target position in the first image according to the first keyword when the keyword includes a first keyword and a second keyword, and according to the second keyword keyword, to determine the target mark;
  • a first processing module further configured to add the target mark at the target position of the first image, where the target mark includes an indicator mark for indicating the target position and a content mark containing the second keyword;
  • the first keyword satisfies the first format condition
  • the second keyword satisfies the second format condition
  • the apparatus may also include:
  • a third receiving module configured to receive a third input from the user to the target image after the target image is displayed
  • the second processing module is configured to adjust the parameters of the mark in the target image or delete at least part of the mark in the target image in response to the third input.
  • a fourth receiving module configured to receive a fourth input from the user after displaying the target image
  • the third processing module is configured to send the target image to the opposite end in response to the fourth input.
  • the target image does not include at least part of the first information
  • the apparatus may further include:
  • a fifth receiving module configured to receive the fifth input of the user after displaying the target image
  • the sixth processing module is configured to send the target image and at least part of the first information to the opposite end in response to the fifth input.
  • the first determination module is further configured to receive a sixth input from the user on the first information; obtain a candidate word in response to the sixth input; receive a seventh input from the user; words are identified as keywords;
  • the first determination module is also used to extract keywords from the target position of the first information, and the first information is input in the target format;
  • the first determining module is further configured to determine at least one keyword from the first information based on the target rule, and the target rule is preset.
  • the first receiving module is further configured to receive the first input of the keyword by the user;
  • the second determining module is further configured to display a second control pointing to the target album in response to the first input; receive an eighth input from the user on the second control; and determine the first image from the target album in response to the eighth input;
  • the first receiving module is further configured to receive the first input from the user to the third control pointing to the target album;
  • the second determining module is further configured to determine the first image from the target album in response to the first input;
  • the first receiving module is further configured to receive the first input from the user to the first image on the current display interface
  • the second determining module is further configured to use the second image as the first image in response to the first input;
  • the first receiving module is also used to receive the first input from the user to the fourth control pointing to the target album in the case where the user's input of re-determining the keyword is not received within the target time period after the last keyword is determined;
  • the second determining module is further configured to determine the first image from the target album in response to the first input.
  • the information sending apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the information sending apparatus in this embodiment of the present application may be an apparatus having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the information sending apparatus provided in the embodiments of the present application can implement each process implemented by the information sending apparatus in the method embodiments of FIG. 1 to FIG. 11 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device, including a processor 320, a memory 310, a program or instruction stored in the memory 310 and executable on the processor 320, the program or instruction being When executed, the processor 320 implements each process of the foregoing information sending method embodiments, and can achieve the same technical effect. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410 and other components .
  • the electronic device 400 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 14 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 410 is configured to determine at least one keyword based on the first information displayed in the information editing box;
  • an input unit 404 configured to receive a first input from a user
  • a processor 410 configured to determine the first image in response to the first input
  • the display unit 406 is configured to display a target image, wherein the target image is an image after adding a target mark to the target position of the first image, and the target position and the target mark are determined based on at least one keyword.
  • key information in an image can be automatically marked by determining keywords, which saves a lot of manual operations and optimizes the user's operating experience for sending images.
  • the input unit 404 is further configured to, after determining at least one keyword, receive a second input from the user to the first control corresponding to the keyword;
  • the processor 410 is further configured to, in response to the second input, determine a target tag associated with the keyword;
  • the processor 410 is further configured to, after determining the first image and before displaying the target image, add a target mark to the target position of the first image to generate the target image.
  • the processor 410 is further configured to determine the target position in the first image according to the first keyword when the keyword includes the first keyword and the second keyword, and determine the target position according to the second keyword.
  • a target mark adding the target mark at the target position of the first image, the target mark including an indicator mark for indicating the target position and a content mark containing the second keyword; wherein the first A keyword satisfies the first format condition, and the second keyword satisfies the second format condition.
  • the input unit 404 is further configured to receive a third input from the user to the target image after the target image is displayed;
  • the processor 410 is further configured to, in response to the third input, adjust parameters marked in the target image or delete at least part of the target markers in the target image.
  • the target image includes at least part of the first information; the input unit 404 is further configured to receive a fourth input from the user after the target image is displayed;
  • the processor 410 is further configured to send the target image to the opposite end in response to the fifth input.
  • the target image does not include at least part of the first information; the input unit 404 is further configured to receive a fifth input from the user after displaying the target image;
  • the processor 410 is further configured to send the target image and at least part of the first information to the opposite end in response to the fifth input.
  • the processor 410 is further configured to receive the sixth input of the first information by the user; in response to the sixth input, obtain a candidate word; receive the seventh input from the user; in response to the seventh input, determine the candidate word as Key words;
  • the processor 410 is further configured to extract keywords from the target position of the first information, where the first information is input in the target format;
  • the processor 410 is further configured to determine at least one keyword from the first information based on the target rule, and the target rule is preset.
  • the input unit 404 is further configured to receive the first input of the keyword by the user;
  • the processor 410 is further configured to, in response to the first input, display a second control pointing to the target album; receive an eighth input from the user on the second control; in response to the eighth input, determine the first image from the target album;
  • the input unit 404 is further configured to receive the first input from the user to the third control pointing to the target album;
  • the processor 410 is further configured to, in response to the first input, determine the first image from the target album;
  • the input unit 404 is further configured to receive the user's first input on the second image on the current display interface;
  • the processor 410 is further configured to use the second image as the first image in response to the first input;
  • the display unit 406 is used to display the fourth control pointing to the target album under the condition that the input of the user to determine the keyword again is not received within the target time period after the last keyword is determined;
  • the input unit 404 is further configured to receive the first input of the user to the fourth control;
  • the processor 410 is further configured to determine the first image from the target album in response to the first input.
  • the electronic device 400 in this embodiment can implement each process in the method embodiment in the embodiment of the present application, and achieve the same beneficial effect, which is not repeated here to avoid repetition.
  • the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072 .
  • the touch panel 4071 is also called a touch screen.
  • the touch panel 4071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 410.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing information sending method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above information sending method embodiments.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the above information sending method embodiments.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种信息发送方法、信息发送装置和电子设备,属于通信技术领域。所述信息发送方法包括:基于信息编辑框中显示的第一信息,确定至少一个关键词;接收用户的第一输入;响应于所述第一输入,确定第一图像;显示目标图像,其中,所述目标图像为在所述第一图像的目标位置添加目标标记后的图像,所述目标位置和所述目标标记为基于所述至少一个关键词确定的。

Description

信息发送方法、信息发送装置和电子设备
相关申请的交叉引用
本申请要求于2021年03月29日提交的申请号为202110335661X,发明名称为“信息发送方法、信息发送装置和电子设备”的中国专利申请的优先权,其通过引用方式全部并入本申请。
技术领域
本申请属于通信技术领域,具体涉及一种信息发送方法、信息发送装置和电子设备。
背景技术
发送图像是在信息发送过程中,会高频遇到的场景。在发送图像的场景下,经常会出现如下需求:将原图像中的部分区域进行标注,以提醒对端关注该区域的内容。现有技术中,在面对上述需求时,需要用户调出该图像的编辑界面,并手动编辑出标记,然后才能进行发送,操作很繁琐。
发明内容
本申请实施例的目的是提供一种信息发送方法、信息发送装置和电子设备,能够解决图像标注并分享操作复杂的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种信息发送方法,该方法包括:
基于信息编辑框中显示的第一信息,确定至少一个关键词;
接收用户的第一输入;
响应于所述第一输入,确定第一图像;
显示目标图像,其中,所述目标图像为在所述第一图像的目标位置添加 目标标记后的图像,所述目标位置和所述目标标记为基于所述至少一个关键词确定的。
第二方面,本申请实施例提供了一种信息发送装置,该装置包括:
第一确定模块,用于基于信息编辑框中显示的第一信息,确定至少一个关键词;
第一接收模块,用于接收用户的第一输入;
第二确定模块,用于响应于所述第一输入,确定第一图像;
第一处理模块,用于显示目标图像,其中,所述目标图像为在所述第一图像的目标位置添加目标标记后的图像,所述目标位置和所述目标标记为基于所述至少一个关键词确定的。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,通过确定关键词,可以将图像中的关键信息自动标记出来,节省了大量的人工操作,可以优化用户发送图像的操作体验。
附图说明
图1是本申请实施例提供的信息发送方法的流程图;
图2是本申请实施例提供的信息发送的界面示意图之一;
图3是本申请实施例提供的信息发送的界面示意图之二;
图4是本申请实施例提供的信息发送的界面示意图之三;
图5是本申请实施例提供的信息发送的界面示意图之四;
图6是本申请实施例提供的信息发送的界面示意图之五;
图7是本申请实施例提供的信息发送的界面示意图之六;
图8是本申请实施例提供的信息发送的界面示意图之七;
图9是本申请实施例提供的信息发送的界面示意图之八;
图10是本申请实施例提供的信息发送的界面示意图之九;
图11是本申请实施例提供的信息发送的界面示意图之十;
图12是本申请实施例提供的信息发送装置的结构图;
图13是本申请实施例提供的电子设备的结构示意图之一;
图14是本申请实施例提供的电子设备的硬件示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息发送方法、信息发送装置、电子设备和可读存储介质进行详细地说明。
该信息发送方法可应用于终端,具体可由,但不限于终端中的硬件或软件执行。该信息发送方法的执行主体可以为终端,或者终端的控制装置等。
终端包括但不限于具有触摸敏感表面(例如,触摸屏显示器和/或触摸板) 的移动电话或平板电脑等其它便携式通信设备。还应当理解的是,在某些实施例中,该终端可以不是便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。
以下各个实施例中,描述了包括显示器和触摸敏感表面的终端。然而,应当理解的是,终端可以包括诸如物理键盘、鼠标和/或控制杆的一个或多个其它物理用户接口设备。
本申请实施例提供一种信息发送方法,该信息发送方法的执行主体可以为终端,包括但不限于移动终端、固定终端,或者终端的控制装置等。
如图1所示,该信息发送方法包括:步骤110、步骤120、步骤130和步骤140。
步骤110、基于信息编辑框中显示的第一信息,确定至少一个关键词;
可以理解的是,终端在正常工作时,用户可以打开目标社交应用(application,APP)的聊天交互界面。
其中,目标社交应用可以是具有即时通信功能的APP,例如即时通讯APP。目标社交应用可以支持单对单聊天,也可以支持多人群聊,此处不做限制。
聊天交互界面按照联系人区分。
本申请实施例的信息发送方法可以应用于单对单聊天场景下,在该场景下,聊天交互界面为用户与单个联系人的单对单双人聊天界面,该实施例的信息发送方法用于实现对单个联系人的信息发送。
本申请实施例的信息发送方法还可以应用于群聊场景下,在该场景下,聊天交互界面为用户与多个联系人的群聊界面,该实施例的信息发送方法用于实现对多个联系人的信息发送。
如图2所示,聊天交互界面可以包括聊天记录显示区域和信息编辑框,聊天记录显示区域用于显示聊天记录和联系人标识等,或者聊天记录显示区域用于显示聊天记录和群聊标识等。
聊天记录可以包括文本信息、图片信息、视频信息、音频信息和文档信息等。联系人标识包括但不限于联系人头像和联系人昵称等。群聊标识包括 但不限于群聊名称、用于对群聊天界面进行标识的图形符号和该聊天群内各个联系人的联系人头像等。
需要说明的是,终端可以将聊天记录按照时间先后顺序显示于聊天记录显示区域。
信息编辑框用于供用户输入聊天信息。信息编辑框可以支持用户输入文本、图片、视频、语音和文档等聊天信息。当用户在信息编辑框内输入聊天信息并触发信息编辑框中的发送选项后,终端将用户在信息编辑框内输入的聊天信息显示在聊天记录显示区域,以供其他联系人及用户自己查看。
如图2所示,信息编辑框可以包括键盘控件区域和待发送信息显示区域,上述第一信息可以显示于信息编辑框中的待发送信息显示区域。
第一信息可以通过多种方式输入的:
其一,第一信息可以为用户通过对键盘控件区域的输入生成的,该输入主要为触控输入。
在该实施例中,用户通过点击键盘控件区域上的控件实现第一信息的输入,并在待发送信息显示区域显示。
输入方法可以为五笔输入、拼音输入(9键或26键等)、手写输入等,可可以输入中文、英文或其他文字。
其二,第一信息可以为用户通过语音输入生成的。
在该实施例中,用户通过说出待输入的信息,终端通过拾音器拾取音频信息,并通语义识别,可以得到第一信息,并在待发送信息显示区域显示。
第一信息为文本信息,比如图2中的第一信息为“XXX,这句话写得好”,其中“XXX”可以指代词或短语或句子,比如“XXX”可以为“地点”、“时间”、“花”或“落霞与孤鹜齐飞”等。
从第一信息中可以确定关键词,关键词可以为一个或多个,多个包括两个或更多个。
关键词用于从第一图像中查找对应的目标内容。
在第一图像中包括文字信息时,关键词可以用于从第一图像中查找出关 联的文字信息,这种关联关系可以为相同关系或上下位关系或其他对应关系。比如第一图像中包括“西虹市凸痘大酒店2楼会议室,10:30开始会议”等文字信息,关键词为“地点”“时间”,则第一图像中对应的目标内容可以为“西虹市凸痘大酒店2楼会议室,10:30”。
在第一图像中包括图像信息时,关键词可以用于从第一图像中查找出关联的图像信息。比如第一图像中包括苹果、香蕉、人等图像信息,关键词为“苹果”,则第一图像中对应的目标内容可以为“苹果”。
从第一信息中确定关键词的方法可以有多种,包括手动选择和自动提取等,下面结合附图,分别从三种不同的实现角度,对确定关键词的方法进行具体说明。
一、手动选择
在该实施例中,步骤110、基于信息编辑框中显示的第一信息,确定至少一个关键词,可以包括:
接收用户对第一信息的第六输入;
响应于第六输入,得到候选词;
在上述步骤中,第六输入用于从第一信息中,选中候选词。
其中,第六输入可以表现为如下至少一种方式:
其一,第六输入可以表现为触控输入,包括但不限于点击输入、滑动输入和按压输入等。
在该实施方式中,接收用户的第六输入,可以表现为,接收用户在终端显示屏的显示区域,对第一信息的触控操作。
在图2和图3所示所示的实施例中,第六输入可以包括:按压第一信息的触控操作以及拖动光标的触控操作。
在实际的执行中,用户按压第一信息,通过拖动光标,可以得到候选词,图3中,“XXX”即为候选词。
显示区域还可以显示有与候选词对应的第一目标控件。
在图3所示的实施例,显示区域还可以显示有如下四个控件“全选”、“复 制”、“剪切”和“标记”,“标记”即为上述第一目标控件。
上述操作方法与复制剪切等常规操作的内在逻辑类似,用户使用更方便。
其二,第六输入可以表现为实体按键输入。
在该实施方式中,终端的机身上设有与选择对应的实体按键,接收用户的第六输入,可以表现为,接收用户按压对应的实体按键的第六输入;第六输入还可以为同时按压多个实体案件的组合操作。
其三,第六输入可以表现为语音输入。
在该实施方式中,终端可以在接收到语音如“XXX为候选词”时,直接将“XXX”确定为候选词。
甚至,终端可以在接收到语音如“XXX为关键词”时,直接将“XXX”确定为关键词。
当然,在其他实施例中,第六输入也可以表现为其他形式,具体可根据实际需要决定,本申请实施例对此不作限定。
接收用户的第七输入;
响应于第七输入,将候选词确定为关键词。
在本步骤中,第七输入用于将候选词确定为关键词。
其中,第七输入可以表现为如下至少一种方式:
其一,第七输入可以表现为触控输入,包括但不限于点击输入、滑动输入和按压输入等。
在该实施方式中,接收用户的第七输入,可以表现为,接收用户在终端显示屏的显示区域的触控操作。
如图3所示,第七输入可以为用户点击“标记”的触控操作。
在将候选词确定为关键词后,关键词可以以与第一信息中的其他内容不同的方式显示,比如字体颜色不同或所在区域的灰度不同,如图4所示,“XXX”被确定为关键词后,字体颜色变为灰色。
上述操作方法与复制剪切等常规操作的内在逻辑类似,用户使用更方便,且通过采用不同的方式显示关键词,可以起到指示的作用。
其二,第七输入可以表现为实体按键输入。
在该实施方式中,终端的机身上设有与确定对应的实体按键,接收用户的第七输入,可以表现为,接收用户按压对应的实体按键的第七输入;第七输入还可以为同时按压多个实体案件的组合操作。
其三,第七输入可以表现为语音输入。
在该实施方式中,终端可以在接收到语音如“XXX为关键词”时,将“XXX”确定为关键词。
当然,在其他实施例中,第七输入也可以表现为其他形式,包括但不限于字符输入等,具体可根据实际需要决定,本申请实施例对此不作限定。
通过上述步骤确定出一个关键词后,还可以重复上述动作,继续确定第二个关键词。
如果需要取消目标关键词,同样可以通过类似的方式实现,以通过触控输入取消目标关键词为例:用户点击或按压目标关键词,显示有如下四个控件“全选”、“复制”、“剪切”和“取消标记”,再点击“取消标记”,即可取消目标关键词。
二、对于用户按目标格式输入的第一信息,终端自动提取
在该实施例中,步骤110、基于信息编辑框中显示的第一信息,确定至少一个关键词,可以包括:
从第一信息的目标位置提取关键词,第一信息为按目标格式输入的;
在该实施例中,第一信息本身即按照目标格式输入,这样终端可以自动提取到关键词。
如图5所示,目标格式为“关键词:。内容:”,第一信息为“关键词:XXX。内容:这句话写得好”,则终端可以自动提取到关键词“XXX”。
该实施例也可以用于多个关键词的场景,比如目标格式为“关键词:,,。内容:”,第一信息为“关键词:XXX,YYY。内容:这句话写得好”,则终端可以自动提取到关键词“XXX”和“YYY”。
对应地,第一图像中显示的关键词的位置为目标位置,比如第一图像包 括有文字信息“AAAAAAXXXBBBBYYYCCCCC”,在关键词为“XXX”和“YYY”的情况下,目标位置为显示“XXX”和“YYY”的位置,该目标位置可以略大于“XXX”和“YYY”的实际显示位置。
上述目标格式,可以为系统预设的,也可以为用户根据个人习惯设置的。
上述方式,无需用户手动再次选择关键词,可以精准的锁定关键词,且大大简化用户的操作复杂度,使用体验更佳。
三、终端根据预设的目标规则自动提取
在该实施例中,步骤110、基于信息编辑框中显示的第一信息,确定至少一个关键词,可以包括:
基于目标规则,从第一信息中确定至少一个关键词,目标规则为预先设置的。
在该实施例中,第一信息无固定格式,终端根据目标规则,从第一信息中确定关键词。
目标规则可以为用户根据需求设定。比如在行政工作场景下,目标规则可以为提取地点和时间作为关键词;或者对于水果卖家,目标规则可以设置为水果。
这样,该信息发送方法可以根据信息发送的场景或用户的身份信息,自动准确提取到关键词,灵活地实现智能标记。
在该实施例中,从第一信息中识别到关键词需要使用语义识别技术。
上述方式,用户可以输入任何信息作为第一信息,使用灵活性更高,且无需用户手动选择关键词,可以大大简化用户的操作复杂度,使用体验更佳。
步骤120、接收用户的第一输入;
步骤130、响应于第一输入,确定第一图像;
在步骤120中,第一输入用于确定第一图像,第一图像即待标注后发送的图像。
其中,第一输入可以表现为如下至少一种方式:
其一,第一输入可以表现为触控输入,包括但不限于点击输入、滑动输 入和按压输入等。
在该实施方式中,接收用户的第一输入,可以表现为,接收用户在终端显示屏的显示区域的触控操作。
为了降低用户误操作率,可以将第一输入的作用区域限定在特定的区域内,比如当前显示界面的上部中间区域;或者在当前界面显示第二目标控件,触摸第二目标控件,即可实现第一输入;或者将第一输入设置为在目标时间间隔内对显示区域的连续多次敲击操作。
其二,第一输入可以表现为实体按键输入。
在该实施方式中,终端的机身上设有与调出相册的实体按键,接收用户的第一输入,可以表现为,接收用户按压对应的实体按键的第一输入;第一输入还可以为同时按压多个实体案件的组合操作。
其三,第一输入可以表现为语音输入。
在该实施方式中,终端可以在接收到语音如“开启相册”时,触发显示相册预览界面。
当然,在其他实施例中,第一输入也可以表现上述多种输入的组合,或者为其他形式,包括但不限于字符输入等,具体可根据实际需要决定,本申请实施例对此不作限定。
下面结合附图,分别从四种不同的实现角度,对第一图像的确定方法进行具体说明。
一、通过关键词调出指向目标相册的控件。
在该实施例中,步骤120、接收用户的第一输入,包括:接收用户对关键词的第一输入;
第一输入可以为上述实施例描述的任一种方式。
比如,对于图4所示的实施例中,从第一信息“XXX,这句话写的好”中,确定了“XXX”为关键词,且“XXX”以灰色显示,“,这句话写的好”以黑色显示。第一输入可以为长按“XXX”所在的区域。
第一输入用于显示指向目标相册的第二控件。
步骤130、响应于第一输入,确定第一图像,包括:响应于第一输入,显示指向目标相册的第二控件;接收用户对第二控件的第八输入;响应于第八输入,从目标相册中确定第一图像。
在图6所示的实施例中,在当前的聊天交互界面中,显示第二控件“相册”,相册可以指向目标相册。
第二控件可以指向的相册可以有多种情形:
其一,指向所有图像所在的相册;
其二,指向预设的目标相册,比如当前APP所对应的相册;
第三,目标相册与关键词关联。
通过对该关键词的语义分析,显示的第二控件指向与该关联词对应的目标相册。
比如关键词是人物信息,则目标相册为人物分相册。
第八输入用于从目标相册中,确定出第一图像,第八输入可以参考其他输入,表现为多个形式。
下面以第一输入为触控操作为例,进行说明。
第一输入包括用户点击第二控件的触控操作和点击目标相册中的第一图像的触控操作。
在实际的执行中,用户点击第二控件,界面显示目标相册展示界面,目标相册展示界面中可以包括图像的缩略图,用户点击目标缩略图,即可将其确认为第一图像,或者用户点击目标缩略图后点击确认控件,即可将其确认为第一图像。
上述确定第一图像的方式直观,且可操作性强,用户的操作自由度较高,可以在确定关键词之后,根据个人需要随时确定第一图像。
二、通过聊天交互界面中指向目标相册的控件来确定第一图像。
步骤120、接收用户的第一输入,包括:接收用户对指向目标相册的第三控件的第一输入;
在该实施例中,聊天交互界面中,本身就显示了指向目标相册的第三控 件,比如“+”等控件。
第一输入可以为上述实施例描述的任一种方式。
比如,从第一信息“XXX,这句话写的好”中,确定了“XXX”为关键词,且“XXX”以灰色显示,“,这句话写的好”以黑色显示。第一输入可以为点击“+”所在的区域。
第一输入用于显示目标相册展示界面,并确定出第一图像。
步骤130、响应于第一输入,确定第一图像,包括:响应于第一输入,从目标相册中确定第一图像。
在实际的执行中,用户点击第三控件,界面显示目标相册展示界面,目标相册展示界面中可以包括图像的缩略图,用户点击目标缩略图,即可将其确认为第一图像,或者用户点击目标缩略图后点击确认控件,即可将其确认为第一图像。
上述确定第一图像的方式直观,且可操作性强,用户的操作自由度较高,可以在确定关键词之后,根据个人需要随时确定第一图像。
三、从聊天交互界面的图像中确定第一图像。
在该实施例中,步骤120、接收用户的第一输入,包括:接收用户对当前显示界面上的第二图像的第一输入;
步骤130、响应于第一输入,确定第一图像,包括:响应于第一输入,将第二图像作为第一图像。
可以理解的是,在聊天交互界面的聊天记录中,具有图像,可以将某图像直接确定为第一图像。
第一输入可以为上述实施例描述的任一种方式。
下面以第一输入为触控操作为例,进行说明。
第一输入包括用户按压并拖动聊天交互界面的图像的触控操作。
如图7所示,在实际的执行中,用户通过拖动聊天交互界面,从聊天记录中确定好第二图像后,长按第二图像,并将第二图像拖动到信息编辑框中,拖动到信息编辑框可以表示第二图像的至少部分与信息编辑框的至少部分重 合,这样即可将第二图像确定为第一图像。
上述确定第一图像的方式直观,且可操作性强,在聊天场景下,无需对聊天记录中的图像进行下载等操作。
四、根据接收输入的时间间隔,自动显示指向目标相册的第四控件
在该实施例中,该方法还包括:在确定最后一个关键词之后的目标时间段内未接收到用户再次确定关键词的输入的情况下,显示指向目标相册的第四控件;
可以理解的是,在信息编辑框中显示有第一信息的情况下,用户通过操作选择关键词,比如用户在确定第N关键词之后的目标时间段内,未再次确定关键词,则表示关键词已选择完,这是当前的聊天交互界面自动显示第四控件。
目标时间段可以为系统预设的,或者用户预设的,比如目标时间段可以为1s-3s。
步骤120、接收用户的第一输入,包括:接收用户对指向目标相册的第四控件的第一输入;
在该实施例中,第一输入可以为上述实施例描述的任一种方式。
第一输入用于显示目标相册展示界面,并确定出第一图像。
步骤130、响应于第一输入,确定第一图像,包括:响应于第一输入,从目标相册中确定第一图像。
在实际的执行中,用户点击第四控件,界面显示目标相册展示界面,目标相册展示界面中可以包括图像的缩略图,用户点击目标缩略图,即可将其确认为第一图像,或者用户点击目标缩略图后点击确认控件,即可将其确认为第一图像。
当然,在显示指向目标相册的第四控件后,若用户还需要继续手动确定关键词,还可以继续操作。
上述确定第一图像的方式直观,可以自动调出指向目标相册的控件。
步骤140、显示目标图像。
其中,目标图像为在第一图像的目标位置添加目标标记后的图像,目标位置和目标标记为基于至少一个关键词确定的。
在实际的执行中,终端使用关键词,在第一图像中进行匹配和查找,对查找到的目标内容,将目标内容所在的区域进行标记,标记的方式包括:在目标内容下方用下划线标记,或者用封闭框线将目标内容所在的区域标记。
第一图像中显示的关键词的位置为目标位置,比如第一图像包括有文字信息“AAAAAAXXXBBBBYYYCCCCC”,在关键词为“XXX”的情况下,目标位置为显示“XXX”的位置,该目标位置可以略大于“XXX”的实际显示位置,以将关键词完全标记出来,且不影响关键词本身的显示。
图8和图10中,示出了目标图像,图9和图11示出了将目标图像发送给对端后的聊天交互界面。
其中,目标图像且在未发送时,目标图像可以有多种显示方式:
其一、悬浮显示在聊天交互界面上。
比如图8和图10即为这种方式。
这种方式不影响用户对聊天交互界面的整体查看。
其二、显示于信息编辑框中。
该方式下,目标图像可以以缩略图的方式显示。
这种方式不影响用户对聊天交互界面的整体查看,且便于实现删除等操作,防止误发送。
其三、单独显示图像编辑界面。
在该方式中,当前界面显示目标图像的编辑界面。
这种方式可以尽量以较大的区域显示目标图像,便于实现进一步的编辑。
当然,目标图像在发送给对端后,可以显示在聊天交互界面中。
需要说明的是,标记的形式可以为多种,包括标记的颜色、形状和线宽等参数,均可以设置为可调。对于不同的标记,可以各自独立设置参数。
调整标记参数的方式有多种,下面分别从两种不同的实现角度,对调整标记参数的方式进行具体说明。
一、在确定关键词时,即确定与关键词对应的标记特征。
可选地,在该实施例中,步骤110、在确定至少一个关键词之后,该方法还可以包括:
接收用户对与关键词对应的第一控件的第二输入;
响应于第二输入,确定与关键词关联的目标标记;
在步骤130、确定第一图像之后,且在步骤140、显示目标图像之前,该方法还可以包括:
在第一图像的目标位置添加目标标记,生成目标图像。
在该实施例中,第二输入用于确定目标标记,这样基于该关键词从第一图像中查找到目标内容,即可以该目标标记进行标记。
目标标记的参数可以包括标记的颜色、形状、线宽等。
在实际的执行中,当确定出一个关键词之后,即在该关键词的附近显示第一控件。
第二输入可以参考第一输入,具有多种表现形式,以第二输入为对第一控件的触控操作为例,点击第一控件,可以显示目标标记编辑菜单,在目标标记编辑菜单中可以确定与该关键词关联的目标标记的参数。
当然,在另一些实施例中,还可以设置为当确定出一个关键词之后,即在该关键词的附近显示第一控件,当目标时间段内,未接收到第二输入,第一控件消失。
这样可以方式第一控件影响其他信息的阅读以及其他操作,此时该关键词可以与默认的目标标记对应。
二、在显示目标图像之后,再调整目标标记。
在该实施例中,在显示目标图像之后,该方法还可以包括:
接收用户对目标图像的第三输入;
响应于第三输入,调整目标图像中标记的参数或删除目标图像中的至少部分标记。
第三输入可以参考第一输入,具有多种表现形式,以第三输入为触控操 作为例,用户长按目标图像中的目标标记,可以显示编辑菜单,从而实现对该目标标记的编辑或删除。
这样,在发送目标图像之前,用户还可以对标记进行修正。
下面分别从两种不同的实现角度,对本申请实施例进行具体说明。
一、将第一信息的至少部分也显示在目标图像中。
在第一种实施例中,目标图像包括第一信息的至少部分。
在步骤140、显示目标图像之后,该方法还可以包括:
接收用户的第四输入;
响应于第四输入,向对端发送目标图像。
可以理解的是,目标图像包括:原来的第一图像、标记以及第一信息的至少部分。
第四输入可以参考第一输入,具有多种表现形式,以第四输入为触控操作为例,点击“发送”控件,即可将目标图像发送给对端。
如图10所示,第一信息为“XXX,这句话写的好”,关键词为“XXX”,在目标图像中,以线框标记出了“XXX”,且显示“这句话写的好”,第一信息的至少部分“这句话写的好”也作为目标标记的一部分;点击“发送”控件,即发送出一条信息,如图11所示,该信息为目标图像。
在第二种实施例中,在步骤130中的确定第一图像之后,且在步骤140、显示目标图像之前,该方法还可以包括:
在关键词包括第一关键词和第二关键词的情况下,根据第一关键词,确定第一图像中的目标位置,根据第二关键词,确定目标标记;
在第一图像的目标位置添加目标标记,目标标记包括用于指示目标位置的指示标记和包含第二关键词的内容标记;
其中,第一关键词满足第一格式条件,第二关键词满足第二格式条件。
在该实施例中,第一信息本身即按照目标格式输入,这样终端可以自动提取到第一关键词和第二关键词。
如图5所示,目标格式为“关键词:。内容:”,第一格式条件 为“关键词:”,第二格式条件为“内容:”。
则在第一信息为“关键词:XXX。内容:这句话写得好”时,终端可以自动提取到第一关键词“XXX”以及第二关键词“这句话写得好”。
第一关键词“XXX”用于确定第一图像中的目标位置,即从第一图像中查找“XXX”,得到目标位置。第二关键词“这句话写得好”,则可以确定目标标记,确定目标标记可以包括确定目标标记的属性,该属性表示目标标记的内容和形式。
以图11为例,目标标记包括在“XXX”外的指示标记(标记框)和内容标记(这句话写得好)。
上述两种发送方式,将图像和文本融合,指向性更强。
二、将第一信息的至少部分与目标图像分别发送给对端。
在该实施例中,目标图像不包括第一信息的至少部分;
在显示目标图像之后,该方法还包括:
接收用户的第五输入;
响应于第五输入,向对端发送目标图像以及第一信息的至少部分。
第五输入可以参考第一输入,具有多种表现形式,以第五输入为触控操作为例,点击“发送”控件,即可将目标图像以及第一信息的至少部分发送给对端。
如图8所示,第一信息为“XXX,这句话写的好”,关键词为“XXX”,在目标图像中,标记出了“XXX”;点击“发送”控件,即发送出两条信息,如图9所示,两条信息分别为目标图像以及“XXX,这句话写的好”。
当然,也可以发送第一信息中除了关键词之外的其他信息,比如两条信息分别为目标图像以及“这句话写的好”。
上述发送方式可以清晰地展示目标图像以及用户想发送给对端的文本信息。
三、仅发送目标图像。
在该实施例中,目标图像仅包括原来的第一图像以及指示性目标标记。
根据本申请实施例的信息发送方法,通过确定关键词,可以将图像中的关键信息自动标记出来,节省了大量的人工操作,可以优化用户发送图像的操作体验。
需要说明的是,本申请实施例提供的信息发送方法,执行主体可以为信息发送装置,或者该信息发送装置中的用于执行加载信息发送方法的控制模块。本申请实施例中以信息发送装置执行信息发送处理方法为例,说明本申请实施例提供的信息发送方法。
本申请实施例还提供一种信息发送装置。
如图12所示,该信息发送装置包括:第一确定模块210、第一接收模块220、第二确定模块230和第一显示模块240。
第一确定模块210,用于基于信息编辑框中显示的第一信息,确定至少一个关键词;
第一接收模块220,用于接收用户的第一输入;
第二确定模块230,用于响应于第一输入,确定第一图像;
第一显示模块240,用于显示目标图像,其中,目标图像为在第一图像的目标位置添加目标标记后的图像,目标位置和目标标记为基于至少一个关键词确定的。
根据本申请实施例提供的信息发送装置,通过确定关键词,可以将图像中的关键信息自动标记出来,节省了大量的人工操作,可以优化用户发送图像的操作体验。
在一些实施例中,该装置还可以包括:
第二接收模块,用于在确定至少一个关键词之后,接收用户对与关键词对应的第一控件的第二输入;
第三确定模块,用于响应于第二输入,确定与关键词关联的标记特征;
第一处理模块,用于在所述确定第一图像之后,且在所述显示目标图像之前,在所述第一图像的目标位置添加所述目标标记,生成所述目标图像。
在一些实施例中,该装置还可以包括:
第四确定模块,用于在所述关键词包括第一关键词和第二关键词的情况下,根据所述第一关键词,确定所述第一图像中的目标位置,根据所述第二关键词,确定所述目标标记;
第一处理模块,还用于在所述第一图像的目标位置添加所述目标标记,所述目标标记包括用于指示所述目标位置的指示标记和包含所述第二关键词的内容标记;
其中,所述第一关键词满足第一格式条件,所述第二关键词满足第二格式条件。
在一些实施例中,该装置还可以包括:
第三接收模块,用于在显示目标图像之后,接收用户对目标图像的第三输入;
第二处理模块,用于响应于第三输入,调整目标图像中标记的参数或删除目标图像中的至少部分标记。
在一些实施例中,目标图像包括第一信息;该装置还可以包括:
第四接收模块,用于在显示目标图像之后,接收用户的第四输入;
第三处理模块,用于响应于第四输入,向对端发送目标图像。
或者,
在一些实施例中,目标图像不包括第一信息的至少部分,该装置还可以包括:
第五接收模块,用于在显示目标图像之后,接收用户的第五输入;
第六处理模块,用于响应于第五输入,向对端发送目标图像以及第一信息的至少部分。
在一些实施例中,第一确定模块,还用于接收用户对第一信息的第六输入;响应于第六输入,得到候选词;接收用户的第七输入;响应于第七输入,将候选词确定为关键词;
或者,
第一确定模块,还用于从第一信息的目标位置提取关键词,第一信息为 按目标格式输入的;
或者,
第一确定模块,还用于基于目标规则,从第一信息中确定至少一个关键词,目标规则为预先设置的。
在一些实施例中,第一接收模块,还用于接收用户对关键词的第一输入;
第二确定模块,还用于响应于第一输入,显示指向目标相册的第二控件;接收用户对第二控件的第八输入;响应于第八输入,从目标相册中确定第一图像;
或者,
第一接收模块,还用于接收用户对指向目标相册的第三控件的第一输入;
第二确定模块,还用于响应于第一输入,从目标相册中确定第一图像;
或者,
第一接收模块,还用于接收用户对当前显示界面上的第一图像的第一输入;
第二确定模块,还用于响应于第一输入,将第二图像作为第一图像;
或者,
第一接收模块,还用于在确定最后一个关键词之后的目标时间段内未接收到用户再次确定关键词的输入的情况下,接收用户对指向目标相册的第四控件的第一输入;
第二确定模块,还用于响应于第一输入,从目标相册中确定第一图像。
本申请实施例中的信息发送装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜 员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息发送装置能够实现图1至图11的方法实施例中信息发送装置实现的各个过程,为避免重复,这里不再赘述。
如图13所示,本申请实施例还提供一种电子设备,包括处理器320,存储器310,存储在存储器310上并可在所述处理器320上运行的程序或指令,该程序或指令被处理器320执行时实现上述信息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图14为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409以及处理器410等部件。
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器410,用于基于信息编辑框中显示的第一信息,确定至少一个关键词;
输入单元404,用于接收用户的第一输入;
处理器410,用于响应于第一输入,确定第一图像;
显示单元406,用于显示目标图像,其中,目标图像为在第一图像的目标位置添加目标标记后的图像,目标位置和目标标记为基于至少一个关键词确 定的。
根据本申请实施例提供的电子设备,通过确定关键词,可以将图像中的关键信息自动标记出来,节省了大量的人工操作,可以优化用户发送图像的操作体验。
可选的,输入单元404,还用于在确定至少一个关键词之后,接收用户对与关键词对应的第一控件的第二输入;
处理器410,还用于响应于第二输入,确定与关键词关联的目标标记;
处理器410,还用于在确定第一图像之后,且在显示目标图像之前,在第一图像的目标位置添加目标标记,生成目标图像。
可选的,处理器410,还用于在关键词包括第一关键词和第二关键词的情况下,根据第一关键词,确定第一图像中的目标位置,根据第二关键词,确定目标标记;在所述第一图像的目标位置添加所述目标标记,所述目标标记包括用于指示所述目标位置的指示标记和包含所述第二关键词的内容标记;其中,所述第一关键词满足第一格式条件,所述第二关键词满足第二格式条件。
可选的,输入单元404,还用于在在显示目标图像之后,接收用户对目标图像的第三输入;
处理器410,还用于响应于第三输入,调整目标图像中标记的参数或删除目标图像中的至少部分目标标记。
可选的,目标图像包括第一信息的至少部分;输入单元404,还用于在显示目标图像之后,接收用户的第四输入;
处理器410,还用于响应于第五输入,向对端发送目标图像。
可选的,目标图像不包括第一信息的至少部分;输入单元404,还用于在显示目标图像之后,接收用户的第五输入;
处理器410,还用于响应于第五输入,向对端发送目标图像以及第一信息的至少部分。
可选的,处理器410,还用于接收用户对第一信息的第六输入;响应于第 六输入,得到候选词;接收用户的第七输入;响应于第七输入,将候选词确定为关键词;
可选的,处理器410,还用于从第一信息的目标位置提取关键词,第一信息为按目标格式输入的;
可选的,处理器410,还用于基于目标规则,从第一信息中确定至少一个关键词,目标规则为预先设置的。
可选的,输入单元404,还用于接收用户对关键词的第一输入;
处理器410,还用于响应于第一输入,显示指向目标相册的第二控件;接收用户对第二控件的第八输入;响应于第八输入,从目标相册中确定第一图像;
可选的,输入单元404,还用于接收用户对指向目标相册的第三控件的第一输入;
处理器410,还用于响应于第一输入,从目标相册中确定第一图像;
可选的,输入单元404,还用于接收用户对当前显示界面上的第二图像的第一输入;
处理器410,还用于响应于第一输入,将第二图像作为第一图像;
可选的,显示单元406,用于在确定最后一个关键词之后的目标时间段内未接收到用户再次确定关键词的输入的情况下,显示指向目标相册的第四控件;
输入单元404,还用于接收用户对第四控件的第一输入;
处理器410,还用于响应于第一输入,从目标相册中确定第一图像。
需要说明的是,本实施例中上述电子设备400可以实现本申请实施例中方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态 图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情 况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (17)

  1. 一种信息发送方法,包括:
    基于信息编辑框中显示的第一信息,确定至少一个关键词;
    接收用户的第一输入;
    响应于所述第一输入,确定第一图像;
    显示目标图像,其中,所述目标图像为在所述第一图像的目标位置添加目标标记后的图像,所述目标位置和所述目标标记为基于所述至少一个关键词确定的。
  2. 根据权利要求1所述的信息发送方法,其中,在所述确定至少一个关键词之后,所述方法还包括:
    接收用户对与所述关键词对应的第一控件的第二输入;
    响应于所述第二输入,确定与所述关键词关联的目标标记;
    在所述确定第一图像之后,且在所述显示目标图像之前,所述方法还包括:
    在所述第一图像的目标位置添加所述目标标记,生成所述目标图像。
  3. 根据权利要求1所述的信息发送方法,其中,在所述确定第一图像之后,且在所述显示目标图像之前,所述方法还包括:
    在所述关键词包括第一关键词和第二关键词的情况下,根据所述第一关键词,确定所述第一图像中的目标位置,根据所述第二关键词,确定所述目标标记;
    在所述第一图像的目标位置添加所述目标标记,所述目标标记包括用于指示所述目标位置的指示标记和包含所述第二关键词的内容标记;
    其中,所述第一关键词满足第一格式条件,所述第二关键词满足第二格式条件。
  4. 根据权利要求1所述的信息发送方法,其中,在所述显示目标图像之后,所述方法还包括:
    接收用户对所述目标图像的第三输入;
    响应于所述第三输入,调整所述目标图像中的目标标记的参数或删除所述目标图像中的至少部分目标标记。
  5. 根据权利要求1所述的信息发送方法,其中,
    所述目标图像包括所述第一信息的至少部分;
    在所述显示目标图像之后,所述方法还包括:
    接收用户的第四输入;
    响应于所述第四输入,向对端发送所述目标图像;
    或者,
    所述目标图像不包括所述第一信息的至少部分;
    在所述显示目标图像之后,所述方法还包括:
    接收用户的第五输入;
    响应于所述第五输入,向对端发送所述目标图像以及所述第一信息的至少部分。
  6. 根据权利要求1-5中任一项所述的信息发送方法,其中,
    所述基于信息编辑框中显示的第一信息,确定至少一个关键词,包括:
    接收用户对所述第一信息的第六输入;
    响应于所述第六输入,得到候选词;
    接收用户的第七输入;
    响应于所述第七输入,将所述候选词确定为所述关键词;
    或者,
    从所述第一信息的目标位置提取所述关键词,所述第一信息为按目标格式输入的;
    或者,
    基于目标规则,从所述第一信息中确定至少一个关键词,所述目标规则为预先设置的。
  7. 根据权利要求1-5中任一项所述的信息发送方法,其中,
    所述接收用户的第一输入,包括:接收用户对所述关键词的第一输入;
    所述响应于所述第一输入,确定第一图像,包括:响应于所述第一输入,显示指向目标相册的第二控件;接收用户对所述第二控件的第八输入;响应于所述第八输入,从所述目标相册中确定第一图像;
    或者,
    所述接收用户的第一输入,包括:接收用户对指向目标相册的第三控件的第一输入;
    所述响应于所述第一输入,确定第一图像,包括:响应于所述第一输入,从所述目标相册中确定第一图像;
    或者,
    所述接收用户的第一输入,包括:接收用户对当前显示界面上的第二图像的第一输入;
    所述响应于所述第一输入,确定第一图像,包括:响应于所述第一输入,将所述第二图像作为第一图像;
    或者,
    所述方法包括:在确定最后一个所述关键词之后的目标时间段内未接收到用户再次确定关键词的输入的情况下,显示指向目标相册的第四控件;
    所述接收用户的第一输入,包括:接收用户对所述第四控件的第一输入;
    所述响应于所述第一输入,确定第一图像,包括:响应于所述第一输入,从所述目标相册中确定第一图像。
  8. 一种信息发送装置,包括:
    第一确定模块,用于基于信息编辑框中显示的第一信息,确定至少一个关键词;
    第一接收模块,用于接收用户的第一输入;
    第二确定模块,用于响应于所述第一输入,确定第一图像;
    第一显示模块,用于显示目标图像,其中,所述目标图像为在所述第一图像的目标位置添加目标标记后的图像,所述目标位置和所述目标标记为基 于所述至少一个关键词确定的。
  9. 根据权利要求8所述的信息发送装置,其中,所述装置还包括:
    第二接收模块,用于在所述确定至少一个关键词之后,接收用户对与所述关键词对应的第一控件的第二输入;
    第三确定模块,用于响应于所述第二输入,确定与所述关键词关联的目标标记;
    第一处理模块,用于在所述确定第一图像之后,且在所述显示目标图像之前,在所述第一图像的目标位置添加所述目标标记,生成所述目标图像。
  10. 根据权利要求8所述的信息发送装置,其中,所述装置还包括:
    第四确定模块,用于在所述确定第一图像之后,且在所述显示目标图像之前,在所述关键词包括第一关键词和第二关键词的情况下,根据所述第一关键词,确定所述第一图像中的目标位置,根据所述第二关键词,确定所述目标标记;
    第一处理模块,还用于在所述第一图像的目标位置添加所述目标标记,所述目标标记包括用于指示所述目标位置的指示标记和包含所述第二关键词的内容标记;
    其中,所述第一关键词满足第一格式条件,所述第二关键词满足第二格式条件。
  11. 根据权利要求8所述的信息发送装置,其中,所述装置还包括:
    第三接收模块,用于在所述显示目标图像之后,接收用户对所述目标图像的第三输入;
    第二处理模块,用于响应于所述第三输入,调整所述目标图像中的目标标记的参数或删除所述目标图像中的至少部分目标标记。
  12. 根据权利要求8所述的信息发送装置,其中,
    所述目标图像包括所述第一信息的至少部分;
    所述装置还包括:
    第四接收模块,用于在所述显示目标图像之后,接收用户的第四输入;
    第三处理模块,用于响应于所述第四输入,向对端发送所述目标图像;
    或者,
    所述目标图像不包括所述第一信息的至少部分;
    所述装置还包括:
    第五接收模块,用于在所述显示目标图像之后,接收用户的第五输入;
    第六处理模块,用于响应于所述第五输入,向对端发送所述目标图像以及所述第一信息的至少部分。
  13. 根据权利要求8-12中任一项所述的信息发送装置,其中,
    第一确定模块,还用于接收用户对所述第一信息的第六输入;响应于所述第六输入,得到候选词;接收用户的第七输入;响应于所述第七输入,将所述候选词确定为所述关键词;
    或者,
    第一确定模块,还用于从所述第一信息的目标位置提取所述关键词,所述第一信息为按目标格式输入的;
    或者,
    第一确定模块,还用于基于目标规则,从所述第一信息中确定至少一个关键词,所述目标规则为预先设置的。
  14. 根据权利要求8-12中任一项所述的信息发送装置,其中,
    第一接收模块,还用于接收用户对所述关键词的第一输入;
    第二确定模块,还用于响应于所述第一输入,显示指向目标相册的第二控件;接收用户对所述第二控件的第八输入;响应于所述第八输入,从所述目标相册中确定第一图像;
    或者,
    第一接收模块,还用于接收用户对指向目标相册的第三控件的第一输入;
    第二确定模块,还用于响应于所述第一输入,从所述目标相册中确定第一图像;
    或者,
    所述接收用户的第一输入,包括:接收用户对当前显示界面上的第二图像的第一输入;
    所述响应于所述第一输入,确定第一图像,包括:响应于所述第一输入,将所述第二图像作为第一图像;
    或者,
    第一接收模块,还用于在确定最后一个所述关键词之后的目标时间段内未接收到用户再次确定关键词的输入的情况下,接收用户对指向目标相册的第四控件的第一输入;
    第二确定模块,还用于响应于所述第一输入,从所述目标相册中确定第一图像。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7中任一项所述的信息发送方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7中任一项所述的信息发送方法的步骤。
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7中任一项所述的信息发送方法的步骤。
PCT/CN2022/082710 2021-03-29 2022-03-24 信息发送方法、信息发送装置和电子设备 WO2022206538A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110335661.XA CN113099033A (zh) 2021-03-29 2021-03-29 信息发送方法、信息发送装置和电子设备
CN202110335661.X 2021-03-29

Publications (1)

Publication Number Publication Date
WO2022206538A1 true WO2022206538A1 (zh) 2022-10-06

Family

ID=76670553

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082710 WO2022206538A1 (zh) 2021-03-29 2022-03-24 信息发送方法、信息发送装置和电子设备

Country Status (2)

Country Link
CN (1) CN113099033A (zh)
WO (1) WO2022206538A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099033A (zh) * 2021-03-29 2021-07-09 维沃移动通信有限公司 信息发送方法、信息发送装置和电子设备
CN113593614B (zh) * 2021-07-28 2023-12-22 维沃移动通信(杭州)有限公司 图像处理方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151398A1 (en) * 2010-12-09 2012-06-14 Motorola Mobility, Inc. Image Tagging
CN108345839A (zh) * 2018-01-22 2018-07-31 维沃移动通信有限公司 一种关键词定位的方法及移动终端
JP2018170653A (ja) * 2017-03-30 2018-11-01 京セラドキュメントソリューションズ株式会社 画像形成装置及びプログラム
WO2020032384A1 (ko) * 2018-08-08 2020-02-13 삼성전자 주식회사 이미지에 포함된 상품 정보와 관련된 키워드를 제공하기 위한 전자 장치
CN111656438A (zh) * 2018-01-26 2020-09-11 三星电子株式会社 电子装置及其控制方法
CN112383666A (zh) * 2020-11-09 2021-02-19 维沃移动通信有限公司 内容发送方法、装置和电子设备
CN113099033A (zh) * 2021-03-29 2021-07-09 维沃移动通信有限公司 信息发送方法、信息发送装置和电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109607B (zh) * 2019-05-10 2021-07-27 网易(杭州)网络有限公司 信息处理方法及装置、电子设备和存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151398A1 (en) * 2010-12-09 2012-06-14 Motorola Mobility, Inc. Image Tagging
JP2018170653A (ja) * 2017-03-30 2018-11-01 京セラドキュメントソリューションズ株式会社 画像形成装置及びプログラム
CN108345839A (zh) * 2018-01-22 2018-07-31 维沃移动通信有限公司 一种关键词定位的方法及移动终端
CN111656438A (zh) * 2018-01-26 2020-09-11 三星电子株式会社 电子装置及其控制方法
WO2020032384A1 (ko) * 2018-08-08 2020-02-13 삼성전자 주식회사 이미지에 포함된 상품 정보와 관련된 키워드를 제공하기 위한 전자 장치
CN112383666A (zh) * 2020-11-09 2021-02-19 维沃移动通信有限公司 内容发送方法、装置和电子设备
CN113099033A (zh) * 2021-03-29 2021-07-09 维沃移动通信有限公司 信息发送方法、信息发送装置和电子设备

Also Published As

Publication number Publication date
CN113099033A (zh) 2021-07-09

Similar Documents

Publication Publication Date Title
US10812429B2 (en) Systems and methods for message communication
US8407613B2 (en) Directory management on a portable multifunction device
WO2022206538A1 (zh) 信息发送方法、信息发送装置和电子设备
CN112540821B (zh) 信息发送方法和电子设备
WO2019080873A1 (zh) 一种批注生成的方法及相关装置
WO2022089209A1 (zh) 一种图片评论的处理方法、装置、电子设备和存储介质
WO2022206699A1 (zh) 消息发送方法、装置及电子设备
CN113518026B (zh) 消息处理方法、装置和电子设备
WO2023131055A1 (zh) 消息发送方法、装置和电子设备
US11671696B2 (en) User interfaces for managing visual content in media
WO2022156668A1 (zh) 信息处理方法和电子设备
CN112954046B (zh) 信息发送方法、信息发送装置和电子设备
WO2023165423A1 (zh) 一种消息处理方法及装置
WO2022063045A1 (zh) 消息显示方法、装置及电子设备
WO2023061313A1 (zh) 消息展示方法及其装置
CN112333084B (zh) 文件发送方法、装置及电子设备
WO2023125157A1 (zh) 消息发送方法、装置、电子设备及介质
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
WO2023040896A1 (zh) 内容分享方法、装置和电子设备
WO2022253182A1 (zh) 通信方法、装置、电子设备以及可读存储介质
WO2022068721A1 (zh) 截屏方法、装置及电子设备
CN108710521B (zh) 一种便签生成方法和终端设备
CN114415847A (zh) 文本信息删除方法、装置及电子设备
WO2023165421A1 (zh) 聊天窗口信息输入方法、装置和电子设备
WO2023131092A1 (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: 22778721

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778721

Country of ref document: EP

Kind code of ref document: A1