WO2020221009A1 - Procédé de lecture de code et terminal mobile - Google Patents

Procédé de lecture de code et terminal mobile Download PDF

Info

Publication number
WO2020221009A1
WO2020221009A1 PCT/CN2020/084912 CN2020084912W WO2020221009A1 WO 2020221009 A1 WO2020221009 A1 WO 2020221009A1 CN 2020084912 W CN2020084912 W CN 2020084912W WO 2020221009 A1 WO2020221009 A1 WO 2020221009A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
identification code
mobile terminal
code
area
Prior art date
Application number
PCT/CN2020/084912
Other languages
English (en)
Chinese (zh)
Inventor
陈锟
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020221009A1 publication Critical patent/WO2020221009A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10554Moving beam scanning
    • G06K7/10594Beam path
    • G06K7/10603Basic scanning using moving elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Definitions

  • the present disclosure relates to the field of electronic technology, and in particular to a code scanning method and a mobile terminal.
  • the present disclosure provides a code scanning method and a mobile terminal to solve the problem of low code scanning operation efficiency in related technologies.
  • embodiments of the present disclosure provide a code scanning method applied to a mobile terminal, and the method includes:
  • the external code scanner is identified through the camera
  • the embodiments of the present disclosure also provide a mobile terminal, the mobile terminal including:
  • the identification module is used to identify the external code scanner through the camera when the identification code is displayed on the display screen of the mobile terminal;
  • the control module is configured to move the identification code or output a movement instruction based on the identification result, wherein the movement instruction is used to instruct to move the position of the identification code in the display screen or move the mobile terminal.
  • the embodiments of the present disclosure also provide a mobile terminal, including a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • the program is executed when the processor is executed. The steps of the above scanning code method.
  • embodiments of the present disclosure also provide a computer-readable storage medium with a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the foregoing code scanning method are implemented.
  • the external code scanner is recognized by the camera, and based on the recognition result, the identification code is moved or the movement instruction is output, which can achieve rapid alignment between the identification code and the scanning area of the external code scanner, or assist the user to achieve The quick alignment between the identification code and the scanning area of the code scanner avoids repeated attempts by the user during the scanning process and improves the scanning efficiency.
  • FIG. 1 is a flowchart of a code scanning method provided by an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a code scanning method provided by another embodiment of the present disclosure.
  • Figure 3 is a schematic diagram of a corner area provided by an embodiment of the present disclosure.
  • Fig. 4a is a schematic diagram of a code scanner scanning an identification code according to an embodiment of the present disclosure
  • FIG. 4b is a schematic diagram of a code scanner scanning an identification code according to an embodiment of the present disclosure
  • Figure 5 is a schematic diagram of a display screen provided by an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of a code scanning method provided by another embodiment of the present disclosure.
  • Fig. 7a is a schematic diagram of a code scanner scanning an identification code provided by another embodiment of the present disclosure.
  • Fig. 7b is a schematic diagram of a code scanner scanning an identification code according to another embodiment of the present disclosure.
  • Fig. 8a is a schematic diagram of a code scanner scanning an identification code provided by another embodiment of the present disclosure.
  • Fig. 8b is a schematic diagram of a code scanner scanning an identification code according to another embodiment of the present disclosure.
  • FIG. 9 is a structural diagram of a mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal according to various embodiments of the present disclosure.
  • FIG. 1 is a flowchart of a code scanning method provided by an embodiment of the present disclosure. As shown in FIG. 1, it includes the following steps 101 and 102.
  • Step 101 When the identification code is displayed on the display screen of the mobile terminal, the external code scanner is recognized through the camera.
  • recognizing the external code scanner through the camera may be recognizing whether the external code scanner exists through the camera, or recognizing the relative position relationship between the camera and the code scanner through the camera.
  • the aforementioned identification code can be a two-dimensional code or a barcode.
  • the above-mentioned relative positional relationship may be a relative position in space, a relative distance or other relative positional relationship.
  • the above-mentioned relative position relationship can be identified using TOF (Time of Flight) technology, etc.; specifically, TOF technology continuously sends light pulses to the scanner, and then uses the camera to receive the light pulses returned from the scanner Signal, the relative position information between the camera and the code scanner is obtained by detecting the flight time of the light pulse; TOF technology is relatively two-dimensional imaging, which can obtain a richer position relationship between objects.
  • TOF Time of Flight
  • the above-mentioned mobile terminal may be a mobile phone, a tablet (Personal Computer), a laptop (Laptop Computer), a personal digital assistant (PDA for short), and a mobile Internet Device (MID). ) Or wearable devices (Wearable Device), etc.
  • Step 102 Based on the identification result, move the identification code or output a movement instruction.
  • the movement instruction may be used to indicate to move the position of the identification code in the display screen or to move the mobile terminal, that is, the output movement instruction may be to instruct the user to move the identification code, or it may be The user is instructed to move the mobile terminal, and by instructing the user to move the identification code or the mobile terminal, the user is assisted to achieve rapid alignment between the identification code and the scanning area of the code scanner.
  • the aforementioned movement instruction is output through the display screen of the mobile terminal or through the audio output of the mobile terminal.
  • moving the identification code may include moving the location of the identification code, and may also include enlarging the identification code to cause the location of the identification code to change.
  • the external code scanner is recognized through the camera, and the identification code is moved or the movement instruction is output based on the recognition result.
  • the movement instruction is used to instruct to move the position of the identification code in the display screen or move the mobile terminal. It can realize the rapid alignment between the identification code and the scanning area of the code scanner, or assist the user to realize the rapid alignment between the identification code and the scanning area of the code scanner, and improve the scanning efficiency.
  • Figure 2 is a flowchart of a code scanning method provided by another embodiment of the present disclosure.
  • the difference between this embodiment of the present disclosure and the previous embodiment is mainly that the recognition result indicates the presence of an external code scanner.
  • moving the identification code based on the identification result includes: moving the identification code to the target area of the display screen of the mobile terminal when the identification result indicates that there is an external code scanner.
  • the code scanning method provided by the embodiment of the present disclosure includes the following steps 201 and 202.
  • Step 201 When the identification code is displayed on the display screen of the mobile terminal, the external code scanner is identified through the camera.
  • recognizing the external code scanner through the camera may be recognizing whether the external code scanner exists through the camera, and the identification code may be a two-dimensional code or a barcode.
  • the identification code is displayed on the display screen of the mobile terminal, the camera of the mobile terminal can be activated and images can be collected, and then the existence of an external code scanner can be identified based on the collected images.
  • Step 202 If the identification result indicates that there is an external code scanner, move the identification code to the target area of the display screen of the mobile terminal.
  • the target area is located in a first preset area of the display screen of the mobile terminal; at least one vertex of the first preset area coincides with a vertex of the display screen of the mobile terminal.
  • the aforementioned first preset area may be any corner area of the display screen of the mobile terminal, and the corner area is an included corner area formed by the edge of the display screen of the mobile terminal.
  • the areas G1 to G4 are the corner areas of the display screen of the mobile terminal.
  • the first preset area may also be an area that overlaps with three sides of the display screen of the mobile terminal.
  • the first preset area is the upper half or the lower half of the display screen. It is assumed that the range of the identification code displayed in the area is relatively large, and the user can accurately recognize the display area of the identification code on the mobile terminal, which facilitates the user to scan the code for alignment.
  • the method may further include:
  • the aforementioned first preset area is a preset area determined from at least two preset areas according to the touch area.
  • At least one vertex of each of the aforementioned at least two preset regions coincides with the vertex of the display screen.
  • the aforementioned at least two preset areas may include at least two corner areas of the display screen.
  • the display screen of the above-mentioned mobile terminal may be a touch display screen.
  • the touch area can be obtained by detecting the contact position of the user with the display screen of the mobile terminal when holding the mobile terminal.
  • the above-mentioned first preset area is a preset area determined from at least two preset areas according to the touch area, and may specifically include, after obtaining the touch area of the user on the display screen,
  • the identification code is moved to the first preset area opposite to the touch area, for example, a corner area away from the touch area may be used as the first preset area.
  • the identification code is moved to the first preset area opposite to the touch area.
  • the user has an accurate display position of the identification code on the display screen. Cognition, on the other hand, makes it unnecessary for the user to adjust the holding posture to avoid blocking the identification code when performing the scan code alignment operation.
  • the touch area T is at the lower right corner of the display screen.
  • the identification code is moved to the bottom right corner of the mobile terminal.
  • the target area of the display screen can be to move the identification code to the upper left corner of the display screen, that is, when the user is holding the lower right corner of the mobile terminal to scan the code, only the upper left corner of the display screen of the mobile terminal needs to be aligned with the scan code.
  • the scanning area of the encoder can quickly achieve alignment.
  • the identification code may be moved to the first preset area.
  • the identification code is moved to a preset first preset area, where the first preset area may be a display screen
  • the first preset area may be a display screen
  • the upper left corner, the upper right corner, the lower left corner, or the lower right corner and other corner areas conforming to the user's operating habits, the first preset area may be set by the system or customized by the user.
  • the display screen may include a first display screen and a second display screen.
  • the first display screen and the second display screen are in a state of being opposite to each other.
  • the identification code is displayed, and the display position of the identification code on the first display screen corresponds to the display position of the identification code on the second display screen.
  • the identification code on the first display screen A and the identification code on the second display screen B move to the target area synchronously, that is, the display position of the moved identification code on the first display screen A and the identification code
  • the user can know the display of the identification code on the first display screen A on the side facing the code scanner by watching the display position of the identification code on the second display screen B Location, convenient for users to scan code alignment.
  • the position correspondence can be understood as the display position of the first display screen A and the display position of the second display screen B that are opposite to each other.
  • the lower right corner of the first display screen A The corresponding position of the G1 area is the G1' area in the lower left corner of the second display screen B.
  • the corresponding position of G2 in the lower left corner of the first display screen A is the G2' area in the lower right corner of the second display screen B.
  • the first display The corresponding position of G3 in the upper left corner of screen A is the G3' area in the upper right corner of the second display screen B, and the corresponding position of G4 in the upper right corner of the first display screen A is the G4' area in the upper left corner of the second display screen B.
  • the external code scanner when the display screen of the mobile terminal displays the identification code, the external code scanner is recognized through the camera, and when the recognition result indicates the existence of the external code scanner, the The identification code to the target area of the display screen of the mobile terminal, and the target area is set as the first preset area, so that the user can accurately recognize the display area of the identification code on the mobile terminal, and set the first preset area It is set relative to the touch area, which is convenient for users to scan code alignment, and can assist users to achieve rapid alignment between the identification code and the scanning area of the code scanner, and improve the scanning efficiency.
  • FIG. 6 is a flowchart of a code scanning method provided by another embodiment of the present disclosure.
  • the difference between this embodiment of the present disclosure and the previous embodiment is mainly that the recognition result is defined as the camera and the scan
  • the relative position relationship of the encoder is shown in FIG. 6.
  • the scanning method provided by the embodiment of the present disclosure includes the following steps 301 and 302.
  • Step 301 When the identification code is displayed on the display screen of the mobile terminal, identify the external code scanner through the camera.
  • recognizing the external code scanner through the camera may be recognizing the relative position relationship between the camera and the code scanner through the camera.
  • the relative position relationship may be a relative position in space, a relative distance relationship or other relative position relationships.
  • TOF technology or the like can be used.
  • the identification code may be a two-dimensional code, a barcode or other types of identification codes.
  • Step 302 If the identification result is the relative position relationship between the camera and the code scanner, move the identification code or output a movement instruction according to the relative position relationship.
  • the movement instruction is used to instruct to move the position of the identification code in the display screen or to move the mobile terminal, that is, the output movement instruction may be instructing the user to move the identification code, or it may be an instruction
  • the user moves the mobile terminal, and by instructing the user to move the identification code or the mobile terminal, the user is assisted to achieve rapid alignment between the identification code and the scanning area of the code scanner.
  • the movement instruction is output through the display screen of the mobile terminal or through the audio output of the mobile terminal.
  • moving the identification code may include moving the location of the identification code, and also includes enlarging the identification code to cause the location of the identification code to change.
  • the moving the identification code according to the relative position relationship may include:
  • the relative positional relationship between the camera of the mobile terminal and the display screen of the mobile terminal is determined, when the relative positional relationship between the camera and the barcode scanner is known, the relationship between the barcode scanner and the display screen can be clarified. The relative position between the two can then determine the alignment area on the display screen corresponding to the scanning area of the code scanner.
  • the alignment area G corresponding to the scanning area of the code scanner is determined on the display screen; as shown in FIG. 7b, the identification code moves to the The alignment area G.
  • the alignment area is identified based on the relative position relationship, and the identification code is moved to the alignment area, which can quickly realize the scan code alignment, without the user repeatedly adjusting the position of the mobile terminal, and avoiding the user from multiple scan code alignment attempts , Improve scanning efficiency.
  • the display screen includes a first display screen and a second display screen, the first display screen and the second display screen are in a state of being opposite to each other, and both the first display screen and the second display screen display
  • the identification code, and the display position of the identification code on the first display screen corresponds to the display position of the identification code on the second display screen;
  • step 302 that is, the moving the identification code according to the relative position relationship may include:
  • the identification code displayed on the second display screen is moved, wherein the identification code displayed on the first display screen moves following the identification code displayed on the second display screen.
  • the corresponding display area can be understood as the mirror position area of the alignment area on the second display screen and the first display screen; it should be noted that the explanation of the mirror position can refer to the previous embodiment , I won’t repeat it here.
  • the user can refer to the alignment area mark displayed on the second display screen and move the second display area.
  • the identification code displayed on the display screen until the identification code displayed on the second display screen moves to the area where the alignment area mark is located.
  • the identification code displayed on the first display screen can move with the identification code displayed on the second display screen to maintain the identification code on the first display screen.
  • always correspond to the position of the identification code on the second display screen for example, keep the identification code on the first display screen in a mirror position with the identification code on the second display screen.
  • the alignment area identifier on the display area corresponding to the alignment area on the second display screen, it is convenient for the user to visually view the alignment area, so that the identification code can be moved in a targeted manner. It can avoid the user from making multiple invalid scan code alignment attempts, realize fast alignment, and improve code scan efficiency.
  • the display screen includes a first display screen and a second display screen, the first display screen and the second display screen are in a state of being opposite to each other, and both the first display screen and the second display screen display
  • the identification code, and the display position of the identification code on the first display screen corresponds to the display position of the identification code on the second display screen; wherein the first display screen faces the code scanner, The second display screen faces the code scanner;
  • step 302 that is, in the case where the recognition result is the relative position relationship between the camera and the code scanner, outputting a movement instruction according to the relative position relationship may include:
  • the movement instruction is displayed on the second display screen according to the relative position relationship.
  • the movement instruction can be used to instruct the user to move the identification code, or to instruct the user to move the mobile terminal.
  • the aforementioned movement instruction may be an arrow indicating a movement direction, so that the user can move the mobile terminal or the direction of the mobile identification code based on the movement direction indicated by the arrow.
  • the second display screen when the first display screen faces the code scanner, the second display screen usually faces the user. In this way, the movement instructions are displayed on the second display screen to facilitate the user to view, and then move based on the movement instructions.
  • the terminal or mobile identification code facilitates quick alignment between the identification code and the scanning area of the code scanner.
  • the identification code on the first display screen moves synchronously with the identification code on the second display screen to maintain the identification code on the first display screen. Always correspond to the identification code position on the second display screen.
  • this embodiment can also dynamically display the relative position relationship in real time on the second display screen, so that the user can intuitively feel the relative position relationship between the identification code and the code scanner, wherein the real-time dynamic display
  • the relative position relationship can be displayed in the form of a two-dimensional or three-dimensional image.
  • the relative position relationship includes the distance between the camera and the code scanner
  • step 302 that is, moving the identification code according to the relative position relationship, may include:
  • the identification code is enlarged.
  • the aforementioned preset threshold can be set reasonably according to actual needs, for example, 40 cm, 30 cm, etc.
  • the above-mentioned distance between the camera and the code scanner for example, can be detected by a distance sensor, or can be detected by TOF technology, which is not limited in this embodiment.
  • the identification code can be enlarged to facilitate scanning and recognition by the code scanner. Thereby improving the efficiency of scanning codes.
  • the method may further include: identifying an area where the identification code is located, and performing an amplifying operation on the identification code based on the area where the identification code is located. This can increase the scale of the identification code.
  • the display screen is a foldable display screen
  • amplifying the identification code may include:
  • the identification code is enlarged, and the enlarged identification code is displayed on the foldable display screen after unfolding.
  • the aforementioned identification code when the foldable display screen is in a folded state, the aforementioned identification code may be displayed on at least one of the at least two display screens obtained by folding the foldable display screen.
  • the unfolding instruction is to instruct the user to unfold the folding display screen in the folded state, for example, it may output "please unfold the display screen” in the form of voice, or display the text "please unfold the display screen” on the display screen or display the folding screen Expand the animation to prompt the user to expand the display.
  • the foldable display screen includes a first display screen C and a second display screen D.
  • the identification code is displayed on the first display screen C, as shown in the appendix
  • the identification code is enlarged, and the enlarged identification code is displayed on the foldable display screen after unfolding, that is, through the first display screen C and
  • the second display screen D collectively displays the enlarged identification code.
  • the output of the mobile terminal is expanded Instruct, the driver can expand the foldable display screen based on the unfolding instruction, so that the identification code is enlarged and displayed on the unfolded foldable display screen, which facilitates the alignment of the identification code of the mobile terminal on the vehicle side with the code scanner in the parking lot.
  • this embodiment may also upload the relative position relationship to the server. Therefore, the relative position relationship can be sent to the code scanner through the server, so that the code scanner can adjust its own position based on the relative position relationship, so as to realize the alignment of the code scanner and the identification code on the display screen of the mobile terminal.
  • the external code scanner is recognized through a camera, and the recognition result includes the relative position of the camera and the code scanner In the case of a relationship, moving the identification code or outputting the movement instruction according to the relative position relationship can achieve rapid alignment between the identification code and the scanning area of the code scanner, or assist the user to realize the identification code and the code scanner Fast alignment between scanning areas improves scanning efficiency.
  • the mobile terminal 400 includes:
  • the identification module 401 is used to identify the external code scanner through the camera when the identification code is displayed on the display screen of the mobile terminal;
  • the control module 402 is configured to move the identification code or output a movement instruction based on the identification result, wherein the movement instruction is used to instruct to move the position of the identification code in the display screen or move the mobile terminal.
  • control module 402 includes:
  • the first control unit is configured to move the identification code to the target area of the display screen of the mobile terminal when the recognition result indicates that there is an external code scanner; wherein, the target area is located in the mobile terminal
  • the first preset area of the display screen at least one vertex of the first preset area coincides with the vertex of the display screen of the mobile terminal.
  • the mobile terminal 400 further includes:
  • the obtaining module is used to obtain the user’s presence in the mobile terminal after the external code scanner is recognized through the camera and before the recognition code is moved based on the recognition result when the identification code is displayed on the display screen of the mobile terminal.
  • the control module includes:
  • the second control unit is configured to move the identification code or output the movement instruction according to the relative position relationship when the recognition result includes the relative position relationship between the camera and the code scanner.
  • the second control unit is specifically configured to:
  • the display screen includes a first display screen and a second display screen, the first display screen and the second display screen are in a state of being opposite to each other, and both the first display screen and the second display screen display
  • the identification code, and the display position of the identification code on the first display screen corresponds to the display position of the identification code on the second display screen; wherein the first display screen is relatively close to the code scanner Side, the second display screen is relatively far away from the scanner side;
  • the second control unit is specifically configured to: based on the relative position relationship, determine the alignment area on the first display screen corresponding to the scanning area of the code scanner; The alignment area identifier is displayed on the display area corresponding to the alignment area; the movement operation for the identification code displayed on the second display screen is received; in response to the movement operation, the identification displayed on the second display screen is moved Code, wherein the identification code displayed on the first display screen moves following the identification code displayed on the second display screen.
  • the second control unit is specifically configured to: between the camera and the code scanner If the distance of is greater than the preset threshold, the identification code is enlarged.
  • the display screen is a foldable display screen; the second control unit is specifically configured to: the distance between the camera and the code scanner is greater than a preset threshold, and the foldable display screen In the case of being in the folded state, an expansion instruction is output; in the case of receiving an expansion operation, the identification code is enlarged, and the enlarged identification code is displayed on the foldable display screen after expansion.
  • the mobile terminal 400 provided in the embodiment of the present disclosure can implement each process implemented by the mobile terminal in the method embodiment of FIG. 1 to FIG. 8. In order to avoid repetition, details are not described herein again.
  • the mobile terminal 400 of the embodiment of the present disclosure includes: an identification module, which is used to identify an external code scanner through a camera when the display screen of the mobile terminal displays an identification code; a control module, which is used to move the station based on the identification result
  • the identification code or output movement instruction wherein the movement instruction is used to instruct to move the position of the identification code in the display screen or move the mobile terminal. It can realize the quick alignment between the identification code and the scanning area of the code scanner, or assist the user to realize the quick alignment between the identification code and the scanning area of the code scanner, avoiding repeated attempts by the user in the scanning process, and improving the scanning efficiency .
  • FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present disclosure.
  • the mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processing 510, power supply 511 and other components.
  • radio frequency unit 501 includes radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processing 510, power supply 511 and other components.
  • the mobile terminal may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • mobile terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 510 is configured to identify an external code scanner through a camera when the identification code is displayed on the display screen of the mobile terminal; based on the identification result, move the identification code or output a movement instruction, wherein the movement The indication is used to indicate to move the position of the identification code in the display screen or to move the mobile terminal.
  • the embodiment of the present disclosure recognizes an external code scanner through a camera, and based on the recognition result, moves the identification code or outputs a movement instruction, which can achieve rapid alignment between the identification code and the scanning area of the code scanner, or assist the user to realize the identification code
  • the quick alignment with the scanning area of the code scanner avoids repeated attempts by the user during the scanning process and improves the scanning efficiency.
  • processor 510 is further configured to:
  • the identification result indicates that there is an external code scanner
  • move the identification code to the target area of the display screen of the mobile terminal; wherein, the target area is located in the first preset area of the display screen of the mobile terminal.
  • processor 510 is further configured to:
  • the aforementioned first preset area is a preset area determined from at least two preset areas according to the touch area.
  • processor 510 is further configured to:
  • the recognition result is the relative position relationship between the camera and the code scanner
  • the identification code is moved or the movement instruction is output according to the relative position relationship.
  • processor 510 is further configured to:
  • the display screen includes a first display screen and a second display screen, the first display screen and the second display screen are in a state of being opposite to each other, and the identification code is displayed on both the first display screen and the second display screen , And the display position of the identification code on the first display screen corresponds to the display position of the identification code on the second display screen; optionally, the processor 510 is further configured to: The relative position relationship determines the alignment area on the first display screen corresponding to the scanning area of the code scanner;
  • the identification code displayed on the second display screen is moved, wherein the identification code displayed on the first display screen moves following the identification code displayed on the second display screen.
  • the relative positional relationship includes the distance between the camera and the code scanner.
  • the processor 510 is further configured to: the distance between the camera and the code scanner is greater than a preset In the case of a threshold value, the identification code is enlarged.
  • processor 510 is further configured to:
  • the identification code is enlarged, and the enlarged identification code is displayed on the foldable display screen after unfolding.
  • the radio frequency unit 501 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 510; Uplink data is sent to the base station.
  • the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 503 may convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 504 is used to receive audio or video signals.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 506.
  • the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502.
  • the microphone 5042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
  • the mobile terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 5061 and the display panel 5061 when the mobile terminal 500 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 506 is used to display information input by the user or information provided to the user.
  • the display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 507 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the mobile terminal.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 5071 or near the touch panel 5071. operating).
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed.
  • the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 507 may also include other input devices 5072.
  • other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 5071 can be overlaid on the display panel 5061.
  • the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 5061.
  • the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 508 is an interface for connecting an external device with the mobile terminal 500.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 508 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 500 or can be used to connect to the mobile terminal 500 and external Transfer data between devices.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 510 is the control center of the mobile terminal. It uses various interfaces and lines to connect the various parts of the entire mobile terminal, runs or executes software programs and/or modules stored in the memory 509, and calls data stored in the memory 509 , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
  • the mobile terminal 500 may also include a power source 511 (such as a battery) for supplying power to various components.
  • a power source 511 such as a battery
  • the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 500 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 510, a memory 509, a program stored in the memory 509 and running on the processor 510, and the program is executed when the processor 510 is executed.
  • a mobile terminal including a processor 510, a memory 509, a program stored in the memory 509 and running on the processor 510, and the program is executed when the processor 510 is executed.
  • the identification code is displayed on the display screen of the mobile terminal, the external code scanner is identified through the camera; based on the identification result, the identification code is moved or a movement instruction is output, wherein the movement instruction is used to instruct to move the The position of the identification code in the display screen or the various processes of moving the mobile terminal can achieve the same technical effect. To avoid repetition, details are not described here.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, and a program is stored on the computer-readable storage medium.
  • the program is executed by the processor, the above-mentioned identification code is displayed on the display screen of the mobile terminal through a camera. Identify the external code scanner; based on the identification result, move the identification code or output a movement instruction, wherein the movement instruction is used to instruct to move the position of the identification code in the display screen or move each of the mobile terminal Process, and can achieve the same technical effect, in order to avoid repetition, I will not repeat it here.
  • the computer readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.

Abstract

La présente invention porte sur un procédé de lecture de code et sur un terminal mobile. Le procédé consiste à : identifier un lecteur de code externe par l'intermédiaire d'une caméra dans le cas où un écran d'affichage du terminal mobile affiche un code d'identification (101) ; et déplacer le code d'identification ou émettre une instruction de mouvement en fonction du résultat d'identification (102), l'instruction de mouvement servant à ordonner le déplacement de la position du code d'identification sur l'écran d'affichage ou le déplacement du terminal mobile.
PCT/CN2020/084912 2019-04-28 2020-04-15 Procédé de lecture de code et terminal mobile WO2020221009A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910349784.1A CN110110571B (zh) 2019-04-28 2019-04-28 一种扫码方法及移动终端
CN201910349784.1 2019-04-28

Publications (1)

Publication Number Publication Date
WO2020221009A1 true WO2020221009A1 (fr) 2020-11-05

Family

ID=67487203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084912 WO2020221009A1 (fr) 2019-04-28 2020-04-15 Procédé de lecture de code et terminal mobile

Country Status (2)

Country Link
CN (1) CN110110571B (fr)
WO (1) WO2020221009A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110110571B (zh) * 2019-04-28 2023-03-14 维沃移动通信有限公司 一种扫码方法及移动终端
CN110909840B (zh) * 2019-10-12 2024-05-03 维沃移动通信有限公司 显示方法及电子设备
CN111640239B (zh) * 2020-06-08 2021-12-07 台州玖屹科技有限公司 一种基于可控硅原理的电子商务数据加密用公交刷码装置
CN111813304A (zh) * 2020-06-12 2020-10-23 维沃移动通信有限公司 图像显示方法及装置
CN112134980A (zh) * 2020-09-24 2020-12-25 维沃移动通信有限公司 识别码显示方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850835A (zh) * 2015-05-13 2015-08-19 杭州朗和科技有限公司 扫描方法和扫描终端
CN108763998A (zh) * 2018-04-17 2018-11-06 维沃移动通信有限公司 条形码识别方法以及终端设备
CN109033913A (zh) * 2018-07-25 2018-12-18 维沃移动通信有限公司 一种识别码的识别方法及移动终端
CN109151180A (zh) * 2018-07-27 2019-01-04 维沃移动通信有限公司 一种对象识别方法及移动终端
CN109521981A (zh) * 2018-10-31 2019-03-26 维沃移动通信有限公司 一种图形码显示方法和终端
CN110110571A (zh) * 2019-04-28 2019-08-09 维沃移动通信有限公司 一种扫码方法及移动终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138942B (zh) * 2015-08-26 2018-12-18 小米科技有限责任公司 二维码的显示方法及装置
CN108628568A (zh) * 2018-05-14 2018-10-09 维沃移动通信有限公司 一种信息的显示方法、装置及终端设备
CN109214810A (zh) * 2018-07-25 2019-01-15 努比亚技术有限公司 一种二维码显示方法、移动终端及计算机可读存储介质
CN109145676A (zh) * 2018-07-27 2019-01-04 华勤通讯技术有限公司 地铁闸机扫码识别方法及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850835A (zh) * 2015-05-13 2015-08-19 杭州朗和科技有限公司 扫描方法和扫描终端
CN108763998A (zh) * 2018-04-17 2018-11-06 维沃移动通信有限公司 条形码识别方法以及终端设备
CN109033913A (zh) * 2018-07-25 2018-12-18 维沃移动通信有限公司 一种识别码的识别方法及移动终端
CN109151180A (zh) * 2018-07-27 2019-01-04 维沃移动通信有限公司 一种对象识别方法及移动终端
CN109521981A (zh) * 2018-10-31 2019-03-26 维沃移动通信有限公司 一种图形码显示方法和终端
CN110110571A (zh) * 2019-04-28 2019-08-09 维沃移动通信有限公司 一种扫码方法及移动终端

Also Published As

Publication number Publication date
CN110110571B (zh) 2023-03-14
CN110110571A (zh) 2019-08-09

Similar Documents

Publication Publication Date Title
WO2020221009A1 (fr) Procédé de lecture de code et terminal mobile
CN108536365B (zh) 一种图像分享方法及终端
WO2021104321A1 (fr) Procédé d'affichage d'image et dispositif électronique
WO2020143663A1 (fr) Procédé d'affichage et terminal mobile
WO2021098672A1 (fr) Procédé d'affichage et dispositif électronique
WO2020216129A1 (fr) Procédé d'acquisition de paramètres et dispositif terminal
WO2020220999A1 (fr) Procédé de capture d'écran et dispositif terminal
WO2020238497A1 (fr) Procédé de déplacement d'icône et dispositif terminal
WO2020259091A1 (fr) Procédé d'affichage de contenu d'écran et terminal
CN109558000B (zh) 一种人机交互方法及电子设备
WO2019184947A1 (fr) Procédé de visualisation d'image et terminal mobile
WO2021036623A1 (fr) Procédé d'affichage et dispositif électronique
CN109257505B (zh) 一种屏幕控制方法及移动终端
WO2021115172A1 (fr) Procédé d'affichage et dispositif électronique
CN109523253B (zh) 一种支付方法和装置
WO2019154360A1 (fr) Procédé de commutation d'interface et terminal mobile
WO2020220893A1 (fr) Procédé de capture d'écran et terminal mobile
US20210200432A1 (en) Display method and mobile terminal
WO2021104232A1 (fr) Procédé d'affichage et dispositif électronique
WO2021147911A1 (fr) Terminal mobile, procédé de détection de mode de capture d'image, et support de stockage
WO2021082772A1 (fr) Procédé de capture d'écran et dispositif électronique
CN109144393B (zh) 一种图像显示方法及移动终端
CN108108113B (zh) 网页切换方法及装置
WO2020211692A1 (fr) Procédé d'interaction d'informations et dispositif terminal
WO2020156119A1 (fr) Procédé de réglage d'interface de programme d'application et terminal mobile

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20799385

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20799385

Country of ref document: EP

Kind code of ref document: A1