CN112099741B - Display screen position identification method, electronic device and computer readable storage medium - Google Patents

Display screen position identification method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN112099741B
CN112099741B CN202010752102.4A CN202010752102A CN112099741B CN 112099741 B CN112099741 B CN 112099741B CN 202010752102 A CN202010752102 A CN 202010752102A CN 112099741 B CN112099741 B CN 112099741B
Authority
CN
China
Prior art keywords
antenna
display screen
signal strength
rssi
received signal
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.)
Active
Application number
CN202010752102.4A
Other languages
Chinese (zh)
Other versions
CN112099741A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010752102.4A priority Critical patent/CN112099741B/en
Publication of CN112099741A publication Critical patent/CN112099741A/en
Application granted granted Critical
Publication of CN112099741B publication Critical patent/CN112099741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application is applicable to the technical field of terminals and provides a display screen position identification method, electronic equipment and a computer readable storage medium. In the display screen position identification method, the first device can receive the wireless message sent by the second device through the antenna arranged on the display screen of the first device and acquire the received signal strength indication of the wireless message, so that the relative position relationship between the display screen of the first device and the display screen of the second device is automatically determined according to the received signal strength indication, the user does not need to manually set the relative position relationship between the display screen of the first device and the display screen of the second device, the operation is simple, the application is convenient, the use experience of the user is improved, and the method has strong usability and practicability.

Description

Display screen position identification method, electronic device and computer readable storage medium
Technical Field
The present application belongs to the technical field of electronic devices, and in particular, to a display screen position identification method, an electronic device, and a computer-readable storage medium.
Background
With the development of science and technology, various electronic devices have moved into thousands of households.
Some users have a plurality of electronic devices (e.g., tablet computers, notebook computers, mobile phones, etc.) with display screens. When the user uses the electronic equipment with the display screen, the user can set the main display equipment, the display screens of other electronic equipment are used as the expansion screens of the main display equipment, and the plurality of display screens are matched to display the picture of the main display equipment.
However, in the current screen expansion scheme, the user needs to manually configure the relative position information of each display screen in the configuration information of the main display device so that each display screen displays an appropriate screen. When the relative position between each display screen changes, the user needs to reconfigure the relative position information of each display screen, and the user experience is very poor.
Disclosure of Invention
The embodiment of the application provides a display screen position identification method, electronic equipment and a computer readable storage medium, and can solve the problems that in the existing screen expansion scheme, a user needs to manually set the relative position information of each display screen, the operation is complex, and the user experience is low.
In a first aspect, an embodiment of the present application provides a method for identifying a position of a display screen, where the method is applied to a first device, a display screen of the first device is provided with a first antenna and a second antenna, and the method includes:
when the first antenna receives a first wireless message sent by a third antenna, the first equipment acquires a first received signal strength indication corresponding to the first wireless message, and the third antenna is arranged on a display screen of second equipment;
when the second antenna receives the first wireless message sent by the third antenna, the first device obtains a second received signal strength indication corresponding to the first wireless message;
and the first equipment determines the relative position relationship between the display screen of the first equipment and the display screen of the second equipment according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna.
It should be noted that the Received Signal Strength Indication (RSSI) is used to indicate the Signal Strength of the wireless message Received by the antenna. The greater the RSSI is, the higher the signal intensity of the wireless message is; the smaller the RSSI, the lower the signal strength of the wireless message. The RSSI decreases with increasing transmission distance.
A first antenna and a second antenna are separately arranged on a display screen of the first device, and a certain distance exists between the first antenna and the second antenna. Therefore, when the first device receives the first wireless message sent by the second device through the third antenna through the first antenna and the second antenna, because the transmission distances corresponding to the first antenna and the second antenna are different, a certain difference exists between a first received signal strength indicator (i.e., a first RSSI) detected when the first antenna receives the first wireless message and a second received signal strength indicator (i.e., a second RSSI) detected when the second antenna receives the first wireless message.
At this time, the first device may determine the relative positional relationship between the display screen of the first device and the display screen of the second device according to the difference between the first RSSI and the second RSSI and the relative positional relationship between the first antenna and the second antenna.
The first equipment need not user's manual participation at the in-process of the relative position relation of the display screen of discernment first equipment and the display screen of second equipment, easy operation, and it is convenient to use, has improved user's use and has stronger ease for use and practicality.
In a possible implementation manner of the first aspect, after the first device obtains the second received signal strength indication corresponding to the first wireless message, the method further includes:
the first device calculates an absolute value of a difference between the first received signal strength indication and the second received signal strength indication to obtain a first absolute value;
correspondingly, the determining, by the first device, the relative position relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative position relationship between the first antenna and the second antenna includes:
if the first absolute value is greater than or equal to a first threshold, the first device determines a relative position relationship between a display screen of the first device and a display screen of the second device according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna.
It should be noted that, due to factors such as the antenna layout of the first device and the second device and the fluctuation of the RSSI, in some cases, the first RSSI and the second RSSI may be closer to each other.
Under the condition that the first RSSI and the second RSSI are relatively close to each other, if the first device identifies the relative position relationship between the display screen of the first device and the display screen of the second device according to the first RSSI and the second RSSI, the phenomenon of false identification may occur.
For this, the first device may set the first threshold in advance. After the first device acquires the first RSSI and the second RSSI, calculating an absolute value of a difference value between the first RSSI and the second RSSI to obtain a first absolute value.
And if the first absolute value is greater than or equal to the first threshold, the first device identifies the relative position relationship between the display screen of the first device and the display screen of the second device according to the first RSSI and the second RSSI.
And if the first absolute value is smaller than the first threshold, the first equipment stops recognizing the relative position relation between the display screen of the first equipment and the display screen of the second equipment, so that the phenomenon of false recognition is avoided.
Therefore, the first device sets the first threshold value, so that the first device performs the operation of identifying the relative position relationship between the display screen of the first device and the display screen of the second device under the condition that the difference between the first RSSI and the second RSSI is large, thereby improving the accuracy of position identification.
In a possible implementation manner of the first aspect, the first wireless message includes a second device placement status of the second device;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna by the first device includes:
and the first equipment determines the relative position relationship between the display screen of the first equipment and the display screen of the second equipment according to the first received signal strength indication, the second received signal strength indication, the first equipment placing state of the first equipment, the second equipment placing state and the relative position relationship between the first antenna and the second antenna.
It should be noted that, in the process of position identification, the placement state of the first device and the placement state of the second device may affect the result of position identification.
Accordingly, the first device can detect the first device placement state by the first attitude sensor. The second device can detect the second device placement state of the second device through the second attitude sensor, and transmit the second device placement state to the first device through the first wireless message.
In the process of identifying the relative position relationship between the display screen of the first device and the display screen of the second device, the first device additionally considers two factors of the placement state of the first device and the placement state of the second device, so that the accuracy of position identification is further improved.
In a possible implementation manner of the first aspect, the determining, by the first device, a relative positional relationship between a display screen of the first device and a display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna by the first device includes:
if the first received signal strength indication is greater than the second received signal strength indication and the first antenna is located on a first side of the second antenna, the first device determines that the display screen of the first device is located on the first side of the display screen of the second device.
It should be noted that one or more matching conditions may be preset in the first device.
After the first device acquires the parameters such as the first RSSI, the second RSSI, and the relative position relationship between the first antenna and the second antenna, the first device may match the acquired parameters with preset matching conditions, so as to determine the relative position relationship between the display screen of the first device and the display screen of the second device.
The preset matching condition can be set according to the actual conditions of the first device and the second device. For example, the preset matching condition may be that if the first RSSI is greater than the second RSSI and the first antenna is located on the first side of the second antenna, the first device determines that the display screen of the first device is located on the first side of the display screen of the second device.
For example, if the first RSSI is greater than the second RSSI and the first antenna is located to the left of the second antenna, the first device may determine that the display screen of the first device is located to the left of the display screen of the second device.
Through the preset matching conditions, the first device can simply and quickly identify the relative position relationship between the display screen of the first device and the display screen of the second device.
In a second aspect, an embodiment of the present application provides a method for identifying a position of a display screen, where the method is applied to a first device, a display screen of the first device is provided with a fourth antenna, and the method includes:
when the fourth antenna receives a second wireless message sent by a fifth antenna, the first device acquires a third received signal strength indication corresponding to the second wireless message;
when the fourth antenna receives a third wireless message sent by a sixth antenna, the first device obtains a fourth received signal strength indication corresponding to the third wireless message, the fifth antenna and the sixth antenna are arranged on a display screen of a second device, and the second wireless message and/or the third wireless message comprise a relative position relationship between the fifth antenna and the sixth antenna;
and the first equipment determines the relative position relationship between the display screen of the first equipment and the display screen of the second equipment according to the third received signal strength indication, the fourth received signal strength indication and the relative position relationship between the fifth antenna and the sixth antenna.
It should be noted that the Received Signal Strength Indication (RSSI) is used for indicating the Signal Strength of the wireless packet Received by the antenna. The greater the RSSI is, the higher the signal intensity of the wireless message is; the smaller the RSSI, the lower the signal strength of the wireless message. The RSSI decreases with increasing transmission distance.
And a fifth antenna and a sixth antenna are separately arranged on the display screen of the second device, and a distance of one point exists between the fifth antenna and the sixth antenna. Therefore, when the first device receives, through the fourth antenna, the second wireless message sent by the second device through the fifth antenna and the third wireless message sent by the second device through the sixth antenna, because the transmission distances corresponding to the fifth antenna and the sixth antenna are different, a certain difference exists between a third received signal strength indicator (i.e., the third RSSI) detected when the fourth antenna receives the second wireless message and a fourth received signal strength indicator (i.e., the fourth RSSI) detected when the fourth antenna receives the third wireless message.
At this time, the first device may determine the relative positional relationship between the display screen of the first device and the display screen of the second device according to a difference between the third RSSI and the fourth RSSI and the relative positional relationship between the fifth antenna and the sixth antenna.
The first equipment need not user's manual participation at the in-process of the relative position relation of the display screen of discernment first equipment and the display screen of second equipment, easy operation, and it is convenient to use, has improved user's use and has stronger ease for use and practicality.
In a possible implementation manner of the second aspect, after the obtaining, by the first device, a fourth received signal strength indication corresponding to the third wireless packet, the method further includes:
the second device calculates an absolute value of a difference between the third received signal strength indication and the fourth received signal strength indication to obtain a second absolute value;
correspondingly, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and a relative positional relationship between the fifth antenna and the sixth antenna by the first device includes:
if the second absolute value is greater than or equal to a second threshold, the first device determines a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative positional relationship between the fifth antenna and the sixth antenna.
It should be noted that, due to the antenna layouts of the first device and the second device, the fluctuation of the RSSI, and other factors, in some cases, the third RSSI and the fourth RSSI may be closer to each other.
Under the condition that the third RSSI and the fourth RSSI are relatively close, if the first device identifies the relative position relationship between the display screen of the first device and the display screen of the second device according to the third RSSI and the fourth RSSI, the phenomenon of false identification may occur.
For this, the first device may set the second threshold value in advance. And after the first device acquires the third RSSI and the fourth RSSI, calculating an absolute value of a difference value between the third RSSI and the fourth RSSI to obtain a second absolute value.
And if the second absolute value is greater than or equal to the second threshold, the first device identifies the relative position relationship between the display screen of the first device and the display screen of the second device according to the third RSSI and the fourth RSSI.
And if the second absolute value is smaller than the second threshold, the first equipment stops recognizing the relative position relation between the display screen of the first equipment and the display screen of the second equipment, so that the phenomenon of false recognition is avoided.
Therefore, the first device sets the second threshold value, so that the first device performs the operation of identifying the relative position relationship between the display screen of the first device and the display screen of the second device under the condition that the difference between the third RSSI and the fourth RSSI is large, thereby improving the accuracy of position identification.
In a possible implementation manner of the second aspect, the second wireless packet and/or the third wireless packet include a second device placement state of the second device;
correspondingly, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and a relative positional relationship between the fifth antenna and the sixth antenna by the first device includes:
and the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, the first device placement state of the first device, the second device placement state and the relative position relationship between the fifth antenna and the sixth antenna.
It should be noted that, in the process of position identification, the placement state of the first device and the placement state of the second device may affect the result of position identification.
Accordingly, the first device can detect the first device placement state by the first attitude sensor. The second device may detect a second device placement state of the second device through the second attitude sensor, and transmit the second device placement state to the first device through the second wireless packet and/or the third wireless packet.
In the process of identifying the relative position relationship between the display screen of the first device and the display screen of the second device, the first device additionally considers two factors of the placement state of the first device and the placement state of the second device, so that the accuracy of position identification is further improved.
In a possible implementation manner of the second aspect, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and a relative positional relationship between the fifth antenna and the sixth antenna by the first device includes:
if the third rssi is greater than the fourth rssi, and the fifth antenna is located on the first side of the sixth antenna, the first device determines that the display screen of the first device is located on the second side of the display screen of the second device, where the first side and the second side are opposite sides.
It should be noted that one or more matching conditions may be preset in the first device.
After the first device acquires the parameters such as the third RSSI, the fourth RSSI, and the relative position relationship between the fifth antenna and the sixth antenna, the first device may match the acquired parameters with preset matching conditions, so as to determine the relative position relationship between the display screen of the first device and the display screen of the second device.
The preset matching condition can be set according to the actual conditions of the first device and the second device. For example, the preset matching condition may be that if the third RSSI is greater than the fourth RSSI and the fifth antenna is located on the first side of the sixth antenna, the first device determines that the display screen of the first device is located on the second side of the display screen of the second device.
For example, if the third RSSI is greater than the fourth RSSI, and the fifth antenna is located on the left side of the sixth antenna, the first device may determine that the display screen of the first device is located on the right side of the display screen of the second device.
Through presetting the set matching conditions, the first equipment can simply and quickly identify the relative position relationship between the display screen of the first equipment and the display screen of the second equipment.
In a third aspect, an embodiment of the present application provides an electronic device, where a display screen of the electronic device is provided with a first antenna and a second antenna, and the electronic device includes:
the first intensity module is used for acquiring a first received signal intensity indication corresponding to a first wireless message when the first antenna receives the first wireless message sent by a third antenna, and the third antenna is arranged on a display screen of second equipment;
a second strength module, configured to obtain a second received signal strength indication corresponding to the first wireless message when the second antenna receives the first wireless message sent by the third antenna;
a first location module, configured to determine a relative location relationship between a display screen of the first device and a display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative location relationship between the first antenna and the second antenna.
In a possible implementation manner of the third aspect, the electronic device further includes:
a first calculating module, configured to calculate an absolute value of a difference between the first received signal strength indication and the second received signal strength indication, so as to obtain a first absolute value;
correspondingly, the first location module is specifically configured to determine, if the first absolute value is greater than or equal to a first threshold, a relative location relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative location relationship between the first antenna and the second antenna.
In a possible implementation manner of the third aspect, the first wireless message includes a second device placement status of the second device;
correspondingly, the first location module is specifically configured to determine a relative location relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, the first device placement state of the first device, the second device placement state, and the relative location relationship between the first antenna and the second antenna.
In a possible implementation manner of the third aspect, the first location module is specifically configured to determine that the display screen of the first device is located on the first side of the display screen of the second device if the first received signal strength indication is greater than the second received signal strength indication and the first antenna is located on the first side of the second antenna.
In a fourth aspect, an embodiment of the present application provides an electronic device, a display screen of the electronic device is provided with a fourth antenna, and the electronic device includes:
the third strength module is used for acquiring a third received signal strength indication corresponding to a second wireless message when the fourth antenna receives the second wireless message sent by a fifth antenna;
a fourth strength module, configured to obtain a fourth received signal strength indication corresponding to a third wireless packet when the fourth antenna receives the third wireless packet sent by a sixth antenna, where the fifth antenna and the sixth antenna are disposed on a display screen of a second device, and the second wireless packet and/or the third wireless packet include a relative position relationship between the fifth antenna and the sixth antenna;
a second location module, configured to determine a relative location relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative location relationship between the fifth antenna and the sixth antenna.
In a possible implementation manner of the fourth aspect, the electronic device further includes:
a second calculating module, configured to calculate an absolute value of a difference between the third received signal strength indicator and the fourth received signal strength indicator to obtain a second absolute value;
correspondingly, the second location module is specifically configured to determine, if the second absolute value is greater than or equal to a second threshold, a relative location relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative location relationship between the fifth antenna and the sixth antenna.
In a possible implementation manner of the fourth aspect, the second wireless packet and/or the third wireless packet include a second device placement state of the second device;
correspondingly, the second location module is specifically configured to determine a relative location relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, the first device placement state of the first device, the second device placement state, and a relative location relationship between the fifth antenna and the sixth antenna.
In a possible implementation manner of the fourth aspect, the second location module is specifically configured to determine that the display screen of the first device is located at a second side of the display screen of the second device if the third rssi is greater than the fourth rssi and the fifth antenna is located at a first side of the sixth antenna, where the first side and the second side are opposite sides.
In a fifth aspect, an electronic device is provided, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the electronic device implements the steps of the method as described above when the processor executes the computer program.
A sixth aspect provides a computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes an electronic device to carry out the steps of the method as described above.
In a seventh aspect, a chip system is provided, where the chip system may be a single chip or a chip module composed of a plurality of chips, and the chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the steps of the method.
Compared with the prior art, the embodiment of the application has the advantages that:
in the method for identifying the position of the display screen in this embodiment, a first antenna and a second antenna are arranged on the display screen of the first device, and the first device may receive, through the first antenna and the second antenna, a first wireless message sent by the second device through the third antenna. Because the first antenna and the second antenna are separately arranged, and the longer the transmission distance of the wireless message is, the smaller the received signal strength indication detected when the antenna receives the wireless message is, the first device can obtain the first received signal strength indication and the second received signal strength indication corresponding to the first wireless message. Then, the first device can automatically determine the relative position relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna, manual configuration of a user is not needed, operation is simple, application is convenient, user experience is improved, and the method has high usability and practicability.
Drawings
FIG. 1 is a system diagram of a display system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a first device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a second apparatus provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a chip connection manner provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of another chip connection method provided in the embodiments of the present application;
fig. 6 is a schematic diagram of an antenna layout provided in an embodiment of the present application;
fig. 7 is a schematic diagram of another antenna layout provided in an embodiment of the present application;
fig. 8 is a schematic diagram of another antenna layout provided in an embodiment of the present application;
FIG. 9 is a system diagram of another display system provided in embodiments of the present application;
fig. 10 is a diagram illustrating measured values of a received signal strength indicator according to an embodiment of the present application;
fig. 11 is a diagram illustrating measured values of another received signal strength indicator according to an embodiment of the present application;
fig. 12 is a diagram illustrating measured values of another received signal strength indicator according to an embodiment of the present application;
fig. 13 is a diagram illustrating measured values of another received signal strength indicator according to an embodiment of the present application;
fig. 14 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 15 is a schematic diagram of another application scenario provided in an embodiment of the present application;
fig. 16 is a schematic diagram of another application scenario provided in the embodiment of the present application;
fig. 17 is a schematic diagram of another application scenario provided in an embodiment of the present application;
FIG. 18 is a schematic diagram of another application scenario provided by an embodiment of the present application;
fig. 19 is a schematic diagram of another application scenario provided in an embodiment of the present application;
FIG. 20 is a schematic diagram of another application scenario provided by an embodiment of the present application;
fig. 21 is a schematic diagram of another application scenario provided in an embodiment of the present application;
FIG. 22 is a schematic diagram of another application scenario provided by an embodiment of the present application;
fig. 23 is a schematic diagram of another application scenario provided in an embodiment of the present application;
FIG. 24 is a schematic diagram of another application scenario provided by an embodiment of the present application;
FIG. 25 is a schematic diagram of another application scenario provided by an embodiment of the present application;
FIG. 26 is a schematic diagram of another application scenario provided by an embodiment of the present application;
fig. 27 is a schematic diagram of another application scenario provided in an embodiment of the present application;
fig. 28 is a schematic flowchart of a display screen position identification method according to an embodiment of the present application;
fig. 29 is a schematic flowchart of another display screen position identification method according to an embodiment of the present application;
fig. 30 is a schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
The display screen position identification method provided by the embodiment of the application can be applied to electronic devices with display screens, such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, Augmented Reality (AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, Personal Digital Assistants (PDAs), and the like, and the embodiment of the application does not limit the specific types of the electronic devices at all.
In addition, the references to "a plurality" in the embodiments of the present application should be interpreted as two or more.
The steps involved in the device pairing method provided in the embodiment of the present application are merely examples, and not all the steps are necessarily performed steps, or the content in each piece of information or message is not always necessary, and may be increased or decreased as needed in the use process.
The same steps or messages with the same functions in the embodiments of the present application may be referred to with each other between different embodiments.
The system architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
With the development of science and technology, various electronic devices have moved into thousands of households.
Some users have a plurality of electronic devices (e.g., tablet computers, notebook computers, mobile phones, etc.) with display screens. When the user uses the electronic equipment with the display screen, the user can set the main display equipment, the display screens of other electronic equipment are used as the expansion screens of the main display equipment, and the plurality of display screens are matched to display the picture of the main display equipment.
For example, a desktop computer of a user is connected with a plurality of display screens, the user can use one of the display screens as a main display screen and use the other display screens as expansion screens, and the plurality of display screens are matched with the display screen output by the desktop computer; for another example, a user may have multiple televisions, which may be spliced into a television wall, and use one of the televisions as a main display device, and display screens of the multiple televisions cooperate to display an on-screen display picture output by the main display device.
In the current screen extension schemes, some screen extension schemes limit the relative position relationship of each display screen, and users can only arrange each display screen according to the set relative position relationship, and the users cannot flexibly set the position of each display screen, so that the user experience is poor.
For example, the hardware screen splitter may divide the screen display into a certain number of parts, and output the parts to different display screens through different output ports (e.g., High Definition Multimedia Interface (HDMI)). The hardware screen splitter pre-defines the arrangement sequence of each display screen, and a user needs to arrange each display screen according to the predefined arrangement sequence of the display screens in the hardware screen splitter.
Other screen expansion schemes require the user to manually configure the relative position information of each display screen in the configuration information of the main display device, so that each display screen can display a proper picture. These screen extension schemes allow a user to flexibly set the position of each display screen, but when the relative position between each display screen changes, the user is required to reconfigure the relative position information of each display screen, which is cumbersome to operate and affects the user experience.
For example, an electronic device (e.g., a laptop or a desktop computer) with a version of macos10.15 or more supports expansion of a tablet computer with a version of iPadOS 13 or more into an expansion screen of the electronic device. But the user needs to manually set the relative position information (e.g., up, down, left, right) between the display screen of the electronic device and the display screen of the tablet computer on the electronic device. When the relative position relationship between the electronic device and the tablet computer changes, the user needs to reset the relative position information between the display screen of the electronic device and the display screen of the tablet computer on the electronic device.
Similarly, when the electronic device equipped with Windows performs screen expansion, the user is also required to manually set the relative position information of each display screen on the electronic device. When the relative position relationship of each display screen changes, the user needs to manually set the relative position information of each display screen again.
Therefore, in the existing screen expansion scheme, a user needs to manually set the relative position information of each display screen, the operation is complicated, and the user experience is low.
In view of this, embodiments of the present application provide a display screen position identification method, an electronic device, and a computer-readable storage medium, which enable the electronic device to automatically identify relative position information of each display screen, and do not need to be manually set by a user, thereby improving user experience, solving the problems of the existing screen extension scheme, requiring the user to manually set the relative position information of each display screen, being cumbersome to operate, and having low user experience, and having strong usability and practicability.
First, taking the display system shown in fig. 1 as an example, the display system is a system to which the display screen position identification method provided in the embodiment of the present application is applied.
As shown in fig. 1, the display system includes at least one first device 1001 and at least one second device 1002, and each of the first device 1001 and the second device 1002 is an electronic device having a display screen.
As shown in fig. 2, the first device 1001 includes a first processor 10011, a first wireless communication module 10012, and an antenna 10013.
As shown in fig. 3, the second device 1002 includes a second processor 10021, a second wireless communication module 10022, and an antenna 10023.
The processor may include one or more processing units, such as: the processor may include an Application Processor (AP), a controller, a memory, and the like. The different processing units may be separate devices or may be integrated into one or more processors.
The wireless communication module includes one or more of Bluetooth (BT), Bluetooth Low Energy (BLE), Wireless Local Area Network (WLAN) (e.g., WiFi), Radio Frequency Identification (RFID), ZigBee (ZigBee), and other wireless communication modules.
At least one antenna 10013 is disposed on the display screen of the first device 1001, and the antenna 10013 is connected to the chip of the first wireless communication module 10012.
At least one antenna 10023 is disposed on the display screen of the second device 1002, and the antenna 10023 is connected to the chip of the second wireless communication module 10022.
The antenna may be configured to send a wireless message modulated by the wireless communication module, or the antenna may also be configured to receive a wireless message sent by another antenna.
The connection between the antenna and the chip of the wireless communication module may be that the antenna is directly connected with the radio frequency output port of the chip, or the antenna is connected with the radio frequency output port of the chip through a radio frequency switch.
For example, as shown in fig. 4, when the number of rf output ports supported by the chip is greater than the number of antennas, the antennas may be directly connected to the rf output ports; as shown in fig. 5, when the number of the rf output ports supported by the chip is less than the number of the antennas, the rf output ports of the chip may be connected to the first end of the rf switch, each antenna may be connected to each second end of the rf switch, and the chip controls the rf switch to dynamically switch the antennas connected to the chip through software.
In addition, the layout mode of the one or more antennas on the display screen can be set according to actual requirements.
For example, as shown in fig. 6, when two antennas are disposed on the display screen, the two antennas may be disposed at diagonal corner points on two sides of the display screen; as shown in fig. 7, when three antennas are disposed on the display screen, the three antennas may be respectively disposed at two corner points and one edge of the display screen; as shown in fig. 8, when four antennas are provided on the display screen, the four antennas may be respectively disposed at four corner points of the display screen.
It should be understood that the above antenna layouts are merely illustrative examples of embodiments of the present application and should not be considered as limitations on the specific antenna layouts. In an actual application process, the electronic device may select the antenna layout in the above example, or the electronic device may select another antenna layout according to an actual requirement.
Hereinafter, the display screen position identification method provided by the embodiment of the present application will be described in detail according to the display systems shown in fig. 1 to 8 and in combination with specific application scenarios.
1. The principle is introduced.
As described above, the antenna may transmit the wireless message modulated by the wireless communication module, or the antenna may receive the wireless message transmitted by another antenna.
When the electronic device receives a wireless message (e.g., a 2.4GHz wireless message, a 5GHz wireless message) through the antenna, the electronic device may detect a Received Signal Strength Indication (RSSI) of the wireless message.
The RSSI is used to indicate the signal strength of the wireless message received by the antenna. The greater the RSSI is, the higher the signal intensity of the wireless message is; the smaller the RSSI, the lower the signal strength of the wireless message.
The RSSI decreases with increasing transmission distance. And the sensitivity of the RSSI along with the change of the transmission distance is inversely proportional to the signal transmission power of the transmitting end of the wireless message, namely the smaller the signal transmission power of the transmitting end is, the greater the sensitivity of the RSSI along with the change of the transmission distance is. The greater the sensitivity of RSSI to changes in transmission distance, the greater the difference in RSSI at the same transmission spacing.
Based on the above phenomenon, the following experiment can be performed:
as shown in fig. 9, in the present experiment, the electronic apparatus 1 and the electronic apparatus 2 were provided. The electronic device 1 is an electronic device that receives wireless messages, and the electronic device 2 is an electronic device that transmits wireless messages. The wireless communication modules arranged on the electronic device 1 and the electronic device 2 are both BLE modules.
An antenna S1 with an operating frequency of 2.4GHz is arranged on the left side of the electronic device 1, an antenna S2 with an operating frequency of 2.4GHz is arranged on the right side of the electronic device 1, and the distance difference between the antenna S1 and the antenna S2 is about 30 cm. An antenna R with an operating frequency of 2.4GHz is provided in the electronic device 2.
In the experiment process, the electronic device 1 controls the antenna S1 and the antenna S2 to receive the wireless message through the BLE module, and the electronic device 2 controls the antenna R to transmit the wireless message through the BLE module.
First, the electronic device 2 controls the antenna R to transmit a wireless message at normal power through the BLE module. At this time, the RSSI 1 of the wireless message transmitted by the antenna R received by the antenna S1 is shown in fig. 10, and the RSSI 2 of the wireless message transmitted by the antenna R received by the antenna S2 is shown in fig. 11.
In fig. 10, the vertical axis represents the RSSI 1 value and the horizontal axis represents the test time T. In fig. 11, the vertical axis represents the RSSI 2 value and the horizontal axis represents the test time T. As can be seen from fig. 10 and 11, when the electronic device 2 controls the antenna R to transmit the wireless message at normal power, the difference between the RSSI 1 and the RSSI 2 detected by the electronic device 1 is not obvious.
Then, the electronic device 2 controls the antenna R to transmit the wireless message in the low power mode through the BLE module. At this time, the RSSI 3 of the wireless message transmitted by the antenna R received by the antenna S1 is shown in fig. 12, and the RSSI 4 of the wireless message transmitted by the antenna R received by the antenna S2 is shown in fig. 13.
In fig. 12, the vertical axis represents the RSSI 3 value, and the horizontal axis represents the test time T. In fig. 13, the vertical axis represents the RSSI 4 value, and the horizontal axis represents the test time T. As can be seen from fig. 12 and 13, when the electronic device 2 controls the antenna R to transmit the wireless message in the low power mode, the RSSI 3 and the RSSI 4 detected by the electronic device 1 have a significant difference, the distance difference between the antenna S1 and the antenna S2 is about 30cm, and the RSSI 3 is reduced by 10-20 dBm compared to the RSSI 4.
In summary, when the electronic device 2 transmits the wireless message in the low power mode, if the electronic device 1 is located at one side of the electronic device 2, the two antennas of the electronic device 1 detect that the RSSI has a difference of 10-20 dBm. Therefore, the electronic device 1 may identify the relative position relationship between the electronic device 1 and the electronic device 2 according to the RSSI of the wireless message detected by the different antennas, or the electronic device 1 may also identify the relative position relationship between the electronic device 1 and the electronic device 2 according to the RSSI of the different wireless message detected by the same antenna.
2. The application is specific.
When the first device 1001 and the second device 1002 have wireless communication functions turned on, the first wireless communication module 10012 of the first device 1001 and the second wireless communication module 10022 of the second device 1002 may discover and connect with each other.
The first device 1001 and the second device 1002 may discover and connect with each other by using wireless solutions such as bluetooth, BLE, WiFi, RFID, or ZigBee, or the first device 1001 and the second device 1002 may discover and connect with each other by using a vendor-defined discovery connection technology.
The first device 1001 and the second device 1002 can transmit and receive wireless messages through the above-described connection. In this embodiment, the first device 1001 may be configured as an electronic device that receives wireless messages, and the second device 1002 may be configured as an electronic device that transmits wireless messages.
After the first device 1001 and the second device 1002 discover and connect with each other, the first device 1001 and the second device 1002 may enter a location recognition mode in which a relative positional relationship of a display screen of the first device 1001 and a display screen of the second device 1002 is recognized.
The first device 1001 and the second device 1002 may automatically trigger the location recognition mode after being connected, or the first device 1001 and the second device 1002 may enter the location recognition mode in response to a physical key operation or a gesture operation of the electronic device by a user.
2.1, the antenna 10013 of the first device 1001 includes at least one first antenna and at least one second antenna, and the antenna 10023 of the second device 1002 includes at least one third antenna.
After entering the location identification mode, the second device 1002 may broadcast the first wireless packet to the outside at a preset power through the third antenna. The first wireless message may include a device identification of the second device 1002 and an antenna identification of the third antenna.
The specific value of the preset power can be set according to actual conditions. Specifically, the preset power should be smaller than a specific power threshold, so that the RSSI of the first wireless packet has a higher sensitivity to a change in transmission distance.
The form of the device identifier can be set according to actual conditions. For example, in some embodiments, a bluetooth address of the electronic device may be used as the device identification. In other embodiments, the user-defined character string may be used as a device identifier of the electronic device. In other embodiments, the device identification may be represented in other forms.
The antenna identification can be set according to actual conditions. For example, in some embodiments, the antenna markers may be represented numerically, such as 001, 002, 003. In other embodiments, the antenna identification may be represented by an English letter, such as A, B, C. In other embodiments, the antenna identification may be represented in other forms.
The device identifier of the second device 1002 and the setting position of the antenna identifier of the third antenna may be selected according to actual situations. For example, when the first wireless packet is a BLE packet, the device identifier of the second device 1002 and the antenna identifier of the third antenna may be set in a secondary field (Minor field) of the BLE packet.
The other electronic devices can determine the transmitting party and the transmitting antenna of the wireless message through the device identifier and the antenna identifier in the wireless message.
The first device 1001 is provided with a first antenna and a second antenna separately. The first device 1001 may periodically listen to the wireless packet on the broadcast channel through the first antenna and the second antenna, or the first device 1001 may continuously detect the wireless packet on the broadcast channel through the first antenna and the second antenna.
When the first device 1001 receives a first wireless message sent by a third antenna through the first antenna, the first device 1001 may obtain a first RSSI corresponding to the first wireless message.
When the first device 1001 receives a first wireless message sent by the third antenna through the second antenna, the first device 1001 may obtain a second RSSI corresponding to the first wireless message.
The RSSI acquired by the first device 1001 may be an instantaneous value of the RSSI, or the RSSI acquired by the first device 1001 may also be an average value of the RSSI over a period of time.
For example, when the first antenna receives the first wireless message, the first device 1001 may use an RSSI instantaneous value of the first wireless message first received by the first antenna as the first RSSI; or, when the first device 1001 receives the first wireless message at the first antenna, it may acquire an RSSI instantaneous value corresponding to each first wireless message received by the first antenna within a preset time period, and then process each RSSI instantaneous value through a moving average algorithm to obtain the first RSSI.
The preset duration can be set according to actual requirements. For example, the preset time period may be set to a value of 10ms, 20ms, 40ms, or the like.
Since the first antenna and the second antenna are disposed at different positions, there may be a difference between the first RSSI and the second RSSI.
At this time, the first device 1001 may determine the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the first RSSI, the second RSSI, and the relative positional relationship between the first antenna and the second antenna.
For example, assuming that the first antenna is located on the first side of the second antenna and the first RSSI is greater than the second RSSI, the first device 1001 may determine that the display screen of the second device 1002 is located on the first side of the display screen of the first device 1001; assuming that the first antenna is located on a first side of the second antenna and the first RSSI is less than the second RSSI, the first device 1001 may determine that the display screen of the second device 1002 is located on a second side of the display screen of the first device 1001.
Specifically, the above-mentioned first side and second side denote opposite sides. For example, when the first side is the left side, the second side is the right side; when the first side is an upper side, the second side is a lower side.
The specific indication directions of the first side and the second side should be set according to actual conditions. For example, in some embodiments, the first side may be any one of up, down, left, and right. In other embodiments, the first side may be any one of upper left, lower left, upper right, and lower right. The present embodiment does not limit the specific indication directions of the first side and the second side.
In addition, since there is a difference in antenna layouts of the respective electronic devices and there is fluctuation in the RSSI measurement process, the first device 1001 may set the first threshold value.
After acquiring the first RSSI and the second RSSI, the first device 1001 may calculate an absolute value of a difference between the first RSSI and the second RSSI to obtain a first absolute value, and determine whether the first absolute value is greater than or equal to a first threshold.
If the first absolute value is smaller than the first threshold, it indicates that the difference between the first RSSI and the second RSSI is small, and at this time, if the first device 1001 identifies the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the first RSSI and the second RSSI, the first device 1001 may cause an identification error due to the fluctuation of the RSSI and the like. Therefore, the first device 1001 can stop recognizing the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002, and determine that the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 cannot be recognized.
If the first absolute value is greater than or equal to the first threshold, the first device 1001 determines the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the first RSSI, the second RSSI, and the relative positional relationship between the first antenna and the second antenna.
The first threshold value may be set according to actual conditions. For example, the first threshold may be set to a value of 3dBm, 5dBm, 10dBm, or the like.
In addition, the placement state of the first device 1001 and the placement state of the second device 1002 may have an influence on the position recognition result (i.e., the relative positional relationship between the display screen of the first antenna and the display screen of the second antenna).
Accordingly, the first device 1001 may determine the first device placement state from sensor data collected by the first attitude sensor, and the second device 1002 may determine the second device placement state from sensor data collected by the second attitude sensor.
The first attitude sensor is provided on the display screen of the first device 1001, and the second attitude sensor is provided on the display screen of the second device 1002.
The above-mentioned placing state may include a forward state and an upside-down state. The electronic device may define a placement state of a certain direction as a forward state. The inverted state is a placement state opposite to the forward state, and generally, the inverted state can be understood as a placement state that the electronic device is assumed after being vertically rotated by 180 ° or horizontally rotated by 180 ° in the forward state.
After acquiring the placement state of the second device, the second device 1002 may transmit the placement state of the second device to the first device 1001 through the first wireless packet.
After the first device 1001 acquires the first device placement state and the second device placement state, the first device 1001 may determine a relative position relationship between a display screen of the first device 1001 and a display screen of the second device 1002 according to the first RSSI, the second RSSI, the first device placement state, the second device placement state, and the relative position relationship between the first antenna and the second antenna.
For example, assume that when the first device 1001 is in the forward state, the first antenna is located on a first side of the second antenna, and the first RSSI is greater than the second RSSI. At this time, if the first device placement state is a forward state and the second device placement state is a forward state, the first device 1001 may determine that the display screen of the second device 1002 is located on the first side of the display screen of the first device 1001; if the first device placement state is an inverted state and the second device placement state is a forward state, the first device 1001 may determine that the display screen of the first device 1001 is located on the first side of the display screen of the second device 1002.
The attitude sensor is used for detecting the placing state of the electrons. The attitude sensor may include one or more of a gyroscope, an accelerometer, an electronic compass, and the like.
The method for identifying the position of the display screen described in section 2.1 will be explained with reference to a specific application scenario.
The application scene one:
as shown in fig. 14, it is assumed that the first device 1001 is the tablet pc 11 and the second device 1002 is the tablet pc 12. An antenna 13 and an antenna 14 are respectively arranged at diagonal corner points of the display screen of the tablet computer 11, the antenna 13 is located on the left side of the antenna 14, and an antenna 15 is arranged on one edge of the display screen of the tablet computer 12.
When the tablet computer 11 and the tablet computer 12 enter the location recognition mode, the tablet computer 12 broadcasts a first wireless message through the antenna 15, where the first wireless message includes the device identifier of the tablet computer 12 and the antenna identifier of the antenna 15.
When the tablet computer 11 receives the first wireless message through the antenna 13, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 12 through the antenna 15.
At this time, the tablet computer 11 records the RSSI corresponding to each first wireless message received by the antenna 13 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 1.1.
When the tablet computer 11 receives the first wireless message through the antenna 14, it is determined through the device identifier and the antenna identifier in the first wireless message that the tablet computer 12 sends the first wireless message through the antenna 15.
At this time, the tablet computer 11 records the RSSI corresponding to each first wireless message received by the antenna 14 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 1.2.
By comparison, RSSI 1.1 is less than RSSI 1.2, and antenna 13 is located on the left side of antenna 14, so tablet 11 can determine that tablet 12 is located on the right side of tablet 11.
Application scenario two:
as shown in fig. 15, it is assumed that the first device 1001 is a tablet computer 21 and the second device 1002 is a tablet computer 22. An antenna 23 and an antenna 24 are respectively arranged at diagonal corner points of the display screen of the tablet computer 21, the antenna 23 is positioned at the left side of the antenna 24, and an antenna 25 is arranged on one edge of the display screen of the tablet computer 22.
When the tablet computer 21 and the tablet computer 22 enter the location recognition mode, the tablet computer 22 broadcasts a first wireless message through the antenna 25, where the first wireless message includes the device identifier of the tablet computer 22 and the antenna identifier of the antenna 25.
When the tablet computer 21 receives the first wireless message through the antenna 23, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 22 through the antenna 25.
At this time, the tablet computer 21 records the RSSI corresponding to each first wireless message received by the antenna 23 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 2.1.
When the tablet computer 21 receives the first wireless message through the antenna 24, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 22 through the antenna 25.
At this time, the tablet computer 21 records the RSSI corresponding to each first wireless message received by the antenna 24 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 2.2.
By comparison, RSSI 2.1 is greater than RSSI 2.2, and antenna 23 is located on the left side of antenna 24, so tablet 21 can determine that tablet 22 is located on the left side of tablet 21.
Application scenario three:
as shown in fig. 16, it is assumed that the first device 1001 is the tablet pc 31 and the second device 1002 is the tablet pc 32. An antenna 33 and an antenna 34 are respectively arranged at diagonal corner points of the display screen of the tablet computer 31, the antenna 33 is positioned at the lower side of the antenna 34, and an antenna 35 is arranged on one edge of the display screen of the tablet computer 32.
When the tablet computer 31 and the tablet computer 32 enter the location recognition mode, the tablet computer 32 broadcasts a first wireless message through the antenna 35, where the first wireless message includes a device identifier of the tablet computer 32 and an antenna identifier of the antenna 35.
When the tablet computer 31 receives the first wireless message through the antenna 33, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 32 through the antenna 35.
At this time, the tablet computer 31 records the RSSI corresponding to each first wireless message received by the antenna 33 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 3.1.
When the tablet computer 31 receives the first wireless message through the antenna 34, it is determined that the first wireless message is sent by the tablet computer 32 through the antenna 35 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet computer 31 records the RSSI corresponding to each first wireless message received by the antenna 34 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 3.2.
By comparison, RSSI 3.1 is greater than RSSI 3.2, and antenna 33 is located under antenna 34, so tablet 31 can determine that tablet 32 is located under tablet 31.
The application scene four is as follows:
as shown in fig. 17, assume that the first device 1001 is a tablet pc 41 and the second device 1002 is a tablet pc 42. An antenna 43 and an antenna 44 are respectively arranged at diagonal corner points of the display screen of the tablet computer 41, the antenna 43 is located on the left side of the antenna 44, and an antenna 45 is arranged on one edge of the display screen of the tablet computer 42.
When the tablet computers 41 and 42 enter the location recognition mode, the tablet computer 42 broadcasts a first wireless message through the antenna 45, where the first wireless message includes the device identifier of the tablet computer 42 and the antenna identifier of the antenna 45.
When the tablet 41 receives the first wireless message through the antenna 43, it is determined that the first wireless message is sent by the tablet 42 through the antenna 45 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet 41 records the RSSI corresponding to each first wireless message received by the antenna 43 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 4.1.
When the tablet 41 receives the first wireless message through the antenna 44, it is determined that the first wireless message is sent by the tablet 42 through the antenna 45 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet 41 records the RSSI corresponding to each first wireless message received by the antenna 44 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 4.2.
By comparison, RSSI 4.1 is greater than RSSI 4.2, the absolute value of the difference between RSSI 4.1 and RSSI 4.2 is greater than the first threshold, and the antenna 43 is located on the left side of the antenna 44, so the tablet 41 can determine that the tablet 42 is located on the left side of the tablet 41.
Application scenario five:
as shown in fig. 18, it is assumed that the first device 1001 is the tablet pc 51 and the second device 1002 is the tablet pc 52. An antenna 53 and an antenna 54 are arranged on the display screen of the tablet computer 51, the antenna 53 is positioned on the left side of the antenna 54, and an antenna 55 is arranged on one side of the display screen of the tablet computer 52.
When the tablet pc 51 and the tablet pc 52 enter the location recognition mode, the tablet pc 52 broadcasts a first wireless message through the antenna 55, where the first wireless message includes the device identifier of the tablet pc 52 and the antenna identifier of the antenna 55.
When the tablet computer 51 receives the first wireless message through the antenna 53, it is determined that the first wireless message is sent by the tablet computer 52 through the antenna 55 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet computer 51 records the RSSI corresponding to each first wireless message received by the antenna 53 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 5.1.
When the tablet computer 51 receives the first wireless message through the antenna 54, it is determined that the first wireless message is sent by the tablet computer 52 through the antenna 55 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet computer 51 records the RSSI corresponding to each first wireless message received by the antenna 54 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 5.2.
Through comparison, the RSSI 5.1 is greater than the RSSI 5.2, but the absolute value of the difference between the RSSI 5.1 and the RSSI 5.2 is smaller than the first threshold, so the tablet computer 51 stops recognizing the relative position relationship between the tablet computer 51 and the tablet computer 52, and the tablet computer 51 determines that the relative position relationship between the tablet computer 51 and the tablet computer 52 cannot be recognized.
Application scenario six:
as shown in fig. 19, it is assumed that the first device 1001 is the tablet computer 61 and the second device 1002 is the tablet computer 62. An antenna 63 and an antenna 64 are respectively arranged at diagonal corner points of the display screen of the tablet computer 61, and when the placement state of the tablet computer 61 is a forward state, the antenna 63 is located on the left side of the antenna 64. An antenna 65 is provided on one side of the display screen of the tablet computer 62.
When the tablet computer 61 and the tablet computer 62 enter the position recognition mode, the tablet computer 62 broadcasts a first wireless message through the antenna 65, the first wireless message includes the device identifier of the tablet computer 62, the antenna identifier of the antenna 65, and the second device placement state is a forward state.
When the tablet computer 61 receives the first wireless message through the antenna 63, it is determined that the first wireless message is sent by the tablet computer 62 through the antenna 65 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet computer 61 records the RSSI corresponding to each first wireless message received by the antenna 63 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 6.1.
When the tablet computer 61 receives the first wireless message through the antenna 64, it is determined that the first wireless message is sent by the tablet computer 62 through the antenna 65 according to the device identifier and the antenna identifier in the first wireless message.
At this time, the tablet computer 61 records the RSSI corresponding to each first wireless message received by the antenna 64 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 6.2.
Through comparison, the RSSI 6.1 is greater than the RSSI 6.2, the absolute value of the difference between the RSSI 6.1 and the RSSI 6.2 is greater than the first threshold, the gyroscope of the tablet computer 61 detects that the tablet computer 61 is in the inverted state, the second device placement state is in the forward state, and when the tablet computer 61 is in the forward state, the antenna 63 is located on the left side of the antenna 64, so that the tablet computer 61 can determine that the tablet computer 61 is located on the left side of the tablet computer 62.
It should be understood that although only one first antenna, one second antenna, and one third antenna are shown in the above examples. However, in practical applications, there may be one or more first antennas, one or more second antennas, and one or more third antennas for the first device 1001 and the second device 1002.
At this time, the first device 1001 may select an appropriate first antenna and second antenna to construct a first antenna combination to implement the above-described display screen position identification method.
For example, assuming that the first antenna includes antenna a and antenna B, and the second antenna includes antenna C, the first device 1001 may constitute a combination of the two first antennas [ antenna a, antenna C ], [ antenna B, antenna C ].
When there are a plurality of first antenna combinations or a plurality of third antennas, the first device 1001 can obtain a plurality of position recognition results. At this time, the first device 1001 may determine the target position recognition result according to a preset rule and the plurality of position recognition results.
The specific content of the preset rule can be set according to actual conditions.
In some possible implementations, the preset rule may be: if the respective position recognition results are consistent, the first device 1001 takes the position recognition result as a target position recognition result; if the respective position recognition results do not coincide, the first device 1001 stops recognizing the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002, and the first device 1001 determines that the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 cannot be recognized.
For example, assume that the first device 1001 detects 5 position recognition results. If the 5 position recognition results are that the display screen of the first device 1001 is on the left side of the display screen of the second device 1002, the first device 1001 determines that the display screen of the first device 1001 is on the left side of the display screen of the second device 1002. If there are 3 position recognition results among the 5 position recognition results that the display screen of the first device 1001 is on the left side of the display screen of the second device 1002 and 2 position recognition results that the display screen of the first device 1001 is on the right side of the display screen of the second device 1002, the first device 1001 stops recognizing the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002, and the first device 1001 determines that the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 cannot be recognized.
In other possible implementations, the preset rule may be: the first device 1001 selects the position recognition result that appears the highest frequency among the respective position recognition results.
For example, assume that the first device 1001 detects 5 position recognition results. If there are 3 position recognition results that the display screen of the first device 1001 is on the left side of the display screen of the second device 1002, 1 position recognition result that the display screen of the first device 1001 is on the right side of the display screen of the second device 1002, and 1 position recognition result that the display screen of the first device 1001 is not recognizable, the first device 1001 determines that the display screen of the first device 1001 is on the left side of the display screen of the second device 1002.
In other possible implementations, the preset rule may be set as another rule according to actual situations.
An application scene seven:
as shown in fig. 20, it is assumed that the first device 1001 is the tablet pc 71 and the second device 1002 is the tablet pc 72. Three corner points of the display screen of the tablet computer 71 are respectively provided with an antenna 73, an antenna 74 and an antenna 75. Antenna 73 is a first antenna and antennas 74 and 75 are second antennas. The antenna 74 and the antenna 75 are both located on the upper side of the antenna 73. An antenna 76 is provided on one side of the display screen of the tablet computer 72.
At this time, the tablet 71 may determine two first antenna combinations [ antenna 73, antenna 74] and [ antenna 73, antenna 75 ].
When the tablet computer 71 and the tablet computer 72 enter the location recognition mode, the tablet computer 72 broadcasts a first wireless message through the antenna 76, wherein the first wireless message includes the device identifier of the tablet computer 72 and the antenna identifier of the antenna 76.
When the tablet computer 71 receives the first wireless message through the antenna 73, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 72 through the antenna 76.
At this time, the tablet pc 71 records the RSSI corresponding to each first wireless message received by the antenna 73 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 7.1.
When the tablet computer 71 receives the first wireless message through the antenna 74, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 72 through the antenna 76.
At this time, the tablet computer 71 records the RSSI corresponding to each first wireless message received by the antenna 74 within the preset time period, and calculates an average value of each RSSI to obtain an RSSI of 7.2.
When the tablet computer 71 receives the first wireless message through the antenna 75, it is determined through the device identifier and the antenna identifier in the first wireless message that the first wireless message is sent by the tablet computer 72 through the antenna 76.
At this time, the tablet computer 71 records the RSSI corresponding to each first wireless message received by the antenna 75 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 7.3.
By comparison, RSSI 7.1 is smaller than RSSI 7.2, the absolute value of the difference between RSSI 7.1 and RSSI 7.2 is larger than the first threshold, and the antenna 73 is located at the lower side of the antenna 74, so the tablet computer 72 is located at the upper side of the tablet computer 71 as the position identification result determined by the tablet computer 71 based on the antenna 73 and the antenna 74.
RSSI 7.1 is smaller than RSSI 7.3, but the absolute value of the difference between RSSI 7.1 and RSSI 7.3 is smaller than the first threshold, so the tablet computer 71 cannot identify the relative position relationship between the tablet computer 71 and the tablet computer 72 based on the position identification result determined by antenna 73 and antenna 75.
At this time, the tablet pc 71 combines the two position recognition results, and determines that the tablet pc 72 is located on the upper side of the tablet pc 71.
In summary, in the display screen location identification method provided in the embodiment, the first device 1001 may determine the relative location relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the first RSSI of the first wireless packet received by the first antenna, the second RSSI of the second wireless packet received by the second antenna, and the relative location relationship between the first antenna and the second antenna, and a user does not need to actively configure the relative location information between the display screen of the first device 1001 and the display screen of the second device 1002.
In addition, the first device 1001 may further set a first threshold, and when the absolute value of the difference between the first RSSI and the second RSSI is greater than or equal to the first threshold, the first device 1001 identifies the relative position relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the first RSSI and the second RSSI, thereby improving the accuracy of position identification.
In addition, in order to avoid that the first device 1001 misjudges the position recognition result due to the placement state of the first device 1001 and the placement state of the second device 1002 in the position recognition process, the first device 1001 may recognize the placement state of the first device through sensor data collected by the first attitude sensor, and the second device 1002 may recognize the placement state of the second device through sensor data collected by the second attitude sensor, and transmit the second device to the first device 1001 through the first wireless message, so that the first device 1001 may determine the position recognition result by combining the placement state of the first device and the placement state of the second device, and the accuracy of the position recognition is further improved.
When the first device 1001 is provided with a plurality of first antenna combinations or the second device 1002 is provided with a plurality of third antenna combinations, the first device 1001 may obtain a plurality of position recognition results, and may obtain a final target position recognition result according to a preset rule and the plurality of position recognition results. The first device 1001 determines the target position recognition result by integrating the plurality of position recognition results, and can more accurately recognize the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002.
2.2, the antenna of the first device 1001 includes at least one fourth antenna, and the antenna of the second device 1002 includes at least one fifth antenna and at least one sixth antenna.
After entering the location identification mode, the second device 1002 may broadcast the second wireless packet at a preset power via the fifth antenna, and broadcast the third wireless packet at a preset power via the sixth antenna.
The specific value of the preset power can be set according to actual conditions. Specifically, the preset power should be smaller than a specific power threshold, so that the RSSI of the second wireless packet and the RSSI of the third wireless packet have higher sensitivity to the change of the transmission distance.
The second wireless message may include the device identification of second device 1002 and the antenna identification of the fifth antenna. The third wireless message may include the device identification of second device 1002 and the antenna identification of the sixth antenna. And, the second wireless message and/or the third wireless message may include a relative position relationship of the fifth antenna and the sixth antenna.
The relative position of the fifth antenna and the sixth antenna can be represented by a preset relative position mark. The first device 1001 and the second device 1002 may set in advance an association relationship of a relative positional relationship and a relative positional identification. After the first device 1001 acquires the relative position identifier, the relative position relationship between the fifth antenna and the sixth antenna may be determined according to the association relationship between the relative position relationship and the relative position identifier.
For example, the first device 1001 and the second device 1002 may be previously set to "00" indicating that the fifth antenna is on the upper side of the sixth antenna, "01" indicating that the fifth antenna is on the lower side of the sixth antenna, "10" indicating that the fifth antenna is on the left side of the sixth antenna, and "11" indicating that the fifth antenna is on the right side of the sixth antenna. When the second wireless message received by the first device 1001 includes the relative location identifier "10", the first device 1001 may determine that the fifth antenna is on the left side of the sixth antenna according to the relative location identifier "10".
The setting positions of the device identifier of the second device 1002, the antenna identifier of the fifth antenna, the antenna identifier of the sixth antenna, and the relative position identifier may be selected according to actual situations. For example, when the first wireless packet is a BLE packet, the device identifier of the second device 1002, the antenna identifier of the fifth antenna, the antenna identifier of the sixth antenna, and the relative location identifier may be set in a Minor field of the BLE packet.
The other electronic devices can determine the transmitting party and the transmitting antenna of the wireless message through the device identifier and the antenna identifier in the wireless message.
The first device 1001 may periodically listen for wireless messages on the broadcast channel through the fourth antenna, or the first device 1001 may continuously listen for wireless messages on the broadcast channel through the fourth antenna.
When the first device 1001 receives the second wireless packet sent by the fifth antenna through the fourth antenna, the first device 1001 may obtain a third RSSI corresponding to the second wireless packet.
When the first device 1001 receives, through the fourth antenna, the third wireless packet sent by the sixth antenna, the first device 1001 may obtain a fourth RSSI corresponding to the third wireless packet.
The RSSI acquired by the first device 1001 may be an instantaneous value of the RSSI, or the RSSI acquired by the first device 1001 may also be an average value of the RSSI over a period of time.
For example, when the first device 1001 receives the second wireless packet at the fourth antenna, the RSSI instantaneous value of the second wireless packet first received at the fourth antenna may be used as the third RSSI; or, when the first device 1001 receives the second wireless message at the fourth antenna, it may acquire an RSSI instantaneous value corresponding to each second wireless message received by the fourth antenna within a preset time period, and then process each RSSI instantaneous value through a moving average algorithm to obtain a third RSSI.
Since the fifth antenna and the sixth antenna are disposed at different positions, there may be a difference between the third RSSI and the fourth RSSI.
At this time, the first device 1001 may determine the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the third RSSI, the fourth RSSI, and the relative positional relationship between the fifth antenna and the sixth antenna.
For example, assuming that the fifth antenna is located on the first side of the sixth antenna and the third RSSI is greater than the fourth RSSI, the first device 1001 may determine that the display screen of the first device 1001 is located on the first side of the display screen of the second device 1002; assuming that the fifth antenna is located on the first side of the sixth antenna and the third RSSI is less than the fourth RSSI, the first device 1001 may determine that the display screen of the first device 1001 is located on the second side of the display screen of the second device 1002.
Also, the first device 1001 may set the second threshold value because there is a difference in antenna layout of each electronic device and there is fluctuation in the RSSI measurement process.
After acquiring the third RSSI and the fourth RSSI, the first device 1001 may calculate an absolute value of a difference between the third RSSI and the fourth RSSI to obtain a second absolute value, and determine whether the second absolute value is greater than or equal to a second threshold.
If the second absolute value is less than the second threshold, it indicates that the difference between the third RSSI and the fourth RSSI is small. At this time, if the first device 1001 identifies the relative positional relationship of the display screen of the first device 1001 and the display screen of the second device 1002 from the third RSSI and the fourth RSSI, the first device 1001 may cause an identification error due to the fluctuation of the RSSI and the like. Therefore, the first device 1001 can stop recognizing the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002, and determine that the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 cannot be recognized.
If the second absolute value is greater than or equal to the second threshold, the first device 1001 determines the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the third RSSI, the fourth RSSI, and the relative positional relationship between the first antenna and the second antenna.
The second threshold value may be set according to actual conditions. For example, the second threshold may be set to a value of 3dBm, 5dBm, 10dBm, or the like.
In addition, the placement state of the first device 1001 and the placement state of the second device 1002 may have an influence on the position recognition result (i.e., the relative positional relationship between the display screen of the first antenna and the display screen of the second antenna).
Thus, the first device 1001 may determine a first device placement state from sensor data collected by the first attitude sensor, and the second device 1002 may determine a second device placement state from sensor data collected by the second attitude sensor.
The first attitude sensor is provided on the display screen of the first device 1001, and the second attitude sensor is provided on the display screen of the second device 1002.
The above-mentioned placing state may include a forward state and an upside-down state. The electronic device may define a placement state of a certain direction as a forward state. The inverted state is a placement state opposite to the forward state, and generally, the inverted state can be understood as a placement state that the electronic device is assumed after being vertically rotated by 180 ° or horizontally rotated by 180 ° in the forward state.
After acquiring the placement state of the second device, the second device 1002 may transmit the placement state of the second device to the first device 1001 through the second wireless packet and/or the third wireless packet.
After the first device 1001 acquires the first device placement state and the second device placement state, the first device 1001 may determine the relative position relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the third RSSI, the fourth RSSI, the first device placement state, the second device placement state, and the relative position relationship between the fifth antenna and the sixth antenna.
For example, assume that when the first device 1001 is in the forward state, the fifth antenna is located on the first side of the sixth antenna, and the third RSSI is greater than the fourth RSSI. At this time, if the first device placement state is a forward state and the second device placement state is a forward state, the first device 1001 may determine that the display screen of the second device 1002 is located on the second side of the display screen of the first device 1001; if the first device placement state is a forward state and the second device placement state is an inverted state, the first device 1001 may determine that the display screen of the second device 1002 is located on a first side of the display screen of the first device 1001.
The attitude sensor is used for detecting the placing state of the electrons. The attitude sensor may include one or more of a gyroscope, an accelerometer, an electronic compass, and the like.
Also, there may be one or more fourth antennas, one or more fifth antennas, and one or more sixth antennas for the first device 1001 and the second device 1002.
At this time, the second device 1002 may select an appropriate fifth antenna and an appropriate sixth antenna to construct the second antenna combination to implement the above-described display screen position identification method.
For example, assuming that the fifth antenna includes antenna D and antenna E, and the sixth antenna includes antenna F, the second device 1002 may construct a combination of two second antennas [ antenna D, antenna F ], [ antenna E, antenna F ].
When the first device 1001 has a plurality of fourth antennas or the second device 1002 has a plurality of second antennas combined, the first device 1001 can obtain a plurality of position recognition results. At this time, the first device 1001 may determine the target position recognition result according to a preset rule and the plurality of position recognition results.
The preset rule may be formulated as described in section 2.1, which is not repeated herein.
The method for identifying the position of the display screen described in section 2.2 will be explained with reference to a specific application scenario.
An application scenario eight:
as shown in fig. 21, it is assumed that the first device 1001 is the tablet pc 81 and the second device 1002 is the tablet pc 82. The display screen of the tablet computer 81 is provided with an antenna 83, diagonal corner points of the display screen of the tablet computer 82 are respectively provided with an antenna 84 and an antenna 85, and the antenna 84 is located on the left side of the antenna 85.
When the tablet computer 81 and the tablet computer 82 enter the location recognition mode, the tablet computer 82 broadcasts a second wireless message through the antenna 84, where the second wireless message includes a device identifier of the tablet computer 82 and an antenna identifier of the antenna 84. The tablet 82 broadcasts a third wireless message via the antenna 85, where the third wireless message includes the device identifier of the tablet 82 and the antenna identifier of the antenna 85.
And, the second wireless message and/or the third wireless message includes the relative location identification of the antenna 84 and the antenna 85.
When the tablet computer 81 receives the second wireless message through the antenna 83, it is determined through the device identifier and the antenna identifier in the second wireless message that the second wireless message is sent by the tablet computer 82 through the antenna 84.
When the tablet computer 81 receives the third wireless message through the antenna 83, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet computer 82 through the antenna 85.
At this time, the tablet computer 81 records the RSSI corresponding to each second wireless message received by the antenna 83 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 8.1.
The tablet computer 81 records the RSSI corresponding to each third wireless message received by the antenna 83 within the preset time length, and calculates the average value of each RSSI to obtain the RSSI 8.2.
By comparison, RSSI 8.1 is greater than RSSI 8.2, and antenna 84 is located on the left side of antenna 85, so tablet 81 can determine that tablet 82 is located on the right side of tablet 81.
Application scenario nine:
as shown in fig. 22, it is assumed that the first device 1001 is the tablet pc 91 and the second device 1002 is the tablet pc 92. The display screen of the tablet computer 91 is provided with an antenna 93, diagonal corner points of the display screen of the tablet computer 92 are respectively provided with an antenna 94 and an antenna 95, and the antenna 94 is located on the left side of the antenna 95.
When the tablet computer 91 and the tablet computer 92 enter the location recognition mode, the tablet computer 92 broadcasts a second wireless message through the antenna 94, where the second wireless message includes the device identifier of the tablet computer 92 and the antenna identifier of the antenna 94. The tablet computer 92 broadcasts a third wireless message through the antenna 95, where the third wireless message includes the device identifier of the tablet computer 92 and the antenna identifier of the antenna 95.
And the second wireless message and/or the third wireless message includes the relative location identification of the antenna 94 and the antenna 95.
When the tablet pc 91 receives the second wireless message through the antenna 93, it is determined through the device identifier and the antenna identifier in the second wireless message that the second wireless message is sent by the tablet pc 92 through the antenna 94.
When the tablet pc 91 receives the third wireless message through the antenna 93, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet pc 92 through the antenna 95.
At this time, the tablet computer 91 records the RSSI corresponding to each second wireless message received by the antenna 93 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 9.1.
The tablet computer 91 records the RSSI corresponding to each third wireless message received by the antenna 93 within the preset time duration, and calculates an average value of the RSSI to obtain RSSI 9.2.
By comparison, RSSI 9.1 is smaller than RSSI 9.2, the absolute value of the difference between RSSI 9.1 and RSSI 9.2 is larger than the second threshold, and the antenna 94 is located on the left side of the antenna 95, so the tablet 91 can determine that the tablet 92 is located on the left side of the tablet 91.
Application scenario ten:
as shown in fig. 23, assume that the first device 1001 is the tablet pc 101 and the second device 1002 is the tablet pc 102. The display screen of the tablet computer 101 is provided with an antenna 103 and an antenna 104, diagonal corner points of the display screen of the tablet computer 102 are respectively provided with an antenna 105 and an antenna 106, and the antenna 105 is located on the left side of the antenna 106.
When tablet computer 101 and tablet computer 102 enter the location recognition mode, tablet computer 102 broadcasts a second wireless message through antenna 105, where the second wireless message includes the device identifier of tablet computer 102 and the antenna identifier of antenna 105. Tablet 102 broadcasts a third wireless message via antenna 106, where the third wireless message includes the device identifier of tablet 102 and the antenna identifier of antenna 106.
And the second wireless message and/or the third wireless message include the relative location identification of the antenna 105 and the antenna 106.
When the tablet computer 101 receives the second wireless message through the antenna 103, it is determined through the device identifier and the antenna identifier in the second wireless message that the second wireless message is sent by the tablet computer 102 through the antenna 105.
When the tablet computer 101 receives the third wireless message through the antenna 103, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet computer 102 through the antenna 106.
At this time, the tablet computer 101 records the RSSI corresponding to each second wireless message received by the antenna 103 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 10.1.
The tablet computer 101 records the RSSI corresponding to each third wireless message received by the antenna 103 within a preset time period, and calculates an average value of each RSSI to obtain an RSSI of 10.2.
By comparison, RSSI 10.1 is less than RSSI 10.2, the absolute value of the difference between RSSI 10.1 and RSSI 10.2 is greater than the second threshold, and antenna 105 is located on the left side of antenna 106, so tablet 101 can determine that tablet 102 is located on the left side of tablet 101.
When the tablet computer 101 receives the second wireless messages through the antenna 104, the tablet computer 101 records the RSSI corresponding to each second wireless message received by the antenna 104 within the preset time length, and calculates the average value of each RSSI to obtain the RSSI 10.3.
When the tablet computer 101 receives the third wireless messages through the antenna 104, the tablet computer 101 records the RSSI corresponding to each third wireless message received by the antenna 104 within the preset time length, and calculates the average value of each RSSI to obtain the RSSI 10.4.
By comparison, RSSI 10.3 is smaller than RSSI 10.4, the absolute value of the difference between RSSI 10.3 and RSSI 10.4 is larger than the second threshold, and the antenna 105 is located on the left side of the antenna 106, so the tablet 101 can determine that the tablet 102 is located on the left side of the tablet 101.
Tablet computer 101 integrates the position recognition result corresponding to antenna 103 and the position recognition result corresponding to antenna 104, and determines that tablet computer 102 is located on the left side of the tablet computer.
Application scenarios eleven:
as shown in fig. 24, assume that the first device 1001 is the tablet 111 and the second device 1002 is the tablet 112. The display screen of the tablet computer 111 is provided with an antenna 113 and an antenna 114, diagonal corner points of the display screen of the tablet computer 112 are respectively provided with an antenna 115 and an antenna 116, and the antenna 115 is located on the left side of the antenna 116.
When the tablet computer 111 and the tablet computer 112 enter the location recognition mode, the tablet computer 112 broadcasts a second wireless message through the antenna 115, where the second wireless message includes the device identifier of the tablet computer 112 and the antenna identifier of the antenna 115. Tablet computer 112 broadcasts a third wireless message via antenna 116, where the third wireless message includes the device identifier of tablet computer 112 and the antenna identifier of antenna 116.
And, the second wireless message and/or the third wireless message includes the relative location identification of the antenna 115 and the antenna 116.
When the tablet computer 111 receives the second wireless message through the antenna 113, it is determined that the second wireless message is sent by the tablet computer 112 through the antenna 115 through the device identifier and the antenna identifier in the second wireless message.
When the tablet computer 111 receives the third wireless message through the antenna 113, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet computer 112 through the antenna 116.
At this time, the tablet computer 111 records the RSSI corresponding to each second wireless message received by the antenna 113 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 11.1.
The tablet computer 111 records the RSSI corresponding to each third wireless message received by the antenna 113 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 11.2.
By comparison, RSSI 11.1 is greater than RSSI 11.2, the absolute value of the difference between RSSI 11.1 and RSSI 11.2 is greater than the second threshold, and the antenna 115 is located on the left side of the antenna 116, so the tablet 111 can determine that the tablet 112 is located on the right side of the tablet 111.
When the tablet computer 111 receives the second wireless messages through the antenna 114, the tablet computer 111 records the RSSI corresponding to each second wireless message received by the antenna 114 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 11.3.
When the tablet computer 111 receives the third wireless messages through the antenna 114, the tablet computer 111 records the RSSI corresponding to each third wireless message received by the antenna 114 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 11.4.
By comparison, RSSI 11.3 is greater than RSSI 11.4, the absolute value of the difference between RSSI 11.3 and RSSI 11.4 is greater than the second threshold, and the antenna 115 is located on the left side of the antenna 116, so the tablet 111 can determine that the tablet 112 is located on the right side of the tablet 111.
The tablet computer 111 integrates the position recognition result corresponding to the antenna 113 and the position recognition result corresponding to the antenna 114, and determines that the tablet computer 112 is located on the right side of the tablet computer.
Application scenarios of twelve:
as shown in fig. 25, it is assumed that the first device 1001 is the tablet computer 121 and the second device 1002 is the tablet computer 122. The display screen of the tablet computer 121 is provided with an antenna 123 and an antenna 124, diagonal corners of the display screen of the tablet computer 122 are respectively provided with an antenna 125 and an antenna 126, and the antenna 125 is located on the lower side of the antenna 126.
When the tablet computer 121 and the tablet computer 122 enter the location recognition mode, the tablet computer 122 broadcasts a second wireless message through the antenna 125, where the second wireless message includes the device identifier of the tablet computer 122 and the antenna identifier of the antenna 125. The tablet 122 broadcasts a third wireless message via the antenna 126, where the third wireless message includes the device identifier of the tablet 122 and the antenna identifier of the antenna 126.
And, the second wireless message and/or the third wireless message includes the relative location identification of the antenna 125 and the antenna 126.
When the tablet computer 121 receives the second wireless message through the antenna 123, it is determined through the device identifier and the antenna identifier in the second wireless message that the second wireless message is sent by the tablet computer 122 through the antenna 125.
When the tablet computer 121 receives the third wireless message through the antenna 123, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet computer 122 through the antenna 126.
At this time, the tablet computer 121 records the RSSI corresponding to each second wireless message received by the antenna 123 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 12.1.
The tablet computer 121 records the RSSI corresponding to each third wireless message received by the antenna 123 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 12.2.
By comparison, the RSSI 12.1 is greater than the RSSI 12.2, the absolute value of the difference between the RSSI 12.1 and the RSSI 12.2 is less than the second threshold, and the antenna 125 is located below the antenna 126, so the tablet computer 121 can determine that the relative position relationship between the tablet computer 121 and the tablet computer 122 cannot be identified.
When the tablet computer 121 receives the second wireless messages through the antenna 124, the tablet computer 121 records the RSSI corresponding to each second wireless message received by the antenna 124 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 12.3.
When the tablet computer 121 receives the third wireless messages through the antenna 124, the tablet computer 121 records the RSSI corresponding to each third wireless message received by the antenna 124 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 12.4.
By comparison, the RSSI 12.3 is smaller than the RSSI 12.4, the absolute value of the difference between the RSSI 12.3 and the RSSI 12.4 is larger than the second threshold, and the antenna 125 is located under the antenna 126, so the tablet 121 can determine that the tablet 122 is located under the tablet 121.
The tablet computer 121 integrates the position recognition result corresponding to the antenna 123 and the position recognition result corresponding to the antenna 124, and determines that the tablet computer 122 is located on the lower side of the tablet computer.
Application scenario thirteen:
as shown in fig. 26, it is assumed that the first device 1001 is the tablet computer 131 and the second device 1002 is the tablet computer 132. The display screen of the tablet computer 131 is provided with an antenna 133 and an antenna 134, diagonal corner points of the display screen of the tablet computer 132 are respectively provided with an antenna 135 and an antenna 136, and the antenna 135 is located on the lower side of the antenna 136.
When the tablet computer 131 and the tablet computer 132 enter the location recognition mode, the tablet computer 132 broadcasts a second wireless message through the antenna 135, where the second wireless message includes the device identifier of the tablet computer 132 and the antenna identifier of the antenna 135. The tablet computer 132 broadcasts a third wireless message via the antenna 136, where the third wireless message includes the device identifier of the tablet computer 132 and the antenna identifier of the antenna 136.
And, the second wireless message and/or the third wireless message includes the relative location identification of the antenna 135 and the antenna 136.
When the tablet computer 131 receives the second wireless message through the antenna 133, it is determined that the second wireless message is sent by the tablet computer 132 through the antenna 135 by the device identifier and the antenna identifier in the second wireless message.
When the tablet computer 131 receives the third wireless message through the antenna 133, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet computer 132 through the antenna 136.
At this time, the tablet computer 131 records the RSSI corresponding to each second wireless message received by the antenna 133 within the preset time period, and calculates an average value of the RSSIs to obtain the RSSI 13.1.
The tablet computer 131 records the RSSI corresponding to each third wireless message received by the antenna 133 within the preset time length, and calculates an average value of the RSSI to obtain the RSSI 13.2.
By comparison, RSSI 13.1 is greater than RSSI 13.2, the absolute value of the difference between RSSI 13.1 and RSSI 13.2 is greater than the second threshold, and the antenna 135 is located below the antenna 136, so the tablet 131 can determine that the tablet 132 is located above the tablet 131.
When the tablet computer 131 receives the second wireless messages through the antenna 134, the tablet computer 131 records the RSSI corresponding to each second wireless message received by the antenna 134 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 13.3.
When the tablet computer 131 receives the third wireless messages through the antenna 134, the tablet computer 131 records the RSSI corresponding to each third wireless message received by the antenna 134 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 13.4.
Through comparison, the RSSI 13.3 is smaller than the RSSI 13.4, and the absolute value of the difference between the RSSI 13.3 and the RSSI 13.4 is smaller than the second threshold, so the tablet 131 can determine that the relative position relationship between the tablet 131 and the tablet 132 cannot be identified.
The tablet computer 131 integrates the position recognition result corresponding to the antenna 133 and the position recognition result corresponding to the antenna 134, and determines that the tablet computer 132 is located on the upper side of the tablet computer.
Fourteen application scenarios:
as shown in fig. 27, it is assumed that the first device 1001 is the tablet pc 141 and the second device 1002 is the tablet pc 142. The display screen of the tablet computer 141 is provided with an antenna 143 and an antenna 144, diagonal corner points of the display screen of the tablet computer 142 are respectively provided with an antenna 145 and an antenna 146, and the antenna 145 is located on the left side of the antenna 146.
When the tablet computer 141 and the tablet computer 142 enter the location recognition mode, the tablet computer 142 broadcasts a second wireless message through the antenna 145, where the second wireless message includes the device identifier of the tablet computer 142 and the antenna identifier of the antenna 145. The tablet computer 142 broadcasts a third wireless message via the antenna 146, where the third wireless message includes the device identifier of the tablet computer 142 and the antenna identifier of the antenna 146.
And, the second wireless message and/or the third wireless message include the relative position identifiers of the antenna 145 and the antenna 146 and the second device placement state, and the second device placement state is a forward state.
When the tablet computer 141 receives the second wireless message through the antenna 143, it is determined through the device identifier and the antenna identifier in the second wireless message that the second wireless message is sent by the tablet computer 142 through the antenna 145.
When the tablet computer 141 receives the third wireless message through the antenna 143, it is determined through the device identifier and the antenna identifier in the third wireless message that the third wireless message is sent by the tablet computer 142 through the antenna 146.
At this time, the tablet computer 141 records the RSSI corresponding to each second wireless message received by the antenna 143 within the preset time period, and calculates an average value of each RSSI to obtain the RSSI 14.1.
The tablet computer 141 records the RSSI corresponding to each third wireless message received by the antenna 143 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 14.2.
By comparison, the RSSI 14.1 is less than the RSSI 14.2, the absolute value of the difference between the RSSI 14.1 and the RSSI 14.2 is greater than the second threshold, the second device placement state is the forward state, the gyroscope of the tablet computer 141 detects that the tablet computer 141 is in the inverted state, and the antenna 145 is located on the left side of the antenna 146, so the tablet computer 141 can determine that the tablet computer 141 is located on the right side of the tablet computer 142.
When the tablet computer 141 receives the second wireless messages through the antenna 144, the tablet computer 141 records the RSSI corresponding to each second wireless message received by the antenna 144 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 14.3.
When the tablet computer 141 receives the third wireless messages through the antenna 144, the tablet computer 141 records the RSSI corresponding to each third wireless message received by the antenna 144 within the preset time period, and calculates an average value of the RSSI to obtain the RSSI 14.4.
By comparison, the RSSI 14.3 is less than the RSSI 14.4, the absolute value of the difference between the RSSI 14.3 and the RSSI 14.4 is greater than the second threshold, the second device placement state is the forward state, the gyroscope of the tablet computer 141 detects that the tablet computer 141 is in the inverted state, and the antenna 145 is located on the left side of the antenna 146, so the tablet computer 141 can determine that the tablet computer 141 is located on the right side of the tablet computer 142.
The tablet computer 141 integrates the position recognition result corresponding to the antenna 143 and the position recognition result corresponding to the antenna 144, and determines that the tablet computer 141 is located on the right side of the tablet computer 142.
In summary, in the display screen position identification method provided in the embodiment, the first device 1001 may determine the relative position relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the third RSSI of the second wireless packet received by the fourth antenna, the fourth RSSI of the third wireless packet, and the relative position relationship between the fifth antenna and the sixth antenna, and a user does not need to actively configure the relative position information between the display screen of the first device 1001 and the display screen of the second device 1002.
In addition, the first device 1001 may further set a second threshold, and when an absolute value of a difference between the third RSSI and the fourth RSSI is greater than or equal to the second threshold, the first device 1001 recognizes a relative position relationship between the display screen of the first device 1001 and the display screen of the second device 1002 according to the third RSSI and the fourth RSSI, thereby improving accuracy of position recognition.
Moreover, in order to avoid that the first device 1001 misjudges the position recognition result due to the placement state of the first device 1001 and the placement state of the second device 1002 in the position recognition process, the first device 1001 may recognize the placement state of the first device through sensor data acquired by the first attitude sensor, and the second device 1002 may recognize the placement state of the second device through sensor data acquired by the second attitude sensor, and transmit the second wireless message and/or the third wireless message to the first device 1001, so that the first device 1001 may determine the position recognition result by combining the placement state of the first device 1001 and the placement state of the second device, and the accuracy of the position recognition is further improved.
When the first device 1001 is provided with a plurality of fourth antennas or the second device 1002 is provided with a plurality of second antennas, the first device 1001 may obtain a plurality of position recognition results, and may obtain a final target position recognition result according to a preset rule and the plurality of position recognition results. The first device 1001 determines the target position recognition result by integrating the plurality of position recognition results, and can more accurately recognize the relative positional relationship between the display screen of the first device 1001 and the display screen of the second device 1002.
When a plurality of first devices and/or a plurality of second devices exist in the display system, each of the first devices and the second devices may perform the above-described display screen position recognition method a plurality of times to determine the relative positional relationship between each of the first devices and each of the second devices.
The display screen position identification method can be applied to a display screen combination formed by the display screens of a plurality of electronic devices. The display screen combination can be a combination of two display screens, a combination of three display screens, a combination of four display screens and the like. The display screen combination can be used for application scenes of office work, games, movie watching and the like. The embodiment of the application does not limit the number of the display screens in the display screen combination and the application scene of the display screen combination.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Hereinafter, another display screen position recognition method provided by the embodiment of the present application will be described in detail from the perspective of the first device. The display screen of the first device is provided with a first antenna and a second antenna. Referring to fig. 28, the method for identifying a position of a display screen according to the present embodiment includes:
s2801, when a first antenna receives a first wireless message sent by a third antenna, a first device obtains a first received signal strength indication corresponding to the first wireless message, and the third antenna is arranged on a display screen of a second device;
s2802, when the second antenna receives the first wireless message sent by the third antenna, the first device obtains the second received signal strength indication corresponding to the first wireless message;
s2803, the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna.
Optionally, after the first device obtains the second received signal strength indication corresponding to the first wireless message, the method further includes:
the first equipment calculates the absolute value of the difference value of the first received signal strength indication and the second received signal strength indication to obtain a first absolute value;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna includes:
if the first absolute value is greater than or equal to the first threshold, the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna.
Optionally, the first wireless message includes a second device placement status of the second device;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna includes:
the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, the first device placement state of the first device, the second device placement state and the relative position relationship between the first antenna and the second antenna.
Optionally, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna, includes:
if the first received signal strength indication is greater than the second received signal strength indication and the first antenna is located on a first side of the second antenna, the first device determines that the display screen of the first device is located on the first side of the display screen of the second device.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by functions and internal logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Hereinafter, another display screen position recognition method provided by the embodiment of the present application will be described in detail from the perspective of the first device. The display screen of the first device is provided with a fourth antenna. Referring to fig. 29, the method for identifying a position of a display screen according to the present embodiment includes:
s2901, when the fourth antenna receives the second wireless message sent by the fifth antenna, the first device obtains a third received signal strength indication corresponding to the second wireless message;
s2902, when the fourth antenna receives a third wireless message sent by the sixth antenna, the first device obtains a fourth received signal strength indication corresponding to the third wireless message, the fifth antenna and the sixth antenna are arranged on a display screen of the second device, and the second wireless message and/or the third wireless message comprise the relative position relation of the fifth antenna and the sixth antenna;
and S2903, the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication and the relative position relationship between the fifth antenna and the sixth antenna.
Optionally, after the first device obtains a fourth received signal strength indication corresponding to the third wireless packet, the method further includes:
the second device calculates an absolute value of a difference between the third received signal strength indication and the fourth received signal strength indication to obtain a second absolute value;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative positional relationship between the fifth antenna and the sixth antenna includes:
and if the second absolute value is greater than or equal to the second threshold, the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication and the relative position relationship between the fifth antenna and the sixth antenna.
Optionally, the second wireless message and/or the third wireless message include a second device placement status of the second device;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative positional relationship between the fifth antenna and the sixth antenna includes:
and the first equipment determines the relative position relationship between the display screen of the first equipment and the display screen of the second equipment according to the third received signal strength indication, the fourth received signal strength indication, the first equipment placing state of the first equipment, the second equipment placing state and the relative position relationship between the fifth antenna and the sixth antenna.
Optionally, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and a relative positional relationship between the fifth antenna and the sixth antenna, includes:
if the third received signal strength indication is greater than the fourth received signal strength indication and the fifth antenna is located on the first side of the sixth antenna, the first device determines that the display screen of the first device is located on the second side of the display screen of the second device, and the first side and the second side are opposite sides.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 30 is a schematic diagram of an electronic device provided in an embodiment of the present application. The electronic device 3000 may include a processor 3010, an external memory interface 3020, an internal memory 3021, a Universal Serial Bus (USB) interface 3030, a charging management module 3040, a power management module 3041, a battery 3042, an antenna 1, an antenna 2, a mobile communication module 3050, a wireless communication module 3060, an audio module 3070, a speaker 3070A, a receiver 3070B, a microphone 3070C, an earphone interface 3070D, a sensor module 3080, a key 3090, a motor 3091, a pointer 3092, a camera 3093, a display 3094, and a Subscriber Identification Module (SIM) card interface 3095, and the like. The sensor module 3080 may include a pressure sensor 3080A, a gyroscope sensor 3080B, an air pressure sensor 3080C, a magnetic sensor 3080D, an acceleration sensor 3080E, a distance sensor 3080F, a proximity optical sensor 3080G, a fingerprint sensor 3080H, a temperature sensor 3080J, a touch sensor 3080K, an ambient optical sensor 3080L, a bone conduction sensor 3080M, and the like.
It is to be understood that the illustrated configuration of the embodiment of the present invention does not specifically limit the electronic apparatus 3000. In other embodiments of the present application, electronic device 3000 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 3010 may include one or more processing units, such as: the processor 3010 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 3010 for storing instructions and data. In some embodiments, memory in processor 3010 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 3010. If processor 3010 needs to reuse the instructions or data, it may be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 3010, thereby increasing the efficiency of the system.
In some embodiments, processor 3010 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 3010 may include multiple sets of I2C buses. The processor 3010 may be coupled to the touch sensor 3080K, the charger, the flash, the camera 3093 and the like through different I2C bus interfaces. For example: the processor 3010 may be coupled to the touch sensor 3080K through an I2C interface, so that the processor 3010 and the touch sensor 3080K communicate through an I2C bus interface to implement the touch function of the electronic device 3000.
The I2S interface may be used for audio communication. In some embodiments, processor 3010 may include multiple sets of I2S buses. Processor 3010 may be coupled to audio module 3070 via an I2S bus, enabling communication between processor 3010 and audio module 3070. In some embodiments, the audio module 3070 may communicate audio signals to the wireless communication module 3060 through an I2S interface, enabling answering of calls through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, audio module 3070 and wireless communication module 3060 may be coupled via a PCM bus interface. In some embodiments, the audio module 3070 may also transmit audio signals to the wireless communication module 3060 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect processor 3010 and wireless communication module 3060. For example: the processor 3010 communicates with a bluetooth module in the wireless communication module 3060 through a UART interface, so as to implement a bluetooth function. In some embodiments, the audio module 3070 may transmit the audio signal to the wireless communication module 3060 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 3010 with peripheral devices such as a display screen 3094, a camera 3093, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 3010 and camera 3093 communicate over a CSI interface to implement the capture functionality of electronic device 3000. The processor 3010 and the display screen 3094 communicate via a DSI interface to implement a display function of the electronic device 3000.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 3010 with a camera 3093, a display 3094, a wireless communication module 3060, an audio module 3070, a sensor module 3080, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 3030 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 3030 may be used to connect a charger to charge the electronic device 3000, and may also be used to transmit data between the electronic device 3000 and a peripheral device. And the method can also be used for connecting a headset and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and does not limit the structure of the electronic device 3000. In other embodiments of the present application, the electronic device 3000 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 3040 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 3040 may receive a charging input of a wired charger through the USB interface 3030. In some wireless charging embodiments, the charging management module 3040 may receive the wireless charging input through a wireless charging coil of the electronic device 3000. The charging management module 3040 may also supply power to the electronic device through the power management module 3041 while charging the battery 3042.
The power management module 3041 is used to connect the battery 3042, the charging management module 3040 and the processor 3010. The power management module 3041 receives an input from the battery 3042 and/or the charging management module 3040, and supplies power to the processor 3010, the internal memory 3021, the display 3094, the camera 3093, and the wireless communication module 3060. The power management module 3041 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 3041 may also be disposed in the processor 3010. In other embodiments, the power management module 3041 and the charging management module 3040 may be disposed in the same device.
The wireless communication function of the electronic device 3000 can be realized by the antenna 1, the antenna 2, the mobile communication module 3050, the wireless communication module 3060, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 3000 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 3050 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device 3000. The mobile communication module 3050 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 3050 may receive the electromagnetic wave from the antenna 1, filter, amplify, and transmit the received electromagnetic wave to the modem processor for demodulation. The mobile communication module 3050 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least a part of the functional modules of the mobile communication module 3050 may be provided in the processor 3010. In some embodiments, at least some of the functional modules of the mobile communication module 3050 may be disposed in the same device as at least some of the modules of the processor 3010.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 3070A, the receiver 3070B, etc.) or displays an image or video through the display screen 3094. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 3050 or other functional modules, separately from the processor 3010.
The wireless communication module 3060 may provide a solution for wireless communication applied to the electronic device 3000, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and so on. The wireless communication module 3060 may be one or more devices integrating at least one communication processing module. The wireless communication module 3060 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signal, and transmits the processed signal to the processor 3010. The wireless communication module 3060 may also receive signals to be transmitted from the processor 3010, frequency modulate, amplify, and convert to electromagnetic waves via the antenna 2 for radiation.
In some embodiments, the antenna 1 of the electronic device 3000 is coupled with the mobile communication module 3050 and the antenna 2 is coupled with the wireless communication module 3060, such that the electronic device 3000 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 3000 implements a display function by a GPU, a display screen 3094, and an application processor, etc. The GPU is a microprocessor for image processing, coupled to the display 3094 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processors 3010 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 3094 is used to display images, videos, and the like. The display screen 3094 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix 30 organic light-emitting diode (AMOLED)), a flexible light-emitting diode (fly 30 light-emitting diode, FLED), a miniature, a Micro-oeled, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 3000 can include 1 or N display screens 3094, N being a positive integer greater than 1.
The electronic device 3000 may implement a photographing function through an ISP, a camera 3093, a video codec, a GPU, a display 3094, an application processor, and the like.
The ISP is used to process the data fed back by the camera 3093. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 3093.
The camera 3093 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, electronic device 3000 may include 1 or N cameras 3093, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 3000 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. Electronic device 3000 may support one or more video codecs. In this way, electronic device 3000 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 30, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent cognition of the electronic device 3000 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 3020 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the electronic device 3000. The external memory card communicates with the processor 3010 via an external memory interface 3020 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 3021 may be used to store computer-executable program code, including instructions. The internal memory 3021 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the electronic device 3000, and the like. In addition, the internal memory 3021 may include a high-speed random access memory, and may also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 3010 executes various functional applications and data processing of the electronic device 3000 by executing instructions stored in the internal memory 3021 and/or instructions stored in a memory provided in the processor.
The electronic device 3000 can implement an audio function through the audio module 3070, the speaker 3070A, the receiver 3070B, the microphone 3070C, the earphone interface 3070D, and the application processor. Such as music playing, recording, etc.
The audio module 3070 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 3070 may also be used to encode and decode an audio signal. In some embodiments, the audio module 3070 may be disposed in the processor 3010, or some functional modules of the audio module 3070 may be disposed in the processor 3010.
The speaker 3070A, also called a "horn", is used to convert the audio electrical signals into sound signals. The electronic apparatus 3000 can listen to music through the speaker 3070A, or listen to a handsfree call.
The receiver 3070B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 3000 receives a call or voice information, it is possible to receive a voice by bringing the receiver 3070B close to the human ear.
The microphone 3070C, also known as a "microphone", is used to convert acoustic signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal into the microphone 3070C by speaking through the mouth of the user near the microphone 3070C. The electronic device 3000 may be provided with at least one microphone 3070C. In other embodiments, the electronic device 3000 may be provided with two microphones 3070C to achieve noise reduction functions in addition to collecting sound signals. In other embodiments, electronic device 3000 may further include three, four, or more microphones 3070C to collect sound signals, reduce noise, identify sound sources, and perform directional recording.
The headphone interface 3070D is for connecting a wired headphone. The headset interface 3070D may be a USB interface 3030, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 3080A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 3080A may be disposed on the display 3094. The pressure sensor 3080A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 3080A, the capacitance between the electrodes changes. The electronic device 3000 determines the intensity of the pressure from the change in capacitance. When a touch operation is applied to the display screen 3094, the electronic apparatus 3000 detects the intensity of the touch operation based on the pressure sensor 3080A. The electronic apparatus 3000 may also calculate the touched position from the detection signal of the pressure sensor 3080A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 3080B may be used to determine the motion attitude of the electronic device 3000. In some embodiments, the angular velocity of electronic device 3000 about three axes (i.e., 30, y, and z axes) may be determined by gyroscope sensor 3080B. The gyro sensor 3080B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 3080B detects a shake angle of the electronic device 3000, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 3000 through a reverse movement, thereby achieving anti-shake. The gyro sensor 3080B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 3080C is used to measure air pressure. In some embodiments, electronic device 3000 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 3080C.
The magnetic sensor 3080D includes a hall sensor. The electronic device 3000 may detect the opening and closing of the flip holster using the magnetic sensor 3080D. In some embodiments, when the electronic device 3000 is a flip phone, the electronic device 3000 may detect the opening and closing of the flip according to the magnetic sensor 3080D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 3080E may detect the magnitude of acceleration of the electronic device 3000 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 3000 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 3080F for measuring distance. The electronic device 3000 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 3000 may range using range sensor 3080F to achieve fast focus.
Proximity light sensor 3080G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 3000 emits infrared light to the outside through a light emitting diode. The electronic device 3000 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 3000. When insufficient reflected light is detected, the electronic device 3000 may determine that there is no object near the electronic device 3000. The electronic device 3000 can utilize the proximity light sensor 3080G to detect that the electronic device 3000 is held by a user to talk near the ear, so as to automatically turn off the screen and achieve the purpose of saving power. The proximity light sensor 3080G can also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 3080L is used to sense ambient light brightness. Electronic device 3000 may adaptively adjust the brightness of display screen 3094 based on the perceived ambient light level. The ambient light sensor 3080L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 3080L may also cooperate with the proximity light sensor 3080G to detect whether the electronic device 3000 is in a pocket, to prevent accidental touches.
The fingerprint sensor 3080H is used to collect a fingerprint. The electronic device 3000 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 3080J is used to detect temperature. In some embodiments, electronic device 3000 implements a temperature processing strategy using the temperature detected by temperature sensor 3080J. For example, when the temperature reported by temperature sensor 3080J exceeds a threshold, electronic device 3000 performs a reduction in performance of a processor located near temperature sensor 3080J to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 3000 heats the battery 3042 when the temperature is below another threshold to avoid abnormal shutdown of the electronic device 3000 due to low temperature. In other embodiments, the electronic device 3000 performs boosting of the output voltage of the battery 3042 when the temperature is below a further threshold value to avoid abnormal shutdown due to low temperature.
The touch sensor 3080K is also called a "touch device". The touch sensor 3080K can be disposed on the display screen 3094, and the touch sensor 3080K and the display screen 3094 form a touch screen, which is also called a "touch screen". The touch sensor 3080K is used to detect a touch operation applied thereto or therearound. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation can be provided via the display screen 3094. In other embodiments, the touch sensor 3080K can be disposed on the surface of the electronic device 3000 at a different position than the display screen 3094.
The bone conduction sensor 3080M can acquire a vibration signal. In some embodiments, the bone conduction transducer 3080M may acquire a vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 3080M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 3080M may also be provided in a headset, integrated into a bone conduction headset. The audio module 3070 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 3080M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 3080M, so as to realize the heart rate detection function.
The keys 3090 include a power-on key, a volume key, and the like. The keys 3090 can be mechanical keys. Or may be touch keys. The electronic device 3000 may receive a key input, and generate a key signal input related to user setting and function control of the electronic device 3000.
The motor 3091 may generate a vibration cue. The motor 3091 can be used for incoming call vibration prompts, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 3091 may also respond to different vibration feedback effects for touch operations applied to different areas of the display 3094. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 3092 may be an indicator light, which may be used to indicate a charging status, a change in power, or a message, a missed call, a notification, etc.
The SIM card interface 3095 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device 3000 by being inserted into the SIM card interface 3095 or being pulled out from the SIM card interface 3095. The electronic device 3000 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 3095 can support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 3095 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 3095 is also compatible with different types of SIM cards. The SIM card interface 3095 is also compatible with external memory cards. The electronic device 3000 interacts with a network through the SIM card to implement functions such as a call and data communication. In some embodiments, the electronic device 3000 employs esims, namely: an embedded SIM card. The eSIM card may be embedded in the electronic device 3000 and may not be separable from the electronic device 3000.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one type of logical function division, and other division manners may exist in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer-readable storage medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable storage media may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A display screen position identification method is applied to first equipment, a display screen of the first equipment is provided with a first antenna and a second antenna, and the method comprises the following steps:
when the first antenna receives a first wireless message sent by a third antenna, the first device obtains a first received signal strength indication corresponding to the first wireless message, the third antenna is arranged on a display screen of a second device, the first wireless message is broadcasted by the third antenna with preset power, and the preset power is smaller than a specific power threshold value;
when the second antenna receives the first wireless message sent by the third antenna, the first device obtains a second received signal strength indication corresponding to the first wireless message;
the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna;
after the first device obtains a second received signal strength indication corresponding to the first wireless message, the method further includes:
the first device calculates an absolute value of a difference between the first received signal strength indication and the second received signal strength indication to obtain a first absolute value;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna by the first device includes:
if the first absolute value is greater than or equal to a first threshold, the first device determines a relative position relationship between a display screen of the first device and a display screen of the second device according to the first received signal strength indication, the second received signal strength indication and the relative position relationship between the first antenna and the second antenna.
2. The display screen position recognition method of claim 1, wherein the first wireless message includes a second device placement status of the second device;
correspondingly, the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship between the first antenna and the second antenna by the first device includes:
and the first equipment determines the relative position relationship between the display screen of the first equipment and the display screen of the second equipment according to the first received signal strength indication, the second received signal strength indication, the first equipment placing state of the first equipment, the second equipment placing state and the relative position relationship between the first antenna and the second antenna.
3. The display screen position identifying method of claim 1, wherein the determining, by the first device, the relative positional relationship of the display screen of the first device and the display screen of the second device according to the first received signal strength indication, the second received signal strength indication, and the relative positional relationship of the first antenna and the second antenna, comprises:
if the first received signal strength indication is greater than the second received signal strength indication and the first antenna is located on a first side of the second antenna, the first device determines that the display screen of the first device is located on the first side of the display screen of the second device.
4. A display screen position identification method is applied to first equipment, a display screen of the first equipment is provided with a fourth antenna, and the method comprises the following steps:
when the fourth antenna receives a second wireless message sent by a fifth antenna, the first device acquires a third received signal strength indication corresponding to the second wireless message;
when the fourth antenna receives a third wireless message sent by a sixth antenna, the first device obtains a fourth received signal strength indication corresponding to the third wireless message, the fifth antenna and the sixth antenna are arranged on a display screen of a second device, the second wireless message is broadcasted by the fifth antenna at a preset power, the third wireless message is broadcasted by the sixth antenna at the preset power, the preset power is smaller than a specific power threshold value, and the second wireless message and/or the third wireless message include a relative position relationship between the fifth antenna and the sixth antenna;
the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication and the relative position relationship between the fifth antenna and the sixth antenna;
after the first device obtains a fourth received signal strength indication corresponding to the third wireless packet, the method further includes:
the second device calculates an absolute value of a difference between the third received signal strength indication and the fourth received signal strength indication to obtain a second absolute value;
correspondingly, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and a relative positional relationship between the fifth antenna and the sixth antenna by the first device includes:
if the second absolute value is greater than or equal to a second threshold, the first device determines a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative positional relationship between the fifth antenna and the sixth antenna.
5. The display screen position recognition method of claim 4, wherein the second wireless message and/or the third wireless message includes a second device placement status of the second device;
correspondingly, the determining, by the first device, a relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and a relative positional relationship between the fifth antenna and the sixth antenna by the first device includes:
and the first device determines the relative position relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, the first device placement state of the first device, the second device placement state and the relative position relationship between the fifth antenna and the sixth antenna.
6. The method for identifying the position of the display screen according to claim 4, wherein the determining, by the first device, the relative positional relationship between the display screen of the first device and the display screen of the second device according to the third received signal strength indication, the fourth received signal strength indication, and the relative positional relationship between the fifth antenna and the sixth antenna, comprises:
if the third rssi is greater than the fourth rssi, and the fifth antenna is located on the first side of the sixth antenna, the first device determines that the display screen of the first device is located on the second side of the display screen of the second device, where the first side and the second side are opposite sides.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 3 or implements the method of any of claims 4 to 6 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 3 or carries out the method of any one of claims 4 to 6.
9. A chip system, characterized in that the chip system comprises a memory and a processor, the processor executing a computer program stored in the memory to implement the method of any of claims 1 to 3 or to implement the method of any of claims 4 to 6.
CN202010752102.4A 2020-07-30 2020-07-30 Display screen position identification method, electronic device and computer readable storage medium Active CN112099741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010752102.4A CN112099741B (en) 2020-07-30 2020-07-30 Display screen position identification method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010752102.4A CN112099741B (en) 2020-07-30 2020-07-30 Display screen position identification method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112099741A CN112099741A (en) 2020-12-18
CN112099741B true CN112099741B (en) 2022-07-12

Family

ID=73750294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010752102.4A Active CN112099741B (en) 2020-07-30 2020-07-30 Display screen position identification method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112099741B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610260A (en) * 2022-03-23 2022-06-10 维沃移动通信有限公司 Screen expansion direction determining method and device and electronic equipment
CN115328421B (en) * 2022-08-10 2023-12-22 上海为旌科技有限公司 Multi-sub-image split-screen display method, system, hardware circuit and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324824A (en) * 2008-06-27 2008-12-17 广东威创视讯科技股份有限公司 System and method for positioning split joint wall based on image inductor
CN108601052A (en) * 2018-04-04 2018-09-28 天地融科技股份有限公司 A kind of wireless network switching method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149673B (en) * 2006-09-18 2010-08-25 联想(北京)有限公司 Multiple-display system and method for automatically identifying and adjusting relative position of multiple displays
CN105530016B (en) * 2014-09-30 2018-03-27 联想(北京)有限公司 Signal processing method and device
CN105867861B (en) * 2016-03-28 2024-03-26 京东方科技集团股份有限公司 Tiled display system and control method thereof
CN108304148B (en) * 2017-01-11 2020-10-16 南京中兴新软件有限责任公司 Multi-screen splicing display method and device
CN108509167B (en) * 2018-02-12 2021-10-22 苏州佳世达电通有限公司 Screen splicing method and screen system
CN109542232A (en) * 2018-11-29 2019-03-29 努比亚技术有限公司 Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode
CN109725683B (en) * 2018-12-27 2021-01-29 维沃移动通信有限公司 Program display control method and folding screen terminal
CN111462683A (en) * 2020-05-12 2020-07-28 浙江大华技术股份有限公司 L ED display screen and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324824A (en) * 2008-06-27 2008-12-17 广东威创视讯科技股份有限公司 System and method for positioning split joint wall based on image inductor
CN108601052A (en) * 2018-04-04 2018-09-28 天地融科技股份有限公司 A kind of wireless network switching method

Also Published As

Publication number Publication date
CN112099741A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US11703960B2 (en) Air mouse mode implementation method and related device
CN111132234B (en) Data transmission method and corresponding terminal
WO2021036776A1 (en) Wireless charging method and electronic device
WO2021023046A1 (en) Electronic device control method and electronic device
CN112312366B (en) Method, electronic equipment and system for realizing functions through NFC (near field communication) tag
CN114422340B (en) Log reporting method, electronic equipment and storage medium
CN114489533A (en) Screen projection method and device, electronic equipment and computer readable storage medium
CN114880251B (en) Memory cell access method, memory cell access device and terminal equipment
CN112099741B (en) Display screen position identification method, electronic device and computer readable storage medium
CN113490291B (en) Data downloading method and device and terminal equipment
WO2022022319A1 (en) Image processing method, electronic device, image processing system and chip system
US20220353665A1 (en) Device capability discovery method and p2p device
CN113485173A (en) Switch switching method and related device
CN114610193A (en) Content sharing method, electronic device, and storage medium
CN114466238B (en) Frame demultiplexing method, electronic device and storage medium
CN114554012B (en) Incoming call answering method, electronic equipment and storage medium
CN116055988A (en) Dual-card communication method and terminal equipment
CN114844542A (en) Antenna selection method and device, electronic equipment and readable storage medium
CN114520870B (en) Display method and terminal
CN113364067B (en) Charging precision calibration method and electronic equipment
WO2023207715A1 (en) Screen-on control method, electronic device, and computer-readable storage medium
CN113630823B (en) Network measurement method, device, terminal equipment and computer readable storage medium
CN114079694B (en) Control labeling method and device
CN115134402A (en) Device connection method and electronic device
CN117319369A (en) File delivery method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant