CN112511412B - Information sending method and device, electronic equipment and readable storage medium - Google Patents

Information sending method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112511412B
CN112511412B CN202011503164.8A CN202011503164A CN112511412B CN 112511412 B CN112511412 B CN 112511412B CN 202011503164 A CN202011503164 A CN 202011503164A CN 112511412 B CN112511412 B CN 112511412B
Authority
CN
China
Prior art keywords
information
sending
session interface
target object
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011503164.8A
Other languages
Chinese (zh)
Other versions
CN112511412A (en
Inventor
王兰彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202011503164.8A priority Critical patent/CN112511412B/en
Publication of CN112511412A publication Critical patent/CN112511412A/en
Priority to PCT/CN2021/137738 priority patent/WO2022127766A1/en
Application granted granted Critical
Publication of CN112511412B publication Critical patent/CN112511412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method and a device for sending information, electronic equipment and a readable storage medium, and belongs to the field of intelligent terminals. Wherein, the method comprises the following steps: receiving first content input in an input box, wherein the first content comprises: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained; sending the second information to be sent to the target object under the condition that the first symbol comprises a preset symbol; the input box is an input box in a first session interface, and a first object corresponding to the first session interface is different from the target object. By the method and the device, the problem that information is sent to other users more tediously under the condition of being in the current session interface is solved.

Description

Information sending method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the field of intelligent terminals, and particularly relates to an information sending method and device, electronic equipment and a readable storage medium.
Background
At present, with the development of mobile intelligent terminals, the convenience degree of communication among people is greatly increased by instant messaging software. However, in the existing instant messaging software, for sending chat information to other users under the condition of the current session interface, multiple steps are required to be operated to implement, for example, when chatting with the user a, if a user B wants to send a message to the user B independently, the user B needs to be exited from the session interface with the user a, then the user B is found in the contact list, and then the chat information is input into the session interface with the user B and sent.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for sending information, an electronic device, and a readable storage medium, which can solve the problem that sending information to other users is complicated when the user is in a current session interface.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information sending method, including: receiving first content input in an input box, wherein the first content comprises: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained; sending the second information to be sent to the target object under the condition that the first symbol comprises a preset symbol; the input box is an input box in a first session interface, and a first object corresponding to the first session interface is different from the target object.
In a second aspect, an embodiment of the present application provides an apparatus for sending information, including:
a receiving module, configured to receive first content input in an input box, where the first content includes: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained; a sending module, configured to send the second information to be sent to the target object when the first symbol includes a preset symbol; the input box is an input box in a first conversation interface, and a first object corresponding to the first conversation interface is different from the target object.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, if the first content input in the current first session interface input box includes the first symbol, the first information associated with the target object and the second information to be sent, and the first symbol includes the preset symbol, the second information to be sent is directly sent to the target object.
Drawings
Fig. 1 is a flowchart of a method for sending information according to an embodiment of the present application;
fig. 2 is a first schematic diagram illustrating sending a message in instant messaging software according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a second example of sending a message in instant messaging software according to an embodiment of the present application;
fig. 4 is a third schematic diagram illustrating sending a message in the instant messaging software according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of an information transmission apparatus according to an embodiment of the present application;
FIG. 6 is a first schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the method for sending information provided by the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
An embodiment of the present application provides a method for sending information, and fig. 1 is a flowchart of the method for sending information according to the embodiment of the present application, and as shown in fig. 1, the method includes the steps of:
step S102, receiving a first content input in an input box, where the first content includes: the first symbol, first information associated with the target object, and second information to be transmitted.
It can be understood that the first information is information associated with the target object, and may specifically be a name, an account number, or a shortcut identifier of the target object, for example, if the user sets the number 1 as the shortcut identifier of the target object, the user may point to the target object by inputting the number 1.
Step S104, under the condition that the first symbol comprises a preset symbol, sending second information to be sent to a target object; the input box is an input box in the first session interface, and the first object corresponding to the first session interface is different from the target object.
It is to be understood that the first symbols are all symbols included in the input first content, and in case that the first content is input as a sentence, since the sentence itself includes common symbols, in some alternative embodiments, the preset symbols may be set to be more specific symbols to be distinguished from the common symbols, for example, the preset symbols may be set to be "#", "&", etc. to be distinguished from the common symbols "," & ". "and the like.
It should be understood that, in a session interface of a general communication application, at least two session objects, namely, a self-party and a counterpart (friend) corresponding to an account are usually included, and in a case of performing a communication session with a different object (friend), the counterpart is different, so that a first object of one pair of first session interfaces herein refers to a counterpart (friend) performing a session with the self-party. For example, when the user a performs a communication session with the friend B, the first session interface is displayed, that is, the first object corresponding to the first session interface is the friend B.
Illustratively, the first session interface is a session interface between the user a and the friend B (the first object), in the current session interface, the user a and the friend B visit at the weekend, and want to invite C to visit together during the chat, at this time, if the user a enters "# C visit at the end of the week? ", here," # "is a preset symbol," C "is first information associated with the target object," do you visit a street on the weekend? "is the second information to be sent," do you visit a street on the weekend? The information of the' can be directly sent to the friend C, so that the user A does not need to quit the current session interface, then finds the C from the address list, opens the session interface with the C and sends the information.
In the embodiment of the application, if the first content input in the current first session interface input box includes the first symbol, the first information associated with the target object and the second information to be sent, and the first symbol includes the preset symbol, the second information to be sent is directly sent to the target object.
It should be noted that, the execution subject of the method steps in the embodiment of the present application may be a terminal preinstalled with instant messaging software, such as a smart phone, a tablet computer, a laptop computer, a smart watch, and the like. Furthermore, the first content in the embodiments of the present application are preferably spaced apart from each other by a space symbol, so that the boundaries of the first symbol, the first information and the second information are determined upon detection.
In an optional implementation manner of the embodiment of the present application, regarding the manner of sending the second information to be sent to the target object, which is referred to in step S104 of the embodiment of the present application, the method further may include:
step S104-11, determining a target sending mode of the second information according to the attribute information of the preset symbol;
and step S104-12, transmitting the second information to the target object according to the target transmission mode.
The method for determining the transmission mode for transmitting the second information according to the attribute information of the preset symbol in step S104-11 may include at least one of the following:
s11, determining a sending mode for sending the second information according to the number of the preset symbols;
and S12, determining a sending mode for sending the second information according to the type of the preset symbol.
It can be seen that, after the first symbol of the first content input in the input box of the first session interface includes the preset symbol, the sending method for sending the second information is determined according to the attribute information of the preset symbol, where the preset symbol may be a preset symbol, and the preset symbol may be a relatively special symbol in a specific application scenario, for example: '#', '&', 'to', etc., are distinguished from commonly used symbols. In addition, the attribute information may refer to a type of a preset symbol, or may refer to the number of the preset symbols, that is, different symbol types correspond to different transmission modes, for example, the different types of symbols include: ',' &'-', i.e., when the preset symbol in the first content is '+', it corresponds to a target transmission mode for transmitting the second information, when the preset symbol in the first content is '&', it corresponds to another transmission mode for transmitting the second information, and when the preset symbol in the first content is '-', it corresponds to another transmission mode for transmitting the second information. In addition, different numbers of preset symbols may correspond to different transmission modes. For example, in the case where the predetermined symbol is "+", the predetermined symbol number may include one "+", two "+", three "+", or the like, that is,', and different numbers of the predetermined symbols correspond to different target transmission methods. Of course, the specific preset symbols and the setting of the number of the preset symbols are only examples, and the specific setting may be performed according to actual situations in specific application scenarios.
Through the above steps S11 and S12, the corresponding transmission mode may be determined by different types of symbols or the number of symbols, and specifically, the following mode may further be specifically included for the above step S11:
mode 1) determining that the transmission mode is a first transmission mode under the condition that the number of the preset symbols is a first number; wherein the second information remains displayed in the first session interface after the second information is sent to the target object by the first sending method;
mode 2) determining the transmission mode to be the second transmission mode under the condition that the number of the preset symbols is the second number; after the second information is sent to the target object through the second sending mode, displaying the second information on a second session interface, wherein the second session interface corresponds to the target object;
mode 3) determining the transmission mode as a third transmission mode under the condition that the number of the preset symbols is a third number; after the second information is sent to the target object through the third sending mode, displaying the second information on a third session interface, wherein the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first number, the second number and the third number refer to numbers that are different from each other.
The first number, the second number, and the third number may refer to the number of symbols of the same type, or may refer to the number of symbols of different types. The following describes an example of a method for sending information according to the present application, with reference to a specific implementation manner of the embodiment of the present application, by taking different numbers of symbols of the same type as an example.
In this specific embodiment, taking the preset symbol "#" as an example, and the first session interface is a session interface between "me" and "xiao a" (the first object), in the current session interface, "me" and "xiao a" visit a street on the weekend of the amount of shopping, and during the chat process, want to invite "xiao B" to visit the street together, as shown in fig. 2, when "# xiao B visit the street together on the bright day? "then, at this time," i "enter" # little B tomorrow strolling together in the input box of the first session interface? If the corresponding sending mode is the first sending mode, then under the condition that the current session interface is not switched (the first session interface between small a and me), send the second message to small B, say, do you visit street together tomorrow? "is used as the information. It will be appreciated that in the first delivery mode, the entire delivery process remains at the current session interface (the "small a" and "me" first session interface) at all times.
In another application scenario in this embodiment, again taking the preset symbol "#" as an example, the first session interface is a session interface between "me" and the friend "small a" (the first object), in the current session interface, "me" and "small a" go shopping at the end of the shopping week, and during the chat process, want to invite "small B" to go shopping together, as shown in fig. 3, do you go shopping together on the bright day when "# # small B" is input in the session interface? "do you visit a street on tomorrow" when the corresponding transmission method is the second transmission method, "send" small B "in tomorrow? "thereafter, jump from the first session interface to the second session interface and display" do you go shopping together tomorrow? ". Of course, it is also possible to jump from the first session interface to the second session interface first and then send "small B" to travel tomorrow together to visit street? "is used as the information. It can be understood that, in the second sending mode, when the second information is sent, the user directly jumps from the current session interface to the session interface where the object corresponding to the sent information is located.
In another application scenario in this embodiment, taking a preset symbol "#" as an example, the first session interface is a session interface between "me" and a friend "small a" (a first object), in the current session interface, "me" and "small a" go shopping on the weekend of a shopping amount, and in the chat process, a small B "is also invited to go shopping, as shown in fig. 4, when" # # # small B "is input on the session interface to go shopping on the day together? If the corresponding sending mode is the third sending mode, after sending the 'move to shopping together with tomorrow' to the 'small B', displaying the 'move to shopping together with tomorrow' on a third session interface, wherein the third session interface is a group chat interface after the 'small B' is added into the current session interface or is the current group chat interface, pulling the 'small B' into the group chat, and displaying the second information sent to the 'small B' on the group chat interface. As can be appreciated, in the third sending mode, a group chat is first established with the sending target object, so that the second information is sent and displayed in the group chat session interface. Therefore, the interaction among the first object, the user and the target object is more convenient. Of course, the above "#", "# #", "# # # # ###" are merely illustrative, and other types of symbols, such as "+", or "&", "&" and the like, are also possible. In addition, the sending modes corresponding to the same type and different numbers can also be set according to requirements or actual conditions, for example, "#" corresponds to the second sending mode, "# #" corresponds to the third sending mode, and "# # #" corresponds to the first sending mode.
Specifically, the step S12 may further specifically include the following steps:
mode 1) determining that the sending mode is a first sending mode under the condition that the type of the preset symbol is a first type; wherein the second information remains displayed in the first session interface after the second information is sent to the target object by the first sending method;
mode 2) determining the transmission mode as a second transmission mode under the condition that the type of the preset symbol is a second type; after the second information is sent to the target object through the second sending mode, displaying the second information on a second session interface, wherein the second session interface corresponds to the target object;
mode 3) determining the transmission mode as a third transmission mode under the condition that the type of the preset symbol is a third type; after the second information is sent to the target object through the third sending mode, displaying the second information on a third session interface, wherein the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first type, the second type and the third type are different symbol types.
The following describes an example of a method for transmitting information according to the present application, with reference to specific embodiments of the present application.
In this specific embodiment, taking the different types of symbols as "#", "+", "&" as an example, and the first session interface is a session interface of "i am" and friend "small a" (first object), in the current session interface, "i am" and "small a" go shopping at the end of the shopping week, and want to invite "small B" to go shopping together during the chat, then at this time, "i" enter "# small B day in the input box of the first session interface? If the corresponding sending mode is the first sending mode, then under the condition that the current session interface is not switched (the first session interface between small a and me), send the second message to small B, say, do you visit street together tomorrow? "is used. It will be appreciated that in the first delivery mode, the entire delivery process remains at the current session interface (the "small a" and "me" first session interface) at all times.
In another application scenario in this embodiment, the first session interface is a session interface between "me" and "small a" (first object), in the current session interface, "me" and "small a" visit a street at the end of the shopping week, and during the chat process, want to invite "small B" to visit a street together, at this time, "me" enters "in the input box of the first session interface," do small B visit a street together on the next day? "is the corresponding transmission method the second transmission method, do you visit a street together on tomorrow" send "small B"? "then, jump from the first session interface to the second session interface and display" visit all the way to street tomorrow? ". Of course, it is also possible to jump from the first session interface to the second session interface first and then send "small B" to travel tomorrow together to visit street? "is used as the information. It can be understood that, in the second sending mode, when the second information is sent, the user directly jumps from the current session interface to the session interface where the object corresponding to the sent information is located.
In another application scenario in this embodiment, the first session interface is a session interface between "i am" and "small a" (first object), in the current session interface, "i am" and "small a" go shopping at the end of the shopping week, and during the chat process, want to invite "small B" to go shopping together, then, "i am" enter in the input box of the first session interface "& small B visit together at the bright day? ", where" Small B "is the first message and" do you shopping together tomorrow "is the second message. When the user inputs "& Small B tomorrow together strolling street? If the corresponding sending mode is the third sending mode, after sending the 'move to shopping together with tomorrow' to the 'small B', displaying the 'move to shopping together with tomorrow' on a third session interface, wherein the third session interface is a group chat interface after the 'small B' is added into the current session interface or is the current group chat interface, pulling the 'small B' into the group chat, and displaying the second information sent to the 'small B' on the group chat interface. As can be appreciated, in the third sending mode, a group chat is first established with the sending target object, so that the second information is sent and displayed in the group chat session interface. Therefore, the interaction among the first object, the user and the target object is more convenient.
Furthermore, in an alternative embodiment, when the determining, according to the attribute information of the preset symbols, the sending manner of sending the second information in step S104-11 is a combination of determining the sending manner of sending the second information according to the number of the preset symbols and determining the sending manner of sending the second information according to the type of the preset symbols, that is, the preset symbols in the first content include a plurality of symbols, and the types of the plurality of symbols are different, the sending manner may be determined according to the priorities of different symbol types, or the sending manner may be determined according to the respective numbers of the different symbols
Specifically, when the preset symbols include a plurality of symbols and the types of the symbols are different, priorities of the preset symbols of the plurality of types are determined, and for example, the current input box inputs: "# &", and the "#", "&" and "-" are preset symbols, in which the priority of "#" is the highest, the priority of "&" is the second of the priority, and the priority of "-" is the lowest. Is the first content entered in the input box specifically "# &? "in case of" do you send the second message "visit street together tomorrow" to "small B" in the sending mode corresponding to the symbol "#" with the highest priority? ". The preset symbol "#" may correspond to one of the first sending method, the second sending method, and the third sending method, and specifically, which sending method may be set according to an actual situation or a requirement. The specific preset symbols are only examples, and the corresponding priorities are also examples, and the specific preset symbols are specific, and the corresponding priorities can be set according to actual situations.
If the preset symbols input by the current input box include a plurality of types and the number of each type of symbol is one or more, for example, does the first content input by the input box be "# # ## & & & &? In case of "#", since the number of "#" is 4, greater than the number of "&" of 2 and the number of "#" of 1, it is transmitted in a manner corresponding to the # of the largest number. The preset symbol "#" may correspond to one of the first sending method, the second sending method, and the third sending method, and specifically, which sending method may be set according to an actual situation or a requirement.
The specific preset symbols are only examples, the corresponding number is also examples, and the specific preset symbols are specific, and the corresponding priorities can be set according to actual situations.
By the information sending method, the steps of sending or replying the information can be reduced by using the special symbols, various message sending or replying modes can be realized, too many complicated operations are not needed, and therefore convenient experience is provided for users.
In the information transmission method provided in the embodiment of the present application, the execution subject may be an information transmission apparatus or a control module for executing the information transmission method in the information transmission apparatus. In the embodiments of the present application, a transmission apparatus for transmitting information provided in the embodiments of the present application will be described by taking as an example a case where the transmission apparatus for transmitting information executes a transmission method for information.
An embodiment of the present application provides an information sending apparatus, as shown in fig. 5, the apparatus includes:
a receiving module 52, configured to receive first content input in the input box, where the first content includes: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained;
a sending module 54, configured to send, to the target object, the second information to be sent when the first symbol includes a preset symbol;
the input box is an input box in the first session interface, and the first object corresponding to the first session interface is different from the target object.
Through the device in the embodiment of the application, if the first content input in the current first session interface input box comprises the first symbol, the first information associated with the target object and the second information to be sent, and the first symbol comprises the preset symbol, the second information to be sent can be directly sent to the target object.
Optionally, the sending module in this embodiment of the application further may include: the determining unit is used for determining a target sending mode of the second information according to the attribute information of the preset symbol; and the sending unit is used for sending the second information to the target object according to the target sending mode.
Optionally, the determining unit in this embodiment of the present application includes at least one of: the first determining subunit is used for determining a target sending mode of the second information according to the number of the preset symbols; and the second determining subunit is used for determining a target sending mode of the second information according to the type of the preset symbol.
Optionally, the first determining subunit in this embodiment of the present application is configured to perform at least one of the following:
determining that the sending mode is a first sending mode under the condition that the number of the preset symbols is a first number; after the second information is sent to the target object in the first sending mode, the second information is kept displayed on the first session interface;
determining the transmission mode as a second transmission mode under the condition that the number of the preset symbols is a second number; after second information is sent to a target object in a second sending mode, the second information is displayed on a second conversation interface, and the second conversation interface corresponds to the target object;
determining that the transmission mode is a third transmission mode under the condition that the number of the preset symbols is a third number; after second information is sent to the target object through a third sending mode, the second information is displayed on a third session interface, and the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first number, the second number and the third number are different numbers.
Optionally, the second determining subunit in this embodiment of the present application is configured to perform at least one of the following:
determining that the sending mode is a first sending mode under the condition that the type of the preset symbol is a first type; after the second information is sent to the target object in the first sending mode, the second information is kept displayed on the first session interface;
determining that the sending mode is a second sending mode under the condition that the type of the preset symbol is a second type; after the second information is sent to the target object in a second sending mode, displaying the second information on a second conversation interface, wherein the second conversation interface corresponds to the target object;
determining that the sending mode is a third sending mode under the condition that the type of the preset symbol is a third type; after second information is sent to the target object through a third sending mode, the second information is displayed on a third session interface, and the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first type, the second type and the third type are different symbol types.
Through the sending device of the information of this application embodiment, can utilize special symbol, reduce the step of message routing or reply, realize the mode of multiple message routing or reply, need not too much loaded down with trivial details operation to provide convenient experience for the user.
The information sending device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The transmission device of information in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The information sending apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned embodiment of the information sending method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those in fig. 7, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The processor 710 receives first content input in the input box, wherein the first content includes: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained; under the condition that the first symbol comprises a preset symbol, sending second information to be sent to a target object; the input box is an input box in the first session interface, and the first object corresponding to the first session interface is different from the target object.
Through the electronic equipment provided by the embodiment of the application, if the first content input in the current first session interface input box comprises the first symbol, the first information associated with the target object and the second information to be sent, and the first symbol comprises the preset symbol, the second information to be sent can be directly sent to the target object.
Optionally, the processor 710 is further configured to determine a target sending manner of the second information according to the attribute information of the preset symbol; and sending the second information to the target object according to the target sending mode.
Optionally, the processor 710 is further configured to determine a target sending method of the second information according to the attribute information of the preset symbol, where the target sending method includes at least one of: determining a target sending mode of the second information according to the number of the preset symbols; and determining a target sending mode of the second information according to the type of the preset symbol.
Optionally, the processor 710 is further configured to perform at least one of:
determining that the target transmission mode is a first transmission mode under the condition that the number of the preset symbols is a first number; after the second information is sent to the target object in the first sending mode, the second information is kept displayed on the first session interface;
determining that the target transmission mode is a second transmission mode under the condition that the number of the preset symbols is a second number; after the second information is sent to the target object through the second sending mode, the second information is displayed on a second conversation interface, and the second conversation interface corresponds to the target object;
determining that the target transmission mode is a third transmission mode under the condition that the number of the preset symbols is a third number; after second information is sent to the target object through a third sending mode, the second information is displayed on a third session interface, and the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first number, the second number and the third number are different numbers.
Optionally, the processor 710 is further configured to perform at least one of:
determining that the target sending mode is a first sending mode under the condition that the type of the preset symbol is a first type; after the second information is sent to the target object in the first sending mode, the second information is kept displayed on the first session interface;
determining that the target sending mode is a second sending mode under the condition that the type of the preset symbol is a second type; after the second information is sent to the target object through the second sending mode, the second information is displayed on a second conversation interface, and the second conversation interface corresponds to the target object;
determining that the target sending mode is a third sending mode under the condition that the type of the preset symbol is a third type; after second information is sent to the target object through a third sending mode, the second information is displayed on a third session interface, and the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first type, the second type and the third type are different symbol types.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned information sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The 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 each process of the method embodiment of the above message, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for transmitting information, comprising:
receiving first content input in an input box, wherein the first content comprises: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained;
sending the second information to be sent to the target object under the condition that the first symbol comprises a preset symbol;
the input box is an input box in a first session interface, and a first object corresponding to the first session interface is different from the target object;
the sending the second information to be sent to the target object includes:
determining a target sending mode of the second information according to the attribute information of the preset symbol;
and sending the second information to the target object according to the target sending mode.
2. The method of claim 1, wherein the determining the target transmission mode of the second information according to the attribute information of the preset symbol comprises at least one of:
determining the target sending mode of the second information according to the number of the preset symbols;
and determining the target sending mode of the second information according to the type of the preset symbol.
3. The method of claim 2, wherein the determining the target transmission mode of the second information according to the number of the preset symbols comprises at least one of:
determining that the target sending mode is a first sending mode under the condition that the number of the preset symbols is a first number; wherein the second information remains displayed in the first session interface after the second information is sent to the target object by the first sending method;
determining that the target sending mode is a second sending mode under the condition that the number of the preset symbols is a second number; after the second information is sent to the target object through the second sending mode, displaying the second information on a second session interface, wherein the second session interface corresponds to the target object;
determining that the target transmission mode is a third transmission mode under the condition that the number of the preset symbols is a third number; after the second information is sent to the target object through the third sending mode, displaying the second information on a third session interface, wherein the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first number, the second number and the third number are different numbers.
4. The method of claim 2, wherein the determining the transmission mode for transmitting the second information according to the type of the preset symbol comprises at least one of:
determining that the target sending mode is a first sending mode under the condition that the type of the preset symbol is a first type; wherein the second information remains displayed in the first session interface after the second information is sent to the target object by the first sending method;
determining that the target sending mode is a second sending mode under the condition that the type of the preset symbol is a second type; after the second information is sent to the target object through the second sending mode, displaying the second information on a second session interface, wherein the second session interface corresponds to the target object;
determining that the target sending mode is a third sending mode under the condition that the type of the preset symbol is a third type; after the second information is sent to the target object through the third sending mode, displaying the second information on a third session interface, wherein the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first type, the second type and the third type are different symbol types.
5. An apparatus for transmitting information, comprising:
a receiving module, configured to receive first content input in an input box, where the first content includes: the method comprises the steps that a first symbol, first information associated with a target object and second information to be sent are obtained;
a sending module, configured to send the second information to be sent to the target object when the first symbol includes a preset symbol;
the input box is an input box in a first session interface, and a first object corresponding to the first session interface is different from the target object;
the sending module comprises:
the determining unit is used for determining a target sending mode of the second information according to the attribute information of the preset symbol;
and the sending unit is used for sending the second information to the target object according to the target sending mode.
6. The apparatus according to claim 5, characterized in that the determining unit comprises at least one of:
a first determining subunit, configured to determine the target sending manner of the second information according to the number of the preset symbols;
a second determining subunit, configured to determine the target sending manner of the second information according to the type of the preset symbol.
7. The apparatus of claim 6, wherein the first determining subunit is configured to perform at least one of:
determining that the target sending mode is a first sending mode under the condition that the number of the preset symbols is a first number; wherein the second information remains displayed in the first session interface after the second information is sent to the target object by the first sending method;
determining that the target transmission mode is a second transmission mode under the condition that the number of the preset symbols is a second number; after the second information is sent to the target object through the second sending mode, displaying the second information on a second session interface, wherein the second session interface corresponds to the target object;
determining that the sending mode is a third sending mode under the condition that the number of the preset symbols is a third number; after the second information is sent to the target object through the third sending mode, displaying the second information on a third session interface, wherein the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first number, the second number and the third number are different numbers.
8. The apparatus according to claim 6, characterized in that the second determining subunit is adapted to perform at least one of:
determining the sending mode to be a first sending mode under the condition that the type of the preset symbol is a first type; wherein the second information remains displayed in the first session interface after the second information is sent to the target object by the first sending method;
determining that the sending mode is a second sending mode under the condition that the type of the preset symbol is a second type; after the second information is sent to the target object through the second sending mode, displaying the second information on a second session interface, wherein the second session interface corresponds to the target object;
determining that the sending mode is a third sending mode under the condition that the type of the preset symbol is a third type; after the second information is sent to the target object through the third sending mode, displaying the second information on a third session interface, wherein the third session interface is a group chat session interface at least comprising the first object and the target object;
wherein the first type, the second type and the third type are different symbol types.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of transmitting information according to any one of claims 1 to 4.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the method of transmitting information according to any one of claims 1 to 4.
CN202011503164.8A 2020-12-18 2020-12-18 Information sending method and device, electronic equipment and readable storage medium Active CN112511412B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011503164.8A CN112511412B (en) 2020-12-18 2020-12-18 Information sending method and device, electronic equipment and readable storage medium
PCT/CN2021/137738 WO2022127766A1 (en) 2020-12-18 2021-12-14 Information sending method and apparatus, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011503164.8A CN112511412B (en) 2020-12-18 2020-12-18 Information sending method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112511412A CN112511412A (en) 2021-03-16
CN112511412B true CN112511412B (en) 2023-03-24

Family

ID=74922382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011503164.8A Active CN112511412B (en) 2020-12-18 2020-12-18 Information sending method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN112511412B (en)
WO (1) WO2022127766A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676395B (en) * 2021-08-23 2023-11-07 维沃移动通信(杭州)有限公司 Information processing method, related device and readable storage medium
CN114327088A (en) * 2021-12-29 2022-04-12 维沃移动通信有限公司 Message sending method, device, electronic equipment and medium
CN114500432A (en) * 2022-02-25 2022-05-13 维沃移动通信有限公司 Session message transceiving method and device, electronic equipment and readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913629A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 Information sending method and device and electronic equipment

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9514441B2 (en) * 2005-06-17 2016-12-06 Blackberry Limited Method and apparatus for switching between concurrent messaging sessions
KR101405499B1 (en) * 2012-10-04 2014-06-11 이승택 Method for generating symbol object of route direction
CN103442146B (en) * 2013-08-30 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of method and system at the session interface of mobile terminal and display and contact person
CN103906012A (en) * 2014-03-10 2014-07-02 联想(北京)有限公司 Information sending method and device
WO2017175951A1 (en) * 2016-04-05 2017-10-12 주식회사 트위니 Chatting-list-providing user terminal and provision method of same
CN106656748A (en) * 2016-11-15 2017-05-10 北京三快在线科技有限公司 Information display method and device, and electronic equipment
CN107370662B (en) * 2017-06-27 2020-10-27 北京三快在线科技有限公司 Instant message sending method and device
CN107846507A (en) * 2017-10-27 2018-03-27 珠海市魅族科技有限公司 Method for sending information, device, computer installation and computer-readable recording medium
CN107959616A (en) * 2017-11-24 2018-04-24 珠海市魅族科技有限公司 Method, apparatus, computer installation and the storage medium of message forwarding
CN108052256A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Message display method, mobile terminal and computer readable storage medium
CN107911561A (en) * 2017-12-11 2018-04-13 口碑(上海)信息技术有限公司 The interactive display method and device that more people individually chat
CN108429669A (en) * 2018-01-25 2018-08-21 链家网(北京)科技有限公司 A kind of method and device carrying out private chat in group chat
US11082372B2 (en) * 2018-06-29 2021-08-03 Paypal, Inc. System for multi-party chat
US10516851B1 (en) * 2018-09-19 2019-12-24 Snap Inc. User interfaces to facilitate multiple modes of electronic communication

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913629A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 Information sending method and device and electronic equipment

Also Published As

Publication number Publication date
WO2022127766A1 (en) 2022-06-23
CN112511412A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN112511412B (en) Information sending method and device, electronic equipment and readable storage medium
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN113760145B (en) Interaction method, device, electronic equipment and storage medium
CN111984115A (en) Message sending method and device and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN111787493A (en) Message sending method, message sending device and electronic equipment
CN111880695A (en) Screen sharing method, device, equipment and storage medium
WO2023231915A1 (en) Message processing method and apparatus, device and storage medium
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
CN113676395B (en) Information processing method, related device and readable storage medium
CN113285866B (en) Information sending method and device and electronic equipment
WO2022089481A1 (en) Information processing method and apparatus, and electronic device
US20130178199A1 (en) Apparatus and method for providing shortcut service in portable terminal
CN112235412B (en) Message processing method and device
CN112422735A (en) Information prompting method and device and electronic equipment
CN114051009B (en) Message sending method and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
EP4351117A1 (en) Information display method and apparatus, and electronic device
CN113824627B (en) Group chat message display method and device, electronic equipment and storage medium
CN112953813A (en) Message sending method and device, electronic equipment and readable storage medium
CN113726584A (en) Message sending method and device and electronic equipment
CN113141296A (en) Message display method and device and electronic equipment
CN112035032B (en) Expression adding method and device
CN113300943B (en) Information sending method, device, equipment and readable storage medium

Legal Events

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