CN112561013A - Processing method and device and electronic equipment - Google Patents

Processing method and device and electronic equipment Download PDF

Info

Publication number
CN112561013A
CN112561013A CN202011477737.4A CN202011477737A CN112561013A CN 112561013 A CN112561013 A CN 112561013A CN 202011477737 A CN202011477737 A CN 202011477737A CN 112561013 A CN112561013 A CN 112561013A
Authority
CN
China
Prior art keywords
graphic code
type
target
target graphic
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011477737.4A
Other languages
Chinese (zh)
Inventor
翟东岩
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011477737.4A priority Critical patent/CN112561013A/en
Publication of CN112561013A publication Critical patent/CN112561013A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • G06K19/0615Constructional details the marking being of the rewritable type, e.g. thermo-chromic barcodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • 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

Abstract

The application discloses a processing method, a processing device and electronic equipment, which belong to the technical field of communication, wherein the method comprises the following steps: displaying a target graphic code, and acquiring user information according to the target type graphic code under the condition that the target graphic code is of a first type; and in the case that the user information indicates that the user is of a second type, performing preset processing on the target graphic code so that the target graphic code cannot be identified. The processing method disclosed by the application can interfere the operation of scanning the first type of graphic code by the preset type of user, so that the code scanning is failed, and the purpose of supervising the preset type of user is achieved.

Description

Processing method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to a processing method and device and electronic equipment.
Background
Two-dimensional codes, also called two-dimensional bar codes, are a popular encoding method in recent years for mobile electronic devices, and can store more information and represent more data types than traditional bar codes.
At present, the two-dimension code is widely applied to scenes such as on-line payment and electronic tickets. When a user uses the two-dimensional code to scan the code to travel by a public transport means, the two-dimensional code is opened by the trigger system, the two-dimensional code is displayed in the center of the screen of the electronic device after the two-dimensional code is opened, and the user can finish the code scanning and station entering operation after manually aligning the two-dimensional code displayed in the screen with the scanning area of the scanning device. Sweep sign indicating number inbound and bring the convenience for user's trip, also have the problem that can't carry out the supervision to special user. For example, in an epidemic situation, special users who need home isolation are not allowed to go out and not allowed to take a public transportation, but some special users are forced to suffer from mental stress or psychological problems, cannot perform self isolation and select the public transportation to go out, and at the moment, potential safety hazards are brought to many non-special users.
Disclosure of Invention
The embodiment of the application aims to provide a processing method, which can solve the problem that a special user cannot be supervised in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present application provides a processing method, where the method includes: displaying a target graphic code, and acquiring user information according to the target type graphic code under the condition that the target graphic code is of a first type; and in the case that the user information indicates that the user is of a second type, performing preset processing on the target graphic code so that the target graphic code cannot be identified.
In a second aspect, an embodiment of the present application provides a processing apparatus, where the apparatus includes: the display module is used for displaying the target graphic code; the first acquisition module is used for acquiring user information according to the target type graphic code under the condition that the target graphic code is of the first type; and the preprocessing module is used for executing preset processing on the target graphic code under the condition that the user information indicates that the user is of a second type, so that the target graphic code cannot be identified.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the displayed target graphic code is of the first type, user information is obtained according to the target type graphic code; and under the condition that the user information indicates that the user is of the second type, executing preset processing on the target graphic code to enable the target graphic code to be incapable of being identified, and interfering the operation of scanning the first type graphic code by the preset type of user to enable the code scanning to fail, so that the purpose of supervising the preset type of user is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart showing the steps of one method of processing according to an embodiment of the present application;
fig. 2 is a block diagram showing a processing apparatus according to an embodiment of the present application;
fig. 3 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flow chart of steps of a processing method of an embodiment of the present application is shown.
The processing method of the embodiment of the application comprises the following steps:
step 101: and displaying the target graphic code, and acquiring user information according to the target type graphic code under the condition that the target graphic code is of the first type. The user type division mode may be set by a person skilled in the art according to actual requirements, and this is not specifically limited in this embodiment of the application. For example: user types may include, but are not limited to: travel limited types, children or elderly people, etc. When the type of the user is determined, the user image can be collected through the camera, and the user image is analyzed to determine the type of the user; the type to which the user belongs can also be determined through the target type graphic code of the user managed in the electronic device. The specific manner of determining the type of the user is not limited in the embodiment of the application. Taking the example that the target type graphic code can be set as the health code, if the health code of the user is displayed in red, the user can be determined to be the second type user, and the travel is limited. The method for determining the type of the user through the target graphic code is easy to realize and accurate in result.
The target pattern code may include, but is not limited to: two-dimensional code, bar code or two-dimensional code screenshot and the like. The type of the target graphic code may be determined by an application scenario corresponding to the target graphic code, for example: the target graphic code is a two-dimensional code scanned when entering a subway station and sitting a bus, and then the type of the target graphic code is determined to be a trip code, for example: and if the target graphic code is a two-dimensional code scanned when a friend is added, determining that the type of the target graphic code is a communication code.
In the actual implementation process, the first type can be flexibly set according to the limitation requirement. For example: if the limitation requirement is travel limitation, the preset condition can be set as a travel code, and the travel of the user with travel limitation can be limited through the setting.
Step 102: in the case where the user information indicates that the user is of the second type, preprocessing is performed on the target pattern code so that the target pattern code cannot be recognized.
In the actual implementation process, the second type can be flexibly set according to the type of the limited crowd. For example: if the limited crowd is a high-risk area crowd, the second type is a high-risk area user; for another example: the restricted population is children and the second type is children.
According to the processing method provided by the embodiment of the application, under the condition that the displayed target graphic code is of the first type, user information is obtained according to the target type graphic code; and under the condition that the user information indicates that the user is of the second type, executing preset processing on the target graphic code to enable the target graphic code to be incapable of being identified, and interfering the operation of scanning the first type graphic code by the preset type of user to enable the code scanning to fail, so that the purpose of supervising the preset type of user is achieved.
In an optional embodiment, after the step of displaying the target graphic code, the method further includes a step of identifying a type of the target graphic code, and when identifying the type of the target graphic code, the method may be implemented by:
the first method is as follows: determining the type of the target graphic code according to the identification information obtained by identifying the target graphic code;
and determining a third type of the scanning equipment matched with the target graphic code according to the identification result of the target graphic code, and determining the type of the target graphic code according to the third type. For example: the target graphic code is a subway station entering code, the matched scanning equipment can be determined to be scanning equipment on a subway station entering gate according to the identification result of the target graphic code, and finally the target graphic code can be determined to be the subway station entering code and belongs to the type of the trip code.
The second method comprises the following steps: acquiring a uniform resource locator carried in a target graphic code; and determining the type of the target graphic code according to the uniform resource locator.
The mode of optionally identifying the type of the target graphic code has high accuracy of the identification result.
In an alternative embodiment, in the case that the user information indicates that the user is of the second type, the preset processing is performed on the target graphic code in the following manner:
and in the case that the user information indicates that the user is of the second type, the target graphic code is shielded.
In the case that the user is of the second type, it is stated that the user is limited in code scanning, and the success rate of code scanning by the user should be reduced to the greatest extent. In the optional embodiment, the corresponding effect is achieved by shielding the target graphic code.
When the target graphic code is shielded, any appropriate mode can be adopted, and the target graphic code can be ensured not to be identified. For example: randomly printing mosaics on the target graphic codes to shield the target graphic codes; for example: fuzzification processing is carried out on at least one editing point in the target graphic code, and shielding of partial area of the target graphic code is achieved; for another example: and randomly printing a mosaic on the target graphic code, and performing fuzzification processing on at least one editing point in the target graphic code. For another example: the preset mark can be added to all or part of the target graphic code, so that the target graphic code is shielded. The preset identifier can be set by those skilled in the art according to actual requirements, for example: a graphic logo with a specific shape, a symbol logo, a covering strip with a specific color, and the like.
In an optional embodiment, the target graphic code can be shielded, and meanwhile, the first prompt information is output to prompt a user that code scanning is limited. The type of the first prompt message may be at least one of: text information, voice information, vibration prompt, etc. The code scanning limited mode can prompt the user to be scanned by outputting the first prompt information, the user can be reminded in time, the code scanning of the user is avoided being repeated for multiple times under the unknowing condition, the user time can be saved, and the operation load of the scanning equipment can be reduced.
The mode of optionally carrying out shielding interference scanning operation on the target graphic code has simple realization logic and good interference effect.
In an alternative embodiment, when the user information indicates that the user is of the second type, the preset processing on the target graphic code may include the following sub-steps:
the first substep: identifying an identification range of the target graphic code scanning device in a case where the user information indicates that the user is of the second type;
in the case that the user is of the second type, it is stated that the user is limited in code scanning, and the success rate of code scanning by the user should be reduced to the greatest extent. In this alternative embodiment, the corresponding effect is achieved by creating a disturbance during the scanning process.
The distance between the scanning device and the screen of the electronic device is different, the identification range of the scanning device is different, and usually, a user needs to attach the screen of the electronic device to a code scanning area of the scanning device, so that code scanning operation on the graphic code is completed. In this embodiment, the identification range of the scanning device may be determined based on the positional relationship between the electronic device and the scanning device. An exemplary specific implementation is as follows:
when the distance between the electronic device and the scanning device is set to be x, the height interval of the code scanned by the scanning device is [ h1, h2], the width is [ w1, w2], the vertical code scanning angle range is alpha, and the horizontal direction is beta. As x becomes smaller, the heights of h1 and h2 also change. In an actual implementation process, the distance x between the electronic device and the scanning device can be identified based on the front camera of the electronic device. According to the relative distance between the upper edge and the lower edge of the code scanning area of the electronic equipment front camera and the scanning equipment and the angles alpha and beta, the recognition range of the scanning equipment can be calculated out by [ h1, h2], [ w1, w2], and [ h1, h2], [ w1, w2 ].
And a second substep: and performing preset adjustment on the target graphic code so that the target graphic code is partially or completely projected out of the identification range.
Wherein the preset adjustment comprises at least one of: move, zoom in, and zoom out.
An exemplary way to adjust the target graphic code is to combine the shift and zoom adjustment, and the specific implementation way is: as the distance x between the electronic device and the scanning device becomes smaller, [ h1, h2] becomes relatively higher, and based on the rule and the moving direction of the electronic device, it can be predetermined that the distance between the electronic device and the scanning device reaches a first preset distance, and then it is determined whether the target graphic code displayed on the electronic device is within the identification range of the scanning device, and if so, the target graphic code is moved in advance, so that when the distance between the electronic device and the scanning device reaches the first preset distance, the target graphic code is outside the identification range of the scanning device. If the moving target graphic code can not meet the requirement, the target graphic code displayed on the electronic equipment can be directly reduced or enlarged, so that part of the area of the target graphic code is out of the identification range of the scanning equipment.
The mode of partially or completely projecting the target graphic code out of the identification range optionally through preset adjustment operation is flexible and easy to realize.
In the processing method provided in the embodiment of the present application, the execution main body may be a processing apparatus, or a control module in the processing apparatus for executing the processing method. In the embodiment of the present application, a processing module executing a processing method is taken as an example in the following to describe the processing apparatus provided in the embodiment of the present application.
Fig. 2 is a block diagram of a processing device for implementing an embodiment of the present application.
The processing apparatus 200 of the embodiment of the present application includes:
a display module 201, configured to display a target graphic code;
a first obtaining module 202, configured to obtain user information according to the target type graphics code when the target graphics code is of the first type;
a preprocessing module 203, configured to, if the user information indicates that the user is of the second type, perform preset processing on the target pattern code, so that the target pattern code cannot be identified.
Optionally, the apparatus further comprises:
the first type determining module is used for determining the type of the target graphic code according to the identification information obtained by identifying the target graphic code after the display module displays the target graphic code; alternatively, the first and second electrodes may be,
the second acquisition module is used for acquiring the uniform resource locator carried in the target graphic code;
and the second type determining module is used for determining the type of the target graphic code according to the uniform resource locator.
Optionally, the preprocessing module is specifically configured to:
and under the condition that the user information indicates that the user is of a second type, shielding the target graphic code.
Optionally, the preprocessing module includes:
a first sub-module, configured to identify an identification range of the target graphic code scanning device when the user information indicates that the user is of a second type;
a second sub-module, configured to perform a preset adjustment on the target pattern code, so that the target pattern code is partially or completely projected outside the identification range, where the preset adjustment includes at least one of: move, zoom in, and zoom out.
According to the processing device provided by the embodiment of the application, under the condition that the displayed target graphic code is of the first type, user information is obtained according to the target type graphic code; and under the condition that the user information indicates that the user is of the second type, executing preset processing on the target graphic code to enable the target graphic code to be incapable of being identified, and interfering the operation of scanning the first type graphic code by the preset type of user to enable the code scanning to fail, so that the purpose of supervising the preset type of user is achieved.
The processing device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The processing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the processing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 406 is configured to display the target graphic code;
the processor 410 is configured to, when the target graphics code is of the first type, obtain user information according to the target type graphics code; and in the case that the user information indicates that the user is of a second type, performing preset processing on the target graphic code so that the target graphic code cannot be identified.
In the embodiment of the application, the electronic equipment acquires user information according to the target type graphic code under the condition that the displayed target graphic code is of the first type; and under the condition that the user information indicates that the user is of the second type, executing preset processing on the target graphic code to enable the target graphic code to be incapable of being identified, and interfering the operation of scanning the first type graphic code by the preset type of user to enable the code scanning to fail, so that the purpose of supervising the preset type of user is achieved.
Optionally, the processor 410 is further configured to, after the display unit 406 displays the target graphics code, determine a type to which the target graphics code belongs according to identification information obtained by identifying the target graphics code; or acquiring a uniform resource locator carried in the target graphic code; and determining the type of the target graphic code according to the uniform resource locator.
Optionally, when the user information indicates that the user is of the second type, and the processor 410 performs preset processing on the target icon code, specifically, the preset processing is configured to: and shielding the target graphic code.
Optionally, when the user information indicates that the user is of the second type, and the processor 410 performs preset processing on the target icon code, specifically, the preset processing is configured to: identifying an identification range of the target pattern code scanning device; performing preset adjustment on the target pattern code so that the target pattern code is partially or completely projected out of the identification range, wherein the preset adjustment comprises at least one of the following: move, zoom in, and zoom out.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the 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 application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of processing, the method comprising:
displaying a target graphic code, and acquiring user information according to the target type graphic code under the condition that the target graphic code is of a first type;
and in the case that the user information indicates that the user is of a second type, performing preset processing on the target graphic code so that the target graphic code cannot be identified.
2. The method of claim 1, wherein after the step of displaying the target graphical code, the method further comprises:
determining the type of the target graphic code according to identification information obtained by identifying the target graphic code; alternatively, the first and second electrodes may be,
acquiring a uniform resource locator carried in the target graphic code;
and determining the type of the target graphic code according to the uniform resource locator.
3. The method according to claim 1, wherein in the case that the user information indicates that the user is of the second type, the step of performing preset processing on the target graphics code comprises:
and under the condition that the user information indicates that the user is of a second type, shielding the target graphic code.
4. The method according to claim 1, wherein in the case that the user information indicates that the user is of the second type, the step of performing preset processing on the target graphics code comprises:
identifying an identification range of the target graphic code scanning device if the user information indicates that the user is of a second type;
performing preset adjustment on the target pattern code so that the target pattern code is partially or completely projected out of the identification range, wherein the preset adjustment comprises at least one of the following: move, zoom in, and zoom out.
5. A processing apparatus, characterized in that the apparatus comprises:
the display module is used for displaying the target graphic code;
the first acquisition module is used for acquiring user information according to the target type graphic code under the condition that the target graphic code is of the first type;
and the preprocessing module is used for executing preset processing on the target graphic code under the condition that the user information indicates that the user is of a second type, so that the target graphic code cannot be identified.
6. The apparatus of claim 5, further comprising:
the first type determining module is used for determining the type of the target graphic code according to the identification information obtained by identifying the target graphic code after the display module displays the target graphic code; alternatively, the first and second electrodes may be,
the second acquisition module is used for acquiring the uniform resource locator carried in the target graphic code;
and the second type determining module is used for determining the type of the target graphic code according to the uniform resource locator.
7. The apparatus of claim 5, wherein the preprocessing module is specifically configured to:
and under the condition that the user information indicates that the user is of a second type, shielding the target graphic code.
8. The apparatus of claim 5, wherein the pre-processing module comprises:
a first sub-module, configured to identify an identification range of the target graphic code scanning device when the user information indicates that the user is of a second type;
a second sub-module, configured to perform a preset adjustment on the target pattern code, so that the target pattern code is partially or completely projected outside the identification range, where the preset adjustment includes at least one of: move, zoom in, and zoom out.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the processing method of any one of claims 1 to 4.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the processing method according to any one of claims 1 to 4.
CN202011477737.4A 2020-12-15 2020-12-15 Processing method and device and electronic equipment Pending CN112561013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011477737.4A CN112561013A (en) 2020-12-15 2020-12-15 Processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011477737.4A CN112561013A (en) 2020-12-15 2020-12-15 Processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112561013A true CN112561013A (en) 2021-03-26

Family

ID=75063726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011477737.4A Pending CN112561013A (en) 2020-12-15 2020-12-15 Processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112561013A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140129428A1 (en) * 2012-11-05 2014-05-08 Mfoundry, Inc. Qr code-enabled p2p payment systems and methods
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN110626896A (en) * 2019-08-26 2019-12-31 杭州优迈科技有限公司 Elevator control method and system based on two-dimensional code
CN111160915A (en) * 2018-11-08 2020-05-15 腾讯科技(深圳)有限公司 Bus code verification method and device, traffic code scanning equipment and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140129428A1 (en) * 2012-11-05 2014-05-08 Mfoundry, Inc. Qr code-enabled p2p payment systems and methods
CN111160915A (en) * 2018-11-08 2020-05-15 腾讯科技(深圳)有限公司 Bus code verification method and device, traffic code scanning equipment and terminal equipment
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN110626896A (en) * 2019-08-26 2019-12-31 杭州优迈科技有限公司 Elevator control method and system based on two-dimensional code

Similar Documents

Publication Publication Date Title
CN103189864A (en) Methods and apparatuses for determining shared friends in images or videos
CN111813309B (en) Display method, display device, electronic equipment and readable storage medium
CN112417421A (en) Scanning method, scanning device, electronic equipment and readable storage medium
CN111966439A (en) Riding code display method and device and electronic equipment
CN113300941B (en) Display method, display device, related equipment and readable storage medium
CN112306607A (en) Screenshot method and device, electronic equipment and readable storage medium
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
CN113194024B (en) Information display method and device and electronic equipment
CN103299342A (en) Method and apparatus for providing a mechanism for gesture recognition
CN112699363A (en) Graphic code identification method and device and electronic equipment
WO2022268023A1 (en) Fingerprint recognition method and apparatus, and electronic device and readable storage medium
CN112596609A (en) Display processing method, display processing device and wearable equipment
CN113298212A (en) Graphic code display method and device
CN112269504B (en) Information display method and device and electronic equipment
CN113485779A (en) Operation guiding method and device for application program
CN113128244A (en) Scanning method and device and electronic equipment
CN112486387A (en) Application program control method and device
CN112465497A (en) Payment method, payment device, electronic equipment and medium
CN112561013A (en) Processing method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112929494B (en) Information processing method, information processing apparatus, information processing medium, and electronic device
CN114564271A (en) Chat window information input method and device and electronic equipment
CN112153219B (en) Alarm clock processing method and device, electronic equipment and readable storage medium
CN113835820A (en) Graphic code display method and device
CN111796736A (en) Application sharing method and device and electronic equipment

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