CN108628568A - A kind of display methods of information, device and terminal device - Google Patents
A kind of display methods of information, device and terminal device Download PDFInfo
- Publication number
- CN108628568A CN108628568A CN201810457615.5A CN201810457615A CN108628568A CN 108628568 A CN108628568 A CN 108628568A CN 201810457615 A CN201810457615 A CN 201810457615A CN 108628568 A CN108628568 A CN 108628568A
- Authority
- CN
- China
- Prior art keywords
- display screen
- display
- orientation
- terminal device
- barcode scanning
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1647—Details related to the display arrangement, including those related to the mounting of the display in the housing including at least an additional display
- G06F1/1649—Details related to the display arrangement, including those related to the mounting of the display in the housing including at least an additional display the additional display being independently orientable, e.g. for presenting information to a second user
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3274—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of display methods of information, device and terminal device, this method is applied to terminal device, the terminal device includes two display screens, and two display screens are separately positioned on terminal device front and the terminal device back side, the method includes:In the case where the first display screen of terminal device shows graphic code, the orientation where the barcode scanning equipment of scanning figure shape code is determined;According to the orientation where the barcode scanning equipment, target display screen is determined, graphic code described in screen display is shown in the target.Utilize the embodiment of the present application, the orientation where determining barcode scanning equipment can only be passed through in the terminal device including two display screens, and then determine the target display screen for showing the graphic code, so that graphic code can be shown towards barcode scanning equipment, in this way, the position that user need not adjust terminal device easily can carry out barcode scanning to graphic code, and the display process of information is simple and fast.
Description
Technical field
This application involves a kind of field of computer technology more particularly to display methods of information, device and terminal devices.
Background technology
With the continuous development of terminal technology, the display screen of terminal device is increasing, especially such as mobile phone or tablet computer
Equal mobile terminals, still, in order to ensure that there is terminal device preferable hold to experience, the size of terminal device cannot be excessive, and
In order to meet the different demands of user, many terminal device developers improve the screen accounting of terminal device as far as possible.
Barcode scanning equipment can be used for reading the arrangement for reading for the information that the graphic codes such as bar code and Quick Response Code are included, barcode scanning
Equipment can utilize optical principle, being transferred to computer after the content decoding of graphic code by data line or wirelessly
Or other display equipment.Popularizing for mobile payment brings great life convenient to user, is read and is schemed using barcode scanning equipment
Shape code is existing universal way.Barcode scanning equipment can be divided into two kinds:One kind is hand-held barcode scanning equipment, and another kind is to be fixed on
The barcode scanning equipment of desktop, when trade company uses hand-held barcode scanning equipment, user needs to show the terminal device of graphic code
Display screen maintain an equal level or perpendicular to desktop, so that trade company is scanned.When trade company uses the barcode scanning for being fixed on desktop to set
When standby, user needs to show that the display screen of the terminal device of graphic code turns so that the display interface of display screen strives direction
Orientation where barcode scanning equipment is scanned.
However, by the above-mentioned means, user needs to adjust the position of terminal device according to the position of barcode scanning equipment, it is this
Barcode scanning mode can make user carry out many troublesome operations for adapting to barcode scanning equipment, thus to user during paying
Bring very big inconvenience.
Invention content
The embodiment of the present application provides a kind of display methods of information, to provide a kind of simple and fast carry out presentation of information
Scheme.
For this purpose, what the embodiment of the present application was realized in:
In a first aspect, the embodiment of the present application provides a kind of display methods of information, it is applied to terminal device, the terminal is set
Standby includes two display screens, and described two display screens are separately positioned on terminal device front and the terminal device back side, the method
Including:
In the case where the first display screen of terminal device shows graphic code, the barcode scanning equipment place of scanning figure shape code is determined
Orientation;
According to the orientation where the barcode scanning equipment, target display screen is determined, shown described in screen display in the target
Graphic code.
Optionally, the orientation according to where the barcode scanning equipment determines target display screen, including:
According to the orientation where the barcode scanning equipment, judge first display screen whether towards the barcode scanning equipment;
If it is, determining that target display screen is first display screen;
If it is not, then determining that target display screen is second display screen.
Optionally, described to show graphic code described in screen display in the target, including:
If it is determined that target display screen is second display screen, then switching key is shown in first display screen;
When detecting the predetermined operation to the switching key, the graphic code is switched to by first display screen
The second display screen.
Optionally, the orientation where the barcode scanning equipment of the determining scanning figure shape code, including:
The first image is obtained by front camera respectively and rear camera obtains the second image;
Binary conversion treatment carried out respectively to described first image and second image, it is corresponding generate the first black white image and
Second black white image;
The boundary value of first black white image and second black white image is calculated respectively, is tied according to calculating
Fruit determines the target black white image to match with predetermined image from first black white image and second black white image;
According to the target black white image, the orientation where the barcode scanning equipment is determined.
Optionally, the orientation where the barcode scanning equipment of the determining scanning figure shape code, including:
The infrared ray around the near infrared sensor is detected by infrared sensor;
If being higher than the infrared ray in other orientation relative to the infra-red intensity at the first orientation of the infrared sensor
Intensity, it is determined that the first orientation relative to the infrared sensor is the orientation where the barcode scanning equipment.
Second aspect, the embodiment of the present application provide a kind of display device of information, and described device includes two display screens, institute
The back side that two display screens are separately positioned on the front and described device of described device is stated, described device includes:
Orientation determining module, in the case where the first display screen shows graphic code, determining the barcode scanning of scanning figure shape code
Orientation where equipment;
Graphic code display module, for according to the orientation where the barcode scanning equipment, target display screen being determined, in the mesh
Mark shows graphic code described in screen display.
Optionally, the graphic code display module, including:
Judging unit, for according to the orientation where the barcode scanning equipment, judging first display screen whether towards institute
State barcode scanning equipment;
It shows determination unit, is used for if it is, determining that target display screen is first display screen;If it is not, then really
The display screen that sets the goal is second display screen.
Optionally, the graphic code display module, including:
Switching display unit is used for if it is determined that target display screen is second display screen, then in first display screen
Show switching key;
Switch unit, for when detecting the predetermined operation to the switching key, by the graphic code by described
One display screen is switched to the second display screen.
Optionally, the orientation determining module, including:
Image acquisition unit obtains for obtaining the first image and rear camera by front camera respectively
Two images;
Binary conversion treatment unit, it is right for carrying out binary conversion treatment respectively to described first image and second image
The first black white image and the second black white image should be generated;
Computing unit, based on being carried out respectively to the boundary value of first black white image and second black white image
It calculates, according to result of calculation, determining and predetermined image matches from first black white image and second black white image
Target black white image;
First orientation determination unit, for according to the target black white image, determining the orientation where the barcode scanning equipment.
Optionally, the orientation determining module, including:
Infrared detection unit, for detecting the infrared ray around the near infrared sensor by infrared sensor;
Second orientation determination unit, if for relative to the infra-red intensity at the first orientation of the infrared sensor
Higher than the infra-red intensity in other orientation, it is determined that the first orientation relative to the infrared sensor is the barcode scanning equipment institute
Orientation.
The third aspect, the embodiment of the present application provide a kind of terminal device, including processor, memory and are stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of display methods for the information that above-mentioned first aspect provides.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, the computer program realizes the aobvious of the information that above-mentioned first aspect provides when being executed by processor
The step of showing method.
By the above technical solution provided by the embodiments of the present application as it can be seen that the embodiment of the present application is applied to terminal device, the end
End equipment includes two display screens, and two display screens are separately positioned on terminal device front and the terminal device back side, in terminal
In the case that first display screen of equipment shows graphic code, the orientation where the barcode scanning equipment of scanning figure shape code is determined, and according to
Orientation where barcode scanning equipment determines target display screen, the screen display graphic code is shown in target, in this way, including two
Only by the orientation where determining barcode scanning equipment in the terminal device of display screen, and then determines and show that the target of the graphic code is shown
Screen, so that graphic code can be shown towards barcode scanning equipment, in this way, the position that user need not adjust terminal device can be square
Just to graphic code carry out barcode scanning, the display process of information is simple and fast, improves payment efficiency.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments described in application, for those of ordinary skill in the art, in the premise of not making the creative labor property
Under, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of display methods embodiment of information of the application;
Fig. 2 is a kind of structural schematic diagram of terminal device of the application;
Fig. 3 is a kind of structural schematic diagram of the display of information of the application;
Fig. 4 is the display methods embodiment of the application another kind information;
Fig. 5 is the display methods embodiment of another information of the application;
Fig. 6 is the display methods embodiment of another information of the application;
Fig. 7 is a kind of display device embodiment of information of the application;
Fig. 8 is a kind of terminal device embodiment of the application.
Specific implementation mode
The embodiment of the present application provides a kind of display methods of information, device and terminal device.
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The every other embodiment that technical staff is obtained without creative efforts should all belong to the application protection
Range.
Embodiment one
As shown in Figure 1, the embodiment of the present application provides a kind of display methods of information, the executive agent of this method can be eventually
End equipment, the terminal device can such as personal computer equipment, can also such as mobile phone, tablet computer mobile terminal device,
The terminal device can be the terminal device that user uses.As shown in Fig. 2, the terminal device may include two display screens, and
And it is separately positioned on terminal device front and the terminal device back side, wherein the one side where front camera can be that terminal is set
Standby front, the one side where rear camera can be the terminal device back side.This method can be used to implement in two display screens
Which of display screen show that the processing such as specify information is medium.This method can specifically include following steps:
In S102, in the case where the first display screen of terminal device shows graphic code, sweeping for scanning figure shape code is determined
Orientation where decoding apparatus.
Wherein, the first display screen can be any display screen in two display screens of terminal device, the two of terminal device
A display screen can be backwards to placing, for example, the display interface face user of a display screen, the display interface of another display screen
Can be backwards to user etc., in practical applications, the position of two display screens can be unfixed, for example, two display screens can
Backwards to placing, two display screens can also be adjusted to equidirectional display etc. by preset shaft, the application is implemented
Example does not limit for whether the relative position of two display screens fixes.Graphic code can use certain specific geometric figure
Arranged by certain coding rule, to express the graphical identifier of a group information, it is specific such as bar code (i.e. Bar Code) and
Quick Response Code (such as QR codes (Quick Response Code, quick response codes) etc.).Barcode scanning equipment can be graphic code for identification
Equipment, the information for including in graphic code can be quickly identified and obtained by barcode scanning equipment, and the information is parsed, will
Interior perhaps its corresponding content of parsing is presented to the user, and such as content of parsing is a network linking, then can be by the network
Link is presented to the user, alternatively, can also be presented to the user the corresponding web page contents of the network linking.It orientation can the side of being
To with position etc., position can be relative position, can also be geographical location etc..
In force, with the continuous development of terminal technology, the display screen of terminal device is increasing, especially such as mobile phone or
The mobile terminals such as tablet computer, still, in order to ensure that there is terminal device preferable hold to experience, the size of terminal device cannot
It is excessive, and in order to meet the different demands of user, many terminal device developers are that terminal device is provided with two display screens, example
Include two display screens backwards to placement such as on a mobile phone.User can complete different behaviour on two display screens
Make, for example, user can be played by one of display screen, it is acute to watch movie or television by another display screen
Deng alternatively, two display screens can be extended to a larger display screen, with the display experience etc. for embodying terminal device.Two
A display screen can be not completely independent display screen, can be carried out independent complete touch operation.
Barcode scanning equipment can be used for reading the arrangement for reading for the information that the graphic codes such as bar code and Quick Response Code are included, barcode scanning
Equipment can utilize optical principle, being transferred to computer after the content decoding of graphic code by data line or wirelessly
Or other display equipment.Barcode scanning equipment can be irradiated to by sending out Ray Of Light with the figures such as bar code or Quick Response Code
Where code on object, light returns to the reader in barcode scanning equipment after the reflection of figure in graphic code, by a mirror into
Row acquisition focuses, and is converted into electric signal by photoelectric converter, can the electric signal will be passed through barcode scanning equipment or terminal device
On decoding application program into row decoding.
Popularizing for mobile payment brings great life convenient to user, and it is existing to read graphic code using barcode scanning equipment
Universal way.Barcode scanning equipment can be divided into two kinds:One kind is hand-held barcode scanning equipment, and another kind is the barcode scanning for being fixed on desktop
Equipment, for the terminal device of single display screen, when trade company uses hand-held barcode scanning equipment, user needs will display
The display screen of the terminal device of graphic code maintains an equal level or perpendicular to desktop, so that trade company is scanned.When trade company uses admittedly
When the barcode scanning equipment of desktop, user needs to show that the display screen of the terminal device of graphic code turns so that display screen
Display interface be scanned towards orientation where barcode scanning equipment.User can adjust terminal according to the position of barcode scanning equipment
The position of equipment, this barcode scanning mode can bring very big inconvenience to user, for this purpose, the embodiment of the present application provides a kind of information
Display mechanism can specifically include the following contents:
Application program for paying the bill can be installed in the terminal device of user, it, can when user needs payment
May include the options such as " payment " and " gathering " to start the application program, in the application program, at this point, user can click
" payment " option, terminal device can obtain the relevant information of the user, such as account information, can pass through the user of acquisition
Relevant information generate graphic code, then, terminal device can show the graphic code.As shown in figure 3, terminal device can be real-time
The display situation for monitoring display screen, when monitoring that display screen (i.e. the first display screen) shows graphic code, terminal device can be examined
Survey the direction and position where barcode scanning equipment.Wherein, the processing in the orientation where terminal device detection barcode scanning equipment can be a variety of
Different realization methods, such as can corresponding image be shot by front camera and rear camera respectively, pass through shooting
Image can be determined that direction and position where barcode scanning equipment, for example, rear camera shooting image include the barcode scanning
The image of equipment can then determine that barcode scanning equipment is located at the corresponding one end of rear camera, at this point it is possible to shooting including being somebody's turn to do
The image of barcode scanning equipment is analyzed, and determines barcode scanning equipment relative to the direction of terminal device and position etc., specifically, for example,
Barcode scanning equipment can be located at the front of terminal device, and position is apart from 30 centimetres of terminal device etc., alternatively, can also pass through ground
Position coordinates are managed to indicate, the embodiment of the present application does not limit this.
It should be noted that other than it can determine the orientation of barcode scanning equipment in such a way that camera shoots image, also
The orientation of barcode scanning equipment can be determined otherwise, for example, it is contemplated that infrared light would generally be sent out to barcode scanning equipment, therefore,
Infrared light can be detected by infrared sensor, the orientation of infrared light can will be detected as where barcode scanning equipment
Orientation.
In S104, according to the orientation where the barcode scanning equipment, target display screen is determined, shown in screen display in target
State graphic code.
In force, as shown in figure 3, behind orientation where terminal device determines barcode scanning equipment, it may be determined that two aobvious
Which display screen (or its display interface) is towards barcode scanning equipment in display screen, if it is determined that the first display screen (or its display interface)
Currently towards barcode scanning equipment, then it can determine and show that the display screen (i.e. target display screen) of above-mentioned graphic code is the first display screen,
At this point, the graphic code shown in the first display screen can need not be adjusted, and still maintains and be shown in the first display screen
In, in this way, the position that user need not adjust terminal device easily can carry out barcode scanning by barcode scanning equipment.If it is determined that second
Display screen can then determine that target display screen is second display screen, at this point it is possible to by the first display screen currently towards barcode scanning equipment
The graphic code of middle display, which is transformed into second display screen, to be shown, so that graphic code can be shown towards barcode scanning equipment, in this way,
The position that user need not adjust terminal device easily can carry out barcode scanning to graphic code.
Terminal device can also whether test pattern code be finished by barcode scanning device scan in real time or whether test pattern code
Using finishing, if it is, the graphic code can also be reverted to the display screen (i.e. for being initially displayed the graphic code by terminal device
One display screen) in, for example, graphic code is switched to display etc. in the first display screen by second display screen, if the first display screen
Towards barcode scanning equipment, then after graphic code use, terminal device can need not switch over graphic code.
The embodiment of the present application provides a kind of display methods of information, is applied to terminal device, which includes two
Display screen, and two display screens are separately positioned on terminal device front and the terminal device back side, in the first display of terminal device
In the case of screen display diagram shape code, the orientation where the barcode scanning equipment of scanning figure shape code is determined, and according to where barcode scanning equipment
Orientation determines target display screen, the screen display graphic code is shown in target, in this way, being set in the terminal including two display screens
Only by the orientation where determining barcode scanning equipment in standby, and then the target display screen for showing the graphic code is determined, so that figure
Shape code can be shown towards barcode scanning equipment, in this way, the position that user need not adjust terminal device can be easily to graphic code
Barcode scanning is carried out, the display process of information is simple and fast, improves payment efficiency.
Embodiment two
As shown in figure 4, the embodiment of the present application provides a kind of display methods of information, the executive agent of this method can be eventually
End equipment, the terminal device can such as personal computer equipment, can also such as mobile phone, tablet computer mobile terminal device,
The terminal device can be the terminal device that user uses.The terminal device may include two display screens, moreover, two displays
Screen is separately positioned on terminal device front and the terminal device back side.Which in two display screens be this method can be used to implement
A display screen shows that the processing such as specify information is medium.The present embodiment can be a kind of specific implementation form of above-described embodiment one,
This method can specifically include following steps:
In S402, in the case where the first display screen of terminal device shows graphic code, sweeping for scanning figure shape code is determined
Orientation where decoding apparatus.
The processing procedure of above-mentioned S402 may refer to the related content of S102 in above-described embodiment one, and details are not described herein.
In S404, according to the orientation where above-mentioned barcode scanning equipment, judge the first display screen whether towards the barcode scanning equipment.
In force, after by the orientation where the determining barcode scanning equipment of the processing of above-mentioned S402, it can be determined that terminal device
Any one display screen whether towards the barcode scanning equipment, since graphic code is currently displayed in the first display screen, can be with
Whether the first display screen is judged towards the barcode scanning equipment, specific judgment mode can shoot image by camera and realize, or
The light that barcode scanning equipment is sent out can be detected by the light sensor in terminal device to realize.For example, it may be determined that with first
Display screen is in the camera of the same side, it is then possible to start the camera, one or more can be shot by the camera
Image can analyze every image of shooting, judge in image whether to include barcode scanning equipment, can be with if including
The first display screen is determined towards the barcode scanning equipment, if not including, can determine the first display screen not towards the barcode scanning equipment.
For another example the light around light sensor detection light sensor can be started, if detected one where the first display screen
Certain light (light that i.e. barcode scanning equipment is sent out) intensity of side is more than the intensity of the light in other directions, then can determine first
Display screen is towards the barcode scanning equipment, if detecting that the light intensity of second display screen side is more than being somebody's turn to do for other directions
The intensity of light can then determine second display screen towards the barcode scanning equipment, and the first display screen is not towards the barcode scanning equipment etc..
In S406, if it is, determining that target display screen is the first display screen.
In S408, if it is not, then determining that target display screen is second display screen.
In practical applications, if it is determined that target display screen is second display screen, then terminal device can execute following
The processing of S410 and S412.
In S410, switching key is shown in the first display screen.
Wherein, switching key can be used for shown in two display screens content (can be specified partial content,
Can be the full content etc. shown) button that is mutually switched, which may include a variety of appearance forms, example
Such as, the button etc. of the button of switching printed words or the figure with switch flag is carried.
In force, the display screen being initially displayed due to graphic code is the first display screen, and second display screen is towards barcode scanning
Equipment, it is above-mentioned processed in order to realize therefore, it is necessary to be switched to graphic code on second display screen by the first display screen to show
Journey can show switching key in the first display screen.
In S412, when detecting the predetermined operation to above-mentioned switching key, by above-mentioned graphic code by the first display screen
It is switched to second display screen.
Wherein, predetermined operation can be preset arbitrary operation, specifically may be set according to actual conditions, the application
Embodiment does not limit this, specific such as clicking operation or pressing operation.
In force, the trigger action (i.e. predetermined operation) to switching key can be preset, when determining that target shows
When screen is second display screen, switching key can be shown at some position of the display interface of the first display screen.Then, eventually
End equipment can detect the state of the switching key in real time, can when detecting that user carries out predetermined operation to the switching key
It is shown so that the graphic code shown in the first display screen to be switched in second display screen, for example, predetermined operation is clicking operation,
Then when terminal device detects that user clicks the switching key, the graphic code shown in the first display screen can be switched to
It is shown in two display screens, so that graphic code can be shown towards barcode scanning equipment, in this way, user need not adjust terminal device
Position can easily to graphic code carry out barcode scanning.
In practical applications, the processing of above-mentioned steps S412 may include a variety of realization methods, may include:When detecting
Include the whole including above-mentioned graphic code or specified part by the first display screen when to the predetermined operation of above-mentioned switching key
Display content, which is switched in second display screen, to be shown.
In force, only the graphic code shown in the first display screen can be switched in second display screen and is shown, and the
Other data in one display screen other than graphic code remain in the first display screen, alternatively, can be by the first display screen
The partial content including graphic code of middle display, which is switched in second display screen, to be shown, alternatively, can also will be in the first display screen
The full content of display is switched to display etc. in second display screen (including graphic code).Further, it is possible to use the first display
Screen includes the whole including above-mentioned graphic code or the display content in specified portions of display content covering second display screen, or
Person, can be in the form of suspended window, whole or specified part of the display including above-mentioned graphic code in second display screen
Show that content, suspended window can be suspended in the window on the current display content upper layer of second display screen.
In addition, the processing based on the above switching display, can also be performed following processing procedures:It will be in second display screen
Display content be switched in the first display screen and show.
In force, can use the display content display content in second display screen covered in the first display screen,
Alternatively, the display content etc. in second display screen can also be shown in the first display screen in the form of suspended window.
Terminal device can also whether test pattern code be finished by barcode scanning device scan in real time or whether test pattern code
Using finishing, if it is, the graphic code can also be reverted to the display screen (i.e. for being initially displayed the graphic code by terminal device
One display screen) in, for example, graphic code is switched to display etc. in the first display screen by second display screen, if the first display screen
Towards barcode scanning equipment, then after graphic code use, terminal device can need not switch over graphic code.
In addition, in another alternative embodiment, graphic code is shown by the first display screen, or is shown by second display screen
Show, can be selected according to actual conditions by user, in practical applications, when the first display screen display figure for monitoring terminal device
When shape code, switching key is shown in the first display screen, when detecting the predetermined operation to the switching key, by the graphic code
Second display screen is switched to by the first display screen.
The embodiment of the present application provides a kind of display methods of information, is applied to terminal device, which includes two
Display screen, and two display screens are separately positioned on terminal device front and the terminal device back side, in the first display of terminal device
In the case of screen display diagram shape code, the orientation where the barcode scanning equipment of scanning figure shape code is determined, and according to where barcode scanning equipment
Orientation determines target display screen, the screen display graphic code is shown in target, in this way, being set in the terminal including two display screens
Only by the orientation where determining barcode scanning equipment in standby, and then the target display screen for showing the graphic code is determined, so that figure
Shape code can be shown towards barcode scanning equipment, in this way, the position that user need not adjust terminal device can be easily to graphic code
Barcode scanning is carried out, the display process of information is simple and fast, improves payment efficiency.
Embodiment three
As shown in figure 5, the embodiment of the present application provides a kind of display methods of information, the executive agent of this method can be eventually
End equipment, the terminal device can such as personal computer equipment, can also such as mobile phone, tablet computer mobile terminal device,
The terminal device can be the terminal device that user uses.The terminal device may include two display screens, moreover, two displays
Screen is separately positioned on terminal device front and the terminal device back side.Which in two display screens be this method can be used to implement
A display screen shows that the processing such as specify information is medium.The present embodiment can be another specific implementation shape of above-described embodiment one
Formula, this method can specifically include following steps:
In S502, in the case where the first display screen of terminal device shows graphic code, pass through front camera respectively
It obtains the first image and rear camera obtains the second image.
In force, it may include two cameras in terminal device, usually may include that front camera and postposition are taken the photograph
As head, moreover, the side where camera, is further typically provided with first in display screen, such as two display screens of terminal device
Side where display screen includes a camera, and the side where second display screen also includes a camera, specifically such as, preceding
The display screen there are one display interface towards user is arranged in side where setting camera, the side setting where rear camera
There are one display interfaces backwards to the display screen etc. of user, moreover, two display screens are separately positioned on terminal device front and terminal
Equipment back side.
In the case where the first display screen of terminal device shows graphic code, preposition camera shooting can be respectively started in terminal device
Head and rear camera, the first image of its side can be shot by front camera, can be wrapped in first image
Include the image of such as user, the image of barcode scanning equipment.Meanwhile terminal device can also be shot by rear camera one where it
Second image of side, may include in second image image of such as certain scenery, barcode scanning equipment image.
In S504, binary conversion treatment is carried out respectively to above-mentioned first image and the second image, it is corresponding to generate the first black and white
Image and the second black white image.
Wherein, binary conversion treatment can set the gray value of the pixel on image to 0 or 255, that is, will be whole
A image shows the process of apparent black and white effect.
It in force, can after taking the first image and the second image respectively by front camera and rear camera
The gray level image taken is carried out binary conversion treatment respectively, corresponding binary image (i.e. the first artwork master is respectively obtained
Picture and the second black white image), in this way, can be conducive to when being further processed to image, set property and the picture of image
Element value is related for the position of 0 or 255 point, does not further relate to the multilevel values of pixel, so that image procossing becomes simple, and
The processing of data and decrement are small.Ideal black white image in order to obtain, the general boundary definition using closing, connection do not overlap
Region.The pixel that all gray scales are greater than or equal to predetermined threshold is judged as belonging to certain objects, and gray value can use
255 indicate that otherwise above-mentioned pixel is excluded other than object area, gray value 0, indicate the object areas of background or exception
Domain.
In S506, the boundary value of above-mentioned first black white image and the second black white image is calculated respectively, according to meter
It calculates as a result, determining the target black white image to match with predetermined image from the first black white image and the second black white image.
Wherein, predetermined image may be set according to actual conditions, in practical applications, it is contemplated that barcode scanning equipment would generally produce
The raw image shaped like " day " word, therefore, predetermined image can be the image etc. shaped like " day " word.
In force, the first black white image and the second black white image can be obtained by above-mentioned processing procedure, can distinguished
The boundary value of first black white image and the second black white image is calculated, corresponding result of calculation is obtained.Terminal device can be with
It is compared with predetermined image according to obtained result of calculation, if some obtained result of calculation and predetermined image phase
Match, then can obtain the corresponding black white image of the result of calculation (i.e. target black white image), target black white image can be first
One in black white image and the second black white image.
The orientation where barcode scanning equipment can be determined according to target black white image, specifically may refer to the place of following S508
Reason.
In S508, according to target black white image, the orientation where barcode scanning equipment is determined.
In force, it can be determined at the corresponding binaryzation of target black white image according to obtained target black white image
Target image before reason, target image can be one in the first image and the second image.It can be determined by target image
The camera of photographic subjects image, and the orientation where barcode scanning equipment can be obtained according to determining camera.For example, obtaining
Target black white image be the second black white image, then can determine the target figure before the corresponding binary conversion treatment of the second black white image
As being the second image, and therefore the rear camera that the camera for shooting the second image is terminal device can image postposition
Orientation where head is determined as the orientation where barcode scanning equipment.
In S510, according to the orientation where barcode scanning equipment, judge the first display screen whether towards barcode scanning equipment.
The processing procedure of above-mentioned S510 may refer to the related content of S404 in above-described embodiment two, and details are not described herein.
In S512, if it is, determining that target display screen is the first display screen.
In S514, if it is not, then determining that target display screen is second display screen.
In practical applications, if it is determined that show that the display screen of above-mentioned graphic code is second display screen, then terminal device can
To execute the processing of following S516.
In S516, above-mentioned graphic code is switched to second display screen by the first display screen.
The processing procedure of above-mentioned S516 may refer to the related content of S104 or above-described embodiment two in above-described embodiment one
The related content of middle S412, details are not described herein.
The specific processing mode of above-mentioned S516 can be varied, and a kind of optional processing mode presented below specifically may be used
To include the following steps one and step 2.
Step 1 shows switching key in the first display screen.
Step 2 is cut above-mentioned graphic code by the first display screen when detecting the predetermined operation to above-mentioned switching key
Change to second display screen.
The processing procedure of above-mentioned steps one and step 2 can be respectively referring to the phase of S410 and S412 in above-described embodiment two
Hold inside the Pass, details are not described herein.
Terminal device can also whether test pattern code be finished by barcode scanning device scan in real time or whether test pattern code
Using finishing, if it is, the graphic code can also be reverted to the display screen (i.e. for being initially displayed the graphic code by terminal device
One display screen) in, for example, graphic code is switched to display etc. in the first display screen by second display screen, if the first display screen
Towards barcode scanning equipment, then after graphic code use, terminal device can need not switch over graphic code.
The embodiment of the present application provides a kind of display methods of information, is applied to terminal device, which includes two
Display screen, and two display screens are separately positioned on terminal device front and the terminal device back side, in the first display of terminal device
In the case of screen display diagram shape code, the orientation where the barcode scanning equipment of scanning figure shape code is determined, and according to where barcode scanning equipment
Orientation determines target display screen, the screen display graphic code is shown in target, in this way, being set in the terminal including two display screens
Only by the orientation where determining barcode scanning equipment in standby, and then the target display screen for showing the graphic code is determined, so that figure
Shape code can be shown towards barcode scanning equipment, in this way, the position that user need not adjust terminal device can be easily to graphic code
Barcode scanning is carried out, the display process of information is simple and fast, improves payment efficiency.
Example IV
As shown in fig. 6, the embodiment of the present application provides a kind of display methods of information, the executive agent of this method can be eventually
End equipment, the terminal device can such as personal computer equipment, can also such as mobile phone, tablet computer mobile terminal device,
The terminal device can be the terminal device that user uses.The terminal device may include two display screens, moreover, two displays
Screen is separately positioned on terminal device front and the terminal device back side.Which in two display screens be this method can be used to implement
A display screen shows that the processing such as specify information is medium.The present embodiment can be another specific implementation shape of above-described embodiment one
Formula, this method can specifically include following steps:
In S602, in the case where the first display screen of terminal device shows graphic code, detected by infrared sensor
Infrared ray around the near infrared sensor.
Wherein, infrared sensor can be by diversified forms, such as the infrared biography of simple function installed in terminal device
Sensor, alternatively, can be the infrared photography head etc. being integrated into infrared sensor in camera, it is infrared in the embodiment of the present application
Sensor can refer to the random devices with detection infrared light.
In force, it is contemplated that barcode scanning equipment is typically by sending out infrared light come scanning figure shape code, for this purpose, can lead to
The infrared light around the infrared sensor detection in terminal device is crossed, the orientation where barcode scanning equipment is judged with this.With infrared
For camera, when monitoring that the first display screen of terminal device shows graphic code, terminal device can start infrared photography
Head can acquire the intensity of the infrared light of different direction, wherein may include two in terminal device by infrared camera
Camera, can be respectively front camera and rear camera, and front camera and rear camera can be infrared take the photograph
As head, at this point it is possible to be respectively started around front camera and rear camera detection front camera and rear camera
The intensity of infrared light, alternatively, can also be that front camera or rear camera are infrared cameras, at this point it is possible to start
Infrared camera can detect the intensity of the infrared light around front camera and rear camera by infrared camera.
In S604, if being higher than other orientation relative to the infra-red intensity at the first orientation of above-mentioned infrared sensor
Infra-red intensity, it is determined that relative to the infrared sensor first orientation be barcode scanning equipment where orientation.
Wherein, can be relative to arbitrary on infrared sensor position relative to the first orientation of infrared sensor
Orientation, if direct north, the position coordinates of infrared sensor are (a, b), alternatively, the southwestward of infrared sensor, position are sat
It is designated as (c, d) etc..
In S606, according to the orientation where above-mentioned barcode scanning equipment, judge the first display screen whether towards barcode scanning equipment.
The processing procedure of above-mentioned S606 may refer to the related content of S404 in above-described embodiment two, and details are not described herein.
In S608, if it is, determining that target display screen is the first display screen.
In S610, if it is not, then determining that target display screen is second display screen.
In practical applications, if it is determined that target display screen is second display screen, then terminal device can execute following
The processing of S612.
In S612, above-mentioned graphic code is switched to second display screen by the first display screen.
The processing procedure of above-mentioned S612 may refer to the related content of S104 or above-described embodiment two in above-described embodiment one
The related content of middle S412, details are not described herein.
The specific processing mode of above-mentioned S612 can be varied, and a kind of optional processing mode presented below specifically may be used
To include the following steps one and step 2.
Step 1 shows switching key in the first display screen.
Step 2 is cut above-mentioned graphic code by the first display screen when detecting the predetermined operation to above-mentioned switching key
Change to second display screen.
The processing procedure of above-mentioned steps one and step 2 can be respectively referring to the phase of S410 and S412 in above-described embodiment two
Hold inside the Pass, details are not described herein.
Terminal device can also whether test pattern code be finished by barcode scanning device scan in real time or whether test pattern code
Using finishing, if it is, the graphic code can also be reverted to the display screen (i.e. for being initially displayed the graphic code by terminal device
One display screen) in, for example, graphic code is switched to display etc. in the first display screen by second display screen, if the first display screen
Towards barcode scanning equipment, then after graphic code use, terminal device can need not switch over graphic code.
The embodiment of the present application provides a kind of display methods of information, is applied to terminal device, which includes two
Display screen, and two display screens are separately positioned on terminal device front and the terminal device back side, in the first display of terminal device
In the case of screen display diagram shape code, the orientation where the barcode scanning equipment of scanning figure shape code is determined, and according to where barcode scanning equipment
Orientation determines target display screen, the screen display graphic code is shown in target, in this way, being set in the terminal including two display screens
Only by the orientation where determining barcode scanning equipment in standby, and then the target display screen for showing the graphic code is determined, so that figure
Shape code can be shown towards barcode scanning equipment, in this way, the position that user need not adjust terminal device can be easily to graphic code
Barcode scanning is carried out, the display process of information is simple and fast, improves payment efficiency.
Embodiment five
It is the display methods of information provided by the embodiments of the present application above, is based on same thinking, the embodiment of the present application is also
A kind of display device of information is provided, described device includes two display screens, and two display screens are separately positioned on the device
The back side in front and the device, as shown in Figure 7.
The display device of described information includes:Orientation determining module 701 and graphic code display module 702, wherein:
Orientation determining module 701, for when the first display screen shows graphic code, determining the barcode scanning equipment of scanning figure shape code
The orientation at place;
Graphic code display module 702, for according to the orientation where the barcode scanning equipment, target display screen being determined, in institute
It states target and shows graphic code described in screen display.
In the embodiment of the present application, the graphic code display module 702, including:
Judging unit, for according to the orientation where the barcode scanning equipment, judging first display screen whether towards institute
State barcode scanning equipment;
It shows determination unit, is used for if it is, determining that target display screen is first display screen;If it is not, then really
The display screen that sets the goal is second display screen.
In the embodiment of the present application, the graphic code display module 702 further includes:
Switching display unit is used for if it is determined that target display screen is second display screen, then in first display screen
Show switching key;
Switch unit, for when detecting the predetermined operation to the switching key, by the graphic code by described
One display screen is switched to the second display screen.
In the embodiment of the present application, the orientation determining module 701, including:
Image acquisition unit obtains for obtaining the first image and rear camera by front camera respectively
Two images;
Binary conversion treatment unit, it is right for carrying out binary conversion treatment respectively to described first image and second image
The first black white image and the second black white image should be generated;
Computing unit, based on being carried out respectively to the boundary value of first black white image and second black white image
It calculates, according to result of calculation, determining and predetermined image matches from first black white image and second black white image
Target black white image;
First orientation determination unit, for according to the target black white image, determining the orientation where the barcode scanning equipment.
In the embodiment of the present application, the orientation determining module 701, including:
Infrared detection unit, for detecting the infrared ray around the near infrared sensor by infrared sensor;
Second orientation determination unit, if for relative to the infra-red intensity at the first orientation of the infrared sensor
Higher than the infra-red intensity in other orientation, it is determined that the first orientation relative to the infrared sensor is the barcode scanning equipment institute
Orientation.
The display device of information provided by the embodiments of the present application can realize that terminal is set in the embodiment of the method for Fig. 1 to Fig. 6
The standby each process realized, to avoid repeating, which is not described herein again.
The embodiment of the present application provides a kind of display device of information, which includes two display screens, and is separately positioned on
The front of the device and the back side of the device determine sweeping for scanning figure shape code in the case where the first display screen shows graphic code
Orientation where decoding apparatus, and according to the orientation where barcode scanning equipment, determine target display screen, show that screen display should in target
Graphic code, in this way, only by the orientation where determining barcode scanning equipment in the terminal device including two display screens, and then determine
The target display screen of the graphic code is shown, so that graphic code can be shown towards barcode scanning equipment, in this way, user need not adjust
The position of whole terminal device easily can carry out barcode scanning to graphic code, and the display process of information is simple and fast, improves payment
Efficiency.
Embodiment six
Fig. 8 is a kind of hardware architecture diagram for the terminal device for realizing each embodiment of the application,
The terminal device 800 includes but not limited to:It is radio frequency unit 801, network module 802, audio output unit 803, defeated
Enter unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor
The components such as 810 and power supply 811.It will be understood by those skilled in the art that terminal device structure shown in Fig. 8 is not constituted
Restriction to terminal device, terminal device may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.In the embodiment of the present application, terminal device include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..Display unit 806 may include two display screens, and institute
It states two display screens and is separately positioned on 800 front of terminal device and 800 back side of terminal device.
Wherein, processor 810, in the case where the first display screen of terminal device shows graphic code, determining scanning
Orientation where the barcode scanning equipment of graphic code;
Processor 810 is additionally operable to, according to the orientation where the barcode scanning equipment, target display screen be determined, in the target
Show graphic code described in screen display.
In the embodiment of the present application, processor 810 is additionally operable to, according to the orientation where the barcode scanning equipment, judge described
Whether one display screen is towards the barcode scanning equipment;
Processor 810 is additionally operable to if it is, determining that target display screen is first display screen;
Processor 810 is additionally operable to if it is not, then determining that target display screen is second display screen.
In the embodiment of the present application, processor 810 is additionally operable to if it is determined that target display screen is second display screen, then in institute
It states in the first display screen and shows switching key;
When detecting the predetermined operation to the switching key, the graphic code is switched to by first display screen
The second display screen.
In the embodiment of the present application, processor 810 is additionally operable to obtain the first image, Yi Jihou by front camera respectively
It sets camera and obtains the second image;
Processor 810 is additionally operable to carry out binary conversion treatment, corresponding life respectively to described first image and second image
At the first black white image and the second black white image;
Processor 810 is additionally operable to the boundary value to first black white image and second black white image respectively and carries out
It calculates, it is determining from first black white image and second black white image to match with predetermined image according to result of calculation
Target black white image;
Processor 810 is additionally operable to determine the orientation where the barcode scanning equipment according to the target black white image.
In the embodiment of the present application, processor 810 is additionally operable to detect around the near infrared sensor by infrared sensor
Infrared ray;
Processor 810, if the infra-red intensity being additionally operable at the first orientation relative to the infrared sensor is higher than
The infra-red intensity in other orientation, it is determined that the first orientation relative to the infrared sensor is where the barcode scanning equipment
Orientation.
The embodiment of the present application provides a kind of terminal device, which includes two display screens, and two display screens divide
It is not arranged at the front of terminal device and the back side of terminal device, the case where the first display screen of terminal device shows graphic code
Under, it determines the orientation where the barcode scanning equipment of scanning figure shape code, and according to the orientation where barcode scanning equipment, determines that target is shown
Screen shows the screen display graphic code, in this way, only by determining barcode scanning in the terminal device including two display screens in target
Orientation where equipment, and then determine the target display screen for showing the graphic code, so that graphic code can be set towards barcode scanning
Standby display, in this way, the position that user need not adjust terminal device easily can carry out barcode scanning, the display of information to graphic code
Process is simple and fast, improves payment efficiency.
It should be understood that the embodiment of the present application in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 801 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by radio communication system and network and other set
Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 802 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 803 can receive radio frequency unit 801 or network module 802 or in memory 809
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end
The relevant audio output of specific function that end equipment 800 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 803 includes loud speaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor
(Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited
Storage is sent in memory 807 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike
Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 801 by being converted in the case of telephone calling model.
Terminal device 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when terminal device 800 is moved in one's ear
Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap
Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with terminal device
Family is arranged and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and
Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071
Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area
It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments
8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it
On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touch
The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display
Panel 8061 is to realize the function that outputs and inputs of terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of terminal device, it is specific this
Place does not limit.
Interface unit 808 is the interface that external device (ED) is connect with terminal device 800.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 800 or can be used in 800 He of terminal device
Transmission data between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage
Data in device 809 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Reason device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Terminal device 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811
Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Preferably, the embodiment of the present application also provides a kind of terminal device, including processor 810, and memory 809 is stored in
On memory 809 and the computer program that can be run on the processor 810, the computer program are executed by processor 810
Each process of the display methods embodiment of Shi Shixian above- mentioned informations, and identical technique effect can be reached, to avoid repeating, this
In repeat no more.
Embodiment seven
The embodiment of the present application also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program realizes each process of the display methods embodiment of above- mentioned information when the computer program is executed by processor, and
Identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as
Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
The embodiment of the present application provides a kind of computer readable storage medium, and figure is shown in the first display screen of terminal device
In the case of code, the orientation where the barcode scanning equipment of scanning figure shape code is determined, and according to the orientation where barcode scanning equipment, determine mesh
Display screen is marked, the screen display graphic code is shown in target, in this way, only by true in the terminal device including two display screens
Determine the orientation where barcode scanning equipment, and then determine the target display screen for showing the graphic code, so that graphic code can direction
Barcode scanning equipment is shown, in this way, the position that user need not adjust terminal device easily can carry out barcode scanning, information to graphic code
Display process it is simple and fast, improve payment efficiency.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Above is only an example of the present application, it is not intended to limit this application.For those skilled in the art
For, the application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (11)
1. a kind of display methods of information, which is characterized in that be applied to terminal device, the terminal device includes two displays
Screen, described two display screens are separately positioned on terminal device front and the terminal device back side, the method includes:
In the case where the first display screen of terminal device shows graphic code, the side where the barcode scanning equipment of scanning figure shape code is determined
Position;
According to the orientation where the barcode scanning equipment, target display screen is determined, figure described in screen display is shown in the target
Code.
2. according to the method described in claim 1, it is characterized in that, the orientation according to where the barcode scanning equipment, determines
Target display screen, including:
According to the orientation where the barcode scanning equipment, judge first display screen whether towards the barcode scanning equipment;
If it is, determining that target display screen is first display screen;
If it is not, then determining that target display screen is second display screen.
3. according to the method described in claim 2, it is characterized in that, described show figure described in screen display in the target
Code, including:
If it is determined that target display screen is second display screen, then switching key is shown in first display screen;
When detecting the predetermined operation to the switching key, the graphic code is switched to by first display screen described
Second display screen.
4. according to the method described in claim 2, it is characterized in that, side where the barcode scanning equipment of the determining scanning figure shape code
Position, including:
The first image is obtained by front camera respectively and rear camera obtains the second image;
Binary conversion treatment is carried out respectively to described first image and second image, it is corresponding to generate the first black white image and second
Black white image;
The boundary value of first black white image and second black white image is calculated respectively, according to result of calculation, from
The target black white image to match with predetermined image is determined in first black white image and second black white image;
According to the target black white image, the orientation where the barcode scanning equipment is determined.
5. according to the method described in claim 2, it is characterized in that, side where the barcode scanning equipment of the determining scanning figure shape code
Position, including:
The infrared ray around the near infrared sensor is detected by infrared sensor;
If being higher than the infra-red intensity in other orientation relative to the infra-red intensity at the first orientation of the infrared sensor,
Then determine that the first orientation relative to the infrared sensor is the orientation where the barcode scanning equipment.
6. a kind of display device of information, which is characterized in that described device includes two display screens, described two display screen difference
It is arranged at the front of described device and the back side of described device, described device includes:
Orientation determining module, in the case where the first display screen shows graphic code, determining the barcode scanning equipment of scanning figure shape code
The orientation at place;
Graphic code display module, it is aobvious in the target for according to the orientation where the barcode scanning equipment, determining target display screen
Show graphic code described in screen display.
7. device according to claim 6, which is characterized in that the graphic code display module, including:
Judging unit, for according to the orientation where the barcode scanning equipment, judging whether first display screen is swept described in
Decoding apparatus;
It shows determination unit, is used for if it is, determining that target display screen is first display screen;If it is not, then determining mesh
Mark display screen is second display screen.
8. device according to claim 7, which is characterized in that the graphic code display module further includes:
Switching display unit, be used for if it is determined that target display screen be second display screen, then shown in first display screen
Switching key;
Switch unit, for when detecting the predetermined operation to the switching key, the graphic code to be shown by described first
Display screen is switched to the second display screen.
9. device according to claim 7, which is characterized in that the orientation determining module, including:
Image acquisition unit, for obtaining the first image and rear camera the second figure of acquisition by front camera respectively
Picture;
Binary conversion treatment unit, for carrying out binary conversion treatment, corresponding life respectively to described first image and second image
At the first black white image and the second black white image;
Computing unit, for calculating respectively the boundary value of first black white image and second black white image, root
According to result of calculation, determine that the target to match with predetermined image is black from first black white image and second black white image
White image;
First orientation determination unit, for according to the target black white image, determining the orientation where the barcode scanning equipment.
10. device according to claim 7, which is characterized in that the orientation determining module, including:
Infrared detection unit, for detecting the infrared ray around the near infrared sensor by infrared sensor;
Second orientation determination unit, if the infra-red intensity at the first orientation relative to the infrared sensor is higher than
The infra-red intensity in other orientation, it is determined that the first orientation relative to the infrared sensor is where the barcode scanning equipment
Orientation.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in information display methods the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810457615.5A CN108628568A (en) | 2018-05-14 | 2018-05-14 | A kind of display methods of information, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810457615.5A CN108628568A (en) | 2018-05-14 | 2018-05-14 | A kind of display methods of information, device and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108628568A true CN108628568A (en) | 2018-10-09 |
Family
ID=63693055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810457615.5A Pending CN108628568A (en) | 2018-05-14 | 2018-05-14 | A kind of display methods of information, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108628568A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521981A (en) * | 2018-10-31 | 2019-03-26 | 维沃移动通信有限公司 | A kind of graphic code display methods and terminal |
CN109766070A (en) * | 2019-01-31 | 2019-05-17 | 网易(杭州)网络有限公司 | Display control method and device in a kind of mobile terminal |
CN109960958A (en) * | 2019-01-10 | 2019-07-02 | 深圳市雄帝科技股份有限公司 | Duplex data communication method, system and terminal based on optical picture shape code |
CN110110571A (en) * | 2019-04-28 | 2019-08-09 | 维沃移动通信有限公司 | A kind of barcode scanning method and mobile terminal |
CN110807383A (en) * | 2019-10-24 | 2020-02-18 | 维沃移动通信有限公司 | Scanning method and electronic equipment |
CN111526232A (en) * | 2020-05-13 | 2020-08-11 | 青岛海信移动通信技术股份有限公司 | Camera control method based on double-screen terminal and double-screen terminal |
GB2581860A (en) * | 2019-07-16 | 2020-09-02 | Steel Software Solutions Ltd | Blockchain wallet |
CN113643024A (en) * | 2021-07-06 | 2021-11-12 | 阿里巴巴新加坡控股有限公司 | Graphic code processing method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241427A (en) * | 2008-02-18 | 2008-08-13 | 倚天资讯股份有限公司 | Portable electronic device and method |
CN102955148A (en) * | 2012-11-04 | 2013-03-06 | 李良杰 | Spherical infrared sensor array direction finder |
CN105028357A (en) * | 2015-07-25 | 2015-11-11 | 李学新 | Underwater fish catching platform based on image processing |
CN106775536A (en) * | 2016-12-26 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of double screen changing method and device |
CN206542462U (en) * | 2017-03-29 | 2017-10-03 | 张厚浩 | A kind of double-screen intelligent mobile phone |
-
2018
- 2018-05-14 CN CN201810457615.5A patent/CN108628568A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241427A (en) * | 2008-02-18 | 2008-08-13 | 倚天资讯股份有限公司 | Portable electronic device and method |
CN102955148A (en) * | 2012-11-04 | 2013-03-06 | 李良杰 | Spherical infrared sensor array direction finder |
CN105028357A (en) * | 2015-07-25 | 2015-11-11 | 李学新 | Underwater fish catching platform based on image processing |
CN106775536A (en) * | 2016-12-26 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of double screen changing method and device |
CN206542462U (en) * | 2017-03-29 | 2017-10-03 | 张厚浩 | A kind of double-screen intelligent mobile phone |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521981A (en) * | 2018-10-31 | 2019-03-26 | 维沃移动通信有限公司 | A kind of graphic code display methods and terminal |
CN109521981B (en) * | 2018-10-31 | 2022-02-01 | 维沃移动通信有限公司 | Graphic code display method and terminal |
CN109960958A (en) * | 2019-01-10 | 2019-07-02 | 深圳市雄帝科技股份有限公司 | Duplex data communication method, system and terminal based on optical picture shape code |
CN109766070A (en) * | 2019-01-31 | 2019-05-17 | 网易(杭州)网络有限公司 | Display control method and device in a kind of mobile terminal |
CN110110571A (en) * | 2019-04-28 | 2019-08-09 | 维沃移动通信有限公司 | A kind of barcode scanning method and mobile terminal |
CN110110571B (en) * | 2019-04-28 | 2023-03-14 | 维沃移动通信有限公司 | Code scanning method and mobile terminal |
GB2581860A (en) * | 2019-07-16 | 2020-09-02 | Steel Software Solutions Ltd | Blockchain wallet |
GB2581860B (en) * | 2019-07-16 | 2021-02-24 | Steel Software Solutions Ltd | Blockchain wallet |
CN110807383A (en) * | 2019-10-24 | 2020-02-18 | 维沃移动通信有限公司 | Scanning method and electronic equipment |
CN110807383B (en) * | 2019-10-24 | 2023-10-17 | 维沃移动通信有限公司 | Scanning method and electronic equipment |
CN111526232B (en) * | 2020-05-13 | 2021-07-06 | 青岛海信移动通信技术股份有限公司 | Camera control method based on double-screen terminal and double-screen terminal |
CN111526232A (en) * | 2020-05-13 | 2020-08-11 | 青岛海信移动通信技术股份有限公司 | Camera control method based on double-screen terminal and double-screen terminal |
CN113643024A (en) * | 2021-07-06 | 2021-11-12 | 阿里巴巴新加坡控股有限公司 | Graphic code processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108628568A (en) | A kind of display methods of information, device and terminal device | |
CN107665697B (en) | A kind of adjusting method and mobile terminal of screen intensity | |
CN107682616B (en) | Control method, camera cover and mobile terminal | |
CN107844730A (en) | A kind of graphic code scan method and mobile terminal | |
CN107592471A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN109451343A (en) | Video sharing method, apparatus, terminal and storage medium | |
CN107566748A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN107817939A (en) | A kind of image processing method and mobile terminal | |
CN108052368B (en) | A kind of application display interface control method and mobile terminal | |
CN108846663A (en) | A kind of two dimensional code method of adjustment, device and mobile terminal | |
CN110162254A (en) | A kind of display methods and terminal device | |
CN110166691A (en) | A kind of image pickup method and terminal device | |
CN108320263A (en) | A kind of method, device and mobile terminal of image procossing | |
CN107566749A (en) | Image pickup method and mobile terminal | |
CN109743506A (en) | A kind of image capturing method and terminal device | |
CN109544486A (en) | A kind of image processing method and terminal device | |
CN109218626A (en) | A kind of photographic method and terminal | |
CN109164477A (en) | A kind of method and mobile terminal of application positioning | |
CN113409427B (en) | Animation playing method and device, electronic equipment and computer readable storage medium | |
CN109474787A (en) | A kind of photographic method, terminal device and storage medium | |
CN107623818A (en) | A kind of image exposure method and mobile terminal | |
CN108898040A (en) | A kind of recognition methods and mobile terminal | |
CN108174109A (en) | A kind of photographic method and mobile terminal | |
CN108347558A (en) | A kind of method, apparatus and mobile terminal of image optimization | |
CN110662105A (en) | Animation file generation method and device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |
|
RJ01 | Rejection of invention patent application after publication |