CN106919332B - Information transmission method and equipment - Google Patents
Information transmission method and equipment Download PDFInfo
- Publication number
- CN106919332B CN106919332B CN201710079038.6A CN201710079038A CN106919332B CN 106919332 B CN106919332 B CN 106919332B CN 201710079038 A CN201710079038 A CN 201710079038A CN 106919332 B CN106919332 B CN 106919332B
- Authority
- CN
- China
- Prior art keywords
- pressing
- track
- user
- picture
- module
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
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)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure provides an information transmission method and device, the information transmission method including: detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
Description
Technical Field
The present disclosure relates to the field of electronic communications technologies, and in particular, to an information transmission method and device.
Background
With the development of the internet, there are many social-type applications in widespread use. Many users install social applications on electronic equipment, and can send information, voice call and video call with friends through the social applications. With the continuous improvement of the user requirements, the expression modes cannot meet the requirement of mutual communication of the users, and are too monotonous, so that the user experience is low.
Disclosure of Invention
The embodiment of the disclosure provides an information transmission method and equipment. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information transmission method applied to an electronic device, the method including:
detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
acquiring a target picture according to the pressing track;
and sending the target picture.
In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
In one embodiment, acquiring a target picture according to a pressing track comprises:
determining a trajectory matched with the pressing trajectory as a target trajectory in the at least one trajectory;
and acquiring a picture corresponding to the target track according to the preset mapping as a target picture.
A plurality of pictures and a plurality of tracks can be stored in advance, one picture corresponds to one track, and the corresponding target picture can be determined according to the pressing track of the user. Since the target picture is stored in advance, the processing efficiency can be improved.
In one embodiment, acquiring a target picture according to a pressing track comprises:
and generating a target picture according to the pressing track.
The target picture is generated according to the pressing track, so that the requirements of the user can be met, the user can design the picture at will according to own preference, and the picture pressing method is more flexible.
In one embodiment, the preset time period includes at least one time point, and detecting a pressing track of the user within the preset time period on a touch screen of the electronic device includes:
detecting a position and a force of a user's press on the touch screen at each of at least one time point;
and recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, wherein the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point.
A plurality of time points can be selected in a preset time period, and the pressing position and the pressing force of a user at each time point are recorded, so that the pressing track can be obtained only by detecting at a plurality of time points, and the workload of the electronic equipment is reduced.
In one embodiment, acquiring a target picture according to a pressing track comprises:
and according to the pressing track, generating a dynamic picture as a target picture according to the time sequence of at least one time point.
The dynamic pictures can be generated according to the time sequence of user pressing, so that the method is more interesting and can improve the user experience.
In one embodiment, the method further comprises:
and receiving a starting instruction input by a user, wherein the starting instruction is used for instructing the electronic equipment to start detecting the pressing track.
And when the user inputs an opening instruction, detection is carried out again, so that useless detection is avoided.
In one embodiment, the method further comprises:
and displaying the target picture on a display screen of the electronic equipment.
The target picture can be sent to the other side, and can also be directly displayed on the electronic equipment, and the user can visually see the display effect of the target picture on the electronic equipment.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: the system comprises a track module, a picture module and a sending module;
the electronic equipment comprises a track module, a display module and a control module, wherein the track module is used for detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
the picture module is used for acquiring a target picture according to the pressing track;
and the sending module is used for sending the target picture.
In one embodiment, the picture module includes a matching sub-module and a mapping sub-module;
a matching submodule for determining a trajectory matched with the pressing trajectory as a target trajectory among the at least one trajectory;
and the mapping submodule is used for acquiring a picture corresponding to the target track according to preset mapping and taking the picture as a target picture.
In one embodiment, the picture module includes a picture generation sub-module;
and the picture generation submodule is used for generating a target picture according to the pressing track.
In one embodiment, the trajectory module includes a detection sub-module and a recording sub-module;
the detection submodule is used for detecting the position and the strength of the press of the user on the touch screen at each time point in at least one time point;
and the recording submodule is used for recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, and the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point.
In one embodiment, the picture module includes a dynamic picture sub-module;
and the dynamic picture submodule is used for generating a dynamic picture as a target picture according to the pressing track and the time sequence of at least one time point.
In one embodiment, the electronic device further comprises a receiving module;
the receiving module is used for receiving a starting instruction input by a user, and the starting instruction is used for indicating the electronic equipment to start detecting the pressing track.
In one embodiment, the electronic device further comprises a display module;
and the display module is used for displaying the target picture on a display screen of the electronic equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
a transmitter;
wherein the processor is configured to:
detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
acquiring a target picture according to the pressing track;
the target picture is transmitted by the transmitter.
In one embodiment, the processor may be further configured to:
determining a trajectory matched with the pressing trajectory as a target trajectory in the at least one trajectory;
and acquiring a picture corresponding to the target track according to the preset mapping as a target picture.
In one embodiment, the processor may be further configured to:
and generating a target picture according to the pressing track.
In one embodiment, the processor may be further configured to:
detecting a position and a force of a user's press on the touch screen at each of at least one time point;
and recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, wherein the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point.
In one embodiment, the processor may be further configured to:
and according to the pressing track, generating a dynamic picture as a target picture according to the time sequence of at least one time point.
In one embodiment, the processor may be further configured to:
and receiving a starting instruction input by a user, wherein the starting instruction is used for instructing the electronic equipment to start detecting the pressing track.
In one embodiment, the processor may be further configured to:
and displaying the target picture on a display screen of the electronic equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of information transfer according to an example embodiment;
FIG. 2 is an interaction diagram illustrating a method of information transfer in accordance with an exemplary embodiment;
FIG. 3 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 10 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
fig. 11 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
When a user sends information or carries out video call with other users through the application installed on the electronic equipment, the communication is monotonous. According to the technical scheme provided by the implementation of the disclosure, a pressing track of a user in a preset time period is detected on a touch screen of an electronic device, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
Fig. 1 is a flowchart illustrating an information transmission method according to an exemplary embodiment, where, as shown in fig. 1, the information transmission method includes steps 101 and 103:
in step 101, a pressing track of a user within a preset time period is detected on a touch screen of an electronic device.
The pressing trace is used for indicating the position and the strength of the user pressing on the touch screen within a preset time period.
In one embodiment, the preset time period includes at least one time point, and detecting a pressing track of the user within the preset time period on a touch screen of the electronic device includes: detecting a position and a force of a user's press on the touch screen at each of at least one time point; and recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, wherein the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point.
A plurality of time points can be selected in a preset time period, and the pressing position and the pressing force of a user at each time point are recorded, so that the pressing track can be obtained only by detecting at a plurality of time points, and the workload of the electronic equipment is reduced.
Further optionally, in an embodiment, acquiring the target picture according to the pressing track includes: and according to the pressing track, generating a dynamic picture as a target picture according to the time sequence of at least one time point. For example, a user draws a love on a touch screen of the electronic device, a target picture may be generated according to a moving track (i.e., a pressing track) of a touch point on the touch screen, the target picture may be a picture displaying a moving process of the touch point when the user draws the love, and when the target picture is displayed, a process of forming the target picture by a pen point moving according to the pressing track is displayed. The shape of the pen tip can also be set by the user.
In one embodiment, the method further comprises: and receiving a starting instruction input by a user, wherein the starting instruction is used for instructing the electronic equipment to start detecting the pressing track. And when the user inputs an opening instruction, detection is carried out again, so that useless detection is avoided.
For example, when the user inputs an on instruction, the electronic device starts to detect a pressing track of the user, and after the user inputs a completion instruction, the electronic device generates the pressing track. The completion instruction is used for indicating that the pressing track detection is completed.
In step 102, a target picture is obtained according to the pressing track.
There may be a plurality of implementation manners for obtaining the target picture according to the pressing track, and here, two specific implementation manners are listed for description:
in a first implementation, a preset map may be established, where the preset map is used to indicate a correspondence between at least one track and at least one picture. Obtaining a target picture according to the pressing track, comprising: determining a trajectory matched with the pressing trajectory as a target trajectory in the at least one trajectory; and acquiring a picture corresponding to the target track according to the preset mapping as a target picture.
Note that the trajectory matching the pressing trajectory may be the same trajectory as the pressing trajectory or a trajectory most similar to the pressing trajectory. And one picture corresponds to one track in the plurality of pictures and the plurality of tracks, and the corresponding target picture can be determined by selecting the pressing track according to the pressing track of the user. Because the target picture is pre-stored, the target picture can be directly sent or displayed after being determined according to the target track, and the processing efficiency is improved.
In a second implementation manner, acquiring a target picture according to a pressing track includes: and generating a target picture according to the pressing track. The user can design the target picture by himself, and is more flexible.
In step 103, the target picture is sent.
It should be noted that the target picture is sent to other electronic devices, and the other electronic devices may be electronic devices that send information to and from the user through a social application.
In one embodiment, the method further comprises: and displaying the target picture on a display screen of the electronic equipment. The electronic equipment can directly display the target picture on the display screen while sending the target picture, and a user can visually see the target picture.
According to the information transmission method provided by the embodiment of the disclosure, a pressing track of a user in a preset time period is detected on a touch screen of an electronic device, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
Based on the information transmission method provided by the embodiment corresponding to fig. 1, fig. 2 is an interaction diagram of an information transmission method shown according to an exemplary embodiment, the information transmission method shown in fig. 2 is described by taking a first electronic device and a second electronic device as examples, the first electronic device and the second electronic device may be a smart phone or a tablet computer, and the target picture is described by taking a dynamic picture as an example in fig. 2. Referring to fig. 2, the information transmission method provided in this embodiment includes steps 201 and 206:
in step 201, a first electronic device receives an opening instruction input by a user.
The turn-on instruction is used for instructing the electronic device to start detecting the pressing track.
The user can set the shape of the pen tip, background pictures, special effects, etc. before pressing. For example, the nib shape may be a leaf, petal, footprint, or the like; the background picture can be a landscape, a figure, a building and the like; the special effects may include ripples, where a user pointing down on the touch screen creates a dynamic effect of ripples centered on the user touch point. Of course, this is merely an example and does not represent a limitation of the present disclosure.
In step 202, the first electronic device detects a position and a force of a user's press on the touch screen at each of at least one time point.
In step 203, the first electronic device records the position and strength of the user pressing on the touch screen at each time point and generates a pressing track.
The pressing trace is used to indicate the position and strength of the user's press on the touch screen at each point in time.
In step 204, the first electronic device generates a dynamic picture as a target picture according to the pressing track and the time sequence of at least one time point.
After step 204, step 205 is also included:
in step 205, the first electronic device displays a target picture on a display screen.
After step 204, step 206 is also included:
in step 206, the first electronic device sends the target picture to the second electronic device.
According to the information transmission method provided by the embodiment of the disclosure, a pressing track of a user in a preset time period is detected on a touch screen of an electronic device, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3 is a block diagram of an electronic device according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two to be a part or all of the electronic device, and the electronic device is configured to perform the information transmission method described in the embodiment corresponding to fig. 1 and fig. 2. As shown in fig. 3, the electronic device 30 includes: a track module 301, a picture module 302 and a sending module 303;
the track module 301 is configured to detect, on a touch screen of the electronic device, a pressing track of a user within a preset time period, where the pressing track is used to indicate a position and a force of the user pressing on the touch screen within the preset time period;
a picture module 302, configured to obtain a target picture according to a pressing trajectory;
a sending module 303, configured to send the target picture.
In one embodiment, as shown in fig. 4, the picture module 302 includes a matching sub-module 3021 and a mapping sub-module 3022;
a matching sub-module 3021 for determining a trajectory matching the pressing trajectory as a target trajectory among the at least one trajectory;
the mapping submodule 3022 is configured to obtain, according to preset mapping, a picture corresponding to the target track as a target picture.
In one embodiment, as shown in fig. 5, the picture module 302 includes a picture generation sub-module 3023;
a picture generation submodule 3023 configured to generate a target picture according to the pressing trajectory.
In one embodiment, as shown in FIG. 6, the track module 301 includes a detection sub-module 3011 and a recording sub-module 3012;
the detection sub-module 3011 is configured to detect, at each of at least one time point, a position and a strength of a press of the user on the touch screen;
and the recording sub-module 3012 is configured to record the position and strength of the user pressing on the touch screen at each time point and generate a pressing trace, where the pressing trace is used to indicate the position and strength of the user pressing on the touch screen at each time point.
In one embodiment, as shown in fig. 7, the picture module 302 includes a motion picture sub-module 3024;
the moving picture sub-module 3024 is configured to generate a moving picture as a target picture according to the pressing trajectory and a time sequence of at least one time point.
In one embodiment, as shown in FIG. 8, the electronic device 30 further includes a receiving module 304;
the receiving module 304 is configured to receive an opening instruction input by a user, where the opening instruction is used to instruct the electronic device to start detecting a pressing track.
In one embodiment, as shown in FIG. 9, the electronic device 30 further includes a display module 305;
the display module 305 is configured to display the target picture on a display screen of the electronic device.
According to the electronic equipment provided by the embodiment of the disclosure, a pressing track of a user in a preset time period is detected on a touch screen of the electronic equipment, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
Fig. 10 is a block diagram of an electronic device according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two to be a part or all of the electronic device, and the electronic device is configured to perform the information transmission method described in the embodiment corresponding to fig. 1 and fig. 2. As shown in fig. 10, the electronic apparatus 100 includes:
a processor 1001;
a memory 1002 for storing instructions executable by the processor 1001;
a transmitter 1003;
wherein the processor 1001 is configured to:
detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
acquiring a target picture according to the pressing track;
the target picture is transmitted through the transmitter 1003.
In one embodiment, the processor 1001 may be further configured to:
determining a trajectory matched with the pressing trajectory as a target trajectory in the at least one trajectory;
and acquiring a picture corresponding to the target track according to the preset mapping as a target picture.
In one embodiment, the processor 1001 may be further configured to:
and generating a target picture according to the pressing track.
In one embodiment, the processor 1001 may be further configured to:
detecting a position and a force of a user's press on the touch screen at each of at least one time point;
and recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, wherein the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point.
In one embodiment, the processor 1001 may be further configured to:
and according to the pressing track, generating a dynamic picture as a target picture according to the time sequence of at least one time point.
In one embodiment, the processor 1001 may be further configured to:
and receiving a starting instruction input by a user, wherein the starting instruction is used for instructing the electronic equipment to start detecting the pressing track.
In one embodiment, the processor 1001 may be further configured to:
and displaying the target picture on a display screen of the electronic equipment.
According to the electronic equipment provided by the embodiment of the disclosure, a pressing track of a user in a preset time period is detected on a touch screen of the electronic equipment, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
The electronic device provided in the embodiment of the present disclosure may be a terminal device as shown in fig. 11, fig. 11 is a block diagram of a terminal device shown according to an exemplary embodiment, the terminal device 110 may be a smart phone, a tablet computer, and the like, and the terminal device 110 is configured to execute the information transmission method described in the embodiment corresponding to fig. 1 and fig. 2.
The processing component 1101 generally controls the overall operation of the terminal device 110, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1101 may include one or more processors 11011 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1101 can include one or more modules that facilitate interaction between the processing component 1101 and other components. For example, the processing component 1101 can include a multimedia module to facilitate interaction between the multimedia component 1104 and the processing component 1101.
The multimedia component 1104 includes a screen that provides an output interface between the terminal device 110 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1104 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal device 110 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The I/O interface 1106 provides an interface between the processing component 1101 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
In an exemplary embodiment, the terminal Device 110 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for performing the information transmission methods described in the embodiments corresponding to fig. 1 and 2.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 1102, comprising instructions executable by the processing component 1101 of the terminal device 110 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. When the instructions in the storage medium are executed by the processing component 1101 of the terminal device 110, the terminal device 110 is enabled to execute the information transmission method described in the corresponding embodiments of fig. 1 and fig. 2, the method includes:
detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
acquiring a target picture according to the pressing track;
and sending the target picture.
In one embodiment, acquiring a target picture according to a pressing track comprises:
determining a trajectory matched with the pressing trajectory as a target trajectory in the at least one trajectory;
and acquiring a picture corresponding to the target track according to the preset mapping as a target picture.
In one embodiment, acquiring a target picture according to a pressing track comprises:
and generating a target picture according to the pressing track.
In one embodiment, the preset time period includes at least one time point, and detecting a pressing track of the user within the preset time period on a touch screen of the electronic device includes:
detecting a position and a force of a user's press on the touch screen at each of at least one time point;
and recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, wherein the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point.
In one embodiment, acquiring a target picture according to a pressing track comprises:
and according to the pressing track, generating a dynamic picture as a target picture according to the time sequence of at least one time point.
In one embodiment, the method further comprises:
and receiving a starting instruction input by a user, wherein the starting instruction is used for instructing the electronic equipment to start detecting the pressing track.
In one embodiment, the method further comprises:
and displaying the target picture on a display screen of the electronic equipment.
According to the electronic equipment provided by the embodiment of the disclosure, a pressing track of a user in a preset time period is detected on a touch screen of the electronic equipment, and the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period; acquiring a target picture according to the pressing track; and sending the target picture. In the process that a user sends messages or videos to and from friends, the target picture can be sent to the other side by pressing the touch screen of the electronic equipment, and the target picture is obtained according to the pressing track of the user, so that the communication interest of the user is increased, and the user experience is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. An information transmission method applied to an electronic device, the method comprising:
detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
acquiring a target picture according to the pressing track;
sending the target picture;
the preset time period comprises a time point, and a pressing track of a user in the preset time period is detected on a touch screen of the electronic equipment, and the method comprises the following steps:
detecting a position and a strength of a user's press on the touch screen at each point in time;
recording the position and strength of the user pressing on the touch screen at each time point and generating a pressing track, wherein the pressing track is used for indicating the position and strength of the user pressing on the touch screen at each time point;
obtaining a target picture according to the pressing track, comprising:
and according to the pressing track, generating dynamic pictures as the target pictures according to the time sequence of the time points.
2. The method of claim 1, wherein obtaining a target picture according to the compression trajectory comprises:
determining a trajectory matched with the pressing trajectory as a target trajectory in at least one trajectory;
and acquiring a picture corresponding to the target track according to a preset mapping as the target picture.
3. The method of claim 1, wherein obtaining a target picture according to the compression trajectory comprises:
and generating the target picture according to the pressing track.
4. The method of claim 1, further comprising:
and receiving a starting instruction input by a user, wherein the starting instruction is used for instructing the electronic equipment to start detecting the pressing track.
5. The method according to any one of claims 1-4, further comprising:
and displaying the target picture on a display screen of the electronic equipment.
6. An electronic device, comprising: the system comprises a track module, a picture module and a sending module;
the track module is used for detecting a pressing track of a user in a preset time period on a touch screen of the electronic equipment, wherein the pressing track is used for indicating the position and the force of the user pressing on the touch screen in the preset time period;
the picture module is used for acquiring a target picture according to the pressing track;
the sending module is used for sending the target picture;
the track module comprises a detection submodule and a recording submodule, and the preset time period comprises time points;
the detection submodule is used for detecting the pressing position and force of the user on the touch screen at each time point;
the recording submodule is used for recording the pressing position and force of the user on the touch screen at each time point and generating a pressing track, and the pressing track is used for indicating the pressing position and force of the user on the touch screen at each time point;
the picture module comprises a dynamic picture sub-module;
and the dynamic picture submodule is used for generating dynamic pictures as the target pictures according to the pressing tracks and the time sequence of time points.
7. The apparatus of claim 6, wherein the picture module comprises a matching sub-module and a mapping sub-module;
the matching submodule is used for determining a track matched with the pressing track as a target track in at least one track;
and the mapping submodule is used for acquiring a picture corresponding to the target track according to preset mapping and taking the picture as the target picture.
8. The device of claim 6, wherein the picture module comprises a picture generation sub-module;
and the picture generation submodule is used for generating the target picture according to the pressing track.
9. The device of claim 6, wherein the electronic device further comprises a receiving module;
the receiving module is used for receiving a starting instruction input by a user, and the starting instruction is used for indicating the electronic equipment to start detecting the pressing track.
10. The device of any of claims 6-9, wherein the electronic device further comprises a display module;
the display module is used for displaying the target picture on a display screen of the electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710079038.6A CN106919332B (en) | 2017-02-14 | 2017-02-14 | Information transmission method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710079038.6A CN106919332B (en) | 2017-02-14 | 2017-02-14 | Information transmission method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106919332A CN106919332A (en) | 2017-07-04 |
CN106919332B true CN106919332B (en) | 2020-09-11 |
Family
ID=59453633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710079038.6A Active CN106919332B (en) | 2017-02-14 | 2017-02-14 | Information transmission method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106919332B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900858A (en) * | 2018-08-09 | 2018-11-27 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus for giving virtual present |
CN109525885B (en) * | 2018-12-13 | 2021-07-20 | 广州华多网络科技有限公司 | Information processing method, information processing device, electronic equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780093A (en) * | 2014-01-15 | 2015-07-15 | 阿里巴巴集团控股有限公司 | Method and device for processing expression information in instant messaging process |
CN105138222A (en) * | 2015-08-26 | 2015-12-09 | 美国掌赢信息科技有限公司 | Method for selecting expression icon and electronic equipment |
US9354711B2 (en) * | 2014-09-30 | 2016-05-31 | Xerox Corporation | Dynamic hand-gesture-based region of interest localization |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105700789B (en) * | 2016-01-11 | 2019-05-10 | Oppo广东移动通信有限公司 | A kind of picture sending method and terminal device |
-
2017
- 2017-02-14 CN CN201710079038.6A patent/CN106919332B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780093A (en) * | 2014-01-15 | 2015-07-15 | 阿里巴巴集团控股有限公司 | Method and device for processing expression information in instant messaging process |
US9354711B2 (en) * | 2014-09-30 | 2016-05-31 | Xerox Corporation | Dynamic hand-gesture-based region of interest localization |
CN105138222A (en) * | 2015-08-26 | 2015-12-09 | 美国掌赢信息科技有限公司 | Method for selecting expression icon and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106919332A (en) | 2017-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170304735A1 (en) | Method and Apparatus for Performing Live Broadcast on Game | |
EP3147802B1 (en) | Method and apparatus for processing information | |
CN105786507B (en) | Display interface switching method and device | |
CN107635074B (en) | Method, apparatus and computer-readable storage medium for controlling alarm | |
CN107562349B (en) | Method and device for executing processing | |
CN106354504B (en) | Message display method and device | |
CN105654533A (en) | Picture editing method and picture editing device | |
US20220391446A1 (en) | Method and device for data sharing | |
CN105763552B (en) | Transmission method, device and system in remote control | |
CN105549300A (en) | Automatic focusing method and device | |
CN107272896B (en) | Method and device for switching between VR mode and non-VR mode | |
CN106775210B (en) | Wallpaper changing method and device | |
CN112950712B (en) | Positioning method and device, electronic equipment and storage medium | |
CN106919332B (en) | Information transmission method and equipment | |
US20170075671A1 (en) | Method and apparatus for installing application and smart device using the same | |
CN107222576B (en) | Photo album synchronization method and device | |
CN106447747B (en) | Image processing method and device | |
CN105721283B (en) | Method, device and equipment for sending screenshot message | |
CN107948876B (en) | Method, device and medium for controlling sound box equipment | |
CN107885464B (en) | Data storage method, device and computer readable storage medium | |
CN107733021B (en) | Control method and device of electronic equipment | |
CN106919302B (en) | Operation control method and device of mobile terminal | |
CN112423092A (en) | Video recording method and video recording device | |
CN106980781B (en) | External equipment and control method and device of external equipment | |
CN104092818A (en) | Method, device and system for text transmission |
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 |