CN112134980A - Identification code display method and device, electronic equipment and storage medium - Google Patents

Identification code display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112134980A
CN112134980A CN202011014303.0A CN202011014303A CN112134980A CN 112134980 A CN112134980 A CN 112134980A CN 202011014303 A CN202011014303 A CN 202011014303A CN 112134980 A CN112134980 A CN 112134980A
Authority
CN
China
Prior art keywords
identification code
display screen
display
identification
input
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
CN202011014303.0A
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 Hangzhou 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 CN202011014303.0A priority Critical patent/CN112134980A/en
Publication of CN112134980A publication Critical patent/CN112134980A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly

Abstract

The application provides an identification code display method, an identification code display device, electronic equipment and a storage medium, which belong to the technical field of communication, and the method comprises the following steps: receive first input, respond to first input, through the second display screen shows the identification code, through first display screen show with the identification image that the identification code corresponds and show the preview image that gathers through the target camera for the user need not flip device just can see the outdoor scene of identification code place side when handheld electronic equipment sweeps the sign indicating number, thereby conveniently adjusts the identification code position, and it is more convenient to make to sweep the sign indicating number.

Description

Identification code display method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an identification code display method and apparatus.
Background
With the rapid development of intelligent terminals, it is more and more common in life to use mobile terminals to scan identification codes for payment, identity verification, identification links and the like, and code scanning identification technology has penetrated daily life. As the most common situation, the mobile phone shows a bus code, and when a subway is taken, a gate is accessed through a code scanning two-dimensional code, and the like.
The mobile terminal code scanning technology brings great convenience to life of people, but many times, when a user scans codes through a mobile terminal (such as a mobile phone), the mobile phone is required to be turned over frequently, and identification codes such as two-dimensional codes and bar codes on a screen of the mobile phone can be identified only by aligning the identification codes on the screen of the mobile phone to a code scanning area of code scanning equipment. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: after the mobile phone is turned over, the user cannot see the identification code and the actual position of the code scanning area (at the moment, the code scanning area is blocked by the equipment), and can only move and adjust the position by feeling, so that inconvenience is brought to the code scanning process of the user.
Disclosure of Invention
The application provides an identification code display method and device, electronic equipment and a storage medium, and the problems that when a user scans codes, the electronic equipment needs to be turned over, the position of the identification code cannot be accurately adjusted and the like can be solved.
In order to achieve the purpose, the following scheme is adopted in the application:
in a first aspect, an embodiment of the present application provides an identification code display method, which is applied to an electronic device, where the electronic device has a first display screen and a second display screen that are arranged oppositely, and the method includes:
receiving a first input;
responding to the first input, displaying an identification code through the second display screen, displaying an identification image corresponding to the identification code through the first display screen, and displaying a preview image acquired through a target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen. In a second aspect, an embodiment of the present application provides an identification code display apparatus, where the apparatus includes:
the first receiving module is used for receiving a first input;
the first processing module is used for responding to the first input, displaying an identification code through the second display screen, displaying an identification image corresponding to the identification code through the first display screen and displaying a preview image acquired through the target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen. In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps of the identifier display method provided in the embodiment of the present application.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the identifier display method provided by the present application.
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.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the application provides an identification code display method is applied to the electronic equipment that both sides set up first display screen and second display screen relatively, through receiving first input, responds to first input, through the second display screen shows the identification code, through first display screen show with the identification code corresponds the identification image and show the preview image that the target camera was gathered for the user is when handheld electronic equipment sweeps the sign indicating number, need not tipping arrangement and just can see the real scene that the identification code belonged to the side, thereby conveniently adjusts the adjustment of identification code position, makes it more convenient to sweep the sign indicating number.
Drawings
Fig. 1 is a flowchart of an identification code display method according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a preview image of an identification code display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a user handheld electronic device according to an identification code display method provided by an embodiment of the present application;
fig. 4 is a second schematic diagram of a user handheld electronic device according to an identification code display method provided by the embodiment of the present application;
fig. 5 is a schematic diagram illustrating an identification code display method according to an embodiment of the present disclosure;
fig. 6 is a second schematic view illustrating an identification code display method according to an embodiment of the present application;
fig. 7 is a third schematic view illustrating an identification code display method according to an embodiment of the present application;
fig. 8 is a fourth schematic view illustrating an identification code display method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an identification code display device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an identification code display device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an identification code display device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 13 is a schematic diagram of 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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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 method and the apparatus for displaying an identification code according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart of an identification code display method provided in an embodiment of the present application; it should be noted that the method can be applied to electronic equipment such as a mobile terminal, for example, a dual-screen mobile phone, where a first display screen and a second display screen are respectively disposed on the front side and the back side of the dual-screen mobile phone;
specifically, the identification code display method provided in the embodiment of the present application is applied to an electronic device, where the electronic device has a first display screen and a second display screen that are arranged oppositely, and the method includes:
step 101, receiving a first input;
the first input may be an input generated by a first operation, for example, a first operation performed by a user on a first display screen of a dual-screen mobile phone generates the first input, where the first display screen is a touch screen, for example: single click operation, double click operation, slide and click operation on a specific icon on the first display screen, and the like.
Step 102, responding to a first input, displaying an identification code through a second display screen, displaying an identification image corresponding to the identification code through a first display screen, and displaying a preview image acquired through a target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen;
the identification image comprises an identification code or an identification code replacing icon and is the same as the identification code displayed by the second display screen in shape.
Illustratively, the identification code includes a two-dimensional code, a bar code, and the like.
Illustratively, as in step 101, the user clicks an icon in the first display screen, the icon is associated with step 102, a first input is generated according to the above operation of the user, and in response to the first input, the mobile terminal first displays the identification code on the second display screen;
specifically, for example, a user clicks an icon associated with "an identification code is displayed on a second display screen on the back" on a first display screen on the front side of the dual-screen mobile phone, a first input is generated according to the user's operation, and the identification code is displayed on the second display screen on the back side of the dual-screen mobile phone in response to the first input.
Through the step 102, the target camera acquires the preview image to obtain the live-action image of the side where the second display screen is located, that is, the live-action image of the side where the identification code is located can be obtained, and obviously, the identification code scanning device is also located in the live-action image of the side where the second display screen is located;
illustratively, the identification code is displayed on a second display screen on the back of the dual-screen mobile phone, a camera on the second screen side is controlled to be opened, and a live-action image on the second screen side is shot.
Through the step 102, the relative position of the identification image and the identification code scanning device can be judged according to the acquired preview image;
the transparency of the identification image in the first display screen can be adjusted, so that the contents of the real scene image and the overlapped part of the real scene image can be seen;
it should be noted that if the electronic device has a lifting camera or an angle-adjustable camera, the display content range of the live-action image can be better adjusted by adjusting the shooting angle and range of the camera, and certainly, the user can also directly hold the electronic device by hand to adjust the viewing range of the camera.
It should be noted that the second display screen and the first display screen are located on two opposite sides of the electronic device, and the identification code or the identification code substitute icon displayed on the first display screen is opposite to the identification code displayed on the second display screen;
for example, the first display screen and the second display screen may be two screens of a dual-screen mobile phone, and are respectively disposed on the front side and the back side of the mobile phone;
referring to fig. 2, in step 102, the preview image is displayed in the first display screen 21, and the relative position between the identification image 22 in the first display screen 21 and the real-scene code scanning area 23 on the side where the second display screen is located can be seen in the first display screen 21, so that a user can see the real scene on the side where the identification code is located without turning over the electronic device, thereby conveniently adjusting the position of the identification code and making code scanning more convenient;
the identification code display method provided by the embodiment of the application can be used for electronic equipment, the electronic equipment can be a mobile terminal, such as a mobile phone, a tablet computer and other electronic equipment, and a first display screen and a second display screen are oppositely arranged on two sides of the electronic equipment. The identification code display method provided by the embodiment of the application responds to the first input by receiving the first input, displays the identification code through the second display screen, displays the identification image corresponding to the identification code through the first display screen and displays the preview image acquired through the target camera, so that a user can see the real scene of the side where the identification code is located without turning equipment when the handheld electronic equipment scans the code, the position of the identification code is conveniently adjusted, and the code scanning is more convenient.
Optionally, step 102, displaying the identification code through the second display screen in response to the first input includes:
acquiring a holding position of a user holding the electronic equipment;
determining a display area of the second display screen according to the holding position, wherein the display area is not overlapped with the holding position;
and displaying the identification code in the display area.
Exemplarily, referring to fig. 3, which is a schematic diagram illustrating a user holding an electronic device, in fig. 3, the electronic device held by the user is a dual-screen mobile phone, when the user holds the mobile phone, a hand contacts with the mobile phone, for example, a palm contacts with a second display screen of the mobile phone, a frame of the mobile phone, and a part of a front first display screen;
usually, when a user holds the mobile phone, the palm of the hand can block part of the area of the second display screen, so that when the display area of the second display screen is determined, the blocked area of the part of the area is removed, referring to the posture of the user holding the mobile phone usually shown in fig. 3, the second display screen of the part of the area where the thumb and the index finger are at the palm root of the hand is often blocked, so that the second display screen is not blocked in the area above the dotted line and can be used as the display area of the second display screen;
the area of the second display screen may be obtained by:
detecting an area of the second display screen in contact with a hand of a user;
acquiring a display area of the second display screen according to the area of the second display screen contacted with the hand of the user;
for example, the position of the contact between the hand of the user and the mobile phone can be detected by arranging a pressure-sensitive sensor on the frame of the mobile phone, so as to acquire the blocked area in the second display screen, and further acquire the non-blocked area of the second display screen as the display area of the second display screen.
Optionally, determining the display area of the second display screen according to the holding position further includes:
and if the determined size of the display area of the second display screen is smaller than the preset threshold, generating prompt information, wherein the prompt information is used for prompting a user to adjust the holding mode.
Referring to fig. 3, when a user holds a mobile phone, usually, only the lower 1/3 to 1/2 display area of the second display screen is covered, but sometimes, the user covers too much area of the second display screen when holding the mobile phone, which results in too small display area of the second display screen, so that the identification code does not have enough display area to be displayed, and at this time, a prompt is generated to guide the user to adjust the holding posture, so that the second display screen has enough display area for the identification code to be displayed;
the size preset threshold of the display area of the second display screen can be adjusted according to different electronic equipment screens and the sizes of the identification codes;
for example, referring to fig. 4, the minimum threshold of the second display screen display area of a certain dual-screen mobile phone is 1/3 of the second display screen, at this time, when the user holds the mobile phone, the palm covers 80% of the second display screen on the back, the second display screen display area obtained by detecting the contact position of the user with the second screen is obviously smaller than the preset threshold, and at this time, a prompt message is generated on the first display screen on the front side to prompt the user that the display area is too small, and the mobile phone is moved upward.
Optionally, the identification code display method provided in the embodiment of the present application further includes:
receiving a second input;
in response to a second input, replacing the identification image corresponding to the identification code displayed on the first display screen with the identification code replacement icon from the identification code or replacing the identification code replacement icon with the identification code;
the method can improve the safety when the user is in queue to scan the code: the method has the advantages that the recognition code is prevented from being stolen and brushed when a user waits to scan the code in a queue, the recognition code can be displayed on the first display screen instead of the recognition code, the size, the shape and the recognition of the icon are the same, and the user can know the position of the recognition code in a real scene and the relative position of the recognition code and code scanning equipment through the recognition code replacing icon;
wherein the second input may be an input generated by a second operation, such as: double-clicking the substitute icon, clicking the switching icon and the like to control whether the identification code is displayed on the first screen or the identification code substitute icon is displayed;
illustratively, as shown in fig. 5, the first screen on the left displays the identification code 221, and the first screen on the right displays the identification code substitute icon 222, and by receiving a second input, the preview image on the first screen can be switched between displaying the identification code 221 and the identification code substitute icon 222.
Optionally, the step 102,
after the preview image is displayed through the first display screen, the method further comprises the following steps:
receiving a third input;
and responding to a third input, adjusting the positions of the identification image displayed on the first display screen and the identification code displayed on the second display screen, and keeping the position of the identification image displayed on the first display screen opposite to the position of the identification code displayed on the second display screen.
The position of the identification code displayed by the second display screen can be adjusted through the change of the position of the identification image in the first display screen, so that the position of the identification code displayed by the second display screen can enable the code scanning to be successful, and meanwhile, the position of the identification image displayed by the first display screen is opposite to the position of the identification code displayed by the second display screen;
meanwhile, the change of the position of the identification code displayed by the second display screen can also enable the change of the relative position of the identification image in the preview image of the first display screen and the live-action of the side where the second display screen is located to display the real-time change of the relative position of the identification code and the code scanning area, and the change of the position of the identification image on the first display screen is related to the change of the position of the second display screen.
The third input may be an input generated by a third operation, for example, directly dragging the identification image on the first display screen to change the position of the identification image, so that the identification image on the first display screen coincides with the code scanning area of the code scanning device in the preview image, and thus the position of the identification code displayed on the second display screen is adjusted according to the change of the position of the identification image in the first display screen;
it should be noted that, because the second display screen is arranged opposite to the first display screen, and the relative position between the identification image in the first display screen and the code scanning device in the preview image is the same as the relative position between the identification code in the second display screen and the code scanning device in the side real scene where the second display screen is located, adjusting the position of the identification code displayed by the second display screen according to the change of the position of the identification image in the first display screen enables the identification code in the second display screen to make corresponding position adjustment, so that the identification code in the second display screen enters the code scanning area of the code scanning device, and the code scanning is completed;
exemplarily, referring to fig. 6, a process of adjusting the identification code replacement icon in the first display screen 21 according to the third input is shown, in state 1, the user drags the identification code replacement icon 222 in the arrow direction, and after the adjustment is completed, the position of the identification code replacement icon 222 in the first display screen 21 is as shown in state 2, and at this time, the identification code replacement icon 222 overlaps with the code scanning area 23 in the preview image;
referring to fig. 7, a schematic diagram of the adjustment of the identification code in the second display screen 3 according to the change of the position of the identification code or the identification code substitute icon in the first display screen (refer to fig. 6, adjustment from state 1 to state 2), the identification code 221 in the second display screen 3 is adjusted from state 1 'to state 2', and the identification code 221 in the second display screen 3 enters the code scanning area 23 of the code scanning device 24 on the side of the second display screen 3, so that the code scanning is completed.
For example, a touch area may be displayed below the first display screen, and the user performs a movement and drag operation in the touch area to adjust the position by sliding and dragging the identification code or the identification code in the preview image in the first display screen instead of the icon along with the movement, as shown in fig. 8, the touch area 211 of the first display screen 21 is slid and dragged in the touch area 211, and the identification image 22 in the first display screen 21 moves along with the movement.
Optionally, the identification code display method provided in the embodiment of the present application further includes:
when the display area of a target image displayed in the preview image is smaller than a preset threshold value, prompting a user to adjust the position of the electronic equipment on the first display screen, wherein the target image corresponds to a target object.
Specifically, the target object is a code scanning area of code scanning equipment, the target image corresponds to the target object, namely the target image is the code scanning area of the code scanning equipment displayed in the preview image, namely when a display area of the code scanning area is smaller than a threshold value, namely the two-dimensional code on the second display screen is too small in code scanning area overlapping range at the moment, the code scanning cannot be completed, the position of the electronic equipment is prompted by a user through the first display screen at the moment, and the two-dimensional code of the second display screen is overlapped with the code scanning area of the code scanning equipment more, so that the code scanning can be completed.
It should be noted that, in the identification code display method provided in the embodiment of the present application, the execution main body may be an identification code display apparatus, or a control module in the identification code display apparatus for executing the loaded identification code display method. In the embodiment of the present application, a method for displaying an identification code by an identification code display device is taken as an example, and the identification code display device provided in the embodiment of the present application is described.
Referring to fig. 9, an embodiment of the present application provides an identification code display device 90, including:
a first receiving module 91, configured to receive a first input;
the first processing module 92 is configured to, in response to a first input, display an identification code on the second display screen, display an identification image corresponding to the identification code on the first display screen, and display a preview image acquired by the target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen;
the identification image comprises an identification code or an identification code replacing icon and is the same as the identification code displayed by the second display screen in shape. It is to be noted that the identification code display device provided in the embodiment of the present application may be a mobile phone, a tablet computer, or other identification code display devices in which the first display screen and the second display screen are arranged opposite to each other.
Optionally, as shown in fig. 10, the first processing module 92 further includes:
the detection sub-module 921 is configured to acquire a holding position where a user holds the electronic device;
the determining submodule 922 is used for determining a display area of the second display screen according to the holding position, and the display area is not overlapped with the holding position;
the first processing module 92 is configured to display the identification code in the display area.
Optionally, as shown in fig. 10, the first processing module 92 further includes:
prompt submodule 923: and if the determined size of the display area of the second display screen is smaller than the preset threshold, generating prompt information for prompting a user to adjust the holding mode.
Optionally, as shown in fig. 11, the identification code display device 90 further includes:
a second input module 93 for receiving a second input;
and a second processing module 94, configured to replace the identification code displayed on the first display screen with the identification code replacement icon or replace the identification code replacement icon with the identification code in response to a second input.
Optionally, referring to fig. 11, the identification code display device 90 further includes:
a third input module 95 for receiving a third input;
and the third processing module 96 is configured to, in response to a third input, adjust the positions of the identification image displayed on the first display screen and the identification code displayed on the second display screen, and maintain the position of the identification image displayed on the first display screen relative to the position of the identification code displayed on the second display screen.
Optionally, the identification code display device 90 further includes:
and the prompting module is used for prompting a user to adjust the position of the electronic equipment on the first display screen when the display area of the target image displayed in the preview image is smaller than a preset threshold value, wherein the target image corresponds to a target object.
In the embodiment of the application, identification code display device 900 can realize that the identification code is displayed on the second display screen by receiving the first input in response to the first input and controlling the camera to shoot the live-action image on the side of the second display screen displays the preview image on the first display screen, displays the identification code and scans the relative position of the code scanner through the preview image so that the user can see the live-action image on the side of the identification code without turning equipment when the handheld electronic equipment scans the code, thereby conveniently adjusting the position of the identification code and enabling the code scanning to be more convenient.
The identification code display device in the embodiment of the present application may be a device, or may 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 Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The identification code display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The identification code display device provided in the embodiment of the present application can implement each process implemented by the identification code display device in the method embodiments of fig. 1 to 8, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 12, an embodiment of the present application further provides a schematic structural diagram of an electronic device 1200, which includes a processor 1202, a memory 1201, and a program or an instruction stored in the memory 1201 and executable on the processor 1202, where the program or the instruction, when executed by the processor 1202, implements each process of the foregoing embodiment of the identifier display method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and the like.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 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.
A processor 1310 for receiving a first input; in response to the first input, the processor is configured to,
displaying the identification code through a second display screen, displaying an identification image corresponding to the identification code through a first display screen, and displaying a preview image acquired through a target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen;
the identification image comprises an identification code or an identification code replacing icon and is the same as the identification code displayed by the second display screen in shape. The electronic device 1300 may enable selection of the first input by receiving a first input, responding to the first input,
through second display screen display identification code, through first display screen display with the identification code corresponds the identification code and show the preview image that gathers through the target camera, demonstrate the identification code through preview image and sweep the relative position of sign indicating number machine for the user need not tipping arrangement and just can see the outdoor scene of identification code place side when handheld electronic equipment sweeps the sign indicating number, thereby conveniently adjusts the identification code position, and it is more convenient to make to sweep the sign indicating number.
Optionally, the processor 1310 is further configured to obtain a holding position where the user holds the apparatus; determining a display area of the second display screen according to the holding position, wherein the display area is not overlapped with the holding position; and displaying the identification code in the display area.
Optionally, the processor 1310 is further configured to determine that the size of the display area of the second display screen is smaller than a preset threshold, and generate a prompt message for prompting a user to adjust a holding mode.
Optionally, the processor 1310 is further configured to receive a second input; and in response to the second input, replacing the identification code displayed on the first display screen with the identification code replacing icon or replacing the identification code replacing icon with the identification code.
Optionally, the processor 1310 is further configured to receive a third input; and responding to a third input, adjusting the positions of the identification image displayed on the first display screen and the identification code displayed on the second display screen, and keeping the position of the identification image displayed on the first display screen opposite to the position of the identification code displayed on the second display screen.
Optionally, the processor 1310 is further configured to prompt a user to adjust a position of the electronic device on the first display screen when a display area of a target image displayed in the preview image is smaller than a preset threshold, where the target image corresponds to a target object.
It should be understood that in the embodiment of the present application, the input Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and a microphone 13042, and the Graphics processor 13041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072. A touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 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. Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1310.
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 above-mentioned embodiment of the identifier display method, 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 run a program or an instruction to implement each process of the above embodiment of the identifier display method, 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 (14)

1. The identification code display method is applied to electronic equipment, wherein the electronic equipment is provided with a first display screen and a second display screen which are arranged oppositely, and the method comprises the following steps:
receiving a first input;
responding to the first input, displaying an identification code through the second display screen, displaying an identification image corresponding to the identification code through the first display screen, and displaying a preview image acquired through a target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen.
2. The identification code display method according to claim 1, wherein said displaying an identification code through the second display screen in response to the first input comprises:
acquiring a holding position of the electronic equipment held by a user;
determining a display area of the second display screen according to the holding position, wherein the display area is not overlapped with the holding position;
and displaying the identification code in the display area.
3. The method for displaying the identification code according to claim 2, wherein the determining the display area of the second display screen according to the holding position further comprises:
and if the size of the display area of the second display screen is smaller than a preset threshold, generating prompt information, wherein the prompt information is used for prompting a user to adjust the holding mode.
4. The identification code display method according to claim 1, further comprising:
receiving a second input;
and in response to the second input, replacing the identification image corresponding to the identification code displayed on the first display screen with an identification code replacement icon from the identification code or replacing the identification code replacement icon with the identification code, wherein the identification image comprises the identification code and the identification code replacement icon.
5. The method for displaying the identification code according to claim 1, further comprising, after the displaying the preview image through the first display screen:
receiving a third input;
and responding to the third input, adjusting the positions of the identification image displayed on the first display screen and the identification code displayed on the second display screen, and keeping the position of the identification image displayed on the first display screen opposite to the position of the identification code displayed on the second display screen.
6. The identification code display method according to claim 1, further comprising:
when the display area of a target image displayed in the preview image is smaller than a preset threshold value, prompting a user to adjust the position of the electronic equipment on the first display screen, wherein the target image corresponds to a target object.
7. An identification code display device, comprising:
the first receiving module is used for receiving a first input;
the first processing module is used for responding to the first input, displaying an identification code through the second display screen, displaying an identification image corresponding to the identification code through the first display screen and displaying a preview image acquired through the target camera;
the target camera and the second display screen are arranged on the same side, and the display position of the identification image in the first display screen corresponds to the display position of the identification code in the second display screen.
8. The apparatus of claim 7, wherein the first processing module further comprises:
the detection submodule is used for acquiring a holding position of the electronic equipment held by a user;
the determining submodule is used for determining a display area of the second display screen according to the holding position, and the display area is not overlapped with the holding position;
and the display submodule is used for displaying the identification code in the display area.
9. The apparatus of claim 8, wherein the first processing module further comprises:
and the prompting submodule is used for generating prompting information if the determined size of the display area of the second display screen is smaller than a preset threshold value, and prompting a user to adjust the holding mode.
10. The apparatus of claim 7, further comprising:
a second input module for receiving a second input;
and the second processing module is used for responding to the second input and replacing the identification image which is displayed on the first display screen and corresponds to the identification code with the identification code replacing icon from the identification code or replacing the identification code replacing icon with the identification code.
11. The apparatus of claim 7, further comprising:
a third input module for receiving a third input;
and the third processing module is used for adjusting the positions of the identification image displayed in the first display screen and the identification code displayed in the second display screen and keeping the position of the identification image displayed in the first display screen opposite to the position of the identification code displayed in the second display screen.
12. The apparatus of claim 7, further comprising:
and the prompting module is used for prompting a user to adjust the position of the electronic equipment on the first display screen when the display area of the target image displayed in the preview image is smaller than a preset threshold value, wherein the target image corresponds to a target object.
13. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the identification code display method according to any one of claims 1 to 6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the identification code display method according to any one of claims 1 to 6.
CN202011014303.0A 2020-09-24 2020-09-24 Identification code display method and device, electronic equipment and storage medium Pending CN112134980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011014303.0A CN112134980A (en) 2020-09-24 2020-09-24 Identification code display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011014303.0A CN112134980A (en) 2020-09-24 2020-09-24 Identification code display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112134980A true CN112134980A (en) 2020-12-25

Family

ID=73839660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011014303.0A Pending CN112134980A (en) 2020-09-24 2020-09-24 Identification code display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112134980A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278910A (en) * 2015-11-24 2016-01-27 努比亚技术有限公司 Display method and apparatus
CN109521978A (en) * 2018-09-28 2019-03-26 维沃移动通信有限公司 A kind of content display method and terminal device
CN109542381A (en) * 2018-11-26 2019-03-29 努比亚技术有限公司 Payment code display control method, mobile terminal and computer readable storage medium
CN110110571A (en) * 2019-04-28 2019-08-09 维沃移动通信有限公司 A kind of barcode scanning method and mobile terminal
CN110300286A (en) * 2019-07-17 2019-10-01 维沃移动通信有限公司 A kind of image display method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278910A (en) * 2015-11-24 2016-01-27 努比亚技术有限公司 Display method and apparatus
CN109521978A (en) * 2018-09-28 2019-03-26 维沃移动通信有限公司 A kind of content display method and terminal device
CN109542381A (en) * 2018-11-26 2019-03-29 努比亚技术有限公司 Payment code display control method, mobile terminal and computer readable storage medium
CN110110571A (en) * 2019-04-28 2019-08-09 维沃移动通信有限公司 A kind of barcode scanning method and mobile terminal
CN110300286A (en) * 2019-07-17 2019-10-01 维沃移动通信有限公司 A kind of image display method and terminal

Similar Documents

Publication Publication Date Title
CN111813309B (en) Display method, display device, electronic equipment and readable storage medium
CN112433693B (en) Split screen display method and device and electronic equipment
CN112911147B (en) Display control method, display control device and electronic equipment
US20240004676A1 (en) Screen Capture Method and Apparatus, Electronic Device, and Readable Storage Medium
CN112417421A (en) Scanning method, scanning device, electronic equipment and readable storage medium
WO2023025060A1 (en) Interface display adaptation processing method and apparatus, and electronic device
CN108874273B (en) Target operation execution method, device, terminal and storage medium
CN113298212A (en) Graphic code display method and device
WO2023169499A1 (en) Single-hand control method and control apparatus for touch screen, electronic device, and storage medium
CN112148167A (en) Control setting method and device and electronic equipment
CN111857507A (en) Desktop image processing method and device and electronic equipment
CN104216624A (en) Display method and electronic device
CN114222355B (en) Terminal power-saving display method and device and electronic equipment
CN112333395B (en) Focusing control method and device and electronic equipment
CN112134980A (en) Identification code display method and device, electronic equipment and storage medium
CN112148175B (en) Notification display mode setting method and device, electronic equipment and storage medium
CN113703592A (en) Secure input method and device
CN113873168A (en) Shooting method, shooting device, electronic equipment and medium
CN112764625A (en) Notification message display method and device
CN112165584A (en) Video recording method, video recording device, electronic equipment and readable storage medium
CN113342222A (en) Application classification method and device and electronic equipment
CN112765500A (en) Information searching method and device
CN112148171A (en) Interface switching method and device and electronic equipment
CN113726946B (en) Application program control method and device
CN112699388B (en) Encryption 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210422

Address after: 311121 Room 305, Building 20, Longquan Road, Cangqian Street, Yuhang District, Hangzhou City, Zhejiang Province

Applicant after: VIVO MOBILE COMMUNICATION (HANGZHOU) Co.,Ltd.

Address before: No.168 Jinghai East Road, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: VIVO MOBILE COMMUNICATION Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201225