CN107957840B - Two-dimensional code sending and receiving processing method, device and terminal - Google Patents

Two-dimensional code sending and receiving processing method, device and terminal Download PDF

Info

Publication number
CN107957840B
CN107957840B CN201711236794.1A CN201711236794A CN107957840B CN 107957840 B CN107957840 B CN 107957840B CN 201711236794 A CN201711236794 A CN 201711236794A CN 107957840 B CN107957840 B CN 107957840B
Authority
CN
China
Prior art keywords
dimensional code
information
code
information identified
user
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
CN201711236794.1A
Other languages
Chinese (zh)
Other versions
CN107957840A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711236794.1A priority Critical patent/CN107957840B/en
Publication of CN107957840A publication Critical patent/CN107957840A/en
Application granted granted Critical
Publication of CN107957840B publication Critical patent/CN107957840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1447Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a two-dimension code sending and receiving processing method, a device and a terminal, wherein the two-dimension code sending and processing method comprises the following steps: the method comprises the following steps: judging whether the information to be sent contains two-dimension codes or not; if the information to be sent contains the two-dimension code, acquiring the information identified by the two-dimension code; and sending the two-dimensional code and the information identified by the two-dimensional code. The two-dimensional code receiving and processing method comprises the following steps: receiving the two-dimension code and the information identified by the two-dimension code; and displaying the two-dimensional code and the information identified by the two-dimensional code. The method ensures that the user can normally check the information identified by the two-dimensional code in a special scene, thereby greatly improving the use experience of the user.

Description

Two-dimensional code sending and receiving processing method, device and terminal
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method, an apparatus, and a terminal for processing two-dimensional code transmission and reception.
Background
Two-dimensional codes are a widely used encoding method, and record data information through specific geometric figures distributed on a plane according to a certain rule. The two-dimensional code may record a variety of information types, for example, Uniform Resource Locator (URL) information or business card information.
In the related art, when a user uses a two-dimensional code, the user needs to perform an operation of pressing the two-dimensional code on a terminal, and then the terminal recognizes information of the two-dimensional code according to the operation of the user and performs a corresponding operation according to the information in the two-dimensional code. For example, when the information of the two-dimensional code is a URL, when the user presses the two-dimensional code on a certain page of the terminal, the terminal may recognize the URL information in the two-dimensional code, and may jump to a page corresponding to the URL.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a terminal for sending and receiving two-dimensional codes.
According to a first aspect of the embodiments of the present disclosure, a two-dimensional code sending processing method is provided, including:
judging whether the information to be sent contains two-dimension codes or not;
if the information to be sent contains the two-dimension code, acquiring the information identified by the two-dimension code;
and sending the two-dimensional code and the information identified by the two-dimensional code.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when the information to be sent is judged to contain the two-dimensional code, the sender terminal or the server obtains the information identified by the two-dimensional code and sends the two-dimensional code and the information identified by the two-dimensional code together. Furthermore, after the receiving terminal receives the two-dimensional code and the information identified by the two-dimensional code, even if the user cannot trigger the receiving terminal to recognize the two-dimensional code by executing the operation of pressing the two-dimensional code, the information identified by the two-dimensional code can be checked, so that the user can normally check the information identified by the two-dimensional code in a special scene, and the use experience of the user is greatly improved.
In addition, even in a scenario where the receiving-side user can perform the operation of pressing the two-dimensional code, since the information identified by the two-dimensional code is directly and explicitly sent in this embodiment, the receiving-side user can directly obtain the information in the two-dimensional code without performing the operation of pressing the two-dimensional code, and for people who are not familiar with the operation of the two-dimensional code, such as the elderly, the method of this embodiment also enables the user to directly obtain the information identified by the two-dimensional code, thereby further improving the user experience.
Further, if the information to be sent is a two-dimensional code, acquiring information identified by the two-dimensional code, including:
if the information to be sent is the two-dimensional code, displaying prompt information, wherein the prompt information is used for prompting a user whether to send the information identified by the two-dimensional code;
receiving selection information input by the user according to the prompt information;
and acquiring the information identified by the two-dimensional code according to the selection information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
inquiring whether the user wants to send the information identified by the two-dimensional code or not in a mode of popping up prompt information to the user, and acquiring the information identified by the two-dimensional code according to the selection of the user. The information identified by the two-dimensional code is acquired in an interactive mode with the user, so that the operation mode is simple and the user can accept the information more easily.
Further, if the information to be sent is a two-dimensional code, acquiring information identified by the two-dimensional code, including:
if the information to be sent is the two-dimensional code, judging whether the time length of the user triggering the sending key exceeds the preset time length, and if so, acquiring the information identified by the two-dimensional code.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
whether the user wants to send the information identified by the two-dimensional code is determined by judging the time length for triggering the sending key by the user, and the method only needs the user to press the sending key without additional operation, so that the use experience of the user can be further improved.
Further, the information identified by the two-dimensional code is a URL;
the sending the two-dimensional code and the information identified by the two-dimensional code includes:
and sending the two-dimension code and the URL identified by the two-dimension code.
According to a second aspect of the embodiments of the present disclosure, there is provided a two-dimensional code receiving and processing method, including:
receiving the two-dimension code and the information identified by the two-dimension code;
and displaying the two-dimensional code and the information identified by the two-dimensional code.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
after the receiving party terminal receives the two-dimension code and the information identified by the two-dimension code, the two-dimension code and the information identified by the two-dimension code can be displayed, so that when a user cannot trigger the receiving party terminal to identify the two-dimension code by executing the operation of pressing down the two-dimension code, the information identified by the two-dimension code can be checked, the user can normally check the information identified by the two-dimension code in a special scene, and the use experience of the user is greatly improved.
In addition, even in a scenario where the receiving party user can perform the operation of pressing the two-dimensional code, since the information identified by the two-dimensional code is directly displayed in this embodiment, the receiving party user can directly acquire the information in the two-dimensional code without performing the operation of pressing the two-dimensional code, and for people who are not familiar with the operation of the two-dimensional code, such as the elderly, the method of this embodiment also enables the user to directly acquire the information identified by the two-dimensional code, thereby further improving the user experience.
Further, the displaying the two-dimensional code and the information identified by the two-dimensional code includes:
and displaying the two-dimensional code and the information identified by the two-dimensional code according to an operation instruction of a user.
Further, the displaying the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user includes:
displaying prompt information, wherein the prompt information is used for prompting whether the information identified by the two-dimensional code is displayed or not;
receiving selection information input by the user according to the prompt information;
and if the selection information is yes, displaying the two-dimensional code and the information identified by the two-dimensional code.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
inquiring whether the user wants to display the information identified by the two-dimensional code or not in a mode of popping prompt information to the user, and displaying the information identified by the two-dimensional code according to the selection of the user. The information identified by the two-dimensional code is displayed in an interactive mode with the user, so that the operation mode is simple and the user can accept the information more easily.
Further, the displaying the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user includes:
displaying the two-dimensional code;
and judging whether the time length for triggering the preset key by the user exceeds the preset time length, if so, displaying the information identified by the two-dimensional code.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
whether the user wants to display the information identified by the two-dimensional code is determined by judging the time length for triggering the preset key by the user, and the method only needs the user to trigger the specific key without additional operation, so that the use experience of the user can be further improved.
Further, the information identified by the two-dimensional code is a URL;
the receiving of the two-dimensional code and the information identified by the two-dimensional code includes:
and receiving the two-dimension code and the URL identified by the two-dimension code.
According to a third aspect of the embodiments of the present disclosure, there is provided a two-dimensional code transmission processing apparatus including:
the judging module is configured to judge whether the information to be sent contains the two-dimensional code;
the acquisition module is configured to acquire information identified by a two-dimensional code when the information to be transmitted contains the two-dimensional code;
a sending module configured to send the two-dimensional code and the information identified by the two-dimensional code.
Further, the obtaining module comprises:
the display sub-module is configured to display prompt information when the information to be sent is the two-dimensional code, wherein the prompt information is used for prompting a user whether to send the information identified by the two-dimensional code;
the receiving submodule is configured to receive selection information input by the user according to the prompt information;
and the first obtaining sub-module is configured to obtain the information identified by the two-dimensional code according to the selection information.
Further, the obtaining module further comprises:
and the second obtaining submodule is configured to judge whether the time length for triggering the sending key by the user exceeds a preset time length when the information to be sent is the two-dimensional code, and if so, obtain the information identified by the two-dimensional code.
Further, the information identified by the two-dimensional code is a URL;
the sending module comprises:
and the sending submodule is configured to send the two-dimensional code and the URL identified by the two-dimensional code.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a two-dimensional code reception processing apparatus including:
the receiving module is configured to receive the two-dimensional code and the information identified by the two-dimensional code;
the display module is configured to display the two-dimensional code and the information identified by the two-dimensional code.
Further, the display module includes:
and the display sub-module is configured to display the two-dimensional code and the information identified by the two-dimensional code according to an operation instruction of a user.
Further, the display sub-module is configured to:
displaying prompt information, wherein the prompt information is used for prompting whether the information identified by the two-dimensional code is displayed or not;
receiving selection information input by the user according to the prompt information;
and if the selection information is yes, displaying the two-dimensional code and the information identified by the two-dimensional code.
Further, the display sub-module is configured to:
displaying the two-dimensional code;
and judging whether the time length for triggering the preset key by the user exceeds the preset time length, if so, displaying the information identified by the two-dimensional code.
Further, the information identified by the two-dimensional code is a URL;
the receiving module includes:
the receiving submodule is configured to receive the two-dimensional code and the URL identified by the two-dimensional code.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
judging whether the information to be sent contains two-dimension codes or not;
if the information to be sent contains the two-dimension code, acquiring the information identified by the two-dimension code;
and sending the two-dimensional code and the information identified by the two-dimensional code.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
receiving the two-dimension code and the information identified by the two-dimension code;
and displaying the two-dimensional code and the information identified by the two-dimensional code.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a memory, a processor and a computer program, the processor running the computer program to perform the method of:
judging whether the information to be sent contains two-dimension codes or not;
if the information to be sent contains the two-dimension code, acquiring the information identified by the two-dimension code;
and sending the two-dimensional code and the information identified by the two-dimensional code.
According to an eighth aspect of embodiments of the present disclosure, there is provided a terminal, including:
a memory, a processor and a computer program, the processor running the computer program to perform the method of:
receiving the two-dimension code and the information identified by the two-dimension code;
and displaying the two-dimensional code and the information identified by the two-dimensional code.
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 system architecture diagram of a two-dimensional code transmitting and receiving processing method proposed in the present disclosure;
fig. 2 is a flowchart illustrating a two-dimensional code transmission processing method according to an exemplary embodiment;
fig. 3 is an exemplary diagram of a two-dimensional code;
fig. 4 is a flowchart illustrating a two-dimensional code transmission processing method according to an exemplary embodiment;
fig. 5 is a flowchart illustrating a two-dimensional code transmission processing method according to an exemplary embodiment;
fig. 6 is a flow chart illustrating a two-dimensional code reception processing method according to an example embodiment;
fig. 7 is a flow chart illustrating a two-dimensional code reception processing method according to an example embodiment;
fig. 8 is a flow chart illustrating a two-dimensional code reception processing method according to an example embodiment;
fig. 9 is a block diagram showing a two-dimensional code transmission processing apparatus according to an exemplary embodiment;
fig. 10 is a block diagram showing a two-dimensional code transmission processing apparatus according to an exemplary embodiment;
fig. 11 is a block diagram showing a two-dimensional code transmission processing apparatus according to an exemplary embodiment;
fig. 12 is a block diagram showing a two-dimensional code transmission processing apparatus according to an exemplary embodiment;
fig. 13 is a block diagram showing a two-dimensional code reception processing apparatus according to an exemplary embodiment;
fig. 14 is a block diagram showing a two-dimensional code reception processing apparatus according to an exemplary embodiment;
fig. 15 is a block diagram showing a two-dimensional code reception processing apparatus according to an exemplary embodiment;
FIG. 16 is a block diagram illustrating entities of a terminal in accordance with an exemplary embodiment;
fig. 17 is a block diagram illustrating another entity of a terminal according to an example embodiment;
fig. 18 is a block diagram illustrating a terminal 1800 in accordance with an example embodiment;
fig. 19 is a block diagram illustrating a terminal 1900 according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
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.
In the related art, when a user uses a two-dimensional code, the user needs to perform an operation of pressing the two-dimensional code on a terminal, and then the terminal recognizes information of the two-dimensional code according to the operation of the user and performs a corresponding operation according to the information in the two-dimensional code. For example, when the information of the two-dimensional code is a URL, when the user presses the two-dimensional code on a certain page of the terminal, the terminal may recognize the URL information in the two-dimensional code, and may jump to a page corresponding to the URL.
However, in some scenarios, the information of the two-dimensional code may not be successfully identified using the above-described method in the related art. For example, when a desktop computer is currently operated by a user, and when a two-dimensional code picture is displayed in the desktop computer, the user cannot perform an operation of pressing down a two-dimensional code to trigger the desktop computer to perform two-dimensional code recognition, and further cannot acquire information recorded in the two-dimensional code, so that a corresponding operation cannot be performed according to the information recorded in the two-dimensional code, and the user experience is poor.
Based on the above problems, the present disclosure provides a two-dimensional code sending and receiving method, which can send information recorded in a two-dimensional code according to the selection of a user when sending the two-dimensional code, so that when the user cannot trigger a desktop computer to perform two-dimensional code identification by executing an operation of pressing the two-dimensional code in some scenes, the information in the two-dimensional code can also be obtained, thereby greatly improving the user experience.
Fig. 1 is a system architecture diagram of a two-dimensional code sending and receiving processing method proposed in the present disclosure, as shown in fig. 1, the method relates to a sender terminal, a server, and a receiver terminal. The user who sends the information inputs the information to be sent on the sender terminal, the information to be sent is sent to the server by the sender terminal, and then the information to be sent is sent to the receiver terminal by the server for the receiver user to check.
Fig. 2 is a flowchart illustrating a two-dimensional code transmission processing method according to an exemplary embodiment, where as shown in fig. 2, the method includes:
in step S201, it is determined whether the information to be transmitted contains a two-dimensional code.
Optionally, the two-dimensional code is stored in a form of a picture, and therefore, when the information to be sent is the picture, whether the picture is the two-dimensional code is judged. The two-dimensional code is generated according to a specific coding rule. Fig. 3 is an exemplary diagram of two-dimensional codes, and as shown in fig. 2, each of the two-dimensional codes includes a position detection pattern, a position detection pattern separator, a positioning pattern, and a correction pattern according to a coding rule of the two-dimensional code. The position detection graph, the position graph segmentation symbol and the positioning graph are used for positioning the two-dimensional codes, the positions of the three graphs are fixed for each two-dimensional code, and the sizes of the three graphs are different according to the sizes of two-dimensional code pictures. In addition, the correction patterns are used for correcting the two-dimensional code, and if the specification size of the two-dimensional code is determined, the number and the position of the correction patterns are also determined. When the information to be sent is a picture, whether a position detection graph, a position graph divider, a positioning picture and a correction graph exist in a specific position of the picture can be identified based on the characteristics of the two-dimensional code, if the four graphs matched with the size of the picture exist in the specific position, whether the two-dimensional code exists in the picture can be determined, and the following subsequent steps are further continuously executed.
If the position detection pattern, the position pattern segmentation symbol, the positioning picture and the correction pattern with correct sizes cannot be identified at a specific position through the identification process, the picture can be determined not to contain the two-dimensional code, and the picture is directly sent without continuing to execute the following steps.
In step S202, if the information to be transmitted includes a two-dimensional code, information identified by the two-dimensional code is acquired.
The information identified by the two-dimensional code specifically refers to information carried by the two-dimensional code.
Optionally, because the two-dimensional code is generated according to a specific encoding rule, when information identified by the two-dimensional code needs to be acquired, the information carried in the two-dimensional code can be acquired by decoding according to the encoding rule of the two-dimensional code.
Illustratively, the information identified by a certain two-dimensional code is a business card of an enterprise, including the name, address, telephone, and the like of the enterprise, and the business card information of the enterprise can be acquired after the two-dimensional code is decoded according to the encoding rule of the two-dimensional code.
In step S203, the two-dimensional code and the information identified by the two-dimensional code are transmitted.
And after the information identified by the two-dimensional code is obtained, the two-dimensional code and the information identified by the two-dimensional code are sent out in a unified manner.
The execution body of the two-dimensional code transmission processing method according to the present disclosure may be a sender terminal or a server. Specifically, after a user inputs information to be sent at a sender terminal, the sender terminal needs to send the information to be sent input by the user to a server, and then the information to be sent is sent to a receiver terminal by the server.
If the execution main body of the two-dimension code sending processing method is the sender terminal, the sender terminal acquires the information identified by the two-dimension code and sends the information to the server, and the server sends the information to the receiver terminal.
If the execution main body of the two-dimensional code sending processing method is the server, the sender terminal directly sends the two-dimensional code to the server without executing additional operation, and the server acquires the information identified by the two-dimensional code and sends the information to the receiver terminal.
In this embodiment, when it is determined that the information to be sent includes the two-dimensional code, the sender terminal or the server obtains the information identified by the two-dimensional code, and sends the two-dimensional code and the information identified by the two-dimensional code together. Furthermore, after the receiving terminal receives the two-dimensional code and the information identified by the two-dimensional code, even if the user cannot trigger the receiving terminal to recognize the two-dimensional code by executing the operation of pressing the two-dimensional code, the information identified by the two-dimensional code can be checked, so that the user can normally check the information identified by the two-dimensional code in a special scene, and the use experience of the user is greatly improved.
In addition, even in a scenario where the receiving-side user can perform the operation of pressing the two-dimensional code, since the information identified by the two-dimensional code is directly and explicitly sent in this embodiment, the receiving-side user can directly obtain the information in the two-dimensional code without performing the operation of pressing the two-dimensional code, and for people who are not familiar with the operation of the two-dimensional code, such as the elderly, the method of this embodiment also enables the user to directly obtain the information identified by the two-dimensional code, thereby further improving the user experience.
For simplicity of description, the following embodiments of the present disclosure take the execution subject of the two-dimensional code sending processing method as an example of a sender terminal.
On the basis of the above embodiments, the present embodiment relates to an optional way for the sender terminal or the server to obtain the information identified by the two-dimensional code.
That is, fig. 4 is a flowchart illustrating a two-dimensional code transmission processing method according to an exemplary embodiment, and as shown in fig. 4, the step S202 includes:
in step S401, if the information to be sent is a two-dimensional code, a prompt message is displayed, where the prompt message is used to prompt a user whether to send information identified by the two-dimensional code.
Optionally, this embodiment may be executed after the user selects one two-dimensional code picture before the user confirms to send the two-dimensional code, or may be executed after the user confirms to send the two-dimensional code.
If the two-dimensional code sending is performed after the user confirms sending of the two-dimensional code, when the user confirms sending of the two-dimensional code, for example, the user clicks a sending button, the sender terminal displays prompt information to the user.
Optionally, the sender terminal may pop up a selection box to the user to inquire whether the user needs to send the information identified by the two-dimensional code at the same time.
In this step, if the execution subject is the server, the server may instruct the sender terminal to display the prompt message.
In step S402, selection information input by the user according to the above-mentioned prompt information is received.
After the sender terminal displays the prompt message to the user, the user can make a selection. For example, if the sender terminal pops up a selection box to the user, the user clicks a "yes" or "no" button in the selection box, i.e., the user inputs his own selection information. When the user presses the corresponding button, the sender terminal receives the selection information of the user.
In step S403, information identified by the two-dimensional code is acquired according to the selection information.
For example, when the sender terminal pops up a selection box to the user, and the user clicks a "yes" button in the selection box, it indicates that the user selects to send the information identified by the two-dimensional code, and the sender terminal may obtain the information identified by the two-dimensional code according to the selection of the user.
In this embodiment, whether the user wishes to send the information identified by the two-dimensional code is inquired in a manner of popping up prompt information to the user, and the information identified by the two-dimensional code is obtained according to the selection of the user. The information identified by the two-dimensional code is acquired in an interactive mode with the user, so that the operation mode is simple and the user can accept the information more easily.
On the basis of the above embodiments, the present embodiment relates to another optional way for the sender terminal or the server to obtain the information identified by the two-dimensional code.
That is, fig. 5 is a flowchart illustrating a two-dimensional code transmission processing method according to an exemplary embodiment, and as shown in fig. 5, the step S202 includes:
in step S501, if the information to be sent is a two-dimensional code, it is determined whether a time period for a user to trigger a sending key exceeds a preset time period, and if so, step S502 is executed.
In step S502, information identified by the two-dimensional code is acquired.
In the related art, when a user needs to send a piece of information, the user only needs to touch the sending key to send the information, and in this embodiment, whether the information identified by the two-dimensional code needs to be acquired is determined by judging the time length for the user to trigger the sending key.
For example, if the preset time duration is 3 seconds, and the time duration of clicking the sending key by the user lasts for 5 seconds, that is, the time duration of triggering the sending key by the user exceeds the preset time duration, the sender terminal may determine that the user wishes to send the information identified by the two-dimensional code, and the sender terminal may obtain the information identified by the two-dimensional code.
It should be noted that, in this embodiment, if the execution subject is the server, the server may receive a time length of the user trigger sending key sent by the sending-side terminal, and execute the process of this embodiment according to the received information.
In the embodiment, whether the user wants to send the information identified by the two-dimensional code is determined by judging the time length for triggering the sending key by the user, and the method only needs the user to press the sending key without extra operation, so that the use experience of the user can be further improved.
In addition to the above embodiments, the present embodiment relates to a transmission method for the information URL of the two-dimensional code.
That is, in an optional implementation manner, if the information identified by the two-dimensional code is a URL, the step S203 specifically includes:
and sending the two-dimensional code and the URL identified by the two-dimensional code.
Optionally, the URL identified by the two-dimensional code may be a website address of a website, an electronic payment address, and the like. When the information identified by the two-dimensional code is a URL, the sender terminal may send the two-dimensional code and the URL identified by the two-dimensional code.
As an optional implementation manner, when the sender terminal sends the two-dimensional code and the information identified by the two-dimensional code, the sender terminal may first send the two-dimensional code, and then send the information identified by the two-dimensional code. When the information identified by the two-dimensional code is sent, description information can be added in front of the information identified by the two-dimensional code.
For example, if the information identified by the two-dimensional code is a URL, specifically www.123.com, when the sender terminal sends the URL, a description that "the information in the two-dimensional code above is the following information" is added before the website, and further, the information sent by the sender terminal finally is:
the information in the above two-dimensional code is the following information:
www.123.com
fig. 6 is a flowchart illustrating a two-dimensional code receiving processing method according to an exemplary embodiment, where an execution subject of the method is a receiving terminal, as shown in fig. 6, the method includes:
in step S601, a two-dimensional code and information identified by the two-dimensional code are received.
In step S602, the two-dimensional code and information identified by the two-dimensional code are displayed.
After the receiving terminal receives the two-dimensional code and the information identified by the two-dimensional code from the server, the two-dimensional code and the information identified by the two-dimensional code can be displayed.
In this embodiment, after the information that two-dimensional code and two-dimensional code identified is received at the receiver terminal, the information that two-dimensional code and two-dimensional code identified can be shown to when the user can't trigger the receiver terminal through the operation of carrying out the press down two-dimensional code and carry out the two-dimensional code discernment, also can look over the information that this two-dimensional code identified, thereby guaranteed that the user also can normally look over the information that the two-dimensional code identified under special scene, thereby greatly promoted user's use and experienced.
In addition, even in a scenario where the receiving party user can perform the operation of pressing the two-dimensional code, since the information identified by the two-dimensional code is directly displayed in this embodiment, the receiving party user can directly acquire the information in the two-dimensional code without performing the operation of pressing the two-dimensional code, and for people who are not familiar with the operation of the two-dimensional code, such as the elderly, the method of this embodiment also enables the user to directly acquire the information identified by the two-dimensional code, thereby further improving the user experience.
In an optional implementation manner, when the two-dimensional code and the information identified by the two-dimensional code are displayed in the step S602, the two-dimensional code and the information may be displayed according to an operation instruction of a user.
The operation instruction of the user may be indicated in a message interaction manner, or may be indicated by triggering a specific key.
On the basis of the above embodiments, the present embodiment relates to an optional manner in which the receiving-side terminal displays the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user.
That is, fig. 7 is a flowchart illustrating a two-dimensional code receiving processing method according to an exemplary embodiment, and as shown in fig. 7, one way for the receiving-side terminal to display the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user is as follows:
in step S701, prompt information for prompting whether to display information identified by the two-dimensional code is displayed.
Optionally, the prompt information may be displayed before the receiving end terminal displays the received two-dimensional code, or after the received two-dimensional code is displayed.
Optionally, the receiving terminal may pop up a selection box to the user to inquire whether the user needs to display the information identified by the two-dimensional code.
In step S702, selection information input by the user according to the above-mentioned prompt information is received.
After the recipient terminal displays the prompt to the user, the user can make a selection. For example, if the receiving terminal pops up a selection box to the user, the user clicks a "yes" or "no" button in the selection box, i.e., the user inputs his own selection information. After the user presses the corresponding button, the receiving terminal receives the selection information of the user.
In step S703, if the selection information is yes, the two-dimensional code and information identified by the two-dimensional code are displayed.
For example, when the receiving terminal pops up a selection box to the user, and the user clicks a "yes" button in the selection box, it indicates that the user selects to display the information identified by the two-dimensional code, and the receiving terminal displays the information identified by the two-dimensional code according to the selection of the user.
In this embodiment, whether the user wants to display the information identified by the two-dimensional code is inquired in a manner of popping up prompt information to the user, and the information identified by the two-dimensional code is displayed according to the selection of the user. The information identified by the two-dimensional code is displayed in an interactive mode with the user, so that the operation mode is simple and the user can accept the information more easily.
On the basis of the above embodiments, the present embodiment relates to another optional way for the receiving-side terminal to display the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user.
That is, fig. 8 is a flowchart illustrating a two-dimensional code receiving processing method according to an exemplary embodiment, and as shown in fig. 8, another way for the receiving-side terminal to display the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user is as follows:
in step S801, the two-dimensional code is displayed.
In step S802, it is determined whether the time period for the user to trigger the preset key exceeds a preset time period, and if so, information identified by the two-dimensional code is displayed.
The preset key can be a specific key on a page of the receiver terminal, and can be selected according to the use habit of a user. For example, the preset key may be an add key, a back key, etc. on the page.
When the duration that the user triggers the preset key reaches a certain duration, the receiving party terminal can determine that the user wants to display the information identified by the two-dimensional code, and the receiving party terminal can display the information identified by the two-dimensional code.
In the embodiment, whether the user wants to display the information identified by the two-dimensional code is determined by judging the time length for triggering the preset key by the user, and the method only needs the user to trigger the specific key without additional operation, so that the use experience of the user can be further improved.
In addition to the above embodiments, the present embodiment relates to a receiving and displaying method for the information URL of the two-dimensional code.
That is, in an optional implementation manner, if the information identified by the two-dimensional code is a URL, the step S601 specifically includes:
and receiving the two-dimension code and the URL identified by the two-dimension code.
As mentioned above, the URL identified by the two-dimensional code may be a website address of a website, an electronic payment address, or the like. When the information identified by the two-dimensional code is a URL, the sender terminal may send the two-dimensional code and the URL identified by the two-dimensional code.
Correspondingly, the receiving terminal receives the two-dimensional code and the URL identified by the two-dimensional code.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 9 is a block diagram illustrating a two-dimensional code transmission processing apparatus according to an exemplary embodiment, and as shown in fig. 9, the apparatus includes:
the determining module 901 is configured to determine whether the information to be sent includes a two-dimensional code.
An obtaining module 902, configured to obtain, when the information to be sent includes a two-dimensional code, information identified by the two-dimensional code.
A sending module 903 configured to send the two-dimensional code and the information identified by the two-dimensional code.
Fig. 10 is a block diagram of a two-dimensional code transmission processing apparatus according to an exemplary embodiment, and as shown in fig. 10, the obtaining module 902 includes:
the display sub-module 9021 is configured to display prompt information when the information to be sent is the two-dimensional code, where the prompt information is used for prompting a user whether to send information identified by the two-dimensional code.
A receiving sub-module 9022 configured to receive selection information input by the user according to the prompt information.
And the first obtaining submodule 9023 is configured to obtain, according to the selection information, information identified by the two-dimensional code.
Fig. 11 is a block diagram of a two-dimensional code transmission processing apparatus according to an exemplary embodiment, and as shown in fig. 11, the obtaining module 902 further includes:
the second obtaining sub-module 9024 is configured to, when the to-be-sent information is the two-dimensional code, determine whether a time length for the user to trigger the sending key exceeds a preset time length, and if so, obtain information identified by the two-dimensional code.
Fig. 12 is a block diagram of a two-dimensional code transmission processing apparatus according to an exemplary embodiment, where as shown in fig. 12, the information identified by the two-dimensional code is a URL, and the transmission module 903 includes:
the sending submodule 9031 is configured to send the two-dimensional code and the URL identified by the two-dimensional code.
Fig. 13 is a block diagram illustrating a two-dimensional code reception processing apparatus according to an exemplary embodiment, and as shown in fig. 13, the apparatus includes:
the receiving module 1301 is configured to receive a two-dimensional code and information identified by the two-dimensional code.
A display module 1302 configured to display the two-dimensional code and the information identified by the two-dimensional code.
Fig. 14 is a block diagram illustrating a two-dimensional code reception processing apparatus according to an exemplary embodiment, and as shown in fig. 14, a display module 1302 includes:
the display sub-module 13021 is configured to display the two-dimensional code and the information identified by the two-dimensional code according to an operation instruction of a user.
Further, the display sub-module 13021 is configured to:
displaying prompt information, wherein the prompt information is used for prompting whether the information identified by the two-dimensional code is displayed or not;
receiving selection information input by the user according to the prompt information;
and if the selection information is yes, displaying the two-dimensional code and the information identified by the two-dimensional code.
Further, the display sub-module 13021 is configured to:
displaying the two-dimensional code;
and judging whether the time length for triggering the preset key by the user exceeds the preset time length, if so, displaying the information identified by the two-dimensional code.
Fig. 15 is a block diagram of a two-dimensional code receiving and processing apparatus according to an exemplary embodiment, where, as shown in fig. 15, the information identified by the two-dimensional code is a URL.
The receiving module 1301 includes:
the receiving submodule 13011 is configured to receive the two-dimensional code and the URL identified by the two-dimensional code.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 16 is a block diagram illustrating an entity of a terminal according to an exemplary embodiment, as shown in fig. 16, the terminal includes:
a memory 161 and a processor 162.
The memory 161 is used for storing executable instructions of the processor 162.
The processor 162 is configured to:
judging whether the information to be sent contains two-dimension codes or not;
if the information to be sent contains the two-dimension code, acquiring the information identified by the two-dimension code;
and sending the two-dimensional code and the information identified by the two-dimensional code.
In the above terminal embodiments, it should be understood that the Processor 162 may be a Central Processing Unit (CPU), other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the aforementioned memory may be a read-only memory (ROM), a Random Access Memory (RAM), a flash memory, a hard disk, or a solid state disk. SIM cards, also known as subscriber identity cards, smart cards, must be installed in a digital mobile phone for use. That is, the information of the digital mobile phone client, the encrypted key and the contents of the user's phone book are stored on the computer chip. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
Fig. 17 is a block diagram illustrating an entity of another terminal according to an exemplary embodiment, as shown in fig. 17, the terminal includes:
a memory 171 and a processor 172.
The memory 171 is used for storing executable instructions of the processor 172.
The processor 172 is configured to:
receiving the two-dimension code and the information identified by the two-dimension code;
and displaying the two-dimensional code and the information identified by the two-dimensional code.
In the above terminal embodiment, it is understood that the processor 172 may be a CPU, and may also be other general purpose processors, DSPs, ASICs, and the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like and the aforementioned memory may be ROM, RAM, flash memory, hard disk or solid state disk. SIM cards, also known as subscriber identity cards, smart cards, must be installed in a digital mobile phone for use. That is, the information of the digital mobile phone client, the encrypted key and the contents of the user's phone book are stored on the computer chip. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
Fig. 18 is a block diagram illustrating a terminal 1800 according to an example embodiment. The terminal 1800 may be, among other things, a mobile phone, a computer, a tablet device, a personal digital assistant, etc.
Referring to fig. 18, the terminal 1800 may include one or more of the following components: processing component 1802, memory 1804, power component 1806, multimedia component 1808, audio component 1810, input/output (I/O) interface 1812, sensor component 1814, and communications component 1816.
The processing component 1802 generally controls the overall operation of the terminal 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 may include one or more modules that facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operation at the terminal 1800. Examples of such data include instructions for any application or method operating on the terminal 1800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 1806 provide power to the various components of the terminal 1800. The power components 1806 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 1800.
The multimedia component 1808 includes a touch-sensitive display screen providing an output interface between the terminal 1800 and the user. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). 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 1808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera can receive external multimedia data when the terminal 1800 is in an operating mode, such as a photographing 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.
Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 can include a Microphone (MIC) that can be configured to receive external audio signals when the terminal 1800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
I/O interface 1812 provides an interface between processing component 1802 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.
The sensor component 1814 includes one or more sensors for providing various aspects of state assessment for the terminal 1800. For example, the sensor component 1814 can detect an open/closed state of the terminal 1800, the relative positioning of components such as the display and keypad of the terminal 1800, the sensor component 1814 can also detect a change in the position of the terminal 1800 or a component of the terminal 1800, the presence or absence of user contact with the terminal 1800, orientation or acceleration/deceleration of the terminal 1800, and a change in the temperature of the terminal 1800. Sensor assembly 1814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate communications between the terminal 1800 and other devices in a wired or wireless manner. The terminal 1800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 1800 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, micro-controllers, microprocessors or other electronic components for performing the above-described two-dimensional code transmission processing method.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1804 that includes instructions, which are executable by the processor 1820 of the terminal 1800 to perform the above-described methods. 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.
A non-transitory computer-readable storage medium, in which instructions are executed by a processor of a terminal 1800, so that the terminal 1800 can perform a two-dimensional code transmission processing method. The method comprises the following steps:
judging whether the information to be sent contains two-dimension codes or not;
if the information to be sent contains the two-dimension code, acquiring the information identified by the two-dimension code;
and sending the two-dimensional code and the information identified by the two-dimensional code.
Fig. 19 is a block diagram illustrating a terminal 1900 according to an example embodiment. The terminal 1900 may be a mobile phone, a computer, a tablet device, a personal digital assistant, etc., among others.
Referring to FIG. 19, terminal 1900 can include one or more of the following components: a processing component 1902, a memory 1904, a power component 1906, a multimedia component 1908, an audio component 1910, an input/output (I/O) interface 1912, a sensor component 1914, and a communications component 1916.
The structure and function of each component are the same as those of the terminal 1800, and reference may be made to the description of the terminal 1800 for details, which are not repeated herein.
In an exemplary embodiment, the terminal 1900 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, micro-controllers, microprocessors or other electronic components for performing the above-described two-dimensional code reception processing method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1904 comprising instructions, executable by the processor 1920 of the terminal 1900, to perform the above-described method is also provided. 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.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal 1900, enable the terminal 1900 to perform a two-dimensional code reception processing method. The method comprises the following steps:
receiving the two-dimension code and the information identified by the two-dimension code;
and displaying the two-dimensional code and the information identified by the two-dimensional code.
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 (11)

1. A two-dimension code sending processing method is applied to a scene that a user cannot trigger a desktop computer to perform two-dimension code identification by executing an operation of pressing down the two-dimension code, and is characterized by comprising the following steps:
judging whether the information to be sent contains two-dimension codes or not;
if the information to be sent contains a two-dimension code, acquiring information identified by the two-dimension code, wherein the information identified by the two-dimension code is information carried by the two-dimension code;
sending the two-dimensional code and the information identified by the two-dimensional code;
wherein, the sending the two-dimensional code and the information identified by the two-dimensional code includes:
firstly, the two-dimension code is sent, and then the information identified by the two-dimension code is sent; the information identified by the two-dimensional code carries description information in front of the information, and the description information is used for describing that the information in the two-dimensional code sent first is the information identified by the two-dimensional code sent later.
2. The method of claim 1, wherein if the information to be sent is a two-dimensional code, acquiring information identified by the two-dimensional code comprises:
if the information to be sent is the two-dimensional code, displaying prompt information, wherein the prompt information is used for prompting a user whether to send the information identified by the two-dimensional code;
receiving selection information input by the user according to the prompt information;
and acquiring the information identified by the two-dimensional code according to the selection information.
3. The method of claim 1, wherein if the information to be sent is a two-dimensional code, acquiring information identified by the two-dimensional code comprises:
if the information to be sent is the two-dimensional code, judging whether the time length of the user triggering the sending key exceeds the preset time length, and if so, acquiring the information identified by the two-dimensional code.
4. The method according to any one of claims 1-3, wherein the information identified by the two-dimensional code is a Uniform Resource Locator (URL);
the sending the two-dimensional code and the information identified by the two-dimensional code includes:
and sending the two-dimension code and the URL identified by the two-dimension code.
5. A two-dimension code receiving and processing method is applied to a scene that a user cannot trigger a desktop computer to perform two-dimension code identification by executing an operation of pressing down the two-dimension code, and is characterized by comprising the following steps:
receiving the two-dimension code and the information identified by the two-dimension code;
displaying the two-dimension code and information identified by the two-dimension code, wherein the information identified by the two-dimension code is information carried by the two-dimension code;
wherein, the information that two-dimensional code and two-dimensional code sign are received includes:
firstly, receiving the two-dimension code, and then receiving the information identified by the two-dimension code; the information identified by the two-dimensional code carries description information in front of the information, and the description information is used for describing that the information in the two-dimensional code sent first is the information identified by the two-dimensional code sent later.
6. The method of claim 5, wherein the displaying the two-dimensional code and the information identified by the two-dimensional code comprises:
and displaying the two-dimensional code and the information identified by the two-dimensional code according to an operation instruction of a user.
7. The method according to claim 6, wherein the displaying the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user comprises:
displaying prompt information, wherein the prompt information is used for prompting whether the information identified by the two-dimensional code is displayed or not;
receiving selection information input by the user according to the prompt information;
and if the selection information is yes, displaying the two-dimensional code and the information identified by the two-dimensional code.
8. The method according to claim 6, wherein the displaying the two-dimensional code and the information identified by the two-dimensional code according to the operation instruction of the user comprises:
displaying the two-dimensional code;
and judging whether the time length for triggering the preset key by the user exceeds the preset time length, if so, displaying the information identified by the two-dimensional code.
9. The method according to any one of claims 5-8, wherein the information identified by the two-dimensional code is a uniform resource locator, URL;
the receiving of the two-dimensional code and the information identified by the two-dimensional code includes:
and receiving the two-dimension code and the URL identified by the two-dimension code.
10. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method steps of any of claims 1-4.
11. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method steps of any of claims 5-9.
CN201711236794.1A 2017-11-30 2017-11-30 Two-dimensional code sending and receiving processing method, device and terminal Active CN107957840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236794.1A CN107957840B (en) 2017-11-30 2017-11-30 Two-dimensional code sending and receiving processing method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236794.1A CN107957840B (en) 2017-11-30 2017-11-30 Two-dimensional code sending and receiving processing method, device and terminal

Publications (2)

Publication Number Publication Date
CN107957840A CN107957840A (en) 2018-04-24
CN107957840B true CN107957840B (en) 2021-05-04

Family

ID=61962067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236794.1A Active CN107957840B (en) 2017-11-30 2017-11-30 Two-dimensional code sending and receiving processing method, device and terminal

Country Status (1)

Country Link
CN (1) CN107957840B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510269A (en) * 2009-02-18 2009-08-19 深圳华为通信技术有限公司 Method and device for acquiring two-dimensional code in video
CN102929921A (en) * 2012-09-20 2013-02-13 腾讯科技(深圳)有限公司 Information operational method and client
CN103279503A (en) * 2013-05-09 2013-09-04 北京小米科技有限责任公司 Method and system for acquiring two-dimension code information from webpage
CN104102892A (en) * 2013-04-07 2014-10-15 北大方正集团有限公司 Two-dimensional code recognition method and device
CN105281843A (en) * 2015-09-10 2016-01-27 移康智能科技(上海)有限公司 Two-dimensional code transmission and reception methods and transmission and reception devices
CN106685791A (en) * 2015-11-06 2017-05-17 北京奇虎科技有限公司 Confidential Information transmitting method and confidential information transmitting device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104514A (en) * 2014-07-25 2014-10-15 小米科技有限责任公司 Method and device for identifying by using verification code

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510269A (en) * 2009-02-18 2009-08-19 深圳华为通信技术有限公司 Method and device for acquiring two-dimensional code in video
CN102929921A (en) * 2012-09-20 2013-02-13 腾讯科技(深圳)有限公司 Information operational method and client
CN104102892A (en) * 2013-04-07 2014-10-15 北大方正集团有限公司 Two-dimensional code recognition method and device
CN103279503A (en) * 2013-05-09 2013-09-04 北京小米科技有限责任公司 Method and system for acquiring two-dimension code information from webpage
CN105281843A (en) * 2015-09-10 2016-01-27 移康智能科技(上海)有限公司 Two-dimensional code transmission and reception methods and transmission and reception devices
CN106685791A (en) * 2015-11-06 2017-05-17 北京奇虎科技有限公司 Confidential Information transmitting method and confidential information transmitting device

Also Published As

Publication number Publication date
CN107957840A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN106709399B (en) Fingerprint identification method and device
CN108064466B (en) Period information indication method of public control resource set of residual key system information
EP2961128A1 (en) Method, apparatus, computer program and computer program product for binding a token key to an account
CN107423386B (en) Method and device for generating electronic card
CN106201734B (en) File sharing method and device
CN110061904B (en) Method, device and system for acquiring social information, electronic equipment and storage medium
CN107147815B (en) Call processing method and device based on taxi taking
CN109525652B (en) Information sharing method, device, equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN110619097A (en) Two-dimensional code generation method and device, electronic equipment and storage medium
CN107402767B (en) Method and device for displaying push message
CN108280342B (en) Application synchronization method and device for application synchronization
CN109246094B (en) User terminal verification method, device and storage medium
CN110852163A (en) Binding method and device
CN107222576B (en) Photo album synchronization method and device
CN107479838B (en) Information output processing method of terminal and terminal
CN106447747B (en) Image processing method and device
CN106506808B (en) Method and device for prompting communication message
CN109885360B (en) Data processing method, device and storage medium
CN107395724B (en) Network request method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107203315B (en) Click event processing method and device and terminal
CN107483605B (en) File downloading method and device and storage medium
CN107957840B (en) Two-dimensional code sending and receiving processing method, device and terminal
CN106354532B (en) Application account information processing method and device

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