CN107613135B - Information transmission method, first terminal, second terminal and storage medium - Google Patents

Information transmission method, first terminal, second terminal and storage medium Download PDF

Info

Publication number
CN107613135B
CN107613135B CN201710919376.6A CN201710919376A CN107613135B CN 107613135 B CN107613135 B CN 107613135B CN 201710919376 A CN201710919376 A CN 201710919376A CN 107613135 B CN107613135 B CN 107613135B
Authority
CN
China
Prior art keywords
information
picture
terminal
user
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710919376.6A
Other languages
Chinese (zh)
Other versions
CN107613135A (en
Inventor
叶墩辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Jifeng IOT Technology Co., Ltd
Original Assignee
Zhejiang Jifeng Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Jifeng Iot Technology Co ltd filed Critical Zhejiang Jifeng Iot Technology Co ltd
Priority to CN201710919376.6A priority Critical patent/CN107613135B/en
Publication of CN107613135A publication Critical patent/CN107613135A/en
Application granted granted Critical
Publication of CN107613135B publication Critical patent/CN107613135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an information transmission method, which comprises the following steps: acquiring a first picture with a user identifier; acquiring a user identifier in the first picture and a communication identifier corresponding to the user identifier to obtain first information; if a control instruction is received, responding to the control instruction and obtaining a target file based on the first picture and the first information; and sending the target file to the first terminal. The embodiment of the invention also discloses a first terminal, a second terminal and a storage medium, which simplify the operation process of sending the address book information, relieve the problem of over-high power consumption of the terminal and further improve the processing efficiency of the terminal.

Description

Information transmission method, first terminal, second terminal and storage medium
Technical Field
The present invention relates to information transmission technology in the field of communications, and in particular, to an information transmission method, a first terminal, a second terminal, and a storage medium.
Background
In the prior art, when a sending terminal needs to send information such as a contact way stored in an Application program (APP) to a receiving terminal through another APP, the sending terminal needs to quit the APP, and after obtaining the information such as the contact way from another APP, the sending terminal enters the APP again and sends the obtained information such as the contact way of another APP to the receiving terminal through the APP.
However, the operation process in the prior art is complicated, and especially when a large amount of information such as contact information needs to be sent, the complexity degree of the operation process is more obvious, which causes the power consumption of the terminal to be too fast, and reduces the processing efficiency of the terminal.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide an information transmission method, a first terminal, a second terminal, and a storage medium, so as to solve the problem in the prior art that an operation process is relatively complicated when address book information is sent through an application program, simplify the operation process of sending the address book information, alleviate the problem of too fast power consumption of the terminal, and further improve the processing efficiency of the terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method of information transmission, the method comprising:
acquiring a first picture with a user identifier;
acquiring a user identifier in the first picture and a communication identifier corresponding to the user identifier to obtain first information;
if a control instruction is received, responding to the control instruction and obtaining a target file based on the first picture and the first information;
sending the target file to a first terminal; and the target file is used for acquiring the identification information of the first picture by the first terminal and displaying the user identification and the communication identification corresponding to the user identification when the second information is detected.
Optionally, the step of obtaining the first picture with the user identifier includes:
receiving a screen capturing instruction, and responding to the screen capturing instruction to perform screen capturing processing on at least one user identifier displayed in a second terminal to obtain a second picture;
and receiving an editing instruction, and editing the second picture in response to the editing instruction to obtain the first picture.
Correspondingly, the step of obtaining the user identifier in the first picture and the communication identifier corresponding to the user identifier to obtain the first information includes:
determining a first editing proportion and a second editing proportion in the preset direction of the second picture based on the operation for generating the editing instruction;
and determining a user identifier and a communication identifier in the first picture based on the first editing proportion and the second editing proportion to obtain the first information.
Optionally, the step of determining the user identifier and the communication identifier in the first picture based on the first editing proportion and the second editing proportion to obtain the first information includes:
determining user identifiers which are sequenced as first in the preset direction of the second picture to obtain a first user identifier;
acquiring the position of a communication identifier corresponding to the first user identifier in a communication identifier storage list to obtain a first position;
counting the number of the user identifications included in the second picture to obtain a first numerical value;
calculating the first editing proportion, the second editing proportion, the first position and the first numerical value to obtain a second position of the communication identifier corresponding to the user identifier in the first picture;
and acquiring the user identifier in the second position and the communication identifier corresponding to the user identifier from the communication identifier storage list to obtain the first information.
Optionally, the step of performing calculation analysis on the first editing proportion, the second editing proportion, the first position, and the first numerical value to obtain that the position of the communication identifier corresponding to the user identifier in the first picture is the second position includes:
multiplying the first editing proportion by the first numerical value, rounding and adding the first numerical value and the first position to obtain a second numerical value;
multiplying the second editing proportion by the first numerical value, then subtracting one and rounding to obtain a third numerical value;
adding the third value to the first position to obtain a fourth value;
and determining the position between the position corresponding to the second numerical value and the position corresponding to the fourth numerical value in the communication identifier storage list as the second position.
Optionally, if a control instruction is received, the step of obtaining the target file based on the first picture and the first information in response to the control instruction includes:
if the control instruction is received, responding to the control instruction, and preprocessing the first picture by adopting a preset algorithm to obtain identification information of the first picture;
setting the identification information of the first picture as an index keyword of the first information based on the first information to obtain second information;
and packaging the first picture and the second information to obtain the target file.
Optionally, if the control instruction is received, the step of responding to the control instruction and preprocessing the first picture by using a preset algorithm to obtain the identification information of the first picture includes:
if the control instruction is received, carrying out hash processing on the first picture by adopting a hash algorithm to obtain a hash value of the first picture;
and setting the hash value of the first picture as the identification information of the first picture.
A method of information transmission, the method comprising:
receiving a target file sent by a second terminal;
analyzing the target file to obtain a first picture;
preprocessing the first picture by adopting a preset algorithm to obtain identification information of the first picture;
detecting whether second information which takes the identification information of the first picture as an index key exists in the target file;
if the second information is detected, displaying the first information in the second information; the first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
Optionally, after the step of displaying the first information in the second information if the second information is detected, the method further includes:
receiving a selection instruction;
and storing the user identification in the first information indicated in the selection instruction and the communication identification corresponding to the user identification.
A second terminal, the second terminal comprising: the system comprises a first processor, a first memory and a first communication bus; wherein:
the first communication bus is used for realizing connection communication between the first processor and the first memory;
the first processor is used for executing the information transmission program stored in the first memory to realize the following steps:
acquiring a first picture with a user identifier;
acquiring the user identification in the first picture and a communication identification corresponding to the user identification to obtain first information;
if a control instruction is received, responding to the control instruction and obtaining a target file based on the first picture and the first information;
sending the target file to a first terminal; and the target file is used for acquiring the identification information of the first picture by the first terminal and displaying the user identification and the communication identification corresponding to the user identification when the second information is detected.
A first terminal, the first terminal comprising: the second processor, the second memory and the second communication bus; wherein:
the second communication bus is used for realizing connection communication between the second processor and the second memory;
the second processor is used for executing the information transmission program stored in the second memory to realize the following steps:
receiving a target file sent by a second terminal;
analyzing the target file to obtain a first picture;
preprocessing the first picture by adopting a preset algorithm to obtain identification information of the first picture;
detecting whether second information which takes the identification information of the first picture as an index key exists in the target file;
if the second information is detected, displaying the first information in the second information; the first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
A computer-readable storage medium having stored thereon an information transmission program which, when executed by a processor, implements the steps of the information transmission method of any one of the above.
According to the information transmission method, the first terminal, the second terminal and the storage medium provided by the embodiment of the invention, after the first picture with the user identification is obtained, the user identification in the first picture and the communication identification corresponding to the user identification are obtained to obtain the first information, if the control instruction is received, the control instruction is responded, the target file is obtained based on the first picture and the first information, and then the target file is sent to the first terminal. Therefore, the second terminal can send at least one user identification in the first picture and the communication identification corresponding to the user identification to the first terminal according to the received control instruction, the problem that the operation process is relatively complex when the address book information is sent through an application program in the prior art is solved, the operation process of sending the address book information is simplified, the problem that the electric quantity consumption of the terminal is too fast is relieved, and the processing efficiency of the terminal is further improved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an information transmission method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another information transmission method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another information transmission method according to an embodiment of the present invention;
fig. 6 is a schematic view of an application scenario of a second terminal according to an embodiment of the present invention;
fig. 7 is a schematic view of an application scenario of another second terminal according to an embodiment of the present invention;
fig. 8 is a schematic view of an application scenario of a second terminal according to another embodiment of the present invention;
fig. 9 is a schematic view of an application scenario of a second terminal according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a first terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
An embodiment of the present invention provides an information transmission method, which is shown in fig. 3 and includes the following steps:
step 301, a first picture with a user identifier is obtained.
Specifically, the step 301 of acquiring the first picture with the user identifier may be implemented by the second terminal. The user identifier may be identification information such as a contact name or a user name in the application address book. The first picture may be obtained by the second terminal obtaining the address book currently displayed by the second terminal, for example, the first picture may be obtained by performing full screen capture processing or long screen capture processing on the address book currently displayed by the second terminal; the second terminal may also obtain a second picture after obtaining a second picture from an address book currently displayed by the second terminal, and edit the second picture, for example, the second picture, that is, a full-screen picture or a long-shot picture, may be obtained by cutting the second picture according to a received cutting instruction sent by a user, so as to obtain a first picture having information required by the user, for example, names of some contacts in the address book.
When the second terminal displays the address book of one application program, the address book can be displayed in a list view (ListView) mode, so that the terminal acquires the first picture with the user identification, and the user identification is arranged in a list shape.
Step 302, obtaining the user identifier in the first picture and the communication identifier corresponding to the user identifier to obtain the first information.
Specifically, the step 302 of acquiring the user identifier in the first picture and the communication identifier corresponding to the user identifier to obtain the first information may be implemented by the second terminal. The communication identifier may be, for example, identification information that is assigned to the user by the operator, such as a telephone number or an application number, and corresponds to the user identifier one to one.
Because the user identifier and the communication identifier are stored in a one-to-one correspondence manner, when the second terminal displays the user identifier information, the second terminal can determine the communication identifier corresponding to the currently displayed user identifier, so that after the second terminal acquires the first picture, the second terminal can acquire the communication identifier corresponding to the user identifier displayed in the first picture by adopting an Adapter (Adapter) in a background running process.
Step 303, if the control instruction is received, responding to the control instruction and obtaining the target file based on the first picture and the first information.
Specifically, step 303, "if the control instruction is received, the target file is obtained in response to the control instruction and based on the first picture and the first information," may be implemented by the second terminal. The control instruction may be generated when the second terminal acquires the first picture and the first information, generates a prompt message to prompt the user whether to associate the first picture with the first information, and sends the associated first picture with the first information according to the prompt message. The control instruction may be obtained by the second terminal detecting that a position of a touch pressure or a current change of the touch screen generated by a user touching the touch screen of the second terminal is the same as a preset position for generating the control instruction, or may be obtained by the second terminal receiving voice information sent by the user through a microphone and obtaining the voice information sent by the user when the voice information sent by the user is the same as preset voice information corresponding to the time of generating the control instruction, or converting the received voice information sent by the user into corresponding text information and obtaining the text information when the text information is the same as preset text information corresponding to the time of generating the control instruction.
And after receiving the control instruction, the second terminal responds to the control instruction and performs correlation processing on the first picture and the first information according to a processing method preset in the second terminal, performs preprocessing on the first picture according to a preset algorithm to obtain characteristic information of the first picture as identification information of the first picture, and uses the identification information of the first picture as an index key value of the first picture and the first information obtained after the correlation processing to obtain target file information carrying the first picture information and the first information. When the second terminal receives the control instruction and responds to the control instruction, the first picture and the first information are subjected to correlation processing, the first picture and the first information are packaged, the packaged first picture and the packaged first information are stored into the value of the corresponding Map container as data, meanwhile, the first picture can be preprocessed by adopting a preset algorithm, the identification information of the first picture is determined, and the identification information of the first picture is used as an index keyword (key) of the packaged first picture and the packaged first information in the Map container.
And step 304, sending the target file to the first terminal.
The target file is used by the first terminal to acquire identification information of the first picture, and displays the user identification and the communication identification corresponding to the user identification when the second information is detected.
Specifically, the step 304 "sending the target file to the first terminal" may be implemented by the second terminal. The second terminal may transmit the target file to the first terminal by wire, wireless, bluetooth, infrared, or other transmission methods. The first terminal and the second terminal may or may not be the same terminal, and the first terminal and the second terminal only need to be capable of achieving communication, for example, the first terminal and the second terminal may both be a mobile phone or a computer, or the first terminal is a mobile phone and the second terminal is a computer.
After receiving the target file, the first terminal can analyze the target file to obtain a first picture, and also process the first picture by adopting a preset algorithm to obtain identification information of the first picture, so that the first terminal can index the identification information of the first picture as an index keyword to obtain a user identification corresponding to the identification information of the first picture and a communication identification corresponding to the user identification, and the sending process of the contact information is realized.
In the information transmission method provided by the embodiment of the invention, after the second terminal acquires the first picture with the user identifier, the user identifier in the first picture and the communication identifier corresponding to the user identifier are acquired to obtain the first information, if the control instruction is received, the control instruction is responded, the target file is obtained based on the first picture and the first information, and then the target file is sent to the first terminal. Therefore, the second terminal can send at least one user identification in the first picture and the communication identification corresponding to the user identification to the first terminal according to the received control instruction, the problem that the operation process is relatively complex when the address book information is sent through an application program in the prior art is solved, the operation process of sending the address book information is simplified, the problem that the electric quantity consumption of the terminal is too fast is relieved, and the processing efficiency of the terminal is further improved.
An embodiment of the present invention provides an information transmission method, which is shown in fig. 4 and includes the following steps:
step 401, receiving a target file sent by a second terminal.
Specifically, the step 401 "receiving the target file sent by the second terminal" may be implemented by the first terminal. The target file sent by the second terminal and received by the first terminal may be a first picture and second information which take identification information of the first picture as an index key word, or may be a first picture sent when the second terminal does not receive a control instruction; wherein the second information comprises the first information.
Step 402, analyzing the target file to obtain a first picture.
Specifically, the step 402 of analyzing the target file to obtain the first picture may be implemented by the first terminal. The method for analyzing and processing the target file by the first terminal corresponds to the method for obtaining the target file by the second terminal.
And 403, preprocessing the first picture by adopting a preset algorithm to obtain the identification information of the first picture.
Specifically, the step 403 "preprocessing the first picture by using a preset algorithm to obtain the identification information of the first picture" may be implemented by the first terminal. The preset algorithm may be a predetermined algorithm for obtaining the identification information of the first picture.
Step 404, detecting whether second information using the identification information of the first picture as an index key exists in the target file.
Specifically, the step 404 of detecting whether the target file has the second information using the identification information of the first picture as the index key may be implemented by the first terminal.
Step 405, if the second information is detected, displaying the first information in the second information.
The first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
Specifically, step 405, "if the second information is detected, displaying the first information in the second information" may be implemented by the first terminal.
In the information transmission method provided by the embodiment of the invention, after receiving a target file sent by a second terminal, a first terminal analyzes the target file to obtain a first picture, then preprocesses the first picture by adopting a preset algorithm to obtain identification information of the first picture, detects whether second information using the identification information of the first picture as an index keyword exists in the target file, and displays the first information in the second information if the second information is detected. Therefore, the first terminal can simultaneously receive the at least one user identification and the communication identification corresponding to the user identification and display the communication identification corresponding to the at least one user identification and the user identification, the problem that the operation process is relatively complicated when the address book information is sent through the application program in the prior art is solved, the operation process of sending the address book information is simplified, the problem that the electric quantity of the terminal is too fast consumed is solved, and the processing efficiency of the terminal is further improved.
Based on the foregoing embodiment, an embodiment of the present invention provides an information transmission method, where in the embodiment of the present invention, a first terminal and a second terminal are both mobile phones, and the second terminal sends contact information in an address book of the second terminal to the first terminal through an instant chat application, and as shown in fig. 5, the method includes the following steps:
and step 501, the second terminal receives a screen capture instruction, and performs screen capture processing on at least one user identifier displayed in the second terminal in response to the screen capture instruction to obtain a second picture.
Specifically, the screen capture instruction may be sent to the second terminal by the user through the screen capture position displayed on the display screen of the second terminal by touch, or may be sent to the second terminal after the user controls a physical key of the second terminal for implementing screen capture.
When two users chat through the instant chat application programs installed in the first terminal and the second terminal, if the user of the first terminal wants the user of the second terminal to send some telephone contacts and telephone numbers stored by the user of the second terminal; at this time, the user of the second terminal quits from the instant chat application program, and opens the address book of the second terminal, so that the second terminal currently displays the contact name desired by the user of the first terminal, namely the contact name to be sent by the second terminal; the second terminal receives a position corresponding to a screen capture displayed by the second terminal through touch control by a user of the second terminal, responds to the screen capture instruction after receiving the screen capture instruction, and carries out full-screen capture processing on an address list interface currently displayed by the second terminal to obtain a full-screen picture second picture with a contact name.
And 502, the second terminal receives the editing instruction and edits the second picture in response to the editing instruction to obtain the first picture.
Specifically, the editing instruction may be an instruction for performing an operation such as cropping on the second picture. When some contact names in the second picture acquired by the second terminal are useless for the first terminal, the user of the second terminal can send an editing instruction to the second terminal, so that the second terminal responds to the editing instruction and edits the second picture, cuts out some unnecessary contact names, only leaves pictures with necessary contact names, and obtains the first picture.
Step 503, the second terminal determines a first editing proportion and a second editing proportion in the preset direction of the second picture based on the operation for generating the editing instruction.
Specifically, it is assumed that the display screen of the second terminal is a rectangular area formed by two identical and parallel short sides and two identical and parallel long sides intersecting each other perpendicularly, the preset direction is the direction in which the long side is located if the list display of the contact name storage is parallel to the short sides during screen capture, and the preset direction is the direction in which the short sides are located if the list display of the contact name storage is perpendicular to the short sides during screen capture. When the intersection point between the upper short side and the left long side of the rectangular area is taken as an origin, and the preset direction of the second picture of the screen capture is the direction of the left long side, it is assumed that the determined first editing proportion is n1, and the second editing proportion is n2, wherein 0 ≦ n1 ≦ n2 ≦ 1, the second terminal deletes the picture corresponding to the editing proportion ranging from 0 to n1 and the picture corresponding to the editing proportion ranging from n2 to 1, and retains the picture corresponding to the editing proportion ranging from n1 to n2 to obtain the first picture. Correspondingly, as shown in fig. 6, after the user touches the display screen corresponding to the edit displayed on the second terminal, and the second terminal receives the edit instruction, the second terminal edits the second picture, where the corresponding preset direction is the direction of the y-axis shown in fig. 6, a is a picture corresponding to the edit proportion ranging from 0 to n1, B is a picture corresponding to the edit proportion ranging from n1 to n2, C is a picture corresponding to the edit proportion ranging from n2 to 1, A, C is a picture to be deleted, and B is a finally obtained picture, that is, the first picture.
And step 504, the second terminal determines the user identifier and the communication identifier in the first picture based on the first editing proportion and the second editing proportion to obtain first information.
Wherein, step 504 can be realized by the following steps a to e:
step a, the second terminal determines the user identifiers which are sequenced to be the first user identifiers in the preset direction of the second picture, and the first user identifiers are obtained.
Specifically, the second terminal obtains the first contact name displayed on the long edge on the left side in the preset direction when the full screen capture processing is performed.
And b, the second terminal acquires the position of the communication identifier corresponding to the first user identifier in the communication identifier storage list to obtain the first position.
Specifically, assuming that M groups of contact names and corresponding phone numbers are stored in the address book of the second terminal in total, when the second terminal performs full-screen capture processing, the first user identifier of the second terminal in the preset direction is zhang, and the positions of the phone numbers of zhang and zhang in the address book are M1 groups, where M1 is greater than or equal to 1 and less than or equal to M.
And c, the second terminal counts the number of the user identifications included in the second picture to obtain a first numerical value.
Specifically, it is assumed that the total number of the user identifiers that can be displayed by the second terminal when the preset direction is the left long side is L, that is, the first numerical value of the number of the user identifiers included in the second picture of the corresponding obtained full-screen picture is L.
And d, calculating and analyzing the first editing proportion, the second editing proportion, the first position and the first numerical value by the terminal to obtain a second position as the position of the communication identifier corresponding to the user identifier in the first picture.
Wherein, step d can be realized by steps 1 to 4:
and step 1, the second terminal multiplies the first editing proportion by the first numerical value, rounds the product and adds the product to the first position to obtain a second numerical value.
Specifically, the second value s1 may be obtained by calculating a formula s1 ═ M1+ [ n1 × ] which is a rounding operation, and when calculating the second value, rounding may be performed upward, that is, [ n1 × ] is 4 when assuming that n1 × L is 4.2 or 4.8, and the rounding is performed upward only by way of example and not limitation, and how to perform the rounding is determined according to an actual application scenario.
And 2, multiplying the second editing proportion by the first numerical value, then subtracting one and rounding to obtain a third numerical value by the second terminal.
Specifically, s2 may be calculated to obtain the third value according to the formula s2 ═ n2 × L-1, and in calculating the third value, the third value may be rounded down, that is, assuming that n2 × L-1 is 4.2 or 4.8, [ n2 × L-1] is 5, where rounding up is merely for example, and is not limited, and how to round is determined according to actual application scenarios.
And 3, adding the third numerical value and the first position by the second terminal to obtain a fourth numerical value.
Specifically, the fourth value s3 may be obtained by calculation using the formula s3 ═ s2+ M1.
And 4, the second terminal determines the position from the position corresponding to the second numerical value to the position corresponding to the fourth numerical value in the communication identifier storage list as the second position.
And e, the second terminal acquires the user identifier in the second position and the communication identifier corresponding to the user identifier from the communication identifier storage list to obtain the first information.
Specifically, the second terminal starts to acquire the contact name of the s1 th group and the corresponding phone number from the address list until the contact name of the s3 th group and the corresponding phone number are acquired.
And 505, if the control instruction is received, the second terminal responds to the control instruction and preprocesses the first picture by adopting a preset algorithm to obtain the identification information of the first picture.
Specifically, if the control instruction is not received, the second terminal sends the first picture to the first terminal.
It should be noted that the first picture may be a full-screen picture that is not edited, that is, when the first picture is the second picture, the second terminal performs the operation corresponding to step 505 and step 515.
Wherein step 505 can be implemented by the following steps m to n:
and m, if the control instruction is received, the second terminal carries out hash processing on the first picture by adopting a hash algorithm to obtain a hash value of the first picture.
And n, setting the hash value of the first picture as the identification information of the first picture by the second terminal.
Step 506, the second terminal sets the index keyword of the first information as the identification information of the first picture based on the first information to obtain the second information.
And step 507, the second terminal packages the first picture and the second information to obtain a target file.
Specifically, the second terminal may perform a packing process on the first picture and the second information by using a file compression algorithm to obtain the target file.
And step 508, the second terminal sends the target file to the first terminal.
The first terminal is used for receiving the target file and displaying first information or a first picture in the target file.
In step 509, the first terminal receives the target file sent by the second terminal.
And 510, the first terminal analyzes the target file to obtain a first picture.
Specifically, the first terminal may perform parsing processing by using a decompression algorithm corresponding to the compression algorithm to obtain the first picture.
And 511, the first terminal adopts a preset algorithm to preprocess the first picture to obtain the identification information of the first picture.
Step 512, the first terminal detects whether second information using the identification information of the first picture as an index key exists in the target file.
Step 513, if the second information is detected, the first terminal displays the first information in the second information.
The first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
Step 514, the first terminal receives the selection instruction.
Specifically, the selection instruction may be an instruction sent by the user of the first terminal to the first terminal, and is an instruction generated when the user of the first terminal touches a contact name and/or a corresponding phone number in the second information displayed by the first terminal.
Step 515, the first terminal stores the user identifier in the first information indicated in the selection instruction and the communication identifier corresponding to the user identifier.
In a second terminal application scenario corresponding to the embodiment of the present invention, if the second terminal is a mobile phone, as shown in fig. 7, the second terminal performs screen capture processing on a currently displayed telephone address book interface after receiving a screen capture instruction, and obtains a preview picture E whose full-screen screenshot with a contact name is suspended in the upper right corner of fig. 7; the user can click the floating preview picture E, so that the preview picture E can be displayed in the second terminal, as shown in fig. 8, so as to facilitate subsequent editing processing and sharing operations, or directly perform sharing operations; after the second terminal processes the acquired contact name and the phone number corresponding to the contact name in the preview picture E by using the method of the present invention, the user is prompted to touch the touch screen position where the share displayed by the second terminal is located, if the user of the second terminal clicks the share, the sharable application program as shown in fig. 9 may appear, and an object for realizing information transmission may be selected after selecting one application program.
It should be noted that, for the explanation of the same steps or concepts in the present embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here.
In the information transmission method provided by the embodiment of the invention, the second terminal receives a screen capture instruction, performs screen capture processing on at least one user identifier displayed in the second terminal in response to the screen capture instruction to obtain a second picture, receives an editing instruction, edits the second picture in response to the editing instruction to obtain a first picture, determines a first editing proportion and a second editing proportion in a preset direction of the second picture based on an operation for generating the editing instruction, determines the user identifier and a communication identifier in the first picture based on the first editing proportion and the second editing proportion to obtain first information, performs preprocessing on the first picture by using a preset algorithm in response to the control instruction to obtain identification information of the first picture if the control instruction is received, sets an index keyword of the first information as the identification information of the first picture based on the first information, the method comprises the steps that second information is obtained, the second terminal packages a first picture and the second information to obtain a target file and sends the target file to the first terminal, the first terminal receives the target file sent by the second terminal, analyzes the target file to obtain a first picture, preprocesses the first picture by adopting a preset algorithm to obtain identification information of the first picture, then detects whether second information with the first identification information as an index keyword exists in the target file, if the second information is detected, the first terminal displays the first information in the second information, and stores a user identification and a communication identification corresponding to the user identification in the first information indicated in a selection instruction based on a received selection instruction. Therefore, the problem that the operation process is relatively complicated when the address book information is sent through the application program in the prior art is solved
Trivial problems, simplifies the operation process of sending the address book information, relieves the problem of over-high power consumption of the terminal and further solves the problem of over-high power consumption of the terminal
The processing efficiency of the terminal is improved, and the receiving end can simultaneously receive at least one address book information and simultaneously store at least one address book information
And the address book information simplifies the repeated operation process in the storage process.
Based on the foregoing embodiments, an embodiment of the present invention provides a second terminal 6, which may be applied to an information transmission method provided in embodiments corresponding to fig. 3 and 5, and as shown in fig. 10, the second terminal may include: a first processor 61, a first memory 62 and a first communication bus 63, wherein:
the first communication bus 63 is used to realize connection communication between the first processor 61 and the first memory 62.
The first processor 61 is configured to execute the information transmission program stored in the first memory 62 to implement the following steps:
a first picture with a user identification is obtained.
And acquiring the user identification in the first picture and the communication identification corresponding to the user identification to obtain first information.
And if the control instruction is received, responding to the control instruction and obtaining the target file based on the first picture and the first information.
And sending the target file to the first terminal.
The target file is used by the first terminal to acquire identification information of the first picture, and displays the user identification and the communication identification corresponding to the user identification when the second information is detected.
Specifically, in other embodiments of the present invention, the first processor 61 is further configured to execute an information transmission program to implement the following steps:
and receiving a screen capture instruction, and responding to the screen capture instruction to perform screen capture processing on at least one user identifier displayed in the second terminal to obtain a second picture.
And receiving an editing instruction, and editing the second picture in response to the editing instruction to obtain the first picture.
Specifically, in other embodiments of the present invention, the first processor 61 is further configured to execute an information transmission program to implement the following steps:
and determining a first editing proportion and a second editing proportion in the preset direction of the second picture based on the operation for generating the editing instruction.
And determining the user identifier and the communication identifier in the first picture based on the first editing proportion and the second editing proportion to obtain first information.
Specifically, in other embodiments of the present invention, the first processor 61 is further configured to execute an information transmission program to implement the following steps:
and dividing the third focusing area according to a preset division rule to obtain a first focusing area.
Specifically, in other embodiments of the present invention, the processor 51 is further configured to execute an information transmission program to implement the following steps:
and determining the user identifiers which are sequenced to be the first user identifiers in the preset direction of the second picture to obtain the first user identifiers.
And acquiring the position of the communication identifier corresponding to the first user identifier in the communication identifier storage list to obtain a first position.
And counting the number of the user identifications included in the second picture to obtain a first numerical value.
And calculating and analyzing the first editing proportion, the second editing proportion, the first position and the first numerical value to obtain a second position which is the position of the communication identifier corresponding to the user identifier in the first picture.
And acquiring the user identifier in the second position and the communication identifier corresponding to the user identifier from the communication identifier storage list to obtain the first information.
Specifically, in other embodiments of the present invention, the first processor 61 is further configured to execute an information transmission program to implement the following steps:
and multiplying the first editing proportion by the first numerical value, rounding and adding the first numerical value and the first position to obtain a second numerical value.
And multiplying the second editing proportion by the first numerical value, then subtracting one and rounding to obtain a third numerical value.
And adding the third value to the first position to obtain a fourth value.
And determining the position from the position corresponding to the second numerical value to the position corresponding to the fourth numerical value in the communication identifier storage list as the second position.
Specifically, in other embodiments of the present invention, the first processor 61 is further configured to execute an information transmission program to implement the following steps:
and if the control instruction is received, responding to the control instruction and adopting a preset algorithm to preprocess the first picture to obtain the identification information of the first picture.
And setting the identification information of the first picture as an index key word of the first information based on the first information to obtain second information.
And packaging the first picture and the second information to obtain a target file.
Specifically, in other embodiments of the present invention, the first processor 61 is further configured to execute an information transmission program to implement the following steps:
and if the control instruction is received, performing hash processing on the first picture by adopting a hash algorithm to obtain a hash value of the first picture.
And setting the hash value of the first picture as the identification information of the first picture.
It should be noted that, in the interaction process between steps implemented by the processor in this embodiment, reference may be made to the interaction process in the information transmission method provided in the embodiments corresponding to fig. 3 and 5, and details are not described here again.
In the second terminal provided in the embodiment of the present invention, after the second terminal acquires the first picture with the user identifier, the second terminal acquires the user identifier in the first picture and the communication identifier corresponding to the user identifier to obtain the first information, and if a control instruction is received, the second terminal responds to the control instruction and obtains the target file based on the first picture and the first information, and then sends the target file to the first terminal. Therefore, the second terminal can send at least one user identification in the first picture and the communication identification corresponding to the user identification to the first terminal according to the received control instruction, the problem that the operation process is relatively complex when the address book information is sent through an application program in the prior art is solved, the operation process of sending the address book information is simplified, the problem that the electric quantity consumption of the terminal is too fast is relieved, and the processing efficiency of the terminal is further improved.
Based on the foregoing embodiments, an embodiment of the present invention provides a first terminal 7, which may be applied to an information transmission method provided in the embodiments corresponding to fig. 4 to 5, and as shown in fig. 11, the first terminal may include: a second processor 71, a second memory 72, and a second communication bus 73, wherein:
the second communication bus 73 is used to realize connection communication between the second processor 71 and the second memory 72.
The second processor 71 is configured to execute the information transmission program stored in the second memory 72 to implement the following steps:
and receiving the target file sent by the second terminal.
And analyzing the target file to obtain a first picture.
And preprocessing the first picture by adopting a preset algorithm to obtain the identification information of the first picture.
And detecting whether second information which takes the identification information of the first picture as an index key exists in the target file.
And if the second information is detected, displaying the first information in the second information.
The first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
Specifically, in another embodiment of the present invention, after the step of displaying the first information in the second information if the second information is detected, the second processor 71 is further configured to execute an information transmission program to implement the following steps:
a selection instruction is received.
And storing the user identification in the first information indicated in the selection instruction and the communication identification corresponding to the user identification.
In the first terminal provided in the embodiment of the present invention, after receiving a target file sent by a second terminal, the first terminal analyzes the target file to obtain a first picture, then preprocesses the first picture by using a preset algorithm to obtain identification information of the first picture, detects whether second information using the identification information of the first picture as an index keyword exists in the target file, and displays the first information in the second information if the second information is detected. Therefore, the first terminal can simultaneously receive the at least one user identification and the communication identification corresponding to the user identification and display the communication identification corresponding to the at least one user identification and the user identification, the problem that the operation process is relatively complicated when the address book information is sent through the application program in the prior art is solved, the operation process of sending the address book information is simplified, the problem that the electric quantity of the terminal is too fast consumed is solved, and the processing efficiency of the terminal is further improved.
Based on the foregoing embodiments, embodiments of the present invention provide a computer-readable storage medium storing one or more information transmission programs, the one or more information transmission programs being executable by one or more processors, the processor executing the information transmission program steps being capable of executing the steps of the information transmission program methods of other embodiments of the present invention with reference to the processors.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. An information transmission method, characterized in that the method comprises:
acquiring a first picture with a user identifier;
acquiring a user identifier in the first picture and a communication identifier corresponding to the user identifier to obtain first information;
if a control instruction is received, responding to the control instruction and obtaining a target file based on the first picture and the first information, and if the control instruction is received, responding to the control instruction and obtaining the target file based on the first picture and the first information, the method comprises the following steps: if the control instruction is received, responding to the control instruction, and performing preset processing on the first picture by adopting a preset algorithm to obtain identification information of the first picture; setting the identification information of the first picture as an index keyword of the first information based on the first information to obtain second information; packaging the first picture and the second information to obtain the target file;
sending the target file to a first terminal; and the target file is used for acquiring the identification information of the first picture by the first terminal and displaying the user identification and the communication identification corresponding to the user identification when the second information is detected.
2. The method of claim 1, wherein the step of obtaining the first picture with the user identifier comprises:
receiving a screen capturing instruction, and responding to the screen capturing instruction to perform screen capturing processing on at least one user identifier displayed in a second terminal to obtain a second picture;
receiving an editing instruction, and editing the second picture in response to the editing instruction to obtain the first picture;
correspondingly, the step of obtaining the user identifier in the first picture and the communication identifier corresponding to the user identifier to obtain the first information includes:
determining a first editing proportion and a second editing proportion in the preset direction of the second picture based on the operation for generating the editing instruction;
and determining a user identifier and a communication identifier in the first picture based on the first editing proportion and the second editing proportion to obtain the first information.
3. The method according to claim 2, wherein the step of determining the user identifier and the communication identifier in the first picture based on the first editing ratio and the second editing ratio to obtain the first information comprises:
determining user identifiers which are sequenced as first in the preset direction of the second picture to obtain a first user identifier;
acquiring the position of a communication identifier corresponding to the first user identifier in a communication identifier storage list to obtain a first position;
counting the number of the user identifications included in the second picture to obtain a first numerical value;
calculating the first editing proportion, the second editing proportion, the first position and the first numerical value to obtain a second position of the communication identifier corresponding to the user identifier in the first picture;
and acquiring the user identifier in the second position and the communication identifier corresponding to the user identifier from the communication identifier storage list to obtain the first information.
4. The method according to claim 3, wherein the step of performing computational analysis on the first editing proportion, the second editing proportion, the first position, and the first numerical value to obtain that the position of the communication identifier corresponding to the user identifier in the first picture is a second position includes:
multiplying the first editing proportion by the first numerical value, rounding and adding the first numerical value and the first position to obtain a second numerical value;
multiplying the second editing proportion by the first numerical value, then subtracting one and rounding to obtain a third numerical value;
adding the third value to the first position to obtain a fourth value;
and determining the position between the position corresponding to the second numerical value and the position corresponding to the fourth numerical value in the communication identifier storage list as the second position.
5. An information transmission method, characterized in that the method comprises:
receiving a target file sent by a second terminal;
analyzing the target file to obtain a first picture;
preprocessing the first picture by adopting a preset algorithm to obtain identification information of the first picture;
detecting whether second information which takes the identification information of the first picture as an index key exists in the target file, wherein the second information which takes the identification information of the first picture as the index key is obtained by setting the index key of the first information as the identification information of the first picture based on the first information;
if the second information is detected, displaying the first information in the second information; the first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
6. The method of claim 5, wherein after the step of displaying the first information of the second information if the second information is detected, further comprising:
receiving a selection instruction;
and storing the user identification in the first information indicated in the selection instruction and the communication identification corresponding to the user identification.
7. A second terminal, characterized in that the second terminal comprises: the system comprises a first processor, a first memory and a first communication bus; wherein:
the first communication bus is used for realizing connection communication between the first processor and the first memory;
the first processor is used for executing the information transmission program stored in the first memory to realize the following steps:
acquiring a first picture with a user identifier;
acquiring the user identification in the first picture and a communication identification corresponding to the user identification to obtain first information;
if a control instruction is received, responding to the control instruction and obtaining a target file based on the first picture and the first information, and if the control instruction is received, responding to the control instruction and obtaining the target file based on the first picture and the first information, the method comprises the following steps: if the control instruction is received, responding to the control instruction, and performing preset processing on the first picture by adopting a preset algorithm to obtain identification information of the first picture; setting the identification information of the first picture as an index keyword of the first information based on the first information to obtain second information; packaging the first picture and the second information to obtain the target file;
sending the target file to a first terminal; and the target file is used for acquiring the identification information of the first picture by the first terminal and displaying the user identification and the communication identification corresponding to the user identification when the second information is detected.
8. A first terminal, characterized in that the first terminal comprises: the second processor, the second memory and the second communication bus; wherein:
the second communication bus is used for realizing connection communication between the second processor and the second memory;
the second processor is used for executing the information transmission program stored in the second memory to realize the following steps:
receiving a target file sent by a second terminal;
analyzing the target file to obtain a first picture;
preprocessing the first picture by adopting a preset algorithm to obtain identification information of the first picture;
detecting whether second information which takes the identification information of the first picture as an index key exists in the target file, wherein the second information which takes the identification information of the first picture as the index key is obtained by setting the index key of the first information as the identification information of the first picture based on the first information;
if the second information is detected, displaying the first information in the second information; the first information is a user identifier in the first picture and a communication identifier corresponding to the user identifier.
9. A computer-readable storage medium, characterized in that an information transmission program is stored thereon, which when executed by a processor implements the steps of the information transmission method according to any one of claims 1 to 4 or 5 to 6.
CN201710919376.6A 2017-09-30 2017-09-30 Information transmission method, first terminal, second terminal and storage medium Active CN107613135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710919376.6A CN107613135B (en) 2017-09-30 2017-09-30 Information transmission method, first terminal, second terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710919376.6A CN107613135B (en) 2017-09-30 2017-09-30 Information transmission method, first terminal, second terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107613135A CN107613135A (en) 2018-01-19
CN107613135B true CN107613135B (en) 2020-06-23

Family

ID=61067785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710919376.6A Active CN107613135B (en) 2017-09-30 2017-09-30 Information transmission method, first terminal, second terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107613135B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840859A (en) * 2012-11-27 2014-06-04 深圳市腾讯计算机系统有限公司 Method, terminal and system for transmitting files
EP3023930A1 (en) * 2013-09-12 2016-05-25 Samsung Electronics Co., Ltd. Screenshot processing device and method for same
CN106572226A (en) * 2016-10-25 2017-04-19 乐视控股(北京)有限公司 Contact person sharing method, address list sharing terminal and address list receiving terminal
CN106919315A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of sectional drawing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840859A (en) * 2012-11-27 2014-06-04 深圳市腾讯计算机系统有限公司 Method, terminal and system for transmitting files
EP3023930A1 (en) * 2013-09-12 2016-05-25 Samsung Electronics Co., Ltd. Screenshot processing device and method for same
CN106919315A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of sectional drawing
CN106572226A (en) * 2016-10-25 2017-04-19 乐视控股(北京)有限公司 Contact person sharing method, address list sharing terminal and address list receiving terminal

Also Published As

Publication number Publication date
CN107613135A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN108572764B (en) Character input control method and device and computer readable storage medium
CN107967322B (en) File classification display method, mobile terminal and computer readable storage medium
CN107038245B (en) Page switching method, mobile terminal and storage medium
CN107329682B (en) Edge interaction method and mobile terminal
CN108280136B (en) Multimedia object preview method, equipment and computer readable storage medium
CN107562705B (en) Data export method, server and computer readable storage medium
CN107346200B (en) Interval screenshot method and terminal
CN107979667B (en) Dual-screen display method, mobile terminal and computer-readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN109375846B (en) Method and device for displaying breathing icon, mobile terminal and readable storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN110278481B (en) Picture-in-picture implementation method, terminal and computer readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN109725819B (en) Interface display method and device, double-screen double-system terminal and readable storage medium
CN111324407A (en) Animation display method, terminal and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN112102780B (en) Display frame rate regulation and control method, device and computer readable storage medium
CN107347114B (en) Voice information receiving and sending control method and terminal
CN112612372A (en) Touch event regulation and control method and device and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN111931155A (en) Verification code input method, verification code input equipment and storage medium
CN109683778B (en) Flexible screen control method and device and computer readable storage medium
CN108900696B (en) Data processing method, terminal and computer readable storage medium
CN108566476B (en) Information processing method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200514

Address after: Building 1, No. 28, Dingsheng Road, LEIDIAN Town, Deqing County, Huzhou City, Zhejiang Province

Applicant after: Zhejiang Jifeng IOT Technology Co., Ltd

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant