CN110398197A - A kind of electronic equipment and information processing method - Google Patents

A kind of electronic equipment and information processing method Download PDF

Info

Publication number
CN110398197A
CN110398197A CN201910704309.1A CN201910704309A CN110398197A CN 110398197 A CN110398197 A CN 110398197A CN 201910704309 A CN201910704309 A CN 201910704309A CN 110398197 A CN110398197 A CN 110398197A
Authority
CN
China
Prior art keywords
ontology
noumenon
sensor
electronic equipment
relative positional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910704309.1A
Other languages
Chinese (zh)
Other versions
CN110398197B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910704309.1A priority Critical patent/CN110398197B/en
Publication of CN110398197A publication Critical patent/CN110398197A/en
Application granted granted Critical
Publication of CN110398197B publication Critical patent/CN110398197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Selective Calling Equipment (AREA)
  • Electric Stoves And Ranges (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The present disclosure discloses a kind of electronic equipment and information processing method, wherein electronic equipment includes: the first noumenon;Second ontology;It is connected with the first noumenon and the second ontology, the attachment device for enabling to the relative positional relationship between the first noumenon and the second ontology to change;Magnetic signal generation device on the first noumenon is set, for generating magnetic signal;Sensor on second ontology is set, different relative positional relationships can be in from sensor in magnetic signal generation device and detects different signals;The first processor communicated with sensor, for determining the relative positional relationship between the first noumenon and the second ontology based on the signal that sensor is detected.The disclosure can directly determine the relative positional relationship of the first noumenon and the second ontology, and be able to ascend the accuracy of angle calculation between the first noumenon and the second ontology.

Description

A kind of electronic equipment and information processing method
Technical field
This disclosure relates to technical field of information processing, more particularly to a kind of electronic equipment and information processing side Method.
Background technique
Currently, can need to detect the change of its angle by sensor for changed electronic equipment for form Change.
Specific method for detecting is that a gravity sensor is arranged on the first noumenon of electronic equipment, will be another heavy Force snesor is arranged on the second ontology of electronic equipment, passes through the change for the XYZ acceleration of gravity that two gravity sensors are detected Change component to calculate the angle of electronic equipment.But due to MEMS (Micro-Electro-Mechanical System, microcomputer Electric system) bigger error is had in the case of inertia, it is easy to lead to the angle calculated inaccuracy, to influence electronic equipment Use.
Summary of the invention
In view of this, the disclosure provides the following technical solutions:
A kind of electronic equipment, wherein include:
The first noumenon;
Second ontology;
It is connected with the first noumenon and second ontology, enables to the first noumenon and second ontology Between the attachment device that changes of relative positional relationship;
Magnetic signal generation device on the first noumenon is set, for generating magnetic signal;
Sensor on second ontology is set, can be in the magnetic signal generation device with the sensor Different relative positional relationships and detect different signals;
The first processor communicated with the sensor, the signal for being detected based on the sensor are determined Relative positional relationship between the first noumenon and second ontology.
Preferably, the first processor is arranged on second ontology.
Preferably, the electronic equipment further include:
The second processor communicated with the first processor, for based on the first noumenon and second described Relative positional relationship between body determines mode corresponding with the current form of the electronic equipment.
Preferably, the second processor is specifically used for:
Based on transport protocol receive the first noumenon that the first processor is determined by the signal detected and Relative positional relationship signal between second ontology;
Mode corresponding with the current form of the electronic equipment is determined based on the relative positional relationship signal.
Preferably, the first processor is also used to based on the opposite position between the first noumenon and second ontology It sets relationship and determines mode corresponding with the current form of the electronic equipment.
Preferably, the second processor is arranged on second ontology.
Preferably, the magnetic signal generation device is magnet;
The sensor is specifically used for detecting the magnet current direction and magnetic flux;
The first processor is specifically used for the magnet current direction detected based on the sensor and magnetic Flux determines the angle between the first noumenon and second ontology.
A kind of information processing method, is applied to electronic equipment, and the electronic equipment includes:
The first noumenon;
Second ontology;
It is connected with the first noumenon and second ontology, enables to the first noumenon and second ontology Between the attachment device that changes of relative positional relationship;
It is arranged on the first noumenon, for generating the magnetic signal generation device of magnetic signal;
Sensor on second ontology is set;
The method, comprising:
It receives the sensor and is in different relative positional relationships from the sensor in the magnetic signal generation device And detect different signals;
It is determined based on the signal that the sensor is detected opposite between the first noumenon and second ontology Positional relationship.
Preferably, the method also includes:
Based on the relative positional relationship between the first noumenon described in communications reception and second ontology;
Determine that the electronic equipment is current based on the relative positional relationship between the first noumenon and second ontology The corresponding mode of form.
Preferably, the method also includes:
It is determined based on the relative positional relationship between the first noumenon and second ontology and is worked as with the electronic equipment The corresponding mode of preceding form.
It can be seen from the above technical proposal that a kind of electronic equipment disclosed in the disclosure, comprising: the first noumenon, second Body is connected with the first noumenon and the second ontology, enables to the relative positional relationship between the first noumenon and the second ontology The attachment device to change;It is arranged on the first noumenon for generating the magnetic signal generation device of magnetic signal;It is arranged second On ontology, different relative positional relationships can be in from sensor in magnetic signal generation device and detect different signals Sensor is communicated with sensor, for based on the signal that sensor is detected determine the first noumenon and the second ontology it Between relative positional relationship first processor.The disclosure can generate magnetic signal by magnetic signal generation device, pass through sensing Device is in different relative positional relationships from sensor in magnetic signal generation device and detects different signals, and then passes through place Reason device directly accurately determines the relative positional relationship of the first noumenon and the second ontology according to the different signals detected, mentions The accuracy of angle calculation between the first noumenon and the second ontology is risen.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Disclosed embodiment for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the structural schematic diagram of a kind of electronic equipment embodiment 1 disclosed in the disclosure;
Fig. 2 is the structural schematic diagram of a kind of electronic equipment embodiment 2 disclosed in the disclosure;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment embodiment 3 disclosed in the disclosure;
Fig. 4 is a kind of flow chart of information processing method embodiment 1 disclosed in the disclosure;
Fig. 5 is a kind of flow chart of information processing method embodiment 2 disclosed in the disclosure;
Fig. 6 is a kind of flow chart of information processing method embodiment 3 disclosed in the disclosure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment belongs to the range of disclosure protection.
As shown in Figure 1, for the structural schematic diagram of a kind of electronic equipment embodiment 1 disclosed in the disclosure, the electronic equipment May include:
The first noumenon 11;
Second ontology 12;
It is connected with the first noumenon 11 and the second ontology 12, enables between the first noumenon 11 and the second ontology 12 The attachment device 13 that relative positional relationship changes;
It is arranged on the first noumenon 11, for generating the magnetic signal generation device 14 of magnetic signal;
Sensor 15 on second ontology 12 is set, can be in different from sensor 15 in magnetic signal generation device 14 Relative positional relationship and detect different signals;
The first processor 16 communicated with sensor 15, the signal for being detected based on sensor 15 determine Relative positional relationship between one ontology 11 and the second ontology 12.
Electronic equipment disclosed in above-described embodiment is determining the relative position pass between the first noumenon 11 and the second ontology 12 The working principle of system are as follows: when the first noumenon 11 and the second ontology 12 are rotated by attachment device 13, that is, the first noumenon 11 and the When two ontologies 12 are changed by 13 relative positional relationship of attachment device, e.g., the first noumenon 11 is far from the second ontology 12 or the One ontology 11 is close to the second ontology 12;The magnetic signal generation device 14 being arranged on the first noumenon 11 can generate magnetic signal, need Illustrate, magnetic signal generation device 14 can generate opposed polarity and different magnetic fluxs when the first noumenon 11 is in different location The magnetic signal of amount;It is rotated in the first noumenon 11 relative to the second ontology 12, magnetic signal generation device 14 generates opposed polarity and not With magnetic flux magnetic signal when, the sensor 15 being arranged on the second ontology can be in magnetic signal generation device 14 and sensor 15 When in different relative positional relationships, different signals is detected, that is, sensor 15 can be produced in magnetic signal generation device 14 When the magnetic signal of raw opposed polarity and different magnetic flux, different signals is detected;Sensor 15, will when detecting signal The signal detected is transmitted to first processor 16 by way of communication, for example, sensor 15 transmits the signal detected To the first processor 16 by 12C connection;The signal that first processor 16 can be detected according to the sensor 15 received Directly determine the relative positional relationship between the first noumenon 11 and the second ontology 12, that is, first processor 16 being capable of basis The signal that sensor 15 detects directly determines the angular dimension between the first noumenon 11 and the second ontology 12.
In conclusion in the above-described embodiments, the magnetic that can be directly generated by sensor according to magnetic signal generation device Signal detection goes out the angular dimension between the first noumenon and the second ontology, directly reports to the angular dimension detected at first Device is managed, first processor reduces the without calculating just the angular dimension that can be obtained between the first noumenon and the second ontology again The expense of one processor, while the accurate of angle calculation between the first noumenon and the second ontology is improved compared with the existing technology Property.
As shown in Fig. 2, for the structural schematic diagram of a kind of electronic equipment embodiment 2 disclosed in the disclosure, the electronic equipment May include:
The first noumenon 21;
Second ontology 22;
It is connected with the first noumenon 21 and the second ontology 22, enables between the first noumenon 21 and the second ontology 22 The attachment device 23 that relative positional relationship changes;
It is arranged on the first noumenon 21, for generating the magnetic signal generation device 24 of magnetic signal;
Sensor 25 on second ontology 22 is set, can be in different from sensor 25 in magnetic signal generation device 24 Relative positional relationship and detect different signals;
The first processor 26 communicated with sensor 25, the signal for being detected based on sensor 25 determine Relative positional relationship between one ontology 21 and the second ontology 22;
The second processor 27 communicated with first processor 26, for based on the first noumenon 21 and the second ontology 22 it Between relative positional relationship determine corresponding with the current form of electronic equipment mode.
The working principle of electronic equipment disclosed in above-described embodiment are as follows: pass through connection in the first noumenon 21 and the second ontology 22 When device 23 rotates, that is, when the first noumenon 21 and the second ontology 22 are changed by 23 relative positional relationship of attachment device, Such as, the first noumenon 21 is far from the second ontology 22 or the first noumenon 21 close to the second ontology 22;Magnetic on the first noumenon 21 is set Signal generation device 24 can generate magnetic signal, it should be noted that magnetic signal generation device 24 can be in not in the first noumenon 21 With the magnetic signal for generating opposed polarity and different magnetic flux when position;It is rotated in the first noumenon 21 relative to the second ontology 22, magnetic When the magnetic signal of the generation opposed polarity of signal generation device 24 and different magnetic flux, the sensor 25 on the second ontology is set Different signals can be detected when magnetic signal generation device 24 is in different relative positional relationships from sensor 25, that is, Sensor 25 can detect difference when magnetic signal generation device 24 generates the magnetic signal of opposed polarity and different magnetic flux Signal;Sensor 25 is transmitted to first processor 26 when detecting signal, by the signal detected by way of communication, For example, the signal detected is transmitted to the first processor 26 by 12C connection by sensor 25;First processor 26 being capable of root The opposite position between the first noumenon 21 and the second ontology 22 is directly determined according to the signal that the sensor 25 received detects Set relationship, that is, the signal that first processor 26 can be detected according to sensor 25 directly determines the first noumenon 21 and Angular dimension between two ontologies 22.
Further, the relative positional relationship between the first noumenon 21 and the second ontology 22 is determined in first processor 26 Afterwards, the relative positional relationship between the first noumenon 21 and the second ontology 22 can also be transmitted to second processing by communication mode Device 27, second processor 27 can be determined according to the relative positional relationship received between the first noumenon 21 and the second ontology 22 The corresponding mode of the current form of electronic equipment out.For example, when the angle between the first noumenon 21 and the second ontology 22 is 90 °, Second processor 27 can determine that currently corresponding mode is laptop mode to electronic equipment;When the first noumenon 21 and the When angle between two ontologies 22 is 270 °, second processor 27 can determine that currently corresponding mode is plate mould to electronic equipment Formula.
In conclusion in the above-described embodiments, the magnetic that can be directly generated by sensor according to magnetic signal generation device Signal detection goes out the angular dimension between the first noumenon and the second ontology, directly reports to the angular dimension detected at first Device is managed, first processor reduces the without calculating just the angular dimension that can be obtained between the first noumenon and the second ontology again The expense of one processor, while the accurate of angle calculation between the first noumenon and the second ontology is improved compared with the existing technology Property.It is further able to through second processor according to the phase between first processor determining the first noumenon and second ontology To positional relationship, the corresponding mode of the current form of electronic equipment is determined, further the user experience is improved.
Specifically, in the above-described embodiments, second processor is based on the opposite position between the first noumenon and the second ontology One of implementation for setting the determining mode corresponding with the current form of electronic equipment of relationship may is that be connect by transport protocol Receive the relative positional relationship signal between the first noumenon and the second ontology that first processor is determined by the signal detected, example Such as, it is received by WMI transport protocol between the first noumenon and the second ontology that first processor is determined by the signal detected Relative positional relationship signal;Then determine that the current form of electronic equipment is corresponding according to the relative positional relationship signal received Mode.
Specifically, in the above-described embodiments, first processor can be located on the second ontology, by first processor equipment On the second ontology, when realizing the relative positional relationship between determining the first noumenon and the second ontology, it can further decrease The thickness of electronic equipment the first noumenon.
Specifically, in the above-described embodiments, second processor can be located on the second ontology, second processor is set It is standby on the second ontology, when determining the corresponding mode of the current form of electronic equipment, electronic equipment first can be further decreased The thickness of ontology.
As shown in figure 3, for the structural schematic diagram of a kind of electronic equipment embodiment 3 disclosed in the disclosure, the electronic equipment May include:
The first noumenon 31;
Second ontology 32;
It is connected with the first noumenon 31 and the second ontology 32, enables between the first noumenon 31 and the second ontology 32 The attachment device 33 that relative positional relationship changes;
It is arranged on the first noumenon 31, for generating the magnetic signal generation device 34 of magnetic signal;
Sensor 35 on second ontology 32 is set, can be in different from sensor 35 in magnetic signal generation device 34 Relative positional relationship and detect different signals;
The first processor 36 communicated with sensor 35, the signal for being detected based on sensor 35 determine Relative positional relationship between one ontology 31 and the second ontology 32;
First processor 36, be also used to based between the first noumenon 31 and the second ontology 32 relative positional relationship determine with The corresponding mode of the current form of electronic equipment.
The working principle of electronic equipment disclosed in above-described embodiment are as follows: pass through connection in the first noumenon 31 and the second ontology 32 When device 33 rotates, that is, when the first noumenon 31 and the second ontology 32 are changed by 33 relative positional relationship of attachment device, Such as, the first noumenon 31 is far from the second ontology 32 or the first noumenon 31 close to the second ontology 32;Magnetic on the first noumenon 31 is set Signal generation device 34 can generate magnetic signal, it should be noted that magnetic signal generation device 34 can be in not in the first noumenon 31 With the magnetic signal for generating opposed polarity and different magnetic flux when position;It is rotated in the first noumenon 31 relative to the second ontology 32, magnetic When the magnetic signal of the generation opposed polarity of signal generation device 34 and different magnetic flux, the sensor 35 on the second ontology is set Different signals can be detected when magnetic signal generation device 34 is in different relative positional relationships from sensor 35, that is, Sensor 35 can detect difference when magnetic signal generation device 34 generates the magnetic signal of opposed polarity and different magnetic flux Signal;Sensor 35 is transmitted to first processor 36 when detecting signal, by the signal detected by way of communication, For example, the signal detected is transmitted to the first processor 36 by 12C connection by sensor 35;First processor 36 being capable of root The opposite position between the first noumenon 31 and the second ontology 32 is directly determined according to the signal that the sensor 35 received detects Set relationship, that is, the signal that first processor 36 can be detected according to sensor 35 directly determines the first noumenon 31 and Angular dimension between two ontologies 32.
Further, the relative positional relationship between the first noumenon 31 and the second ontology 32 is determined in first processor 36 Afterwards, the current form of electronic equipment can also be determined according to the relative positional relationship between the first noumenon 31 and the second ontology 32 Corresponding mode.For example, first processor 36 can be true when the angle between the first noumenon 31 and the second ontology 32 is 90 ° Determining electronic equipment, currently corresponding mode is laptop mode;When the angle between the first noumenon 31 and the second ontology 32 When being 270 °, first processor 36 can determine that currently corresponding mode is plate mode to electronic equipment.
In conclusion in the above-described embodiments, the magnetic that can be directly generated by sensor according to magnetic signal generation device Signal detection goes out the angular dimension between the first noumenon and the second ontology, directly reports to the angular dimension detected at first Device is managed, first processor reduces the without calculating just the angular dimension that can be obtained between the first noumenon and the second ontology again The expense of one processor, while the accurate of angle calculation between the first noumenon and the second ontology is improved compared with the existing technology Property.It is further able to be determined by first processor according to the relative positional relationship between the first noumenon and second ontology The corresponding mode of the current form of electronic equipment out, further the user experience is improved.
Specifically, in the above-described embodiments, first processor can be located on the second ontology, by first processor equipment On the second ontology, the relative positional relationship determined between the first noumenon and the second ontology is being realized, and determine electronic equipment When the corresponding mode of current form, the thickness of electronic equipment the first noumenon can be further decreased.
Specifically, in the above-described embodiments, magnetic signal generation device can be magnet, magnet can be in the first noumenon The magnetic signal of opposed polarity and different magnetic flux is generated when different location, for example, generating the magnetic signal of the pole N, or generates the pole S Magnetic signal;The magnetic signal of the opposed polarity and different magnetic flux that are generated according to magnet, sensor can detect magnet and work as Preceding locating orientation and magnetic flux, the magnet current direction detected according to sensor and magnetic flux, first processor energy Enough further determine that out the angle between the first noumenon and the second ontology.
As shown in figure 4, for a kind of method flow diagram of information processing method embodiment 1 disclosed in the disclosure, the method Applied to electronic equipment, as shown in Figure 1, the electronic equipment includes: the first noumenon 11, the second ontology 12 and the first noumenon 11 It is connected with the second ontology 12, the relative positional relationship between the first noumenon 11 and the second ontology 12 is enabled to change Attachment device 13, be arranged on the first noumenon 11, for generating the magnetic signal generation device 14 of magnetic signal, be arranged at second Sensor 15 and first processor 16 on body 12, the first processor 16 are mainly used for executing following steps:
S401, receiving sensor 15 from sensor 15 be in different relative positional relationships in magnetic signal generation device 14 and Detect different signals;
When the first noumenon 11 and the second ontology 12 are rotated by attachment device 13, that is, the first noumenon 11 and the second ontology 12 by 13 relative positional relationship of attachment device when being changed, and e.g., the first noumenon 11 is far from the second ontology 12 or the first noumenon 11 close to the second ontology 12;The magnetic signal generation device 14 being arranged on the first noumenon 11 can generate magnetic signal, need to illustrate It is that magnetic signal generation device 14 can generate the magnetic of opposed polarity and different magnetic flux when the first noumenon 11 is in different location Signal;It is rotated in the first noumenon 11 relative to the second ontology 12, magnetic signal generation device 14 generates opposed polarity and different magnetic fluxs When the magnetic signal of amount, the sensor 15 being arranged on the second ontology can be in not in magnetic signal generation device 14 and sensor 15 With relative positional relationship when, detect different signals, that is, sensor 15 can generate difference in magnetic signal generation device 14 When the magnetic signal of polarity and different magnetic flux, different signals is detected;Sensor 15 will be detected when detecting signal Signal first processor 16 is transmitted to by way of communication, pass through for example, the signal detected is transmitted to by sensor 15 The first processor 16 of 12C connection;
S402, the opposite position between the first noumenon 11 and the second ontology 12 is determined based on the signal that sensor 15 is detected Set relationship.
First processor 16 can directly determine the first noumenon according to the signal that the sensor 15 received detects 11 and the second relative positional relationship between ontology 12, that is, the signal that first processor 16 can be detected according to sensor 15 Directly determine the angular dimension between the first noumenon 11 and the second ontology 12.
In conclusion in the above-described embodiments, the magnetic that can be directly generated by sensor according to magnetic signal generation device Signal detection goes out the angular dimension between the first noumenon and the second ontology, directly reports to the angular dimension detected at first Device is managed, first processor reduces the without calculating just the angular dimension that can be obtained between the first noumenon and the second ontology again The expense of one processor, while the accurate of angle calculation between the first noumenon and the second ontology is improved compared with the existing technology Property.
As shown in figure 5, for a kind of method flow diagram of information processing method embodiment 2 disclosed in the disclosure, the method Applied to electronic equipment, as shown in Fig. 2, the electronic equipment includes: the first noumenon 21, the second ontology 22 and the first noumenon 21 It is connected with the second ontology 22, the relative positional relationship between the first noumenon 21 and the second ontology 22 is enabled to change Attachment device 23, be arranged on the first noumenon 21, for generating the magnetic signal generation device 24 of magnetic signal, be arranged at second The second processor 27 that sensor 25, first processor 26 and first processor 26 on body 22 communicate, the first processor 26 are mainly used for executing following steps:
S501, receiving sensor 25 from sensor 25 be in different relative positional relationships in magnetic signal generation device 24 and Detect different signals;
When the first noumenon 21 and the second ontology 22 are rotated by attachment device 23, that is, the first noumenon 21 and the second ontology 22 by 23 relative positional relationship of attachment device when being changed, and e.g., the first noumenon 21 is far from the second ontology 22 or the first noumenon 21 close to the second ontology 22;The magnetic signal generation device 24 being arranged on the first noumenon 21 can generate magnetic signal, need to illustrate It is that magnetic signal generation device 24 can generate the magnetic of opposed polarity and different magnetic flux when the first noumenon 21 is in different location Signal;It is rotated in the first noumenon 21 relative to the second ontology 22, magnetic signal generation device 24 generates opposed polarity and different magnetic fluxs When the magnetic signal of amount, the sensor 25 being arranged on the second ontology can be in not in magnetic signal generation device 24 and sensor 25 With relative positional relationship when, detect different signals, that is, sensor 25 can generate difference in magnetic signal generation device 24 When the magnetic signal of polarity and different magnetic flux, different signals is detected;Sensor 25 will be detected when detecting signal Signal first processor 26 is transmitted to by way of communication, pass through for example, the signal detected is transmitted to by sensor 25 The first processor 26 of 12C connection;
S502, the opposite position between the first noumenon 21 and the second ontology 22 is determined based on the signal that sensor 25 is detected Set relationship;
First processor 26 can directly determine the first noumenon according to the signal that the sensor 25 received detects 21 and the second relative positional relationship between ontology 22, that is, the signal that first processor 26 can be detected according to sensor 25 Directly determine the angular dimension between the first noumenon 21 and the second ontology 22.
The second processor 27 is mainly used for executing following steps:
Opposite position between S503, the first noumenon 21 and the second ontology 22 that are sent based on communications reception first processor 26 Set relationship;
Further, the relative positional relationship between the first noumenon 21 and the second ontology 22 is determined in first processor 26 Afterwards, the relative positional relationship between the first noumenon 21 and the second ontology 22 can also be transmitted to second processing by communication mode Device 27.
S504, the current form of electronic equipment is determined based on the relative positional relationship between the first noumenon 21 and the second ontology 22 Corresponding mode.
Second processor 27 can be according to the relative positional relationship received between the first noumenon 21 and the second ontology 22, really Make the corresponding mode of the current form of electronic equipment.For example, when the angle between the first noumenon 21 and the second ontology 22 is 90 ° When, second processor 27 can determine that currently corresponding mode is laptop mode to electronic equipment;When the first noumenon 21 And the second angle between ontology 22, when being 270 °, second processor 27 can determine that currently corresponding mode is flat to electronic equipment Plate mode.
In conclusion in the above-described embodiments, the magnetic that can be directly generated by sensor according to magnetic signal generation device Signal detection goes out the angular dimension between the first noumenon and the second ontology, directly reports to the angular dimension detected at first Device is managed, first processor reduces the without calculating just the angular dimension that can be obtained between the first noumenon and the second ontology again The expense of one processor, while the accurate of angle calculation between the first noumenon and the second ontology is improved compared with the existing technology Property.It is further able to through second processor according to the phase between first processor determining the first noumenon and second ontology To positional relationship, the corresponding mode of the current form of electronic equipment is determined, further the user experience is improved.
As shown in fig. 6, for a kind of method flow diagram of information processing method embodiment 3 disclosed in the disclosure, the method Applied to electronic equipment, as shown in figure 3, the electronic equipment includes: the first noumenon 31, the second ontology 32 and the first noumenon 31 It is connected with the second ontology 32, the relative positional relationship between the first noumenon 31 and the second ontology 32 is enabled to change Attachment device 33, be arranged on the first noumenon 31, for generating the magnetic signal generation device 34 of magnetic signal, be arranged at second Sensor 35 and first processor 36 on body 32, the first processor 36 are mainly used for executing following steps:
S601, receiving sensor 35 from sensor 35 be in different relative positional relationships in magnetic signal generation device 34 and Detect different signals;
When the first noumenon 31 and the second ontology 32 are rotated by attachment device 33, that is, the first noumenon 31 and the second ontology 32 by 33 relative positional relationship of attachment device when being changed, and e.g., the first noumenon 31 is far from the second ontology 32 or the first noumenon 31 close to the second ontology 32;The magnetic signal generation device 34 being arranged on the first noumenon 31 can generate magnetic signal, need to illustrate It is that magnetic signal generation device 34 can generate the magnetic of opposed polarity and different magnetic flux when the first noumenon 31 is in different location Signal;It is rotated in the first noumenon 31 relative to the second ontology 32, magnetic signal generation device 34 generates opposed polarity and different magnetic fluxs When the magnetic signal of amount, the sensor 35 being arranged on the second ontology can be in not in magnetic signal generation device 34 and sensor 35 With relative positional relationship when, detect different signals, that is, sensor 35 can generate difference in magnetic signal generation device 34 When the magnetic signal of polarity and different magnetic flux, different signals is detected;Sensor 35 will be detected when detecting signal Signal first processor 36 is transmitted to by way of communication, pass through for example, the signal detected is transmitted to by sensor 35 The first processor 36 of 12C connection;
S602, the opposite position between the first noumenon 31 and the second ontology 32 is determined based on the signal that sensor 35 is detected Set relationship;
First processor 36 can directly determine the first noumenon according to the signal that the sensor 35 received detects 31 and the second relative positional relationship between ontology 32, that is, the signal that first processor 36 can be detected according to sensor 35 Directly determine the angular dimension between the first noumenon 31 and the second ontology 32.
S603, it is determined and electronic equipment current shape based on the relative positional relationship between the first noumenon 31 and the second ontology 32 The corresponding mode of state.
Further, the relative positional relationship between the first noumenon 31 and the second ontology 32 is determined in first processor 36 Afterwards, the current form of electronic equipment can also be determined according to the relative positional relationship between the first noumenon 31 and the second ontology 32 Corresponding mode.For example, first processor 36 can be true when the angle between the first noumenon 31 and the second ontology 32 is 90 ° Determining electronic equipment, currently corresponding mode is laptop mode;When the angle between the first noumenon 31 and the second ontology 32 When being 270 °, first processor 36 can determine that currently corresponding mode is plate mode to electronic equipment.
In conclusion in the above-described embodiments, the magnetic that can be directly generated by sensor according to magnetic signal generation device Signal detection goes out the angular dimension between the first noumenon and the second ontology, directly reports to the angular dimension detected at first Device is managed, first processor reduces the without calculating just the angular dimension that can be obtained between the first noumenon and the second ontology again The expense of one processor, while the accurate of angle calculation between the first noumenon and the second ontology is improved compared with the existing technology Property.It is further able to be determined by first processor according to the relative positional relationship between the first noumenon and second ontology The corresponding mode of the current form of electronic equipment out, further the user experience is improved.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or the scope of the present disclosure.Therefore, the disclosure It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of electronic equipment, wherein include:
The first noumenon;
Second ontology;
It is connected with the first noumenon and second ontology, enables to it of the first noumenon and second ontology Between the attachment device that changes of relative positional relationship;
Magnetic signal generation device on the first noumenon is set, for generating magnetic signal;
Sensor on second ontology is set, can be in different from the sensor in the magnetic signal generation device Relative positional relationship and detect different signals;
The first processor communicated with the sensor, described in signal for being detected based on the sensor is determined Relative positional relationship between the first noumenon and second ontology.
2. electronic equipment according to claim 1, wherein
The first processor is arranged on second ontology.
3. electronic equipment according to claim 1, further includes:
The second processor communicated with the first processor, for based on the first noumenon and second ontology it Between relative positional relationship determine corresponding with the current form of electronic equipment mode.
4. electronic equipment according to claim 3, the second processor is specifically used for:
The first noumenon that the first processor is determined by the signal detected and described is received based on transport protocol Relative positional relationship signal between second ontology;
Mode corresponding with the current form of the electronic equipment is determined based on the relative positional relationship signal.
5. electronic equipment according to claim 1, the first processor is also used to based on the first noumenon and described Relative positional relationship between second ontology determines mode corresponding with the current form of the electronic equipment.
6. electronic equipment according to claim 3, the second processor is arranged on second ontology.
7. electronic equipment according to claim 1, the magnetic signal generation device is magnet;
The sensor is specifically used for detecting the magnet current direction and magnetic flux;
The first processor is specifically used for the magnet current direction detected based on the sensor and magnetic flux Determine the angle between the first noumenon and second ontology.
8. a kind of information processing method, is applied to electronic equipment, the electronic equipment includes:
The first noumenon;
Second ontology;
It is connected with the first noumenon and second ontology, enables to it of the first noumenon and second ontology Between the attachment device that changes of relative positional relationship;
It is arranged on the first noumenon, for generating the magnetic signal generation device of magnetic signal;
Sensor on second ontology is set;
The method, comprising:
The sensor is received to be in different relative positional relationships from the sensor in the magnetic signal generation device and detect Measure different signals;
The relative position between the first noumenon and second ontology is determined based on the signal that the sensor is detected Relationship.
9. according to the method described in claim 8, further include:
Based on the relative positional relationship between the first noumenon described in communications reception and second ontology;
The current form of the electronic equipment is determined based on the relative positional relationship between the first noumenon and second ontology Corresponding mode.
10. according to the method described in claim 8, further include:
It is determined and the electronic equipment current shape based on the relative positional relationship between the first noumenon and second ontology The corresponding mode of state.
CN201910704309.1A 2019-07-31 2019-07-31 Electronic equipment and information processing method Active CN110398197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910704309.1A CN110398197B (en) 2019-07-31 2019-07-31 Electronic equipment and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910704309.1A CN110398197B (en) 2019-07-31 2019-07-31 Electronic equipment and information processing method

Publications (2)

Publication Number Publication Date
CN110398197A true CN110398197A (en) 2019-11-01
CN110398197B CN110398197B (en) 2021-08-17

Family

ID=68327036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910704309.1A Active CN110398197B (en) 2019-07-31 2019-07-31 Electronic equipment and information processing method

Country Status (1)

Country Link
CN (1) CN110398197B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314510A (en) * 2020-01-19 2020-06-19 维沃移动通信有限公司 Folding screen assembly, electronic equipment and folding screen angle detection method
CN113032219A (en) * 2021-03-29 2021-06-25 联想(北京)有限公司 Data processing method and device and electronic equipment
CN113137913A (en) * 2020-01-17 2021-07-20 华为技术有限公司 Electronic equipment and included angle detection method applied to electronic equipment

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164668A (en) * 1991-12-06 1992-11-17 Honeywell, Inc. Angular position sensor with decreased sensitivity to shaft position variability
US20070210791A1 (en) * 2006-03-13 2007-09-13 Alps Electric Co., Ltd. Bridge circuited magnetic sensor having magneto-resistive element and fixed resistor with the same layer configuration
US20080024120A1 (en) * 2006-07-26 2008-01-31 Alps Electric Co., Ltd. Magnetic sensor including bridge circuit having fixed resistance like structure of element
CN101751071A (en) * 2008-12-03 2010-06-23 和硕联合科技股份有限公司 Portable computer
CN101986667A (en) * 2009-07-28 2011-03-16 深圳富泰宏精密工业有限公司 Portable electronic device
JP2012019279A (en) * 2010-07-06 2012-01-26 Canon Inc Electronic apparatus
CN102759949A (en) * 2011-04-28 2012-10-31 富泰华工业(深圳)有限公司 Electronic device and state control method
CN103677874A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN104267790A (en) * 2014-10-21 2015-01-07 王青国 Double-screen multi-purpose laptop
CN104750273A (en) * 2015-03-16 2015-07-01 联想(北京)有限公司 Electronic equipment
CN105186947A (en) * 2015-10-07 2015-12-23 叶露微 Directional rotation single-phase self-starting permanent-magnet synchronous motor
CN105700626A (en) * 2015-12-29 2016-06-22 联想(北京)有限公司 Control method and electronic device
CN105843571A (en) * 2016-03-18 2016-08-10 联想(北京)有限公司 Information processing method and electronic equipment
CN105988643A (en) * 2015-02-16 2016-10-05 联想(北京)有限公司 Information processing method and electronic device
CN106292854A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 Electronic equipment and control method
CN206891452U (en) * 2017-06-15 2018-01-16 广西三创科技有限公司 Screen rotation angle induction device
CN108958375A (en) * 2018-06-25 2018-12-07 联想(北京)有限公司 A kind of Morphology observation method, Morphology observation device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853300A (en) * 2012-11-30 2014-06-11 应宏国际股份有限公司 Heat dissipation control system for portable electronic device and control method thereof
TWI533108B (en) * 2014-05-22 2016-05-11 緯創資通股份有限公司 Portable electronic device

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164668A (en) * 1991-12-06 1992-11-17 Honeywell, Inc. Angular position sensor with decreased sensitivity to shaft position variability
US20070210791A1 (en) * 2006-03-13 2007-09-13 Alps Electric Co., Ltd. Bridge circuited magnetic sensor having magneto-resistive element and fixed resistor with the same layer configuration
US20080024120A1 (en) * 2006-07-26 2008-01-31 Alps Electric Co., Ltd. Magnetic sensor including bridge circuit having fixed resistance like structure of element
CN101751071A (en) * 2008-12-03 2010-06-23 和硕联合科技股份有限公司 Portable computer
CN101986667A (en) * 2009-07-28 2011-03-16 深圳富泰宏精密工业有限公司 Portable electronic device
JP2012019279A (en) * 2010-07-06 2012-01-26 Canon Inc Electronic apparatus
CN102759949A (en) * 2011-04-28 2012-10-31 富泰华工业(深圳)有限公司 Electronic device and state control method
CN103677874A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN104267790A (en) * 2014-10-21 2015-01-07 王青国 Double-screen multi-purpose laptop
CN105988643A (en) * 2015-02-16 2016-10-05 联想(北京)有限公司 Information processing method and electronic device
CN104750273A (en) * 2015-03-16 2015-07-01 联想(北京)有限公司 Electronic equipment
CN106292854A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 Electronic equipment and control method
CN105186947A (en) * 2015-10-07 2015-12-23 叶露微 Directional rotation single-phase self-starting permanent-magnet synchronous motor
CN105700626A (en) * 2015-12-29 2016-06-22 联想(北京)有限公司 Control method and electronic device
CN105843571A (en) * 2016-03-18 2016-08-10 联想(北京)有限公司 Information processing method and electronic equipment
CN206891452U (en) * 2017-06-15 2018-01-16 广西三创科技有限公司 Screen rotation angle induction device
CN108958375A (en) * 2018-06-25 2018-12-07 联想(北京)有限公司 A kind of Morphology observation method, Morphology observation device and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113137913A (en) * 2020-01-17 2021-07-20 华为技术有限公司 Electronic equipment and included angle detection method applied to electronic equipment
CN111314510A (en) * 2020-01-19 2020-06-19 维沃移动通信有限公司 Folding screen assembly, electronic equipment and folding screen angle detection method
CN111314510B (en) * 2020-01-19 2021-06-04 维沃移动通信有限公司 Folding screen assembly, electronic equipment and folding screen angle detection method
CN113032219A (en) * 2021-03-29 2021-06-25 联想(北京)有限公司 Data processing method and device and electronic equipment
CN113032219B (en) * 2021-03-29 2024-04-19 联想(北京)有限公司 Data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN110398197B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN110398197A (en) A kind of electronic equipment and information processing method
CN104732799B (en) A kind of parking space state detection method and device
CN201589861U (en) Range finder
CN105527643B (en) The localization method and mobile terminal of mobile terminal
CN110026993B (en) Human body following robot based on UWB and pyroelectric infrared sensor
EP3201568B1 (en) Method and apparatus for tilt sensing using eccentric motor
CN209623718U (en) Patrol robot positioning system
EP2915015A1 (en) Estimating the gravity vector in a world coordinate system using an accelerometer in a mobile device
CN110196046A (en) Localization method and equipment
EP3721322B1 (en) System for fusing acoustic and inertial position determination
CN203479299U (en) Novel wireless dip angle measurement device
CN106714079B (en) Positioning push service system, user mobile device and positioning push service method
CN104215229A (en) RTK device adjusting method, RTK device adjusting system and RTK measuring method
CN109490855A (en) A kind of trailer-mounted radar scaling method, device and vehicle
CN109211275A (en) A kind of zero bias temperature compensation method of gyroscope
CN103095341A (en) Data transmission control method and electronic equipment
US20200109936A1 (en) Device for determining the angle of a rotating component
CN111044290B (en) Detection method and detection system of linear motor
EP1901089B1 (en) Object tracker
CN208092486U (en) A kind of controller for robot and the robot for being connected with the controller
CN106405606A (en) Implementation method of high-precision satellite positioning
CN106404000A (en) Method and system for automatically correcting attitude measurement device
JP6454393B1 (en) Position detecting device and position detecting method using the position detecting device
CN111736195A (en) Underwater intelligent umbilical cable positioning system and method for positioning diver
CN204301781U (en) A kind of panel computer type flow rate and direction instrument

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