CN112596604A - Message sending method, message receiving method, device and electronic equipment - Google Patents

Message sending method, message receiving method, device and electronic equipment Download PDF

Info

Publication number
CN112596604A
CN112596604A CN202011449285.9A CN202011449285A CN112596604A CN 112596604 A CN112596604 A CN 112596604A CN 202011449285 A CN202011449285 A CN 202011449285A CN 112596604 A CN112596604 A CN 112596604A
Authority
CN
China
Prior art keywords
message
sent
electronic device
target object
action
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.)
Pending
Application number
CN202011449285.9A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011449285.9A priority Critical patent/CN112596604A/en
Publication of CN112596604A publication Critical patent/CN112596604A/en
Priority to PCT/CN2021/126008 priority patent/WO2022121537A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a message sending method, a message receiving method, a device, electronic equipment and a storage medium. The message sending method is applied to a first electronic device and comprises the following steps: if the specified action is detected, acquiring a message to be sent; and sending the message to be sent to a target object, wherein the target object is an object corresponding to second electronic equipment bound with the first electronic equipment. Compared with the problem that the message sending process is complicated due to the fact that an independent application needs to be opened and then the message is sent in the prior art, the method can directly and quickly obtain the message to be sent according to the specified action under the condition that the specified action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device, so that quick and simple message transmission can be achieved.

Description

Message sending method, message receiving method, device and electronic equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a message sending method, a message receiving method, a device, an electronic device, and a storage medium.
Background
With the development of terminal equipment and communication technology, users can transmit messages through various communication software. In the related message sending technology, the corresponding application needs to be opened separately, and then the message sending is performed after the receiving object is selected, and for some simple and convenient message sending scenes, the message sending mode still needs to be improved.
Disclosure of Invention
In view of the above problems, the present application proposes a message sending method, a message receiving method, an apparatus, an electronic device, and a storage medium to improve the above problems.
In a first aspect, an embodiment of the present application provides a message sending method, which is applied to a first electronic device, and the method includes: if the specified action is detected, acquiring a message to be sent; and sending the message to be sent to a target object, wherein the target object is an object corresponding to second electronic equipment bound with the first electronic equipment.
In a second aspect, an embodiment of the present application provides a message receiving method, which is applied to a second electronic device, and the method includes: receiving a message to be sent, wherein the message to be sent is a message which is acquired by a first electronic device and sent to a target object after a specified action is detected, and the target object is an object corresponding to a second electronic device bound with the first electronic device; and displaying the message to be sent.
In a third aspect, an embodiment of the present application provides a message sending apparatus, operating in a first electronic device, where the apparatus includes: the message acquisition module is used for acquiring a message to be sent if the specified action is detected; and the message sending module is used for sending the message to be sent to a target object, wherein the target object is an object corresponding to the second electronic equipment bound with the first electronic equipment.
In a fourth aspect, an embodiment of the present application provides a message receiving apparatus, which operates in a second electronic device, and includes: the message receiving module is used for receiving a message to be sent, wherein the message to be sent is a message which is acquired by first electronic equipment and sent to a target object after a specified action is detected, and the target object is an object which is bound with the first electronic equipment and corresponds to second electronic equipment; and the message display module is used for displaying the message to be sent.
In a fifth aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods of the first or second aspects described above.
In a sixth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the method of the first or second aspect is performed when the program code is run.
According to the message sending method, the message receiving device, the electronic device and the storage medium, if the specified action is detected, the message to be sent is obtained, and then the message to be sent is sent to the target object, wherein the target object is an object corresponding to the second electronic device bound with the first electronic device. Compared with the problem that the message sending process is complicated due to the fact that an independent application needs to be opened and then the message is sent in the prior art, the method can directly and quickly obtain the message to be sent according to the specified action under the condition that the specified action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device, so that quick and simple message transmission can be achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of an application environment provided by an embodiment of the present application.
Fig. 2 shows a flowchart of a method for sending a message according to an embodiment of the present application.
Fig. 3 is a schematic diagram illustrating a determination principle of determining a message to be sent according to an action location of a specified action according to an embodiment of the present application.
Fig. 4 shows a flowchart of a method for sending a message according to another embodiment of the present application.
Fig. 5 is an exemplary diagram illustrating that the messages to be sent are respectively displayed according to the display modes respectively corresponding to different degrees of effort of the designated action provided by the embodiment.
Fig. 6 is a flowchart illustrating a method for sending a message according to another embodiment of the present application.
Fig. 7 is a schematic diagram illustrating a setting page specifying a message sending function according to an embodiment of the present application.
Fig. 8 is a schematic diagram illustrating a usage permission prompt popup page specifying a message sending function according to an embodiment of the present application.
Fig. 9 illustrates an example diagram of binding hint information provided by an embodiment of the present application.
Fig. 10 is a diagram illustrating an example of a binding request data obtaining page according to an embodiment of the present application.
Fig. 11 is a diagram illustrating another example of a binding request data obtaining page provided in an embodiment of the present application.
Fig. 12 is a diagram illustrating an example of a binding result prompt provided in an embodiment of the present application.
Fig. 13 is a diagram illustrating an example of displaying a message to be sent by a second electronic device according to an embodiment of the present application.
Fig. 14 is a flowchart illustrating a method for sending a message according to still another embodiment of the present application.
Fig. 15 shows a method flowchart of step S420 in fig. 14.
Fig. 16 is a diagram illustrating another example of displaying a message to be sent by a second electronic device according to an embodiment of the present application.
Fig. 17 is a block diagram illustrating a structure of a message sending apparatus according to an embodiment of the present application.
Fig. 18 is a block diagram illustrating a structure of a message receiving apparatus according to an embodiment of the present application.
Fig. 19 shows a block diagram of an electronic device for executing a message sending method or a message receiving method according to an embodiment of the present application.
Fig. 20 is a storage unit according to an embodiment of the present application, configured to store or carry program code for implementing a message sending method or a message receiving method 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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
With the rapid development of the internet technology, various instant messaging applications have come into play, and users can communicate with life, work and the like through the instant messaging applications, so that the communication of people is greatly facilitated due to the presence of the instant messaging applications.
However, the inventor finds in research that, in related communication modes through instant messaging applications, corresponding instant messaging application software needs to be separately opened, a user receiving a message is selected, information input by the user is acquired, and the information is sent to the user.
Therefore, in order to improve the above problem, the inventor proposes a message sending method, a message receiving method, a device and an electronic device, which are provided by the present application, and can enable a message to be sent to be directly and quickly obtained according to a specified action when the specified action is detected, and then directly send the message to be sent to a target object corresponding to a bound second electronic device, so that quick and simple message delivery can be realized.
For convenience of describing the scheme of the present application in detail, an application environment related to a message sending method and a message receiving method in the embodiments of the present application is described below with reference to the drawings.
Referring to fig. 1, a schematic diagram of an application environment provided in the embodiment of the present application is shown in fig. 1, where the application environment can be understood as a network system 10 provided in the embodiment of the present application, and the network system 10 includes: a first electronic device 11, a server 12, and a second electronic device 13.
The server 12 may be a server (network access server), a server cluster (cloud server) composed of a plurality of servers, or a cloud computing center (database server). The first electronic device 11 and the second electronic device 13 may be any devices with communication and storage functions, including but not limited to a PC (Personal Computer), a PDA (tablet Computer), a smart television, a smart phone, a smart wearable device, or other smart communication devices with network connection functions.
Optionally, the first electronic device 11 and the second electronic device 13 are configured with the same message sending function, and a user may log in a corresponding account and then transfer a message through the message sending function. For example, after the user logs in to the first electronic device 11, the user may send a message to the target object logged in to the second electronic device 13 through the message sending function of the first electronic device 11. The user account on the first electronic device 11 and the target user account on the second electronic device 13 have a binding relationship, so that a message can be quickly sent without selecting a message receiving object.
It should be noted that, the first electronic device 11 and the second electronic device 13 in this embodiment are relatively general, that is, both the first electronic device 11 and the second electronic device 13 can send and receive messages, and the message sending method and the message receiving method described in the following embodiments are applicable to both the first electronic device 11 and the second electronic device 13.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, an embodiment of the present application provides a message sending method applied to a first electronic device, and the present embodiment introduces a principle that the first electronic device sends a message, where the method includes:
step S110: and if the specified action is detected, acquiring the message to be sent.
In this embodiment, the designated action may include a touch action acting on the first electronic device, for example, a tapping action, a slapping action, or a slapping action (the location of the tapping/slapping may be the rear case/rear cover of the electronic device, or may be the screen or the like of the first electronic device); a gesture for controlling the first electronic device to send a message may also be included, for example, a blank gesture (the blank gesture may be used to control triggering of a specified message sending function, and the value of the gesture from the screen or the rear cover (shell) of the first electronic device may be 10 mm, or may be other values), where the specified message sending function may be a function for quickly performing message passing between fixed objects (which may be understood as a lover user or a family user).
As an implementation manner, whether a designated action exists or not may be detected, and if the designated action exists, the designated message sending function may be directly triggered to be started, and a message to be sent may be acquired. The message to be sent may be pre-stored locally or in a server, that is, the message to be sent may be a message that does not need to be edited by a user. The content of the message to be sent may not be limited, for example, the message to be sent may be animation, text, picture, voice, video, or any combination thereof.
Optionally, the designated action is different, and the corresponding message to be sent may be different, and in this way, the message to be sent may be obtained according to the parameter of the designated action. In this embodiment, the parameters specifying the action include at least one of the following parameters: specifying the action location of the action, specifying the action strength of the action, and specifying the type of the action.
In an embodiment, taking the action object of the designated action as the back shell of the first electronic device as an example, optionally, if the action position of the designated action is a central area of the back shell, the corresponding message to be sent may be an animation in a shape of "love heart", and if the action position of the designated action is an area outside the central area of the back shell, the corresponding message to be sent may be "text" or "voice information". In this case, the frequency value of the signal collected by each vibration sensor may be used to determine the region where the action position of the designated action is located. The central region of the rear shell may be a circular region formed by a rotation of the geometric center of the rear shell around a certain radius.
For example, in a specific application scenario, please refer to fig. 3, which shows a schematic diagram of a determination principle for determining a message to be sent according to an action location of a specified action according to an embodiment of the present application. As shown in fig. 3(a), the rear housing of the first electronic device 11 may be divided into four regions, namely, a first region, a second region, a third region and a fourth region, and as shown in fig. 3(b), the central region 14 of the first electronic device 11 is a circular region formed by rotating once with the geometric center O as an origin and with the radius d as a radius, where the size of d may be set according to actual conditions. Alternatively, if the frequencies detected by the vibration sensors in the second area and the third area are higher than the frequencies detected by the vibration sensors in the first area and the fourth area, it can be determined that the action position of the designated action is concentrated in the central area 14 of the first electronic device 11, and the message to be sent in this manner can be an animation in a "love heart" shape. If the frequencies detected by the vibration sensors in the second area and the third area are lower than the frequencies detected by the vibration sensors in the first area and the fourth area, it can be determined that the action position of the designated action is concentrated in an area outside the central area 14 of the first electronic device 11.
Optionally, if the action strength of the designated action is a first strength, the message to be sent may be an animation, and if the action strength of the designated action is a second strength which is smaller than the first strength, the message to be sent may be a text, that is, the action strengths of the designated action are different, and the corresponding messages to be sent may be different. The action strength of the designated action can be determined by the frequency values of the vibration sensors arranged in the regions shown in fig. 3, and optionally, the larger the frequency value is, the larger the corresponding action strength is.
Optionally, if the type of the designated action is "space operation", the corresponding message to be sent may be an animation in a shape of "love heart", and if the type of the designated action is shaking, turning, shaking, waving or shaking operation, the corresponding message to be sent may be a message such as "text", "picture" or "voice message", that is, the type of the designated action is different, and the corresponding message to be sent may be different. Wherein, whether the type of the designated action is the 'blank operation' can be detected through the related technology such as the structure light.
It should be noted that, the messages to be sent corresponding to the different parameters of the specified action are only described as an example, and the types and the contents of the messages to be sent corresponding to the different parameters of the specified action may be different, which is not limited herein.
The message to be sent is obtained according to the parameters of the designated action, so that the message can be input without independently opening a message sending window, and the message to be sent does not need to be selected from a common message list, thereby simplifying the obtaining process of the message to be sent and being convenient for quickly sending the message in the follow-up process.
Step S120: and sending the message to be sent to a target object, wherein the target object is an object corresponding to second electronic equipment bound with the first electronic equipment.
The target object is a login account of the second electronic device, optionally, the second electronic device may correspond to one login account or a plurality of login accounts, if there is one login account, the target object may be the login account, and if there are a plurality of login accounts, the target object may be an account with the highest login frequency among the plurality of login accounts, or may be an account that logs in first.
Optionally, the first electronic device and the second electronic device may be bound in advance, so that the login account on the first electronic device may directly perform message delivery with the target object logged on the second electronic device. Under the condition of acquiring the message to be sent, the message to be sent can be directly sent to the target object without selecting a message receiving object and then sending the message, so that the message can be quickly sent to the fixed object.
According to the message sending method, if the specified action is detected, the message to be sent is obtained, and then the message to be sent is sent to the target object, wherein the target object is an object corresponding to the second electronic device bound with the first electronic device. Compared with the problem that the message sending process is complicated due to the fact that an independent application needs to be opened and then the message is sent, the method can directly and quickly acquire the message to be sent according to the appointed action under the condition that the appointed action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device without selecting the message to be sent and selecting the sending object, so that the message sending process is simplified, and quick and simple message transmission can be achieved.
Referring to fig. 4, another embodiment of the present application provides a message sending method applied to a first electronic device, and introduces a principle that the first electronic device selects a target object for receiving a message to be sent, where the method includes:
step S210: and if the specified action is detected, acquiring the message to be sent.
Step S220: and acquiring a target object according to the parameters of the specified action, wherein the target object is an object corresponding to the second electronic equipment bound with the first electronic equipment.
In this embodiment, the designated actions are different, and the corresponding target objects for receiving the message to be sent may be different. In this embodiment, the parameters specifying the action include at least one of the following parameters: specifying the action location of the action, specifying the action strength of the action, and specifying the type of the action.
In one embodiment, as described in the foregoing embodiment, continuing to take the action object of the designated action as the back shell of the first electronic device as an example, optionally, if the action position of the designated action is the central area of the back shell, the corresponding target object for receiving the message to be sent may be another fixed object in a group consisting of two people, for example, the fixed object may be another party in a lover (or a couple); if the action position of the designated action is an area outside the central area of the back shell, the corresponding target object for receiving the message to be sent can be other members except the message sender in family members. For example, as shown in fig. 3, if the action position of the designated action is the central area 14 of the back shell, the corresponding target object for receiving the message to be sent may be the other party in the couple (or couple); if the action position of the designated action is an area outside the central area 14 of the back shell, the corresponding target object for receiving the message to be sent may be other members of the family members except the message sender.
By determining different message receiving objects according to different action positions of the designated action, the interestingness of message sending can be enhanced, and meanwhile, the flexibility of message sending between fixed objects can be improved.
Optionally, if the action strength of the designated action is a first strength, the corresponding target object for receiving the message to be sent may be another fixed object in a group formed by two persons, and if the action strength of the designated action is a second strength which is smaller than the first strength, the corresponding target object for receiving the message to be sent may be other members of the family members except for the message sender, that is, the action strengths of the designated action are different, and the corresponding target objects for receiving the message to be sent may be different. By determining the target object for receiving the message to be sent according to the action strength, the intimacy between the couple or the lover in the message sending process can be expressed.
In order to further embody the intimacy of the messages sent between the fixed objects and realize rapid message sending or receiving, in another embodiment, the message to be sent and the target object for receiving the message to be sent can be determined simultaneously according to the parameters of the specified action.
For example, taking the foregoing example as an example, if the action position of the designated action is the central area of the rear shell, the message to be sent may be an animation in a shape of "love heart", and the target object for receiving the message to be sent may be another fixed object in a group consisting of two people; if the action position of the designated action is an area outside the central area of the rear shell, the message to be sent can be 'text' or 'voice information', and the target object for receiving the message to be sent can be other members except the message sender in family members.
The parameters of the designated action are different, the corresponding messages to be sent can be different, and the corresponding target objects for receiving the messages to be sent can also be different, so that the specific messages can be sent to the specific objects by knocking the specific positions of the backshells of the specific electronic equipment without inputting or selecting the content of the sent messages or selecting the message receiving objects, the message sending process is simplified, the message sending speed is increased, and the user experience is improved.
Step S230: and sending the message to be sent to a target object.
Optionally, after the first electronic device sends the message to be sent to the target object, the first electronic device may further instruct the second electronic device to display the message to be sent in a display mode corresponding to the action strength of the specified action. Wherein, the action force of the appointed action is different, and the corresponding display modes are different.
For example, in a specific application scenario, please refer to fig. 5, which shows an exemplary diagram of displaying a message to be sent respectively according to display modes corresponding to different degrees of effort of a specified action provided in this embodiment, as shown in fig. 5(a) and 5(b), when the degrees of effort of the specified action are a first degree and a second degree, respectively, the second electronic device 13 displays the exemplary diagram of the message to be sent 15, where the first degree is greater than the second degree, and if the message to be sent 15 is an animation in a shape of "love heart", a display size of the message to be sent 15 corresponding to the first degree may be greater than a display size of the message to be sent 15 corresponding to the second degree, so as to express a strong nature when a private message is sent between a lover or a wife (the strong nature is higher, the relationship is more intimate).
The first electronic device can configure and store the corresponding relation between different acting force degrees of the designated action and different display modes, and send the corresponding relation to the second electronic device for storage. In this way, when the designated action is detected, the action strength of the designated action can be identified, and then in one implementation, the action strength of the designated action can be sent to the second electronic device while the message to be sent is sent to the second electronic device, so that the second electronic device can identify the display mode of the message to be sent according to the action strength, and further display the message to be sent according to the display mode. Optionally, in another implementation manner, after recognizing the action strength of the specified action, the first electronic device may recognize a display mode corresponding to the action strength, so that when the message to be displayed is sent to the second electronic device, the display mode of the message to be sent may be directly sent to the second electronic device, so that the second electronic device may directly display the message to be sent according to the display mode.
In this embodiment, the display mode of the message to be sent may also be determined according to other parameters of the designated action, where the parameters of the designated action are different, and the corresponding display modes may be different.
According to the message sending method provided by the embodiment of the application, if the specified action is detected, the message to be sent is obtained, then the target object is obtained according to the parameters of the specified action, and then the message to be sent is sent to the target object, wherein the target object is an object corresponding to the second electronic device bound with the first electronic device. Compared with the problem that the message sending process is complicated due to the fact that an independent application needs to be opened and then the message is sent, the method can directly and quickly acquire the message to be sent according to the appointed action under the condition that the appointed action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device without selecting the message to be sent and selecting the sending object, so that the message sending process is simplified, and quick and simple message transmission can be achieved. Meanwhile, the message to be sent is displayed in a display mode corresponding to the action strength of the specified action by indicating the second electronic equipment, so that the intensity of private message sending between couples or couples can be expressed.
Referring to fig. 6, another embodiment of the present application provides a message sending method applied to a first electronic device, and this embodiment introduces a binding process before a first electronic device detects a specified action, where the method includes:
step S310: and if detecting that the appointed message sending function is started for the first time, displaying a use permission prompt popup window.
In this embodiment, a designated message sending function may be configured in the first electronic device, and a user may set an open/close state of the designated message sending function through the system setting interface. Optionally, if it is detected that the designated message sending function is first started, a usage permission prompt popup window may be displayed on a display screen of the first electronic device to prompt the user that the function can be normally used only when a related permission is granted.
In a specific application scenario, assuming that the action is designated as "two times per back surface (i.e. the back shell of the first electronic device)", the user clicks the "two times per back surface" function setting bar, and may enter a designated message sending function (i.e. the first message sending function shown in fig. 7) setting page as shown in fig. 7, and the user may click a selection button on the right side of the first message sending function to enter a usage permission prompting popup page as shown in fig. 8, so as to prompt the user to authorize the collection of the usage network permission when the first message sending function is used.
Step S320: and if the permission data corresponding to the use permission prompt popup window is acquired, displaying a binding prompt message.
Optionally, if the user clicks the "agree and use" button shown in fig. 8, it may be determined that the permission data corresponding to the use permission prompt popup is acquired, and in this manner, the binding prompt information shown in fig. 9 may be displayed to prompt the user to perform account binding. If the user clicks the "bind the other mobile phone" button shown in fig. 9, the user may jump to the bind request data obtaining page shown in fig. 10, and optionally, the embodiment may implement binding between different accounts through information such as a phone number or a mobile phone number. As shown in fig. 10, the user may be prompted to input a mobile phone number of the other party to be bound, if the user inputs a mobile phone number "186 x and clicks a" send binding request "button, a binding request may be sent to the second electronic device (as shown in fig. 11), if the other party receives a response from the other party within a preset waiting time period, that is, if the target object agrees to binding, the first electronic device and the second electronic device may establish a binding relationship, and the first electronic device may display a binding success prompt message shown in fig. 12, thereby implementing fast message transmission between the fixed objects. The preset waiting time period may not be limited, and may be, for example, 120 seconds as shown in fig. 12, or may be another value. If the response of the other party is not received within the preset waiting time, the binding request needs to be sent to the second electronic device again after waiting for the next preset waiting time.
Step S330: and if the specified action is detected, acquiring the message to be sent.
Step S340: and sending the message to be sent to a target object, wherein the target object is an object corresponding to second electronic equipment bound with the first electronic equipment.
Optionally, if the message to be sent is an animation in a shape of a 'love heart', after the login account of the first electronic device and the login account of the second electronic device are successfully bound, the first electronic device sends the message to be sent to the target object, and then the second electronic device may display the message to be sent on any interface. For example, as shown in fig. 13, an animation of a "love heart" shape is displayed on the main interface of the screen of the second electronic device.
Optionally, in some possible embodiments, if the login accounts on the first electronic device and the second electronic device both send a message to the other side by means of knocking the backshell, a size of the "love heart" displayed on the electronic device of the side that first made the motion of the backshell is smaller than a size of the "love heart" displayed on the electronic device of the side that later made the motion of the backshell, and represents that the side that first made the motion of the backshell wants to think more about the side that made the motion of the backshell, where a size of the "love heart" displayed on the electronic device of the side that first made the motion of the backshell indicates that the side that made the motion of the backshell thinks about the side, and a size of the "love heart" displayed on the electronic device of the side that then made the motion of the backshell indicates that the side made the motion of the backshell wants to think.
Optionally, if the login accounts on the first electronic device and the second electronic device simultaneously send the message to the other party by tapping the backshell, the display sizes of the messages to be sent by the first electronic device and the second electronic device may be the same.
According to the message sending method provided by the embodiment of the application, the account binding is carried out in advance, so that the message sending process can be simplified during message sending, and rapid and simple message transmission among specific objects is realized. And if the specified action is detected, acquiring a message to be sent, and then sending the message to be sent to a target object, wherein the target object is an object corresponding to a second electronic device bound with the first electronic device. Compared with the problem that the message sending process is complicated due to the fact that an independent application needs to be opened and then the message is sent, the method can directly and quickly acquire the message to be sent according to the appointed action under the condition that the appointed action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device without selecting the message to be sent and selecting the sending object, so that the message sending process is simplified, and quick and simple message transmission can be achieved.
Referring to fig. 14, a further embodiment of the present application provides a message receiving method applied to a second electronic device, where the present embodiment describes a process of the second electronic device receiving a message to be sent, and the method includes:
step S410: receiving a message to be sent, wherein the message to be sent is a message which is acquired by a first electronic device and sent to a target object after a specified action is detected, and the target object is an object which is bound with the first electronic device and corresponds to a second electronic device.
Step S420: and displaying the message to be sent.
The description of the display principle and the display style of the message to be displayed by the second electronic device may refer to the description in the foregoing embodiments, and will not be repeated herein.
Referring to fig. 15, as an alternative, step S420 may include:
step S421: if the second electronic equipment is in a screen-off state, switching the screen-off state into a screen-on state;
as a manner, if the second electronic device is in the screen-off state when receiving the message to be sent by the first electronic device, the screen-off state may be switched to the screen-on state, and then the message to be sent is displayed. Optionally, the content or the type of the message to be sent is different, and the brightness or the color of the screen after switching to the bright screen state may be different, for example, if the message to be sent comes from a message sent by another party of a couple or a couple, the brightness of the screen may be higher, or the color may be a warm color (for example, pink, etc.); if the message to be sent comes from a message sent by a family member, the brightness of the screen can be relatively low, or the color can be different colors such as orange, blue and the like.
Step S422: and displaying the message to be sent.
In a specific application scenario, if a target object for receiving a message to be sent can be a member other than a message sender in a family member, after the second electronic device is switched from the off-screen state to the on-screen state, a message to be displayed as shown in fig. 16 can be displayed, that is, the number of the second electronic devices in this manner can be multiple, and a user can simultaneously send animation prompt messages such as "eat and cheer" shown in fig. 16 like multiple second electronic devices through the first electronic device, so that one family member can be prevented from eating, a feeling of dryness for directly sending the message through a group is also avoided, a enjoyment of message sending is increased, and user experience is improved.
According to the message receiving method provided by the embodiment of the application, by receiving the message to be sent, the message to be sent is obtained and sent to the target object after the first electronic device detects the specified action, the target object is the object corresponding to the second electronic device bound with the first electronic device, and then the message to be sent is displayed, so that the message to be sent can be quickly obtained and directly sent to the bound target object when the first electronic device detects the specified action, and the message sending process is simplified because the message to be sent does not need to be selected and the sending object does not need to be selected, so that the message to be sent can be received more quickly, and quick and simple message transmission is realized.
Referring to fig. 17, a message sending apparatus 500 provided in an embodiment of the present application operates on a first electronic device, where the apparatus 500 includes:
the message obtaining module 510 is configured to obtain a message to be sent if a specified action is detected.
Optionally, the apparatus 500 may further include a binding prompt function, configured to display a usage permission prompt popup window if it is detected that the specified message sending function is first turned on before the message to be sent is acquired if the specified action is detected; and if the permission data corresponding to the use permission prompt popup window is acquired, displaying a binding prompt message.
Optionally, the binding prompt function may be further configured to send a binding request to the second electronic device after displaying the binding prompt message; and if the target object agrees to be bound, establishing a binding relationship with the second electronic equipment.
In one manner, the message obtaining module 510 may be configured to obtain a message to be sent according to the parameter of the specified action. Optionally, the parameter specifying the action in this embodiment may include at least one of the following parameters: an action position of the specified action; and the action strength of the specified action.
A message sending module 520, configured to send the message to be sent to a target object, where the target object is an object corresponding to a second electronic device bound to the first electronic device.
As one way, the message sending module 520 may be configured to obtain the target object according to the parameter of the specified action; and sending the message to be sent to the target object.
Optionally, the apparatus 500 may further include an indication module, configured to instruct the second electronic device to display the message to be sent in a display style corresponding to the action strength.
Referring to fig. 18, a message receiving apparatus 600 provided in the embodiment of the present application operates on a second electronic device, where the apparatus 600 includes:
the message receiving module 610 is configured to receive a message to be sent, where the message to be sent is a message that is acquired by a first electronic device and sent to a target object after a specified action is detected, and the target object is an object corresponding to a second electronic device bound to the first electronic device.
A message display module 620, configured to display the message to be sent.
Optionally, the message display module 620 may be configured to switch the screen-off state to a screen-on state if the second electronic device is in the screen-off state; and displaying the message to be sent.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 19, based on the message sending method and the message receiving method and apparatus, an electronic device 100 capable of executing the message sending method and the message receiving method is further provided in the embodiment of the present application. The electronic device 100 includes a memory 102 and one or more processors 104 (only one shown) coupled to each other, the memory 102 and the processors 104 being communicatively coupled to each other. The memory 102 stores therein a program that can execute the contents of the foregoing embodiments, and the processor 104 can execute the program stored in the memory 102.
The processor 104 may include one or more processing cores, among other things. The processor 104 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 102 and invoking data stored in the memory 102. Alternatively, the processor 104 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 104 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 104, but may be implemented by a communication chip.
The Memory 102 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 102 may be used to store instructions, programs, code sets, or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the foregoing embodiments, and the like. The data storage area may also store data created by the electronic device 100 during use (e.g., phone book, audio-video data, chat log data), and the like.
Referring to fig. 20, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 700 has stored therein program code that can be called by a processor to execute the methods described in the above-described method embodiments.
The computer-readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer readable storage medium 700 has storage space for program code 710 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 710 may be compressed, for example, in a suitable form.
In summary, according to the message sending method, the message receiving method, the device, the electronic device and the storage medium provided by the present application, if a specified action is detected, a message to be sent is obtained, and then the message to be sent is sent to a target object, where the target object is an object corresponding to a second electronic device bound to a first electronic device. Compared with the problem that the message sending process is complicated due to the fact that an independent application needs to be opened and then the message is sent in the prior art, the method can directly and quickly obtain the message to be sent according to the specified action under the condition that the specified action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device, so that quick and simple message transmission can be achieved.
Finally, it should be noted that: the above examples are intended only to illustrate the technical process of the present application and not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical method described in the foregoing embodiments may be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not drive the essence of the corresponding technical method out of the spirit and scope of the technical method of the embodiments of the present application.

Claims (13)

1. A message sending method applied to a first electronic device, the method comprising:
if the specified action is detected, acquiring a message to be sent;
and sending the message to be sent to a target object, wherein the target object is an object corresponding to second electronic equipment bound with the first electronic equipment.
2. The method of claim 1, wherein the obtaining the message to be sent comprises:
and acquiring the message to be sent according to the parameters of the specified action.
3. The method according to claim 1 or 2, wherein the sending the message to be sent to the target object comprises:
acquiring a target object according to the parameters of the specified action;
and sending the message to be sent to the target object.
4. The method of claim 3, wherein the parameters specifying the action comprise at least one of the following parameters:
an action position of the specified action; and
the strength of the specified action.
5. The method of claim 4, further comprising:
and instructing the second electronic equipment to display the message to be sent in a display style corresponding to the action strength.
6. The method of claim 1, wherein before the obtaining the message to be sent if the specified action is detected, the method further comprises:
if detecting that the appointed message sending function is started for the first time, displaying a use permission prompt popup window;
and if the permission data corresponding to the use permission prompt popup window is acquired, displaying a binding prompt message.
7. The method of claim 6, wherein after displaying the binding hint message, the method further comprises:
sending a binding request to the second electronic device;
and if the target object agrees to be bound, establishing a binding relationship with the second electronic equipment.
8. A message receiving method, applied to a second electronic device, the method comprising:
receiving a message to be sent, wherein the message to be sent is a message which is acquired by a first electronic device and sent to a target object after a specified action is detected, and the target object is an object corresponding to a second electronic device bound with the first electronic device;
and displaying the message to be sent.
9. The method of claim 8, wherein the displaying the message to be sent comprises:
if the second electronic equipment is in a screen-off state, switching the screen-off state into a screen-on state;
and displaying the message to be sent.
10. A message transmission apparatus, operable on a first electronic device, the apparatus comprising:
the message acquisition module is used for acquiring a message to be sent if the specified action is detected;
and the message sending module is used for sending the message to be sent to a target object, wherein the target object is an object corresponding to the second electronic equipment bound with the first electronic equipment.
11. A message receiving apparatus, operable with a second electronic device, the apparatus comprising:
the message receiving module is used for receiving a message to be sent, wherein the message to be sent is a message which is acquired by first electronic equipment and sent to a target object after a specified action is detected, and the target object is an object which is bound with the first electronic equipment and corresponds to second electronic equipment;
and the message display module is used for displaying the message to be sent.
12. An electronic device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7 or 8-9.
13. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-7 or 8-9.
CN202011449285.9A 2020-12-09 2020-12-09 Message sending method, message receiving method, device and electronic equipment Pending CN112596604A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011449285.9A CN112596604A (en) 2020-12-09 2020-12-09 Message sending method, message receiving method, device and electronic equipment
PCT/CN2021/126008 WO2022121537A1 (en) 2020-12-09 2021-10-25 Message sending method and apparatus, message receiving method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011449285.9A CN112596604A (en) 2020-12-09 2020-12-09 Message sending method, message receiving method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112596604A true CN112596604A (en) 2021-04-02

Family

ID=75192013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011449285.9A Pending CN112596604A (en) 2020-12-09 2020-12-09 Message sending method, message receiving method, device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112596604A (en)
WO (1) WO2022121537A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995020A (en) * 2021-05-19 2021-06-18 天津中新智冠信息技术有限公司 Information distribution device, method, electronic device, and storage medium
WO2022121537A1 (en) * 2020-12-09 2022-06-16 Oppo广东移动通信有限公司 Message sending method and apparatus, message receiving method and apparatus, and electronic device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944864A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Information transmission method, information sending device, receiving device and system
CN104281402A (en) * 2013-07-09 2015-01-14 Lg电子株式会社 Mobile terminal and control method thereof
US20150084894A1 (en) * 2013-09-24 2015-03-26 Samsung Electronics Co., Ltd. System and method of sharing object based on knocking input
CN104951072A (en) * 2015-06-18 2015-09-30 广东欧珀移动通信有限公司 Application control method and terminal equipment
CN105577900A (en) * 2014-10-16 2016-05-11 西安景行数创信息科技有限公司 Mobile phone clapping alarm help seeking apparatus
CN106648346A (en) * 2016-09-09 2017-05-10 深圳市金立通信设备有限公司 Method for sending message and terminal
CN106775366A (en) * 2015-11-24 2017-05-31 中国移动通信集团公司 A kind of information interacting method and terminal device
CN108307072A (en) * 2018-01-31 2018-07-20 广东欧珀移动通信有限公司 Electronic device falls based reminding method and Related product
CN108632135A (en) * 2017-03-21 2018-10-09 阿里巴巴集团控股有限公司 The means of communication and device
CN109348049A (en) * 2018-09-28 2019-02-15 Oppo广东移动通信有限公司 Light effect displaying method, relevant device and storage medium
CN110333814A (en) * 2019-05-31 2019-10-15 华为技术有限公司 A kind of method and electronic equipment of sharing contents
CN111258420A (en) * 2020-01-13 2020-06-09 维沃移动通信有限公司 Information interaction method, head-mounted device and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973900B (en) * 2014-05-26 2016-02-03 小米科技有限责任公司 The method of transmission information and device
CN105872266A (en) * 2016-06-24 2016-08-17 现代城市环境服务(深圳)有限公司 Method for message transmission and intelligent key
CN106453823B (en) * 2016-08-31 2020-01-31 腾讯科技(深圳)有限公司 method, device and terminal for quickly sending information
CN107831889A (en) * 2017-10-11 2018-03-23 上海爱优威软件开发有限公司 The method and mobile terminal that a kind of information is sent
CN112596604A (en) * 2020-12-09 2021-04-02 Oppo广东移动通信有限公司 Message sending method, message receiving method, device and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944864A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Information transmission method, information sending device, receiving device and system
CN104281402A (en) * 2013-07-09 2015-01-14 Lg电子株式会社 Mobile terminal and control method thereof
US20150084894A1 (en) * 2013-09-24 2015-03-26 Samsung Electronics Co., Ltd. System and method of sharing object based on knocking input
CN105577900A (en) * 2014-10-16 2016-05-11 西安景行数创信息科技有限公司 Mobile phone clapping alarm help seeking apparatus
CN104951072A (en) * 2015-06-18 2015-09-30 广东欧珀移动通信有限公司 Application control method and terminal equipment
CN106775366A (en) * 2015-11-24 2017-05-31 中国移动通信集团公司 A kind of information interacting method and terminal device
CN106648346A (en) * 2016-09-09 2017-05-10 深圳市金立通信设备有限公司 Method for sending message and terminal
CN108632135A (en) * 2017-03-21 2018-10-09 阿里巴巴集团控股有限公司 The means of communication and device
CN108307072A (en) * 2018-01-31 2018-07-20 广东欧珀移动通信有限公司 Electronic device falls based reminding method and Related product
CN109348049A (en) * 2018-09-28 2019-02-15 Oppo广东移动通信有限公司 Light effect displaying method, relevant device and storage medium
CN110333814A (en) * 2019-05-31 2019-10-15 华为技术有限公司 A kind of method and electronic equipment of sharing contents
CN111258420A (en) * 2020-01-13 2020-06-09 维沃移动通信有限公司 Information interaction method, head-mounted device and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121537A1 (en) * 2020-12-09 2022-06-16 Oppo广东移动通信有限公司 Message sending method and apparatus, message receiving method and apparatus, and electronic device
CN112995020A (en) * 2021-05-19 2021-06-18 天津中新智冠信息技术有限公司 Information distribution device, method, electronic device, and storage medium
CN112995020B (en) * 2021-05-19 2021-08-20 天津中新智冠信息技术有限公司 Information distribution device, method, electronic device, and storage medium

Also Published As

Publication number Publication date
WO2022121537A1 (en) 2022-06-16

Similar Documents

Publication Publication Date Title
US20200099960A1 (en) Video Stream Based Live Stream Interaction Method And Corresponding Device
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN105389173B (en) Interface switching display method and device based on long connection task
CN108366169B (en) Notification message processing method and mobile terminal
WO2022121537A1 (en) Message sending method and apparatus, message receiving method and apparatus, and electronic device
WO2022001471A1 (en) Game switching method and apparatus, electronic apparatus, and storage medium
CN111131850A (en) Method and device for displaying special effect of virtual gift and electronic equipment
CN110784597A (en) Automatic camera selection
CN111367457A (en) Content sharing method and device and electronic equipment
US20230405478A1 (en) Combined system for game live-streaming and gameplay
CN112783388B (en) Display method, display device and electronic equipment
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN112269509B (en) Information processing method and device and electronic equipment
CN113038050A (en) Split screen display control method and device, terminal equipment and storage medium
CN110109726B (en) Virtual object receiving processing method, virtual object transmitting method, virtual object receiving processing device and virtual object transmitting device, and storage medium
WO2022166943A1 (en) Message sending method and apparatus, and electronic device and readable storage medium
CN112596883B (en) Application switching method and device, storage medium and electronic equipment
CN115695355A (en) Data sharing method and device, electronic equipment and medium
CN115237323A (en) Interface display method and device, electronic equipment and storage medium
CN114221923A (en) Message processing method and device and electronic equipment
CN113852540A (en) Information sending method, information sending device and electronic equipment
CN112667331A (en) Interface display method and device, terminal equipment and storage medium
US10039986B2 (en) Game apparatus
CN111818213A (en) Call response method and device and electronic equipment
CN111124701A (en) Message processing method and device and terminal

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