[go: up one dir, main page]

CN111311687A - Method and equipment for detecting spatial position of mobile phone screen pixel point - Google Patents

Method and equipment for detecting spatial position of mobile phone screen pixel point Download PDF

Info

Publication number
CN111311687A
CN111311687A CN202010072276.6A CN202010072276A CN111311687A CN 111311687 A CN111311687 A CN 111311687A CN 202010072276 A CN202010072276 A CN 202010072276A CN 111311687 A CN111311687 A CN 111311687A
Authority
CN
China
Prior art keywords
mobile phone
screen
coordinate
target mobile
physical
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.)
Granted
Application number
CN202010072276.6A
Other languages
Chinese (zh)
Other versions
CN111311687B (en
Inventor
肖纯勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yueyi Network Information Technology Co Ltd
Original Assignee
Shanghai Yueyi Network Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yueyi Network Information Technology Co Ltd filed Critical Shanghai Yueyi Network Information Technology Co Ltd
Priority to CN202010072276.6A priority Critical patent/CN111311687B/en
Publication of CN111311687A publication Critical patent/CN111311687A/en
Application granted granted Critical
Publication of CN111311687B publication Critical patent/CN111311687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method comprises the steps of determining a coordinate transformation relation of a target mobile phone, wherein the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone; in the mobile phone testing process, screen pixel coordinates of any pixel point on a screen of a target mobile phone in a screen plane coordinate system are obtained; the method comprises the steps of obtaining a physical space coordinate of any pixel point on a screen of a target mobile phone based on a screen pixel coordinate and a coordinate transformation relation, and realizing that any point in a screen plane coordinate system of the target mobile phone can be converted into the whole physical test environment in the mobile phone test process, so that the physical position of any point on the screen of the tested target mobile phone is determined, and the physical space position of the detected defect point of the target mobile phone is convenient to determine.

Description

Method and equipment for detecting spatial position of mobile phone screen pixel point
Technical Field
The application relates to the field of computers, in particular to a method and equipment for detecting spatial positions of pixel points on a mobile phone screen.
Background
In the prior art, people have increasingly wider application range and more use requirements on smart phones, so that the continuous updating and upgrading of the smart phones are promoted. Due to the fact that mobile phones are continuously updated, old mobile phones of different versions are recycled, and in the process of recycling smart phones, whether the screen surfaces of the recycled smart phones are intact or not is checked manually, so that the labor cost is high and the efficiency is low when the screen surface integrity of the recycled smart phones is checked.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for detecting spatial positions of pixel points on a mobile phone screen, so as to solve the problems of high labor cost and low efficiency caused by integrity detection of a recycled mobile phone screen in the prior art.
According to an aspect of the present application, a method for detecting a spatial position of a pixel point on a screen of a mobile phone is provided, wherein the method includes:
determining a coordinate transformation relation of a target mobile phone, wherein the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone;
in the mobile phone testing process, acquiring the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system;
and obtaining the physical space coordinate of any pixel point on the screen of the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation.
Further, in the above method, the determining a coordinate transformation relationship of the target mobile phone includes:
horizontally placing the target mobile phone in the test physical environment, wherein the test physical space coordinate system is used for carrying out coordinate marking on any point of the mobile phone in the test physical environment;
acquiring a first physical coordinate position of one corner of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal of the one corner in the test physical space coordinate system;
acquiring a first screen coordinate position of one corner of a screen of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal of one corner of the screen in the screen plane coordinate system;
and determining the coordinate transformation relation of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position.
Further, in the above method, the determining the coordinate transformation relationship of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position includes:
calculating the length and the width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;
and calculating to obtain the coordinate transformation relation of the target mobile phone according to the length and the width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system.
According to another aspect of the present application, there is also provided a device for detecting a spatial position of a pixel point on a screen of a mobile phone, wherein the device includes:
the device comprises a determining device and a processing device, wherein the determining device is used for determining a coordinate transformation relation of a target mobile phone, and the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone;
the acquisition device is used for acquiring the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system in the mobile phone test process;
and the detection device is used for obtaining the physical space coordinate of any pixel point on the screen of the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation.
Further, in the foregoing device, the determining means is configured to:
horizontally placing the target mobile phone in the test physical environment, wherein the test physical space coordinate system is used for carrying out coordinate marking on any point of the mobile phone in the test physical environment;
acquiring a first physical coordinate position of one corner of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal of the one corner in the test physical space coordinate system;
acquiring a first screen coordinate position of one corner of a screen of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal of one corner of the screen in the screen plane coordinate system;
and determining the coordinate transformation relation of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position.
Further, in the foregoing device, the determining means is configured to:
calculating the length and the width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;
and calculating to obtain the coordinate transformation relation of the target mobile phone according to the length and the width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, which when executed by a processor, cause the processor to implement the method for detecting the spatial position of the pixel points on the screen of the mobile phone as described above.
Compared with the prior art, the method comprises the steps of firstly determining a coordinate transformation relation of a target mobile phone, wherein the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone; in the mobile phone testing process, acquiring the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system; and obtaining the physical space coordinate of any pixel point on the screen of the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation, and realizing the conversion of the screen pixel coordinate of any point on the screen of the target mobile phone into the physical space coordinate, so that any point in a screen plane coordinate system of the target mobile phone can be converted into the whole physical test environment in the mobile phone test process, thereby realizing the determination of the physical position of any point on the screen of the tested target mobile phone, and being convenient for determining the physical space position of the detected defect point of the target mobile phone, and the like.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a schematic flow chart diagram illustrating a method for spatial location detection of pixel points on a cell phone screen according to an aspect of the present application;
fig. 2 is a schematic structural diagram of a device for detecting spatial positions of pixel points on a mobile phone screen according to an aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1, a schematic flow chart of a method for detecting spatial positions of pixel points on a mobile phone screen according to an aspect of the present application is applied to a process of detecting integrity or existence of defects of a target mobile phone to be detected, and the method includes steps S11, S12, and S13, wherein the method specifically includes the following steps:
step S11, determining a coordinate transformation relation of the target mobile phone, wherein the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone. Here, the screen plane coordinate system of the target mobile phone is used to indicate coordinates of the screen plane of the target mobile phone, for example, the upper left corner of the horizontal plane of the target mobile phone is taken as an origin of coordinates, and the horizontal axis and the vertical axis of the target mobile phone are respectively taken as a horizontal coordinate and a vertical coordinate; for another example, the central point of the horizontal plane of the target mobile phone is taken as the origin of coordinates, and the horizontal and vertical coordinates are calibrated in the horizontal plane based on the origin of coordinates, so as to determine the screen plane coordinate system of the target mobile phone. The test physical space coordinate system of the target mobile phone is used for indicating the coordinate system of the target mobile phone in the test physical environment, so that the marking and the determination of the whole physical space of the target mobile phone are facilitated.
When the integrity or whether the target mobile phone is defective is required to be tested, in the process of testing the target mobile phone, step S12, acquiring a screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system; here, any one of the pixel points on the target mobile phone may be a point having a defect, for example, a pixel point in a screen range where a damaged point, a reflection point, and a Home key are located.
Step S13, obtaining a physical space coordinate of any one of the pixel points on the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation, and implementing the transformation of any one of the pixel points in the target mobile phone from the screen plane coordinate system of the target mobile phone to the test physical space coordinate system in the overall physical test environment.
Through the steps S11 to S13, the screen pixel coordinate of any point of the target mobile phone is converted into the physical space coordinate, so that any point in the screen plane coordinate system of the target mobile phone can be converted into the whole physical test environment in the mobile phone test process, the physical position of any point on the screen of the tested target mobile phone is determined, and the defect point or the physical space position of the detected point of the target mobile phone can be determined conveniently.
For example, in step S11, a test physical space coordinate system a for converting the screen plane coordinate system of the target mobile phone into the target mobile phone is determined; when the integrity of the target mobile phone needs to be tested or whether a defect exists, in the process of testing the target mobile phone, if any pixel point on the target mobile phone obtained in the step S12 is a pixel point D, and the pixel point D is a screen pixel coordinate X in the screen plane coordinate system; in step S13, based on the screen pixel coordinate X and the coordinate transformation relationship a, a physical space coordinate Y of any one of the pixel points on the target mobile phone is obtained, that is, Y is AX, so that any one of the pixel points in the target mobile phone is transformed from the screen plane coordinate system of the target mobile phone to the test physical space coordinate system in the overall physical test environment.
Next to the foregoing embodiment of the present application, the step S11 determines a coordinate transformation relationship of the target mobile phone, where the coordinate transformation relationship is used to convert a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone, and specifically includes:
horizontally placing the target mobile phone in the test physical environment, wherein the test physical space coordinate system is used for carrying out coordinate marking on any point of the mobile phone in the test physical environment;
acquiring a first physical coordinate position of one corner of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal of the one corner in the test physical space coordinate system;
acquiring a first screen coordinate position of one corner of a screen of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal of one corner of the screen in the screen plane coordinate system;
and determining the coordinate transformation relation of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position.
For example, in order to facilitate conversion of the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone, in the process of determining the coordinate transformation relationship, the target mobile phone is firstly placed in the test physical environment in a flat manner for detecting the integrity or whether a defect point exists on the surface or the screen of the target mobile phone, in order to facilitate marking of any pixel point of the target mobile phone in the test physical environment, a corresponding test physical space coordinate system is created in the test physical environment, and overall physical space positioning of any pixel point on the target mobile phone is facilitated; then, acquiring a first physical coordinate position of an angle V of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal angle V' of the angle V in the test physical space coordinate system; then, acquiring a first screen coordinate position of a corner V (screen) of a screen P of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal angle V' (screen) of the corner V (screen) of the screen P in the screen plane coordinate system; and determining the coordinate transformation relation A of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position, so as to determine the coordinate transformation relation A.
Next to the foregoing embodiment of the present application, the determining the coordinate transformation relationship of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position in step S11 specifically includes:
calculating the length and the width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;
and calculating to obtain the coordinate transformation relation of the target mobile phone according to the length and the width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system.
For example, according to a first physical coordinate position of a corner V (for example, an upper left corner) of the flat plane of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal corner V' (for example, a lower right corner) of the corner V (for example, an upper left corner) in the test physical space coordinate system, calculating the length and the width of the target mobile phone so as to calculate the actual screen range of the overall flat plane of the target mobile phone; and then, according to a first screen coordinate position of one corner V (screen) of the screen P of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal V' (screen) of the one corner V (screen) of the screen P in the screen plane coordinate system, calculating a proportion between the whole body of the target mobile phone and the screen of the target mobile phone, namely the coordinate transformation relation, so that the screen pixel coordinate of any pixel point on the screen of the target mobile phone can be converted into a physical space coordinate in a test physical environment according to the proportion.
As shown in fig. 2, a schematic structural diagram of a device for detecting a spatial position of a pixel point on a screen of a mobile phone according to an aspect of the present application is applied to a process of detecting integrity or existence of a defect of a target mobile phone to be detected, and the device includes a determining device 11, an obtaining device 12, and a detecting device 13, wherein the method specifically includes the following steps:
the determining device 11 is configured to determine a coordinate transformation relationship of a target mobile phone, where the coordinate transformation relationship is used to convert a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone. Here, the screen plane coordinate system of the target mobile phone is used to indicate coordinates of the screen plane of the target mobile phone, for example, the upper left corner of the horizontal plane of the target mobile phone is taken as an origin of coordinates, and the horizontal axis and the vertical axis of the target mobile phone are respectively taken as a horizontal coordinate and a vertical coordinate; for another example, the central point of the horizontal plane of the target mobile phone is taken as the origin of coordinates, and the horizontal and vertical coordinates are calibrated in the horizontal plane based on the origin of coordinates, so as to determine the screen plane coordinate system of the target mobile phone. The test physical space coordinate system of the target mobile phone is used for indicating the coordinate system of the target mobile phone in the test physical environment, so that the marking and the determination of the whole physical space of the target mobile phone are facilitated.
When the integrity or whether a defect is detected needs to be tested on the target mobile phone, in the process of testing the target mobile phone, the obtaining device 12 is used for obtaining the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system; here, any one of the pixel points on the target mobile phone may be a point having a defect, for example, a pixel point in a screen range where a damaged point, a reflection point, and a Home key are located.
The detection device 13 is configured to obtain a physical space coordinate of any one of the pixel points on the target mobile phone based on the screen pixel coordinate and the coordinate transformation relationship, and implement conversion of any one of the pixel points in the target mobile phone from the screen plane coordinate system of the target mobile phone to a test physical space coordinate system in an overall physical test environment.
By the determining device 11, the obtaining device 12 and the detecting device 13, the screen pixel coordinate of any point of the target mobile phone is converted into the physical space coordinate, so that any point in the screen plane coordinate system of the target mobile phone can be converted into the whole physical testing environment in the mobile phone testing process, the physical position of any point on the screen of the tested target mobile phone is determined, and the defect point or the physical space position of the detected point of the target mobile phone can be determined conveniently.
For example, a screen plane coordinate system for converting the screen plane coordinate system of the target mobile phone into a test physical space coordinate system a of the target mobile phone is determined in a determining device 11; when the integrity of the target mobile phone needs to be tested or whether a defect exists, in the process of testing the target mobile phone, if any pixel point on the target mobile phone acquired in the acquisition device 12 is a pixel point D, and the pixel point D is a screen pixel coordinate X in the screen plane coordinate system; in the detection device 13, based on the screen pixel coordinate X and the coordinate transformation relationship a, a physical space coordinate Y of any one of the pixel points on the target mobile phone is obtained, that is, Y is AX, so that any one of the pixel points in the target mobile phone is transformed from the screen plane coordinate system of the target mobile phone to a test physical space coordinate system in the overall physical test environment.
Following the above embodiments of the present application, the determining device 11 is specifically configured to:
horizontally placing the target mobile phone in the test physical environment, wherein the test physical space coordinate system is used for carrying out coordinate marking on any point of the mobile phone in the test physical environment;
acquiring a first physical coordinate position of one corner of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal of the one corner in the test physical space coordinate system;
acquiring a first screen coordinate position of one corner of a screen of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal of one corner of the screen in the screen plane coordinate system;
and determining the coordinate transformation relation of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position.
For example, in order to facilitate conversion of the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone, in the process of determining the coordinate transformation relationship, the target mobile phone is firstly placed in the test physical environment in a flat manner for detecting the integrity or whether a defect point exists on the surface or the screen of the target mobile phone, in order to facilitate marking of any pixel point of the target mobile phone in the test physical environment, a corresponding test physical space coordinate system is created in the test physical environment, and overall physical space positioning of any pixel point on the target mobile phone is facilitated; then, acquiring a first physical coordinate position of an angle V of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal angle V' of the angle V in the test physical space coordinate system; then, acquiring a first screen coordinate position of a corner V (screen) of a screen P of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal angle V' (screen) of the corner V (screen) of the screen P in the screen plane coordinate system; and determining the coordinate transformation relation A of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position, so as to determine the coordinate transformation relation A.
Following the above embodiments of the present application, the determining device 11 is specifically configured to:
calculating the length and the width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;
and calculating to obtain the coordinate transformation relation of the target mobile phone according to the length and the width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system.
For example, according to a first physical coordinate position of a corner V (for example, an upper left corner) of the flat plane of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal corner V' (for example, a lower right corner) of the corner V (for example, an upper left corner) in the test physical space coordinate system, calculating the length and the width of the target mobile phone so as to calculate the actual screen range of the overall flat plane of the target mobile phone; and then, according to a first screen coordinate position of one corner V (screen) of the screen P of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal V' (screen) of the one corner V (screen) of the screen P in the screen plane coordinate system, calculating a proportion between the whole body of the target mobile phone and the screen of the target mobile phone, namely the coordinate transformation relation, so that the screen pixel coordinate of any pixel point on the screen of the target mobile phone can be converted into a physical space coordinate in a test physical environment according to the proportion.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, which when executed by a processor, cause the processor to implement the method for detecting the spatial position of the pixel points on the screen of the mobile phone.
In summary, the present application determines a coordinate transformation relationship of a target mobile phone, where the coordinate transformation relationship is used to convert a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone; in the mobile phone testing process, acquiring the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system; and obtaining the physical space coordinate of any pixel point on the screen of the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation, and realizing the conversion of the screen pixel coordinate of any point on the screen of the target mobile phone into the physical space coordinate, so that any point in a screen plane coordinate system of the target mobile phone can be converted into the whole physical test environment in the mobile phone test process, thereby realizing the determination of the physical position of any point on the screen of the tested target mobile phone, and being convenient for determining the physical space position of the detected defect point of the target mobile phone, and the like.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (7)

1. A method for detecting the spatial position of a pixel point on a mobile phone screen comprises the following steps:
determining a coordinate transformation relation of a target mobile phone, wherein the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone;
in the mobile phone testing process, acquiring the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system;
and obtaining the physical space coordinate of any pixel point on the screen of the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation.
2. The method of claim 1, wherein the determining a coordinate transformation relationship for a target handset, wherein the coordinate transformation relationship is used to convert a screen plane coordinate system of the target handset to a test physical space coordinate system of the target handset comprises:
horizontally placing the target mobile phone in the test physical environment, wherein the test physical space coordinate system is used for carrying out coordinate marking on any point of the mobile phone in the test physical environment;
acquiring a first physical coordinate position of one corner of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal of the one corner in the test physical space coordinate system;
acquiring a first screen coordinate position of one corner of a screen of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal of one corner of the screen in the screen plane coordinate system;
and determining the coordinate transformation relation of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position.
3. The method of claim 2, wherein the determining the coordinate transformation relationship of the target handset from the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position comprises:
calculating the length and the width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;
and calculating to obtain the coordinate transformation relation of the target mobile phone according to the length and the width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system.
4. A spatial position detection device for mobile phone screen pixel points, wherein the device comprises:
the device comprises a determining device and a processing device, wherein the determining device is used for determining a coordinate transformation relation of a target mobile phone, and the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone;
the acquisition device is used for acquiring the screen pixel coordinate of any pixel point on the screen of the target mobile phone in the screen plane coordinate system in the mobile phone test process;
and the detection device is used for obtaining the physical space coordinate of any pixel point on the screen of the target mobile phone based on the screen pixel coordinate and the coordinate transformation relation.
5. The apparatus of claim 4, wherein the determining means is to:
horizontally placing the target mobile phone in the test physical environment, wherein the test physical space coordinate system is used for carrying out coordinate marking on any point of the mobile phone in the test physical environment;
acquiring a first physical coordinate position of one corner of a flat surface of the target mobile phone in the test physical space coordinate system and a second physical coordinate position of an oblique diagonal of the one corner in the test physical space coordinate system;
acquiring a first screen coordinate position of one corner of a screen of the target mobile phone in the screen plane coordinate system and a second screen coordinate position of an oblique diagonal of one corner of the screen in the screen plane coordinate system;
and determining the coordinate transformation relation of the target mobile phone according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position.
6. The apparatus of claim 5, wherein the determining means is to:
calculating the length and the width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;
and calculating to obtain the coordinate transformation relation of the target mobile phone according to the length and the width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system.
7. A non-transitory storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement the method of any one of claims 1 to 3.
CN202010072276.6A 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point Active CN111311687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010072276.6A CN111311687B (en) 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010072276.6A CN111311687B (en) 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point

Publications (2)

Publication Number Publication Date
CN111311687A true CN111311687A (en) 2020-06-19
CN111311687B CN111311687B (en) 2022-12-02

Family

ID=71148304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010072276.6A Active CN111311687B (en) 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point

Country Status (1)

Country Link
CN (1) CN111311687B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition
US12033454B2 (en) 2020-08-17 2024-07-09 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices
US12271929B2 (en) 2020-08-17 2025-04-08 Ecoatm Llc Evaluating an electronic device using a wireless charger

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105842885A (en) * 2016-03-21 2016-08-10 凌云光技术集团有限责任公司 Liquid crystal screen defect layered positioning method and device
CN105975132A (en) * 2016-05-05 2016-09-28 青岛歌尔声学科技有限公司 Method and device for detecting precision of touch screen
CN106033387A (en) * 2015-03-11 2016-10-19 广州市动景计算机科技有限公司 Method and device for testing flash internal controls
CN107547879A (en) * 2016-06-24 2018-01-05 上海顺久电子科技有限公司 A kind of bearing calibration of projection imaging, device and laser television
CN108900829A (en) * 2017-04-10 2018-11-27 钰立微电子股份有限公司 dynamic display system
CN109284456A (en) * 2018-08-30 2019-01-29 广州越维信息科技有限公司 Space-location method and AR system of the webpage control in AR
CN109685794A (en) * 2018-12-25 2019-04-26 凌云光技术集团有限责任公司 For mobile phone screen defects detection camera adaptive step DPC algorithm and device
CN110111330A (en) * 2019-05-17 2019-08-09 上海应用技术大学 Mobile phone screen detection method
CN110506252A (en) * 2017-11-27 2019-11-26 华为技术有限公司 Based on the transformational relation positioning terminal screen for indicating graphical dots coordinate in pattern

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033387A (en) * 2015-03-11 2016-10-19 广州市动景计算机科技有限公司 Method and device for testing flash internal controls
CN105842885A (en) * 2016-03-21 2016-08-10 凌云光技术集团有限责任公司 Liquid crystal screen defect layered positioning method and device
CN105975132A (en) * 2016-05-05 2016-09-28 青岛歌尔声学科技有限公司 Method and device for detecting precision of touch screen
CN107547879A (en) * 2016-06-24 2018-01-05 上海顺久电子科技有限公司 A kind of bearing calibration of projection imaging, device and laser television
CN108900829A (en) * 2017-04-10 2018-11-27 钰立微电子股份有限公司 dynamic display system
CN110506252A (en) * 2017-11-27 2019-11-26 华为技术有限公司 Based on the transformational relation positioning terminal screen for indicating graphical dots coordinate in pattern
CN109284456A (en) * 2018-08-30 2019-01-29 广州越维信息科技有限公司 Space-location method and AR system of the webpage control in AR
CN109685794A (en) * 2018-12-25 2019-04-26 凌云光技术集团有限责任公司 For mobile phone screen defects detection camera adaptive step DPC algorithm and device
CN110111330A (en) * 2019-05-17 2019-08-09 上海应用技术大学 Mobile phone screen detection method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US12223684B2 (en) 2019-02-18 2025-02-11 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition
US12033454B2 (en) 2020-08-17 2024-07-09 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices
US12271929B2 (en) 2020-08-17 2025-04-08 Ecoatm Llc Evaluating an electronic device using a wireless charger

Also Published As

Publication number Publication date
CN111311687B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
CN111311687B (en) Method and equipment for detecting spatial position of mobile phone screen pixel point
CN111277695B (en) Data verification method and equipment
CN110796647A (en) Method and device for detecting defects of screen area of electronic device
CN110675399A (en) Screen appearance flaw detection method and equipment
CN110827245A (en) Method and equipment for detecting screen display disconnection
CN110602736B (en) Field strength prediction method, device and computer equipment
CN111290660A (en) Method and equipment for converting screen coordinates into touch pen coordinates
CN111210473A (en) Mobile phone contour positioning method and equipment
CN111277466A (en) Method and equipment for detecting performance of mobile intelligent terminal connected with mobile network
CN111272388A (en) Method and device for detecting camera flash lamp
CN111812545A (en) Line defect detection method, device, equipment and medium
CN110909804B (en) Method, device, server and storage medium for detecting abnormal data of base station
CN110704686B (en) Quality detection method and device for semi-structured data, storage medium and equipment
CN113760754A (en) Method, system and storage medium for generating test case based on graph search
CN118794363A (en) Method, device and processor for slope monitoring
CN111880078A (en) Method and equipment for automated instruction testing
CN107766385B (en) Method and equipment for converting file format of virtual disk
CN111327745B (en) Method and equipment for testing silencing key of mobile terminal
CN110827259B (en) Sample augmentation method and device for target key point detection
CN111292374B (en) Method and equipment for automatically plugging and unplugging USB interface
CN111294453A (en) Mobile phone key test method and equipment
CN113094176A (en) Hybrid cloud management method and device
CN112966671A (en) Contract detection method and device, electronic equipment and storage medium
CN112001965B (en) Method, device and equipment for boundary delineation of target building ring
CN107404397B (en) Method and equipment for determining user service state information

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
CB02 Change of applicant information

Address after: Room 1101-1103, No. 433, Songhu Road, Yangpu District, Shanghai

Applicant after: Shanghai wanwansheng Environmental Protection Technology Group Co.,Ltd.

Address before: Room 1101-1103, No. 433, Songhu Road, Yangpu District, Shanghai

Applicant before: SHANGHAI YUEYI NETWORK INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant