CN110928430A - Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment - Google Patents

Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment Download PDF

Info

Publication number
CN110928430A
CN110928430A CN201911152191.2A CN201911152191A CN110928430A CN 110928430 A CN110928430 A CN 110928430A CN 201911152191 A CN201911152191 A CN 201911152191A CN 110928430 A CN110928430 A CN 110928430A
Authority
CN
China
Prior art keywords
ios
dimensional model
physical action
real
roaming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911152191.2A
Other languages
Chinese (zh)
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.)
Shenzhen Bimei Science And Technology Co Ltd
Original Assignee
Shenzhen Bimei Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Bimei Science And Technology Co Ltd filed Critical Shenzhen Bimei Science And Technology Co Ltd
Priority to CN201911152191.2A priority Critical patent/CN110928430A/en
Publication of CN110928430A publication Critical patent/CN110928430A/en
Pending legal-status Critical Current

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Abstract

The invention belongs to the technical field of engineering design, and particularly relates to a position switching method, a system, a device and a storage medium for iOS equipment three-dimensional model roaming, wherein the relationship between the preset physical action and the position switching operation of the iOS equipment during the three-dimensional model roaming is pre-established; starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; the real-time physical action and the preset physical action form a mapping relation to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams, the user can appoint to switch to a specific plane without extra operation, the operation convenience is high, the time consumption for completing the position switching in the vertical direction is short, and the three-dimensional model roaming experience of a mobile terminal, particularly the iOS device, is improved.

Description

Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment
Technical Field
The invention belongs to the technical field of three-dimensional model roaming, and particularly relates to a position switching method, a system, a device and a storage medium for iOS equipment three-dimensional model roaming.
Background
In the roaming of the three-dimensional model, when the method is executed on a device such as a notebook having a keyboard, the shortcut key WASD is usually used to realize the forward, backward, left and right movements of the same plane, and the up and down movements of the three-dimensional space are executed by the shortcut key QE. However, in some scenes, when the mobile terminal roams the three-dimensional model, the position switching needs to be realized without the assistance of a keyboard, the front, the back, the left and the right in the horizontal direction can be realized by depending on a direction wheel disc at the left lower corner of the mobile terminal, and the design can basically solve the roaming of most of the current three-dimensional space.
However, the roaming experience of a part of three-dimensional space is not good, especially in the building model field, the roaming needs to be switched among different floors besides the front, back, left and right directions of the same floor. Because the mobile terminal is not assisted by a keyboard, the switching of floors in the vertical direction usually needs to return to a main interface, switch to a designated floor by selecting the floor, or design a control of a floor option in an original roaming interface.
Both the above two modes require the user to perform extra operation to designate the switching to a specific certain plane, so that the operation convenience is poor, and the time consumption for completing the position switching in the vertical direction is long, thereby causing poor roaming experience.
Disclosure of Invention
The technical problem to be solved by the invention is that the switching of the vertical position during the model roaming needs to be realized by the user through additional operation, the operation convenience is poor, and time is consumed, so that the roaming experience of the mobile terminal, especially the iOS device, is poor.
Therefore, according to a first aspect, an embodiment of the present invention discloses a location switching method for iOS device three-dimensional model roaming, including:
pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams; starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
Further, starting a gyroscope API in the iOS device, and detecting a real-time physical action of the iOS device, specifically including:
detecting rotation of the gyroscope, and introducing a core moving frame to convert the rotation into direction data; and creating a management object to continuously monitor and acquire the direction data, and calculating and confirming the real-time physical action through the direction data.
Further, the mode of acquiring the direction data by the management object is a Push mode or a Pull mode.
Further, the sensor data is spatial position information of the gyroscope.
Further, the spatial position of the gyroscope is an angular velocity of the iOS device along an X-axis, a Y-axis, and a Z-axis.
Further, the preset physical action is left-right rotation or up-down tilting.
In a second aspect, an embodiment of the present invention provides a location switching system for three-dimensional model roaming of an iOS device, including: the relationship definition module: pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams; a real-time detection module: starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; a position switching module: and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
Further, the real-time detection module further comprises: a data conversion unit: detecting rotation of the gyroscope, and introducing a core moving frame to convert the rotation into direction data; an operation confirmation unit: and creating a management object to continuously monitor and acquire the direction data, and calculating and confirming the real-time physical action through the direction data.
According to a third aspect, the present invention provides a computer apparatus comprising a processor for executing a computer program stored in a memory to implement the location switching method for three-dimensional model roaming of an iOS device of any of the first aspects above.
According to a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein a processor is configured to execute the computer program stored in the storage medium to implement the location switching method for the three-dimensional model roaming of the iOS device of any one of the first aspects.
The invention has the beneficial effects that:
the embodiment of the invention discloses a position switching method for three-dimensional model roaming of iOS equipment, which is characterized in that the relation between the preset physical action of the iOS equipment and the position switching operation during the three-dimensional model roaming is pre-established; starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; the real-time physical action and the preset physical action form a mapping relation to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams, the user can appoint to switch to a specific plane without extra operation, the operation convenience is high, the time consumption for completing the position switching in the vertical direction is short, and the three-dimensional model roaming experience of a mobile terminal, particularly the iOS device, is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a first flowchart of a method for location switching for three-dimensional model roaming of an iOS device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a position switching system for iOS device three-dimensional model roaming according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first flowchart of a location switching method for iOS device three-dimensional model roaming disclosed in this embodiment is shown, where the location switching method for iOS device three-dimensional model roaming includes:
and step S100, pre-establishing a relation between a preset physical action of the iOS device and a position switching operation when the three-dimensional model roams.
In this embodiment, a relationship between a preset physical action for a user to operate the iOS device and the position switching needs to be set first, and a common preset physical action may be left-right rotation or up-down tilting, where the up-tilting is that the top of the mobile phone is tilted downward by a certain angle, and the down-tilting is that the top of the mobile phone is tilted downward by a certain angle. Then, the specific position switching operations are bound, for example, a preset physical action of rotating leftward (clockwise rotation) may be defined as an operation of vertically roaming upward, and a preset physical action of rotating rightward (counterclockwise rotation) may be defined as an operation of vertically roaming downward, so that a selection of various operation combinations may be provided, so that the user may switch according to habits.
And step S200, starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device.
In this embodiment, when a user needs to roam a model in a vertical direction when the model of the iOS device roams, the user may wake up a corresponding operation through a rotating mobile phone, turn on a gyroscope API in the iOS device to detect a rotation event, and when a corresponding event is detected, first introduce a core mobile framework core mobility. And then creating a management object to continuously monitor and acquire the direction data, and calculating and confirming the real-time physical action through the direction data. The method comprises the following steps that a management object acquires direction data of a gyroscope in a Push mode and a Pull mode, wherein the Push mode has advantages and disadvantages, the Push mode has the advantages that a system actively pushes data to a client side, the real-time performance is strong, and the disadvantage is high energy consumption; and the pull mode needs to actively ask for data from the system, so that the real-time performance is poor, but the energy consumption is low, and the data can be acquired as required. Different modes can be adopted to meet the requirements according to specific scenes.
In a specific implementation process, the direction data is spatial position information of the gyroscope, specifically, angular velocities of the iOS device along an X axis, a Y axis, and a Z axis. The three values are raw data of the gyro sensor, and in the case of counterclockwise rotation along any axis, the value associated with the axis is a positive value. In the case of clockwise rotation, negative; and judging the preset physical action to which the real-time physical action belongs according to whether the rotation along a certain axis belongs to a positive value or a negative value.
And step S300, forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
In this embodiment, a mapping relationship is formed between the real-time physical action and the preset physical action, and the corresponding position switching operation is triggered by the preset physical action corresponding to the real-time physical action, so as to finally realize the movement in the vertical direction when the three-dimensional model roams.
The scheme of the invention is based on the law of conservation of angular momentum, and the rotation rate is measured along a certain coordinate axis. In use, the rotor of the gyroscope always points to a fixed direction when rotating, and the gyroscope can sense when the moving direction of the moving object deviates from a preset direction. The working principle of the mobile phone gyroscope is that a silicon gyroscope in a mobile phone can enable a mechanical structure in the mobile phone to be driven by electrostatic force, and if the mobile phone gyroscope rotates, displacement is generated in the orthogonal direction due to Coriolis force, and then capacitance change is generated. The displacement is in direct proportion to the rotation angular speed, and the change of the capacitance of the detector is converted into a Digital Signal Processing, and then the Digital Signal Processing can be delivered to an application processor for Processing.
The embodiment of the invention discloses a position switching method for three-dimensional model roaming of iOS equipment, which is characterized in that the relation between the preset physical action of the iOS equipment and the position switching operation during the three-dimensional model roaming is pre-established; starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; the real-time physical action and the preset physical action form a mapping relation to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams, the user can appoint to switch to a specific plane without extra operation, the operation convenience is high, the time consumption for completing the position switching in the vertical direction is short, and the three-dimensional model roaming experience of a mobile terminal, particularly the iOS device, is improved.
Fig. 2 is a schematic structural diagram of a position switching system for iOS device three-dimensional model roaming.
The position switching system for the roaming of the three-dimensional model of the iOS device comprises: the relationship definition module 10: pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams; the real-time detection module 20: starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; position switching module 30: and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
Further, the real-time detection module further comprises: a data conversion unit: detecting rotation of the gyroscope, and converting the rotation into direction data by introducing a core mobile frame CoreMotion. An operation confirmation unit: and creating a management object to continuously monitor and acquire the direction data, and calculating and confirming the real-time physical action through the direction data.
In addition, an embodiment of the present invention further provides a computer apparatus, where a processor executes the computer instructions, so as to implement the following method:
pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams; starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. The computer processor is used to execute a computer program stored in a storage medium to implement the following method:
pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams; starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device; and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
The foregoing is merely an example of the present invention and common general knowledge of known specific structures and features of the embodiments is not described herein in any greater detail. It should be noted that variations and modifications can be made by those skilled in the art without departing from the structure of the present invention. These should also be construed as the scope of the present invention, and they should not be construed as affecting the effectiveness of the practice of the present invention or the applicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.

Claims (10)

1. A position switching method for three-dimensional model roaming of iOS equipment is characterized by comprising the following steps:
pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams;
starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device;
and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
2. The method of claim 1 for location switching for three-dimensional model roaming of an iOS device, characterized by: starting a gyroscope API in the iOS device, detecting real-time physical actions of the iOS device, and specifically comprising:
detecting rotation of the gyroscope, and introducing a core moving frame to convert the rotation into direction data;
and creating a management object to continuously monitor and acquire the direction data, and calculating and confirming the real-time physical action through the direction data.
3. The method of claim 2, wherein the manner in which the management object obtains the direction data is a Push manner or a Pull manner.
4. The method of claim 3, wherein the orientation data is spatial position information of the gyroscope.
5. The method of claim 4, wherein the spatial position of the gyroscope is an angular velocity of the iOS device along an X-axis, a Y-axis, and a Z-axis.
6. The position switch for roaming of three-dimensional models of iOS devices of claim 1 to 5, wherein the preset physical action is a left-right rotation or an up-down tilt.
7. A position switching system for three-dimensional model roaming of iOS devices, comprising:
the relationship definition module: pre-establishing a relation between a preset physical action and a position switching operation of the iOS device when the three-dimensional model roams;
a real-time detection module: starting a gyroscope API in the iOS device, and detecting real-time physical actions of the iOS device;
a position switching module: and forming a mapping relation between the real-time physical action and the preset physical action to trigger corresponding position switching operation, so that the movement in the vertical direction is realized when the three-dimensional model roams.
8. The system for location switching for roaming of three-dimensional models of iOS devices of claim 7, wherein the real-time detection module further comprises:
a data conversion unit: detecting rotation of the gyroscope, and introducing a core moving frame to convert the rotation into direction data;
an operation confirmation unit: and creating a management object to continuously monitor and acquire the direction data, and calculating and confirming the real-time physical action through the direction data.
9. A computer arrangement comprising a processor for executing a computer program stored in a memory to implement the method for location switching for roaming of three-dimensional models of iOS devices of any of claims 1-6.
10. A computer-readable storage medium having a computer program stored thereon, wherein a processor is configured to execute the computer program stored in the storage medium to implement the method for location switching for roaming of three-dimensional models of iOS devices as claimed in any one of claims 1 to 6.
CN201911152191.2A 2019-11-22 2019-11-22 Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment Pending CN110928430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911152191.2A CN110928430A (en) 2019-11-22 2019-11-22 Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911152191.2A CN110928430A (en) 2019-11-22 2019-11-22 Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment

Publications (1)

Publication Number Publication Date
CN110928430A true CN110928430A (en) 2020-03-27

Family

ID=69851543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911152191.2A Pending CN110928430A (en) 2019-11-22 2019-11-22 Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment

Country Status (1)

Country Link
CN (1) CN110928430A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190004618A1 (en) * 2017-06-29 2019-01-03 Trimble Inc. Navigation methods for three dimensional (3d) models in mixed reality (mr) environments
CN109550246A (en) * 2017-09-25 2019-04-02 腾讯科技(深圳)有限公司 Control method, device, storage medium and the electronic device of game client
CN109903380A (en) * 2019-03-14 2019-06-18 广州世峰数字科技有限公司 A kind of three-dimensional building model and information show interface layout system
CN110465073A (en) * 2019-08-08 2019-11-19 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the readable storage medium storing program for executing that visual angle adjusts in virtual environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190004618A1 (en) * 2017-06-29 2019-01-03 Trimble Inc. Navigation methods for three dimensional (3d) models in mixed reality (mr) environments
CN109550246A (en) * 2017-09-25 2019-04-02 腾讯科技(深圳)有限公司 Control method, device, storage medium and the electronic device of game client
CN109903380A (en) * 2019-03-14 2019-06-18 广州世峰数字科技有限公司 A kind of three-dimensional building model and information show interface layout system
CN110465073A (en) * 2019-08-08 2019-11-19 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the readable storage medium storing program for executing that visual angle adjusts in virtual environment

Similar Documents

Publication Publication Date Title
EP3039563B1 (en) Multi display method, storage medium, and electronic device
CN110060207B (en) Method and system for providing a floor plan
JP5423686B2 (en) Computer program, input device and input method
JP4943543B2 (en) MAP DISPLAY DEVICE, MAP DISPLAY METHOD, MAP DISPLAY PROGRAM, AND RECORDING MEDIUM
EP3033669B1 (en) Context sensitive actions in response to touch input
EP2722730A1 (en) Mobile terminal and method for moving cursor thereof
US11157016B2 (en) Automatic recognition of multiple floorplans by cleaning robot
WO2017133498A1 (en) Intelligent device and intelligent device control method
WO2022199080A1 (en) Robot stepping control method and apparatus, robot control device and storage medium
CN102508615B (en) Touch screen picture control method
WO2010064423A1 (en) Display input device
JP2020098614A (en) Method and apparatus for detecting gesture in user-based spatial coordinate system
JP6081769B2 (en) Program, information processing apparatus, information processing method, and information processing system
WO2018214825A1 (en) Method and device for assessing probability of presence of obstacle in unknown position
WO2018223605A1 (en) Input method, apparatus and system
JP2015195567A (en) Display control method, display control program, and information processing terminal
CN103200304A (en) System and method for controlling mobile terminal intelligent cursor
JPWO2013073119A1 (en) POSITION ESTIMATION DEVICE, POSITION ESTIMATION METHOD, AND INTEGRATED CIRCUIT
JP4377863B2 (en) Exercise trajectory information processing method and portable information device
US20150002417A1 (en) Method of processing user input and apparatus using the same
CN102289343A (en) Information processing apparatus and operation method of information processing apparatus
CN110928430A (en) Position switching method, system, device and storage medium for three-dimensional model roaming of iOS (internet operating system) equipment
JP2017151806A (en) Information processing program, information processing system, information processing method, and information processing apparatus
CN110865711A (en) Position switching method, system, device and storage medium for Android equipment three-dimensional model roaming
CN106500689B (en) Method for determining posture of mobile terminal and mobile terminal

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