WO2023046105A1 - 消息发送方法、装置和电子设备 - Google Patents
消息发送方法、装置和电子设备 Download PDFInfo
- Publication number
- WO2023046105A1 WO2023046105A1 PCT/CN2022/121019 CN2022121019W WO2023046105A1 WO 2023046105 A1 WO2023046105 A1 WO 2023046105A1 CN 2022121019 W CN2022121019 W CN 2022121019W WO 2023046105 A1 WO2023046105 A1 WO 2023046105A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- sending
- input
- information
- electronic device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000004891 communication Methods 0.000 claims abstract description 16
- 230000004044 response Effects 0.000 claims abstract description 10
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/026—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using e-messaging for transporting management information, e.g. email, instant messaging or chat
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
Definitions
- the present application belongs to the technical field of communication, and in particular relates to a message sending method, device and electronic equipment.
- the messages can include any possible content such as pictures, text messages, and files.
- the user can first trigger the electronic device Take a screenshot of the p messages, then smear out other messages in the screenshot except the q messages, and then use the sharing function provided by the system to send the smeared screenshot to the first friend.
- the purpose of the embodiment of the present application is to provide a method for sending a message, which can solve the problem that the operation process of forwarding a message is relatively cumbersome.
- the embodiment of the present application provides a method for sending a message, the method including: receiving a first input from the user on the conversation interface in the first application program, the first input is to select at least one message in the conversation interface Input; and in response to the first input, perform preset processing on the at least one message to obtain the first message; and send the first message or target address information to the target contact object in the second application program, and the target address information is used for accessing first news.
- an embodiment of the present application provides a device for sending a message
- the device includes: a receiving module, a processing module, and a sending module.
- the receiving module is used to receive the first input of the user on the conversation interface in the first application program, the first input is an input for selecting at least one message in the conversation interface;
- the processing module is used to respond to the first input received by the receiving module Once input, perform preset processing on at least one message to obtain the first message;
- a sending module configured to contact the target in the second application program with the first message or target address information, and the target address information is used to access the first message.
- an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor When realizing the steps of the method as in the first aspect.
- an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
- the 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 used to run programs or instructions to implement the method in the first aspect.
- a first input from the user on the conversation interface in the first application program may be received, where the first input is an input for selecting at least one message in the conversation interface; and in response to the first input, the Preset processing is performed on at least one message to obtain the first message; and the first message or target address information is sent to the target contact object in the second application program, and the target address information is used to access the first message.
- the contact object sends the first message or the address information used to access the first message, so that the target contact object can know the relevant information (such as content) of at least one message through the first message; without needing to first understand the session interface as in the traditional technology
- the smeared screenshot can only be sent after taking a screenshot and manually smearing the screenshot. Therefore, the message sending method provided in the embodiment of the present application can simplify the operation process of forwarding a message.
- FIG. 1 is a schematic diagram of a method for sending a message provided in an embodiment of the present application
- FIG. 2 is one of the interface schematic diagrams of the application of the message sending method provided by the embodiment of the present application
- Fig. 3 is the second schematic diagram of the interface of the application of the message sending method provided by the embodiment of the present application.
- FIG. 4 is the third schematic diagram of the interface of the application of the message sending method provided by the embodiment of the present application.
- FIG. 5 is a schematic diagram of a message sending device provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of an electronic device provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
- Embodiments of the present application provide a message sending method, device, and electronic device, the method including: receiving a first input from a user on a conversation interface in a first application program, where the first input is to select at least one of the conversation interfaces input of a message; and in response to the first input, perform preset processing on the at least one message to obtain the first message; and send the first message or target address information to the target contact object in the second application program, and the target address information is used For access to the first news.
- the contact object sends the first message or the address information used to access the first message, so that the target contact object can know the relevant information (such as content) of at least one message through the first message; without needing to first understand the session interface as in the traditional technology
- the smeared screenshot can only be sent after taking a screenshot and manually smearing the screenshot. Therefore, the message sending method provided in the embodiment of the present application can simplify the operation process of forwarding a message.
- this embodiment of the present application provides a method for sending a message, and the method may include the following steps 101 to 103 .
- an electronic device is used as an example to illustrate the method.
- Step 101 The electronic device receives a first input from a user on a conversation interface in a first application program.
- the first input is an input for selecting at least one message in the conversation interface of the first application program.
- the first input may be a user's touch input or space input on the above at least one message.
- the user may first trigger the electronic device to control the conversation interface to enter the message multi-selection mode through a target input on the conversation interface.
- the message multi-selection mode each message in the conversation interface corresponds to a selection control, and the user can trigger the electronic device to select the at least one message through a first input to the selection control corresponding to the at least one message.
- the user can long press (i.e. target input) on the conversation interface between the user and the contact 1, as shown in (a) in FIG. mode, it can be seen that at this moment, each message in the conversational interface 20 corresponds to a selection control 21; thus the user can click on the selection control corresponding to the message 22, message 23 and message 24 (i.e. the first input), to The electronic device is triggered to select message 22, message 23 and message 24 (ie at least one message).
- Step 102 The electronic device executes preset processing on at least one message in response to the first input to obtain the first message.
- the above-mentioned preset processing may include any of the following: Mode 1, the text content of at least one message and the descriptive information used to describe the non-text content in the at least one message Combined processing; mode 2, splicing processing of screenshots of at least one message; mode 3, processing the at least one message in the future webpage file.
- Step 103 the electronic device sends the first message or target address information to the target contact object in the second application program.
- the destination address information may be used to access the first message.
- the second application program may be the same as or different from the first application program. That is, the electronic device may be triggered to forward messages in the same application through the first input, or to forward messages between different application programs.
- the electronic device when the first application program is different from the second application program, since the user can trigger the electronic device to integrate one or more messages in an application program through the first input to obtain the first message or target address information , and send the integrated first message or destination address information to an object in another application, so that the operation convenience of sending messages across applications can be simplified.
- the first message includes message content of at least part of the at least one message.
- the above-mentioned first message may further include additional information of the above-mentioned at least one message, and the additional information may be used to indicate at least one of the following: the sending/receiving time of the at least one message, the at least The sender of a message.
- the target contact object may be a contact person or a group in the second application program, which may be specifically determined according to actual usage requirements.
- the target contact object can be the contact object in the communication application 2
- the communication application 1 and the communication application 2 can be the same , can also be different.
- the electronic device when the communication application 1 is different from the communication application 2, the electronic device can call the system-level sharing function, and send the first message or target address information to the target contact person through the communication application 2.
- the electronic device may send the first message or target address information to the target contact object through the second application program.
- the second input is an input for selecting a target contact object.
- the conversation interface when the conversation interface is in the message multi-choice mode, the conversation interface includes a "forward" control and a "share” control, and the user can enter the "forward” control or the "share” control , triggering the electronic device to forward the first message to the target contact object.
- the "forward" control is used for forwarding messages within the application program
- the "share” control is used for forwarding messages across application programs.
- Mode 1 Mode 1
- Mode 2 Mode 3
- the preset processing is the text combination processing of the text content in at least one message and the descriptive information used to describe the non-text content in the at least one message by the electronic device
- the at least one message includes M text messages and N non-text messages, M and N are integers greater than or equal to 0, and M+N is not equal to 0; the above step 102 Specifically, it can be realized through the following step 102a and step 102b, and the above step 103 can be specifically realized through the following step 103a.
- step 102a the electronic device acquires description information of N non-text messages in response to the first input, and obtains N pieces of description information.
- the description information of the message may include at least one of the following: information (1) indicating the type of the message, and information (2) indicating the content of the message.
- the electronic device may determine the description information of the message according to the message type of the message.
- the description information of the message includes: the word "picture” (that is, the description information of the message).
- the electronic device may perform content identification on the message to determine the description information of the message.
- the electronic device can identify the content of the picture based on the image recognition technology, and describe the recognized content with a piece of text, and the electronic device can use the piece of text as the description information of the message.
- the electronic device uses image recognition technology to recognize that a car is included in the message 23, so that the electronic device can use the word "car” to describe the content of the message, that is, the message
- the description information of message 23 may include the word "car”; of course, the description information of message 23 may also include the color, shape and pattern of the car in message 23, etc.
- the description information of the message includes the above (1) and the above (2), then: for the message 23 shown in (a) in FIG. 2 , the description information of the message 23 can be: The text "car picture".
- the text message is a message whose message type is a text type message
- the non-text message includes: a message type other than a text type message, for example: a picture type message, a voice type message, Video type news, etc.
- the electronic device may first judge the message type of at least one message selected by the first input, so as to determine the above-mentioned M text messages and N non-text messages . Then the electronic device can acquire the description information of each non-text message in the N non-text messages to obtain N pieces of description information.
- the electronic device may acquire the description information of the message 23 in FIG. 2 , the description information may specifically be the text "picture”, and the description information may indicate that the message type of the message 23 is a picture type.
- the electronic device after the electronic device determines the M text messages, it can also obtain the message content of the M text messages, for example, the electronic device can obtain the message content of the message 24 in FIG. 2: "Hello, can you Send me a picture?"
- Step 102b the electronic device textually combines M text messages and N description information to obtain the first message.
- Step 103a the electronic device sends the first message to the target contact object in the second application program.
- the first message is a text message.
- the electronic device may combine the above M text messages and the above N description information into a whole segment of characters (including text, symbols, etc.) , letters, etc.), and use the combined characters as the first message.
- the electronic device can then combine the at least one message into text message 25 shown in (b) in Figure 2 (i.e. first message).
- the conversation interface is the conversation interface between the user and contact 1, referring to (a) in Figure 2, after the user inputs the "forward" control, as shown in (b) in Figure 2, the electronic device
- the text message 25 (ie, the first message) may be sent to the contact 2 (ie, the target contact person) through the conversation interface between the user and the contact 2 .
- one or more messages selected by the user from the conversation interface in an application program are integrated into a single whole paragraph of text by means of text combination, and the message is forwarded within the application program, or across Application message sharing; although for non-text messages such as pictures, some information is lost, but because most of the message forwarding is forwarded text messages, this embodiment can cover most of the forwarding and sharing with the simplest implementation scene. In this way, the operation process of forwarding messages can be simplified.
- the preset processing is the splicing processing of screenshots of at least one message by the electronic device
- the above step 102 may be specifically implemented through the following step 102c, and the above-mentioned step 103 may be specifically implemented through the following step 103b.
- Step 102c in response to the first input, the electronic device performs image stitching on the screenshots of at least one message to obtain the first message.
- Step 103b the electronic device sends the first message to the target contact object in the second application program.
- the electronic device may first take a screenshot of each message in the at least one message, so as to obtain a screenshot of the at least one message. Then these screenshots are spliced together according to the time sequence of receiving/sending the at least one message to obtain the first message.
- the message type of the first message is a picture type.
- the electronic device when the electronic device stitches the screenshots, it may add additional information of the above at least one message.
- additional information please refer to the relevant description of the additional information in the foregoing embodiments, and to avoid repetition, details are not repeated here.
- the electronic device may send the spliced image 30 (that is, the first message) to the target contact person (for example, contact 2).
- the electronic device can combine at least one message into a picture by taking a screenshot of at least one message selected by the user, and then splicing the screenshots one by one, so as to realize message sharing and forwarding between applications.
- the embodiment of the present application provides a message sending method that not only does not require the user to manually smear the screenshot of the message, but also avoids information loss of image-type messages, thereby supporting wider message types and better universality.
- Mode 3 The electronic device processes at least one message in the future webpage file
- the foregoing step 102 may be specifically implemented through the following step 102d, and the foregoing step 103 may be specifically implemented through the following step 103c.
- Step 102d the electronic device embeds at least one message into the webpage file in response to the first input, to obtain the first message.
- Step 103c the electronic device sends target address information to the target contact object in the second application program, where the target address information is used to access the first message.
- the webpage file may be a hypertext markup language (HTML) file, referred to as an H5 file for short; or the webpage file may be a rich text file, etc., which may be determined according to actual usage requirements.
- HTML hypertext markup language
- the electronic device after the electronic device receives the first input, it can construct a web page file (such as an H5 file), and then sequentially send the at least one message to each message according to the time sequence in which the messages are received/sent.
- a web page file such as an H5 file
- the first message may be a web page file.
- the message sending method provided in the embodiment of the present application may further include the following steps 104 and 105.
- Step 103 the electronic device sends a first message to the server.
- Step 104 the electronic device receives the target address information sent by the server.
- the above target address information is the address information corresponding to the first message stored in the server.
- the storage address of the first message in the server is address 1
- the information 1 indicating address 1 is the target address information.
- the foregoing server may be a server for message forwarding.
- the electronic device can upload the first message to the server for message forwarding, and after the server receives and stores the first message, it can Sending the address information corresponding to the first message stored in the server to the electronic device, so that after receiving the address information, the electronic device can send the address information to the target contact person, so that the target contact person can view, Access the first message in the server.
- At least one message selected by the first input includes message 23, message 24 and message 25 in the conversation interface 20, then the electronic device can send message 23 according to the sequence of receiving and sending messages , message 24 and message 25 are added to the H5 file, and then the H5 file is uploaded to the browser (that is, the server), and the server can return the URL of the H5 file in the server (that is, the target address information), so that when the user "forwards" After control input (such as clicking), as shown in (b) in Figure 4, the electronic device can send the URL (i.e. target address information) to the contact 2 in text form; then, as shown in (c) in Figure 4 Indicates that the target contact object can access the H5 file in the browser based on the URL.
- the electronic device can send message 23 according to the sequence of receiving and sending messages , message 24 and message 25 are added to the H5 file, and then the H5 file is uploaded to the browser (that is, the server), and the server can return the URL of the H5 file in the server (that is, the target address information
- the message sending method since one or more messages in the conversation interface of the first application program can be selected through the first input, and these messages are integrated into one message (for example, the first message), then Send the first message or address information for accessing the first message to the target contact object in the second application program, so that the target contact object can know the relevant information (such as content) of at least one message through the first message;
- the technology is the same, it is necessary to take a screenshot of the conversation interface and manually smear the screenshot before sending the smeared screenshot, so the message sending method provided by the embodiment of the present application can simplify the operation process of forwarding the message.
- the message sending method provided in the embodiment of the present application may be executed by a message sending device, or a control module in the message sending device for executing the message sending method.
- the method for sending a message performed by the message sending device is taken as an example to illustrate the message sending device provided in the embodiment of the present application.
- an embodiment of the present application provides a message sending device 50 , which may include: a receiving module 51 , a processing module 52 and a sending module 53 .
- the receiving module 51 can be used to receive the first input of the user on the conversation interface in the first application program, the first input is an input for selecting at least one message in the conversation interface;
- the processing module 52 can be used to respond to the receiving module
- the first input received at 51 is to perform preset processing on the at least one message to obtain the first message;
- the sending module 53 can be used to send the first message or target address information to the target contact object in the first application program, and the target address information is used to access the first message.
- the at least one message may include M text messages and N non-text messages, M and N are integers greater than or equal to 0, and M+N is not equal to 0.
- the processing module 52 can specifically be used to acquire the description information of the N non-text messages, and obtain N description information; and textually combine the M text messages and the N description information, to obtain a first message; wherein, the description
- the information may include at least one of the following: information indicating message type, information indicating message content.
- the above-mentioned processing module 52 may specifically be used to splice images of screenshots of the at least one message to obtain the first message; or, the processing module 52 may specifically be used to embed the at least one message into a webpage file, get the first message.
- the above-mentioned sending module 53 can also be used to embed the at least one message in the webpage file in the processing module 52, and send the first message to the server after the first message is obtained; the receiving module 51 can also It is used to receive the target address information sent by the server, where the target address information is the address information corresponding to the first message stored in the server.
- the foregoing first message may include additional information, and the additional information may be used to indicate at least one of the following: sending/receiving time of the at least one message, and a sender of the at least one message.
- the message sending device since one or more messages in the conversation interface of the first application program can be selected through the first input, and these messages are integrated into one message (such as the first message), then Send the first message or address information for accessing the first message to the target contact object in the second application program, so that the target contact object can know the relevant information (such as content) of at least one message through the first message;
- the technology is the same, you need to take a screenshot of the session interface first and manually smear the screenshot before sending the smeared screenshot, so the operation process of forwarding messages can be simplified.
- the message sending device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
- the device 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 handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
- the non-mobile electronic device may be a personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
- the message sending device in the embodiment of the present application may be a device with 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 this embodiment of the present application.
- the message sending device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
- the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored in the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above message sending method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
- the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
- a power supply such as a battery
- the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
- the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
- the user input unit 1007 can be used to receive the first input of the user on the conversation interface in the first application program, the first input is an input for selecting at least one message in the conversation interface; the processor 1010 can be used to respond Based on the first input received by the user input unit 1007, perform preset processing on the at least one message to obtain the first message; the radio frequency unit 1001 can be used to send the first message or the target address to the target contact object in the second application program information, destination address information may be used to access the first message.
- the at least one message may include M text messages and N non-text messages, M and N are integers greater than or equal to 0, and M+N is not equal to 0; the processor 1010, specifically It can be used to obtain the descriptive information of the N non-text messages to obtain N descriptive information; and textually combine the M text messages and the N descriptive information to obtain the first message; wherein the descriptive information can include at least the following One item: information indicating the type of the message, information indicating the content of the message.
- the processor 1010 may be specifically configured to splice images of screenshots of the at least one message to obtain the first message; or, the processor 1010 may specifically be configured to embed the at least one message into a webpage file , get the first message.
- the above-mentioned radio frequency unit 1001 may also be configured to embed the at least one message into the web page file at the processor 1010, and send the first message to the server after the first message is obtained;
- the radio frequency unit 1001 can also be used to receive target address information sent by the server, and the target address information can be used to access the first message in the server; wherein, the first message or target address information is stored in the server and corresponds to the first message Address information.
- the foregoing first message may include additional information, and the additional information may be used to indicate at least one of the following: sending/receiving time of the at least one message, and a sender of the at least one message.
- the target contact object in the second application sends the first message or is used to access the address information of the first message, so that the target contact object can know the relevant information (such as content) of at least one message through the first message;
- the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used by the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
- the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
- the touch panel 10071 is also called a touch screen.
- the touch panel 10071 may include two parts, a touch detection device and a touch controller.
- Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
- Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
- the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above message sending method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
- the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
- the above-mentioned 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.
- the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various processes of the above message sending method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
- chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
- the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
- the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请公开了一种消息发送方法、装置和电子设备,属于通信技术领域。该方法包括:接收用户在第一应用程序中的会话界面上的第一输入,第一输入为选择会话界面中的至少一个消息的输入;响应于第一输入,对至少一个消息执行预设处理,得到第一消息;向第二应用程序中的目标联系对象发送第一消息或目标地址信息,目标地址信息用于访问第一消息。
Description
相关申请的交叉引用
本申请主张在2021年09月24日在中国提交的中国专利申请号202111123841.8的优先权,其全部内容通过引用包含于此。
本申请属于通信技术领域,具体涉及一种消息发送方法、装置和电子设备。
目前,用户可以通过电子设备中的应用程序(以下简称为应用)接收和发送消息,该消息中可以包括图片、文本消息和文件等任意可能的内容。
具体的,假设应用1接收到p个消息,若用户需求将该p个消息中不连续的q个消息发送给应用2中的好友(以下称为第一好友)时,用户可以先触发电子设备对该p个消息截图,然后再涂抹掉截图中除该q个消息之外的其他消息,然后再采用系统提供的分享功能,将涂抹后的截图发送至第一好友。
然而,按照上述方法,当需求转发的消息不连续时,由于需要先对消息的截图进行涂抹然后再进行转发,因此导致转发消息的操作过程较为繁琐。
发明内容
本申请实施例的目的是提供一种消息发送方法,能够解决转发消息的操作过程较为繁琐的问题。
第一方面,本申请实施例提供了一种消息发送方法,该方法包括:接收用户在第一应用程序中的会话界面上的第一输入,第一输入为选择会话界面中的至少一个消息的输入;且响应于第一输入,对该至少一个消息执行预设处理,得到第一消息;并向第二应用程序中的目标联系对象发送第一消息或目标地址信息,目标地址信息用于访问第一消息。
第二方面,本申请实施例提供了一种消息发送装置,该装置包括:接收模块、处理模块和发送模块。接收模块,用于接收用户在第一应用程序中的会话界面上的第一输入,第一输入为选择该会话界面中的至少一个消息的输入;处理模块,用于响应于接收模块接收的第一输入,对至少一个消息执行预设处理,得到第一消息;发送模块,用于向第二应用程序中的目标联系对象第一消息或目标地址信息,目标地址信息用于访问第一消息。
第三方面,本申请实施例提供了一种电子设备,所述电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,所述程序或指令被处理器执 行时实现如第一方面的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。
在本申请实施例中,可以接收用户在第一应用程序中的会话界面上的第一输入,第一输入为选择该会话界面中的至少一个消息的输入;且响应于第一输入,对该至少一个消息执行预设处理,得到第一消息;并向第二应用程序中的目标联系对象发送第一消息或目标地址信息,目标地址信息用于访问第一消息。通过该方案,由于可以通过第一输入选择第一应用程序的会话界面中的一个或多个消息,且将这些消息整合成一个消息(例如第一消息),然后向第二应用程序中的目标联系对象发送第一消息或用于访问第一消息的地址信息,从而目标联系对象可以通过第一消息知晓至少一个消息的相关信息(例如内容);而无需像传统技术一样,需要先对会话界面进行截图并手动对截图进行涂抹之后才能发送涂抹后的截图,因此本申请实施例提供的消息发送方法可以简化转发消息的操作过程。
图1为本申请实施例提供的消息发送的方法的示意图;
图2为本申请实施例提供的消息发送方法应用的界面示意图之一;
图3为本申请实施例提供的消息发送方法应用的界面示意图之二;
图4为本申请实施例提供的消息发送方法应用的界面示意图之三;
图5为本申请实施例提供的消息发送装置的示意图;
图6本申请实施例提供的电子设备的示意图;
图7为本申请实施例提供的电子设备的硬件示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
本申请实施例提供一种消息发送方法、装置和电子设备,该方法包括:可以接收 用户在第一应用程序中的会话界面上的第一输入,第一输入为选择该会话界面中的至少一个消息的输入;且响应于第一输入,对该至少一个消息执行预设处理,得到第一消息;并向第二应用程序中的目标联系对象发送第一消息或目标地址信息,目标地址信息用于访问第一消息。通过该方案,由于可以通过第一输入选择第一应用程序的会话界面中的一个或多个消息,且将这些消息整合成一个消息(例如第一消息),然后向第二应用程序中的目标联系对象发送第一消息或用于访问第一消息的地址信息,从而目标联系对象可以通过第一消息知晓至少一个消息的相关信息(例如内容);而无需像传统技术一样,需要先对会话界面进行截图并手动对截图进行涂抹之后才能发送涂抹后的截图,因此本申请实施例提供的消息发送方法可以简化转发消息的操作过程。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息发送方法、装置和电子设备进行详细地说明。
结合图1,本申请实施例提供一种消息发送方法,该方法可以包括下述的步骤101至步骤103。下面以电子设备执行该方法为例进行示例性地说明。
步骤101、电子设备接收用户在第一应用程序中的会话界面上的第一输入。
其中,第一输入为选择第一应用程序的会话界面中的至少一个消息的输入。
可选地,本申请实施例中,第一输入可以为用户对上述至少一个消息上的触控输入或隔空输入。
可选地,本申请实施例中,电子设备接收第一输入之前,用户可以先通过在会话界面上的目标输入,触发电子设备控制会话界面进入消息多选模式。在消息多选模式下,会话界面中的每个消息均对应一个选择控件,用户可以通过对上述至少一个消息对应的选择控件的第一输入,触发电子设备选择该至少一个消息。
例如,用户可以在用户与联系人1的会话界面上长按(即目标输入),如图2中的(a)所示,电子设备可以控制用户与联系人1的会话界面20进入消息多选模式,可以看出,此时,会话界面20中的每个消息均对应一个选择控件21;从而用户可以在消息22、消息23和消息24对应的选择控件上点击(即第一输入),以触发电子设备选择消息22、消息23和消息24(即至少一个消息)。
步骤102、电子设备响应于第一输入,对至少一个消息执行预设处理,得到第一消息。
可选地,本申请实施例中,上述预设处理可以包括以下任一项:方式1,对至少一个消息中的文本内容和用于描述该至少一个消息中的非文本内容的描述信息的文本组合处理;方式2,对至少一个消息的截图的拼接处理;方式3,将该至少一个消息前途网页文件中的处理。
对方式1至方式3的具体描述将在下面进行详细描述,为了避免重复,此处不予赘述。
步骤103、电子设备向第二应用程序中的目标联系对象发送第一消息或目标地址 信息。
其中,目标地址信息可以用于访问第一消息。
可选地,本申请实施例中,第二应用程序与第一应用程序可以相同,也可以不同。即通过第一输入可以触发电子设备实现相同应用中的消息的转发,也可以实现消息在不同应用程序之间的转发。
本申请实施例中,当第一应用程序和第二应用程序不同时,由于用户可以通过第一输入触发电子设备将一应用程序中的一个或多个消息进行整合得到第一消息或者目标地址信息,并向另一个应用程序中的对象发送整合后的第一消息或者目标地址信息,因此可以简化跨应用程序发送消息的操作便捷性。
可以理解,本申请实施例中,第一消息中包括上述至少一个消息中的至少部分消息的消息内容。
可选地,本申请实施例中,上述第一消息中还可以包括上述至少一个消息的附加信息,该附加信息可以用于指示以下至少一项:该至少一个消息的发送/接收时间、该至少一个消息的发送者。
可选地,本申请实施例中,目标联系对象可以为第二应用程序中的联系人或群组,具体可以根据实际使用需求确定。
可选地,本申请实施例中,假设会话界面为通信应用程序1中的会话界面,那么:目标联系对象可以为通讯应用程序2中的联系对象,通讯应用程序1和通讯应用程序2可以相同,也可以不同。
本申请实施例中,当通讯应用程序1与通讯应用程序2不同时,电子设备可以调用系统级分享功能,通过通讯应用程序2向目标联系对象发送第一消息或目标地址信息。
可选地,本申请实施例中,电子设备可以在接收到用户的第二输入之后,通过第二应用程序向目标联系对象发送第一消息或目标地址信息。第二输入为选择目标联系对象的输入。
可选地,本申请实施例中,当会话界面处于消息多选模式下时,会话界面上包括一个“转发”控件和“分享”控件,用户可以对该“转发”控件或“分享”控件输入,触发电子设备向目标联系对象转发第一消息。
其中,“转发”控件用于在应用程序内进行消息的转发,“分享”控件用于跨应用程序的消息转发。
下面分别对方式1、方式2和方式3进行详细说明。
方式1:预设处理为电子设备对至少一个消息中的文本内容和用于描述该至少一个消息中的非文本内容的描述信息的文本组合处理
可选地,本申请实施例中,假设上述至少一个消息中包括M个文本消息和N个非文本消息,M和N为大于或等于0的整数,且M+N不等于0;上述步骤102具体可 以通过下述的步骤102a和步骤102b实现,上述的步骤103具体可以通过下述的步骤103a实现。
步骤102a、电子设备响应于第一输入,获取N个非文本消息的描述信息,得到N个描述信息。
其中,消息的描述信息可以包括以下至少一项:指示消息类型的信息(1)、指示消息内容的信息(2)。
可选地,本申请实施例中,在上述(1)中,电子设备可以根据消息的消息类型确定消息的描述信息。
示例性地,若一个消息的消息类型为图片类型,那么该消息的描述信息中包括:文字“图片”(即消息的描述信息)。
可选地,本申请实施例中,在上述(2)中,电子设备可以对消息进行内容识别,以确定消息的描述信息。
示例性地,假设一个消息为图片,那么电子设备可以基于图像识别技术,识别该图片的内容,并以一段文字描述识别到的内容,电子设备可以将段文字作为该消息的描述信息。
例如,参考如图2中的(a)所示的消息23,电子设备采用图像识别技术,识别到消息23中包括一辆汽车,从而电子设备可以采用文字“汽车”描述消息的内容,即消息23的描述信息中可以包括文字“汽车”;当然,消息23的描述信息中还可以包括消息23中的汽车的颜色、形状和图案等。
可以理解,本申请实施例中,若消息的描述信息包括上述(1)和上述(2),那么:对于图2中的(a)所示的消息23,该消息23的描述信息可以为:文字“汽车图片”。
本申请实施例中,文本消息为消息的类型为文本类型的消息,非文本消息包括:消息的类型为除文本类型之外的其他类型的消息,例如:图片类型的消息、语音类型的消息、视频类型的消息等。
需要说明的是,本申请实施例中,电子设备接收到用户的第一输入之后,可以先判断第一输入选择的至少一个消息的消息类型,以确定上述M个文本消息和N个非文本消息。然后电子设备可以获取该N个非文本消息中每个非文本消息的描述信息,得到N个描述信息。
例如,电子设备可以获取图2中的消息23的描述信息,该描述信息具体可以为文字“图片”,该描述信息可以指示消息23的消息类型为图片类型。
可以理解,本申请实施例中,电子设备确定M个文本消息之后,还可以获取该M个文本消息的消息内容,例如电子设备可以获取图2中的消息24的消息内容:“你好,能发我图片吗?”。
步骤102b、电子设备将M个文本消息和N个描述信息进行文本组合,得到第一 消息。
步骤103a、电子设备向第二应用程序中的目标联系对象发送第一消息。
本申请实施例中,第一消息为文本消息。
可选地,本申请实施例中,电子设备可以按照电子设备接收/发送上述至少一个消息的时间先后顺序,将上述M个文本消息和上述N个描述信息组合成一整段字符(包括文字、符号、字母等),并将组合后的字符作为第一消息。
例如,假设至少一个消息为图2中的(a)所示的消息22、消息23和消息24,那么电子设备可以将该至少一个消息组合为图2中的(b)所示的文本消息25(即第一消息)。
本申请实施例中,假设会话界面为用户与联系人1的会话界面,参照图2中的(a),用户对“转发”控件输入之后,如图2中的(b)所示,电子设备可以通过用户与联系人2的会话界面将文本消息25(即第一消息)发送至联系人2(即目标联系对象)。
本申请实施例中,通过文字组合的方式,将用户从一个应用程序中的会话界面中选择的一条/多条消息整合成一条单独的整段文字,并进行应用程序内的消息转发,或跨应用程序的消息分享;虽然对于图片等非文本消息,有一定信息丢失,但由于绝大多数消息转发都是转发的文字消息,因此本实施例用最简单的实现方式就能够覆盖大部分转发分享的场景。如此可以简化转发消息的操作过程。
方式2:预设处理为电子设备对至少一个消息的截图的拼接处理
可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102c实现,上述的步骤103具体可以通过下述的步骤103b实现。
步骤102c、电子设备响应于第一输入,将至少一个消息的截图进行图像拼接,得到第一消息。
步骤103b、电子设备向第二应用程序中的目标联系对象发送第一消息。
可选地,本申请实施例中,电子设备接收到第一输入之后,可以先对至少一个消息中的每个消息进行截图,以得到至少一个消息的截图。然后再将这些截图按照接收/发送该至少一个消息的时间的先后顺序拼接在一起,以得到第一消息。
可以理解,本申请实施例中,第一消息的消息类型为图片类型。
可选地,本申请实施例中,电子设备在进行截图拼接时,可以加入上述至少一个消息的附加信息。对于附加信息的描述具体可以参见上述实施例中对附加信息的相关描述,为了避免重复,此处不再赘述。
下面结合附图对本申请实施例提供的消息发送方法进行示例性地说明。
示例性地,假设至少一个消息为图2中的(a)中所示的会话界面20中的消息22、消息23和消息24,那么:电子设备在将该至少一个消息的截图进行图像拼接,得到第一消息之后,如图3所示,电子设备可以向目标联系对象(例如联系人2)发送拼接得到的图像30(即第一消息)。
本申请实施例中,电子设备通过对用户选择的至少一个消息截图,再将截图进行逐个拼接的方式,可以实现将该至少一个消息组合成图片,从而实现应用程序间的消息分享和转发。如此,本申请实施例提供消息发送方法中不但无需用户手动对消息的截图进行涂抹,而且可以避免图像类型的消息的信息损失,从而支持的消息类型更广,普适性更好。
方式3:电子设备将该至少一个消息前途网页文件中的处理
可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102d实现,上述步骤103具体可以通过下述的步骤103c实现。
步骤102d、电子设备响应于第一输入,将至少一个消息嵌入网页文件中,得到第一消息。
步骤103c、电子设备向第二应用程序中的目标联系对象发送目标地址信息,目标地址信息用于访问第一消息。
可选地,本申请实施例中,网页文件可以为应用超文本标记语言(HTML)文件,简称为H5文件;或者网页文件可以为富文本文件等,具体可以根据实际使用需求确定。
可选地,本申请实施例中,电子设备接收到第一输入之后,可以构造一个网页文件(例如H5文件),然后按接收/发送消息的时间先后顺序,依次将该至少一个消息每条消息嵌入到H5文件中;例如,对于图片类型的消息,可以在H5文件中嵌入<imgsrc="图片的地址">。
可以理解,本申请实施例中,第一消息可以为一个网页文件。
本申请实施例中,由于可以将用户选择的至少一个消息嵌入至网页文件中,因此可以确保各种类型的消息的内容不丢失。
可选地,本申请实施例中,在上述方式3中,在上述步骤102d之后,本申请实施例提供的消息发送方法还可以包括下述的步骤104和步骤105。
步骤103、电子设备向服务器发送第一消息。
步骤104、电子设备接收服务器发送的目标地址信息。
其中,上述目标地址信息为服务器中存储的与第一消息对应的地址信息。
可以理解,假设第一消息在服务器中存储地址为地址1,那么指示地址1的信息1即为目标地址信息。
本申请实施例中,上述服务器可以为用于消息转发的服务器。
可选地,本申请实施例中,电子设备在得到第一消息之后,经用户同意之后,电子设备可以将第一消息上传用于消息转发的服务器,服务器在接收并存储第一消息之后,可以向电子设备发送服务器中存储的与第一消息对应的地址信息,从而,电子设备在接收到地址信息之后,可以向目标联系对象发送该地址信息,如此,目标联系对象可以基于该地址信息查看、访问服务器中的第一消息。
下面结合附图对本申请实施例提供的消息发送方法进行示例性地说明。
如图4中的(a)所示,第一输入选择的至少一个消息包括会话界面20中的消息23、消息24和消息25,那么电子设备可以按照接收和发送消息的先后顺序,将消息23、消息24和消息25添加至H5文件中,然后将H5文件上传至浏览器(即服务器),服务器可以返回该H5文件在服务器中的网址(即目标地址信息),从而当用户对“转发”控件输入(例如点击)之后,如图4中的(b)所示,电子设备可以以文本形式向联系人2发送该网址(即目标地址信息);然后,如图4中的(c)所示,目标联系对象可以基于该网址,访问浏览器中的H5文件。
本申请实施例中,通过将用户选择的至少一个消息添加至网页文件,并将该网页文件上传至服务器中的方式,可以实现各种消息类型的消息跨应用程序的转发、分享,避免消息内容的损失。
在本申请实施例提供的消息发送方法中,由于可以通过第一输入选择第一应用程序的会话界面中的一个或多个消息,且将这些消息整合成一个消息(例如第一消息),然后向第二应用程序中的目标联系对象发送第一消息或用于访问第一消息的地址信息,从而目标联系对象可以通过第一消息知晓至少一个消息的相关信息(例如内容);而无需像传统技术一样,需要先对会话界面进行截图并手动对截图进行涂抹之后才能发送涂抹后的截图,因此本申请实施例提供的消息发送方法可以简化转发消息的操作过程。
需要说明的是,本申请实施例提供的消息发送方法,执行主体可以为消息发送装置,或者该消息发送装置中的用于执行消息发送方法的控制模块。本申请实施例中以消息发送装置执行消息发送方法为例,说明本申请实施例提供的消息发送装置。
结合图5,本申请实施例提供一种消息发送装置50,该消息发送装置50可以包括:接收模块51、处理模块52和发送模块53。接收模块51,可以用于接收用户在第一应用程序中的会话界面上的第一输入,第一输入为选择会话界面中的至少一个消息的输入;处理模块52,可以用于响应于接收模块51接收的第一输入,对该至少一个消息执行预设处理,得到第一消息;发送模块53,可以用于向第一应用程序中的目标联系对象发送第一消息或目标地址信息,目标地址信息用于访问第一消息。
一种可能的实现方式中,上述至少一个消息中可以包括M个文本消息和N个非文本消息,M和N为大于或等于0的整数,且M+N不等于0。
处理模块52,具体可以用于获取该N个非文本消息的描述信息,得到N个描述信息;且将该M个文本消息和该N个描述信息进行文本组合,得到第一消息;其中,描述信息可以包括以下至少一项:指示消息类型的信息、指示消息内容的信息。
一种可能的实现方式中,上述处理模块52,具体可以用于将该至少一个消息的截图进行图像拼接,得到第一消息;或者,处理模块52,具体可以用于将该至少一个消息嵌入网页文件中,得到第一消息。
一种可能的实现方式中,上述发送模块53,还可以用于在处理模块52将该至少一个消息嵌入网页文件中,得到第一消息之后,向服务器发送第一消息;接收模块51,还可以用于接收服务器发送的目标地址信息,目标地址信息为服务器中存储的与第一消息对应的地址信息。
一种可能的实现方式中,上述第一消息中可以包括附加信息,附加信息可以用于指示以下至少一项:该至少一个消息的发送/接收时间、该至少一个消息的发送者。
在本申请实施例提供的消息发送装置中,由于可以通过第一输入选择第一应用程序的会话界面中的一个或多个消息,且将这些消息整合成一个消息(例如第一消息),然后向第二应用程序中的目标联系对象发送第一消息或用于访问第一消息的地址信息,从而目标联系对象可以通过第一消息知晓至少一个消息的相关信息(例如内容);而无需像传统技术一样,需要先对会话界面进行截图并手动对截图进行涂抹之后才能发送涂抹后的截图,因此可以简化转发消息的操作过程。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
本申请实施例中的消息发送装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的消息发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的消息发送装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。
如图6所示,本申请实施例还提供一种电子设备200,包括处理器202,存储器201,存储在存储器201上并可在处理器202上运行的程序或指令,该程序或指令被处理器202执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图7为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元 1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元1007,可以用于接收用户在第一应用程序中的会话界面上的第一输入,第一输入为选择会话界面中的至少一个消息的输入;处理器1010,可以用于响应于用户输入单元1007接收的第一输入,对该至少一个消息执行预设处理,得到第一消息;射频单元1001,可以用于向第二应用程序中的目标联系对象发送第一消息或目标地址信息,目标地址信息可以用于访问第一消息。
一种可能的实现方式中,上述至少一个消息中可以包括M个文本消息和N个非文本消息,M和N为大于或等于0的整数,且M+N不等于0;处理器1010,具体可以用于获取该N个非文本消息的描述信息,得到N个描述信息;且将该M个文本消息和该N个描述信息进行文本组合,得到第一消息;其中,描述信息可以包括以下至少一项:指示消息类型的信息、指示消息内容的信息。
一种可能的实现方式中,处理器1010,具体可以用于将该至少一个消息的截图进行图像拼接,得到第一消息;或者,处理器1010,具体可以用于将该至少一个消息嵌入网页文件中,得到第一消息。
一种可能的实现方式中,上述射频单元1001,还可以用于在处理器1010将该至少一个消息嵌入网页文件中,得到第一消息之后,向服务器发送第一消息;
射频单元1001,还可以用于接收服务器发送的目标地址信息,目标地址信息可以用于访问服务器中的第一消息;其中,第一消息或目标地址信息为服务器中存储的与第一消息对应的地址信息。
一种可能的实现方式中,上述第一消息中可以包括附加信息,附加信息可以用于指示以下至少一项:该至少一个消息的发送/接收时间、该至少一个消息的发送者。
在本申请实施例提供的电子设备中,由于可以通过第一输入选择第一应用程序的会话界面中的一个或多个消息,且将这些消息整合成一个消息(例如第一消息),然后向第二应用程序中的目标联系对象发送第一消息或用于访问第一消息的地址信息,从而目标联系对象可以通过第一消息知晓至少一个消息的相关信息(例如内容);而无需像传统技术一样,需要先对会话界面进行截图并手动对截图进行涂抹之后才能发送涂抹后的截图,因此可以简化转发消息的操作过程。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现 有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (15)
- 一种消息发送方法,所述方法包括:接收用户在第一应用程序中的会话界面上的第一输入,所述第一输入为选择所述会话界面中的至少一个消息的输入;响应于所述第一输入,对所述至少一个消息执行预设处理,得到第一消息;向第二应用程序中的目标联系对象发送所述第一消息或目标地址信息,所述目标地址信息用于访问所述第一消息。
- 根据权利要求1所述的方法,其中,所述至少一个消息中包括M个文本消息和N个非文本消息,M和N为大于或等于0的整数,且M+N不等于0;所述对所述至少一个消息执行预设处理,得到第一消息,包括:获取所述N个非文本消息的描述信息,得到N个描述信息;将所述M个文本消息和所述N个描述信息进行文本组合,得到所述第一消息;其中,描述信息包括以下至少一项:指示消息类型的信息、指示消息内容的信息。
- 根据权利要求1所述的方法,其中,所述对所述至少一个消息执行预设处理,得到第一消息,包括:将所述至少一个消息的截图进行图像拼接,得到所述第一消息;或,将所述至少一个消息嵌入网页文件中,得到所述第一消息。
- 根据权利要求3所述的方法,其中,所述将所述至少一个消息嵌入网页文件中,得到所述第一消息之后,所述方法还包括:向服务器发送所述第一消息;接收所述服务器发送的所述目标地址信息,所述目标地址信息为所述服务器中存储的与所述第一消息对应的地址信息。
- 根据权利要求1至4中任一项所述的方法,其中,所述第一消息中包括所述至少一个消息的附加信息,所述附加信息用于指示以下至少一项:所述至少一个消息的发送/接收时间、所述至少一个消息的发送者。
- 一种消息发送装置,所述消息发送装置包括:接收模块、处理模块和发送模块;所述接收模块,用于接收用户在第一应用程序中的会话界面上的第一输入,所述第一输入为选择所述会话界面中的至少一个消息的输入;所述处理模块,用于响应于所述接收模块接收的所述第一输入,对所述至少一个消息执行预设处理,得到第一消息;所述发送模块,用于向第二应用程序中的目标联系对象发送所述第一消息或目标地址信息,所述目标地址信息用于访问所述第一消息。
- 根据权利要求6所述的装置,其中,所述至少一个消息中包括M个文本消息和N个非文本消息,M和N为大于或等于0的整数,且M+N不等于0;所述处理模块,具体用于获取所述N个非文本消息的描述信息,得到N个描述信 息;且将所述M个文本消息和所述N个描述信息进行文本组合,得到所述第一消息;其中,描述信息包括以下至少一项:指示消息类型的信息、指示消息内容的信息。
- 根据权利要求6所述的装置,其中,所述处理模块,具体用于将所述至少一个消息的截图进行图像拼接,得到所述第一消息;或者,所述处理模块,具体用于将所述至少一个消息嵌入网页文件中,得到所述第一消息。
- 根据权利要求8所述的装置,其中,所述发送模块,还用于在所述处理模块将所述至少一个消息嵌入网页文件中,得到所述第一消息之后,向服务器发送所述第一消息;所述接收模块,还用于接收所述服务器发送的所述目标地址信息,所述目标地址信息为所述服务器中存储的与所述第一消息对应的地址信息。
- 根据权利要求6所述的装置,其中,所述第一消息中包括附加信息,所述附加信息用于指示以下至少一项:所述至少一个消息的发送/接收时间、所述至少一个消息的发送者。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的消息发送方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的消息发送方法的步骤。
- 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的消息发送方法。
- 一种电子设备,包括电子设备被配置成用于执行如权利要求1至5中任一项所述的消息发送方法。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的消息发送方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111123841.8A CN113726584A (zh) | 2021-09-24 | 2021-09-24 | 消息发送方法、装置和电子设备 |
CN202111123841.8 | 2021-09-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023046105A1 true WO2023046105A1 (zh) | 2023-03-30 |
Family
ID=78684801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/121019 WO2023046105A1 (zh) | 2021-09-24 | 2022-09-23 | 消息发送方法、装置和电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113726584A (zh) |
WO (1) | WO2023046105A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726584A (zh) * | 2021-09-24 | 2021-11-30 | 维沃移动通信有限公司 | 消息发送方法、装置和电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090313341A1 (en) * | 1999-07-29 | 2009-12-17 | Electronic Arts Inc. | Electronic in-application postcards |
CN105049317A (zh) * | 2015-05-21 | 2015-11-11 | 腾讯科技(深圳)有限公司 | 消息转发方法及装置 |
WO2019021048A1 (en) * | 2017-07-24 | 2019-01-31 | Yogesh Chunilal Rathod | EPHEMER CONTENT SHARING AND USER CONNECTION BASED ON SINGLE LINK SHARING FROM 3R PART APPLICATIONS AND STORING AND ASSOCIATING A SINGLE CODE OR IDENTITY OF A USER SHARING A LINK WITH A USER ACCESSING A LINK |
CN110912803A (zh) * | 2019-11-14 | 2020-03-24 | 富途网络科技(深圳)有限公司 | 一种im消息传输方法及终端 |
CN111158817A (zh) * | 2019-12-24 | 2020-05-15 | 维沃移动通信有限公司 | 一种信息处理方法及电子设备 |
CN113360238A (zh) * | 2021-06-29 | 2021-09-07 | 维沃移动通信有限公司 | 消息处理方法、装置、电子设备和存储介质 |
CN113726584A (zh) * | 2021-09-24 | 2021-11-30 | 维沃移动通信有限公司 | 消息发送方法、装置和电子设备 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100589430C (zh) * | 2007-07-23 | 2010-02-10 | 中国联合网络通信集团有限公司 | 一种即时消息的文件传输系统及其方法 |
CN107682827B (zh) * | 2017-10-23 | 2019-10-29 | 平安科技(深圳)有限公司 | 车险消息推送方法、装置和计算机设备 |
CN110278141B (zh) * | 2018-03-14 | 2021-08-31 | 腾讯科技(深圳)有限公司 | 一种即时通讯信息的处理方法、装置及存储介质 |
CN112306590B (zh) * | 2019-07-30 | 2022-04-26 | 腾讯科技(深圳)有限公司 | 一种截图生成的方法以及相关装置 |
CN110752980B (zh) * | 2019-09-27 | 2022-04-19 | 维沃移动通信有限公司 | 一种消息发送方法及电子设备 |
CN113411251B (zh) * | 2021-06-16 | 2022-08-02 | 维沃移动通信(杭州)有限公司 | 多消息分发方法、装置、电子设备和可读存储介质 |
-
2021
- 2021-09-24 CN CN202111123841.8A patent/CN113726584A/zh active Pending
-
2022
- 2022-09-23 WO PCT/CN2022/121019 patent/WO2023046105A1/zh unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090313341A1 (en) * | 1999-07-29 | 2009-12-17 | Electronic Arts Inc. | Electronic in-application postcards |
CN105049317A (zh) * | 2015-05-21 | 2015-11-11 | 腾讯科技(深圳)有限公司 | 消息转发方法及装置 |
WO2019021048A1 (en) * | 2017-07-24 | 2019-01-31 | Yogesh Chunilal Rathod | EPHEMER CONTENT SHARING AND USER CONNECTION BASED ON SINGLE LINK SHARING FROM 3R PART APPLICATIONS AND STORING AND ASSOCIATING A SINGLE CODE OR IDENTITY OF A USER SHARING A LINK WITH A USER ACCESSING A LINK |
CN110912803A (zh) * | 2019-11-14 | 2020-03-24 | 富途网络科技(深圳)有限公司 | 一种im消息传输方法及终端 |
CN111158817A (zh) * | 2019-12-24 | 2020-05-15 | 维沃移动通信有限公司 | 一种信息处理方法及电子设备 |
CN113360238A (zh) * | 2021-06-29 | 2021-09-07 | 维沃移动通信有限公司 | 消息处理方法、装置、电子设备和存储介质 |
CN113726584A (zh) * | 2021-09-24 | 2021-11-30 | 维沃移动通信有限公司 | 消息发送方法、装置和电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN113726584A (zh) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114422461B (zh) | 消息引用方法及其装置 | |
WO2018196588A1 (zh) | 一种信息分享方法、装置和系统 | |
CN114500432A (zh) | 会话消息收发方法及装置、电子设备、可读存储介质 | |
US20230328018A1 (en) | Sending method and apparatus, and electronic device | |
WO2023131055A1 (zh) | 消息发送方法、装置和电子设备 | |
CN113285866B (zh) | 信息发送方法、装置和电子设备 | |
CN112416200A (zh) | 显示方法、装置、电子设备和可读存储介质 | |
WO2023040845A1 (zh) | 消息发送方法、装置及电子设备 | |
WO2023011483A1 (zh) | 消息发送方法、装置及电子设备 | |
WO2022262721A1 (zh) | 信息交互方法、装置和电子设备 | |
WO2023046105A1 (zh) | 消息发送方法、装置和电子设备 | |
US20240089223A1 (en) | Information display method and apparatus, and electronic device | |
CN114153362A (zh) | 信息处理方法及装置 | |
WO2024152669A1 (zh) | 内容搜索方法、装置、计算机设备、存储介质和计算机程序产品 | |
CN113676395A (zh) | 信息处理方法、相关设备及可读存储介质 | |
CN111324262B (zh) | 一种应用界面控制方法、装置、终端及介质 | |
CN112181351A (zh) | 语音输入方法、装置及电子设备 | |
CN112235412A (zh) | 消息处理方法和装置 | |
WO2023071932A1 (zh) | 消息发送方法和电子设备 | |
CN115412634B (zh) | 消息显示方法和装置 | |
WO2022253086A1 (zh) | 应用功能查找方法、装置及电子设备 | |
CN114124874B (zh) | 聊天信息的发送方法及装置 | |
WO2022199614A1 (zh) | 界面输入源切换方法、装置和电子设备 | |
CN114221923B (zh) | 消息处理方法、装置和电子设备 | |
CN112383666B (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: 22872149 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |