CN108079581A - Intelligent magic cube, magic square control method, equipment and storage medium - Google Patents
Intelligent magic cube, magic square control method, equipment and storage medium Download PDFInfo
- Publication number
- CN108079581A CN108079581A CN201711350221.1A CN201711350221A CN108079581A CN 108079581 A CN108079581 A CN 108079581A CN 201711350221 A CN201711350221 A CN 201711350221A CN 108079581 A CN108079581 A CN 108079581A
- Authority
- CN
- China
- Prior art keywords
- magic cube
- switch block
- intelligent
- intelligent magic
- operating procedure
- 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
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
- A63F13/798—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for assessing skills or for ranking players, e.g. for generating a hall of fame
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
- A63F13/67—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor adaptively or by learning from player actions, e.g. skill level adjustment or by storing successful combat sequences for re-use
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/06—Patience; Other games for self-amusement
- A63F9/08—Puzzles provided with elements movable in relation, i.e. movably connected, to each other
- A63F9/0826—Three-dimensional puzzles with slidable or rotatable elements or groups of elements, the main configuration remaining unchanged, e.g. Rubik's cube
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure provides a kind of Intelligent magic cube, magic square control method, equipment and storage medium, the described method includes:Obtain the spatial movement parameter of each switch block in Intelligent magic cube;It determines to operate the operating procedure set of the Intelligent magic cube and operation duration based on the spatial movement parameter;User gradation is determined based on the operating procedure set and operation duration;The screen for controlling the Intelligent magic cube according to the user gradation carries out display content adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.The efficiency that magic square is set to non-primary state can have both been improved using the embodiment of the present disclosure, user is embodied as again recommends the non-primary state for being suitble to user's level, the magic square after upsetting is avoided easily to restore very much or too difficult restore causes player's forfeiture interest, so as to promote the interest of player.
Description
Technical field
This application involves electronic technology field more particularly to Intelligent magic cube, magic square control method, equipment and storage mediums.
Background technology
Magic square, and be properly termed as magic block, turn round meter dice, Shandong Bick square etc., it is a kind of hand extreme sport.Magic square can
To include Second-order magic cube, three rank magic squares, Revenge Cube, special-shaped magic square and various mutation magic squares etc..Magic square generally includes several
A module (abbreviation switch block) that can mutually rotate, by taking three rank magic squares as an example, the Magic cube type of three rank magic squares is typically square, by 1
A central shaft (core block), 6 central blocks, 12 rib blocks (side block), 8 hornblocks are formed.When they are combined
Each part can check and balance and will not scatter, and any one side can all horizontally rotate and not interfere with other switch blocks.Magic square
Playing method is to upset magic square, is then restored within the shortest time.However, it is necessary to which player oneself beats magic square after restoring every time
Disorderly, efficiency is low, and upset the complexity of rear magic square it is difficult to predict.
The content of the invention
To overcome the problems, such as present in correlation technique, present disclose provides Intelligent magic cube, magic square control method, equipment and deposit
Storage media.
According to the embodiment of the present disclosure in a first aspect, provide a kind of magic square control method, the described method includes:
Obtain the spatial movement parameter of each switch block in Intelligent magic cube;
It determines to operate the operating procedure set of the Intelligent magic cube and operation duration based on the spatial movement parameter;
User gradation is determined based on the operating procedure set and operation duration;
The screen for controlling the Intelligent magic cube according to the user gradation carries out display content adjustment, so that the intelligence after adjustment
The recovery complexity of energy magic square is corresponding with the user gradation.
In an optional realization method, the operational step set closes the operating procedure including at least once-through operation, institute
It states and determines to operate the operating procedure set of the Intelligent magic cube and operation duration based on the spatial movement parameter, including:
For each operation, the switch block operated in the same face is determined according to the spatial movement parameter, obtains this behaviour
To the operating procedure of the face switch block in work.
It is described for operation every time in an optional realization method, it is determined according to the spatial movement parameter same
The switch block operated on one side is obtained in this time operation to the operating procedure of the face switch block, including:
Relative position and movement locus of the switch block compared with central shaft are determined according to the spatial movement parameter;
The switch block for determining to be operated in the same face according to the relative position;
According to the movement locus for the switch block that the same face is operated, determine in this time operation to the face switch block compared with central shaft
Operating procedure.
It is described for operation every time in an optional realization method, it is determined according to the spatial movement parameter same
The switch block operated on one side is obtained in this time operation to the operating procedure of the face switch block, including:
Switch block is determined compared with the relative position of central shaft according to the spatial movement parameter and relatively rotates angle;
The switch block for determining to be operated in the same face according to the relative position;
According to the relative rotation angle for the switch block that the same face is operated, determine in this time operation to the face switch block in
The operating procedure of mandrel.
In an optional realization method, the operating procedure set be operate duration during operating procedure collection
It closes;The operation duration includes at least a kind of following duration:
It is determined using starting to restore the Intelligent magic cube as initial time, to complete to restore the Intelligent magic cube to terminate the time
Duration;
Using start to restore the Intelligent magic cube as initial time, not operate the initial time of the Intelligent magic cube as termination
The duration that time determines, wherein, the time for not operating the Intelligent magic cube is more than set period of time.
It is described that user etc. is determined based on the operating procedure set and operation duration in an optional realization method
Grade, including:
By the operating procedure set and the grade forecast model of operation duration input prebuild, user gradation is obtained;
Wherein, the grade forecast model is trained acquisition, the trained sample based on training sample set pair neutral net
Every group of training sample of this concentration is included as the operating procedure sample set and operating time sample of input data and as instruction
Practice the user gradation sample of target.
In an optional realization method, the method is applied to the intelligent terminal with Intelligent magic cube binding, institute
It states and according to the user gradation screen of the Intelligent magic cube is controlled to carry out display content adjustment, so that the Intelligent magic cube after adjustment
Recovery complexity it is corresponding with the user gradation, including:
Control instruction corresponding with the user gradation is sent to the Intelligent magic cube, the control instruction is used to indicate institute
It states Intelligent magic cube and carries out display content adjustment, so that the recovery complexity and the user gradation phase of the Intelligent magic cube after adjustment
It is corresponding.
According to the second aspect of the embodiment of the present disclosure, a kind of magic square control method is provided, the method is applied to intelligence evil spirit
It is square, it is provided with to gather the motion sensor of spatial movement parameter in each switch block in the Intelligent magic cube, switch block surface is set
Display screen is equipped with, the described method includes:
Obtain the spatial movement parameter of the motion sensor acquisition;
The spatial movement parameter is sent to the intelligent terminal with Intelligent magic cube binding;
The control instruction that the intelligent terminal returns is received, display content is carried out to each switch block according to the control instruction
Adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.
According to the third aspect of the embodiment of the present disclosure, a kind of electronic equipment is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The step of performing the magic square control method of above-mentioned first aspect.
According to the fourth aspect of the embodiment of the present disclosure, a kind of Intelligent magic cube is provided, including:
It is provided with the switch block of motion sensor and display screen;
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The step of performing the magic square control method of above-mentioned second aspect.
According to a fifth aspect of the embodiments of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating
Machine program, when which is executed by processor the step of realization any of the above-described the method
The technical scheme provided by this disclosed embodiment can include the following benefits:
The embodiment of the present disclosure utilizes spatial movement parameter by obtaining the spatial movement parameter of each switch block in Intelligent magic cube
It determines the operating procedure set of operation Intelligent magic cube and operation duration, and is deduced according to operating procedure set and operation duration
The user gradation of current player automatically controls Intelligent magic cube according to user gradation and carries out display content adjustment, so that after adjustment
The recovery complexity of Intelligent magic cube is corresponding with user gradation, has not only improved the efficiency that magic square is set to non-primary state, but also
It is embodied as user and recommends the non-primary state for being suitble to user's level, avoiding the magic square after upsetting, too easily recovery or too difficult recovery is led
Player is caused to lose interest, so as to promote the interest of player.
It should be appreciated that above general description and following detailed description are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and for explaining the principle of the disclosure together with specification.
Figure 1A is a kind of flow chart of magic square control method of the disclosure according to an exemplary embodiment.
Figure 1B is one kind three rank magic square schematic diagram of the disclosure according to an exemplary embodiment.
Fig. 1 C are another kind three rank magic square front view of the disclosure according to an exemplary embodiment.
Fig. 1 D are a kind of application scenario diagrams of magic square control method of the disclosure according to an exemplary embodiment.
Fig. 2 is the flow chart of another magic square control method of the disclosure according to an exemplary embodiment.
Fig. 3 is the flow chart of another magic square control method of the disclosure according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of magic square control device of the disclosure according to an exemplary embodiment.
Fig. 5 is the block diagram of another magic square control device of the disclosure according to an exemplary embodiment.
Fig. 6 is the block diagram of another magic square control device of the disclosure according to an exemplary embodiment.
Fig. 7 is the block diagram of another magic square control device of the disclosure according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of device for magic square control of the disclosure according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure.
" one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, it is not departing from
In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Magic square, and be properly termed as magic block, turn round meter dice, Shandong Bick square etc., is a kind of hand extreme sport, can be with
As the educational aid that student is helped to enhance spatial thinking ability.Magic square can include Second-order magic cube, three rank magic squares, quadravalence evil spirit
Side, special-shaped magic square and various mutation magic squares etc..By taking three rank magic squares as an example, the Magic cube type of three rank magic squares is typically square, by 1
A central shaft (core block), 6 central blocks, 12 rib blocks (side block), 8 hornblocks are formed.When they are combined
Each part can check and balance and will not scatter, and any one side can all horizontally rotate and not interfere with other squares.Magic square is answered
Original refers to the process of magic square from non-primary state (upsetting state) to reset condition (reset condition), is a collection observation, starts
With the imagination in the process of one, the starting of people, the ability that beats one's brains, training memory, space imagination can be cultivated well and is sentenced
Disconnected power.
However, it is necessary to which player oneself upsets magic square after restoring every time, efficiency is low, and the randomness upset is stronger,
It is difficult to predict it could even be possible to magic square or too easily multiple can not be restored to magic square complexity after upsetting always by player occur
Former magic square, so as to lose the interest for restoring magic square.
In consideration of it, in order to solve efficiency it is low and upset rear magic square be difficult to degree it is difficult to predict situation, the disclosure implement
Example determines to operate Intelligent magic cube using spatial movement parameter by obtaining the spatial movement parameter of each switch block in Intelligent magic cube
Operating procedure set and operation duration, and deduce according to operating procedure set and operation duration the user etc. of current player
Grade automatically controls Intelligent magic cube according to user gradation and carries out display content adjustment, so that the recovery of the Intelligent magic cube after adjustment is difficult
Easy degree is corresponding with user gradation, has not only improved the efficiency that magic square is set to non-primary state, but also is embodied as user and recommends to fit
The Intelligent magic cube of the non-primary state of family level is shared, avoiding the magic square after upsetting, too easily recovery or too difficult recovery cause player
Interest is lost, so as to promote the interest of player.
As shown in Figure 1A, Figure 1A is a kind of flow of magic square control method of the disclosure according to an exemplary embodiment
Figure, comprises the following steps:
In a step 101, the spatial movement parameter of each switch block in Intelligent magic cube is obtained;
In a step 102, based on the spatial movement parameter determine to operate the operating procedure set of the Intelligent magic cube with
And operation duration;
In step 103, user gradation is determined based on the operating procedure set and operation duration;
At step 104, the screen for controlling the Intelligent magic cube according to the user gradation carries out display content adjustment, with
The recovery complexity for making the Intelligent magic cube after adjustment is corresponding with the user gradation.
First, signified Intelligent magic cube in the embodiment of the present disclosure is illustrated.
Intelligent magic cube can be positive exponent magic square, for example, Second-order magic cube, three rank magic squares, Revenge Cube or higher order magic square etc..
Intelligent magic cube can also be mutation magic square, such as tiltedly turn magic square, five magic squares etc..What Intelligent magic cube can mutually be rotated by several
Module (abbreviation switch block) forms, it is to be understood that the component of positive exponent magic square is often known as square in positive exponent magic square,
However in many mutation magic squares, component is frequently not square, it is also possible to other shapes, it is therefore, real in the disclosure
The component of Intelligent magic cube can be represented with switch block by applying in example.Example is carried out by taking three common rank cube magic squares as an example to say
It is bright.As shown in Figure 1B, Figure 1B is one kind three rank magic square schematic diagram of the disclosure according to an exemplary embodiment.Three rank magic squares
Magic cube type be typically square, by 1 central shaft (core block), 6 central blocks, 12 rib blocks (side block), 8 hornblock structures
Into.Central shaft is used for supporting square with rotating the support shaft needed for square.Central block is in the center of magic square one side, with center
Axis connection can freely be rotated along the direction of axis.Central block includes a square surface, i.e., only there are one faces for central block
For forming the surface of magic square.Rib block includes two square surfaces, i.e. rib block is used to form the surface of magic square there are two face.Rib
Block can be embedded between two central blocks.Hornblock includes three square surfaces, i.e., there are three faces for forming magic square for hornblock
Surface.Hornblock can be embedded between three rib blocks.
It forms in the switch block of Intelligent magic cube and is built-in with motion sensor, motion sensor can be used for the sky for detecting the switch block
Between kinematic parameter.Spatial movement parameter can be for describing the parameter of switch block movement.For example, spatial movement parameter can be position
One or more in the parameter of displacement sensor acquisition, the parameter of gyroscope acquisition, parameter of direction sensor acquisition etc..
Intelligent magic cube can adjust surface display content (surface display content is properly termed as surface characteristics again), so that adjustment
Intelligent magic cube afterwards (reset condition) or non-primary state (upsetting state) in a state of nature.Display content can include face
One or more in color, character, still image, dynamic image etc..Character can include number, letter, word, symbol etc..
Wherein, every face of Intelligent magic cube is made of the surface of different switch blocks.Intelligent magic cube under in a state of nature, it is different
The display content in face is different, to realize the different faces that Intelligent magic cube is characterized by different display contents.It is every due to Intelligent magic cube
Face is made of the surface of different switch blocks, then in a state of nature under Intelligent magic cube, the surface display content of switch block in the same face
It is identical or related.So-called display content is identical, can be the surface for the multiple switch blocks for forming Intelligent magic cube face (being assumed to be A faces)
Display content is identical, for example, display content of each switch block in A faces can be same color, identical characters or identical image.Institute
Display content correlation is called, can be that the surface display content for the multiple switch blocks for forming Intelligent magic cube face is not necessarily identical but aobvious
Show that content has correlation, for example, correlation is composition piece image.As shown in Figure 1 C, Fig. 1 C are the disclosure according to an example
Property implement the three rank magic square front view of another kind that exemplifies.In fig. 1 c, the same face nine squares surface display content
Difference, but display content forms piece image.The image of differing complexity can embody the difficulty or ease journey for restoring Intelligent magic cube
Degree.
In one example, Intelligent magic cube can be special by the surface of at least one electronic display screen displays Intelligent magic cube
Sign.Electronic display can be light emitting diode (LED) display screen, liquid crystal display etc..Further, for each with surface
Switch block can set display screen, for showing the surface characteristics of the switch block.For switch block (such as side block, angle including multiple surfaces
Block), the surface characteristics on multiple surfaces can be shown by a display screen, can also respectively be set accordingly for each surface
Display screen, to show the surface characteristics on the surface.The display screen on each switch block surface can show each face of Intelligent magic cube
Surface characteristics.
By display content for exemplified by color, each surface of Intelligent magic cube transfer block can be shown a variety of by display screen
Color and a kind of color can be shown every time.Assuming that Intelligent magic cube is three rank magic squares, six faces of Intelligent magic cube under reset condition
Color is respectively red, yellow, blue, green, white, purple, then each surface of switch block can be shown by display screen it is red, yellow, blue, green, white,
Six kinds of colors of purple and the square surface number of same color are 9, to realize that every 9 square surfaces show same color, are passed through
54 square surfaces show six kinds of colors.
By taking display content is number as an example, each surface of Intelligent magic cube transfer block can be shown a variety of by display screen
Number and it can show a kind of number every time.Assuming that Intelligent magic cube is Second-order magic cube, six faces of Intelligent magic cube are shown under reset condition
It is respectively 1,2,3,4,5,6 to show content, then each surface of switch block can show 1 by display screen, 2,3,4,5,6 six kind of number
The square surface number of word and number of the same race is 4, to realize that every 4 square surfaces show number of the same race, passes through 24 squares
Surface shows six kinds of numbers.
Then, the application scenarios of the embodiment of the present disclosure are illustrated.
In one example, embodiment of the present disclosure method can be applied in the intelligent terminal bound with Intelligent magic cube.
This disclosure relates to intelligent terminal, can be smart mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), E-book reader, multimedia player, the electronic equipments such as Intelligent bracelet.
Wherein, Intelligent magic cube can be by the transmission modes such as bluetooth, wireless network and intelligent terminal short-range communication, intelligence
Magic square can also be carried out telecommunication by server and intelligent terminal.As shown in figure iD, Fig. 1 D are the disclosure according to an example
Property implement the application scenario diagram of a kind of magic square control method exemplified.In the application scenarios, Intelligent magic cube can will gather
Spatial movement parameter be sent to intelligent terminal, intelligent terminal is obtained in Intelligent magic cube after the spatial movement parameter of each switch block,
The operating procedure set of operation Intelligent magic cube and operation duration are determined based on spatial movement parameter, based on the operational step set
It closes and operation duration determines user gradation, and control instruction corresponding with user gradation is sent to Intelligent magic cube, the control refers to
Order is used to indicate Intelligent magic cube and carries out display content adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment and user etc.
Grade is corresponding.
In another example, embodiment of the present disclosure method can be applied in Intelligent magic cube.
In the embodiments of the present disclosure, processor can be provided in Intelligent magic cube, performing the disclosure by processor implements
Example method.The spatial movement parameter of each switch block in Intelligent magic cube is obtained, operation Intelligent magic cube is determined based on spatial movement parameter
Operating procedure set and operation duration, based on operating procedure set and operation duration determine user gradation, according to user etc.
Grade carries out display content adjustment to each switch block, so that the recovery complexity of the Intelligent magic cube after adjustment is opposite with user gradation
It should.
Then, embodiment of the present disclosure magic square control method is illustrated.
Intelligent magic cube can include several switch blocks, since each switch block is built-in with motion sensor, then can obtain intelligence
The spatial movement parameter of each switch block in energy magic square.Spatial movement parameter can be for describing the parameter of switch block movement.For example,
Spatial movement parameter can be the parameter of displacement sensor acquisition, the parameter of gyroscope acquisition, the parameter of direction sensor acquisition
One or more in.
During Intelligent magic cube is rotated every time, the motion sensor being rotated in switch block necessarily detects spatial movement
Parameter, the motion sensor not being rotated in switch block may can't detect spatial movement parameter or spatial movement parameter constant,
Or the kinematic parameter that the spatial movement parameter detected is entire Intelligent magic cube, it therefore, can be according to every in Intelligent magic cube
The spatial movement parameter of a switch block determines to be rotated switch block, and then determines the operating procedure of operation Intelligent magic cube every time.
Wherein, operating procedure set be operate duration during operating procedure set.It can be every often to walk operating procedure
The step of secondary rotation switch block.The method of determination of operation duration can be set according to demand, several carry out examples exemplified below
Explanation.
In one example, operation duration can restore duration needed for Intelligent magic cube, for example, to start to restore the intelligence
Energy magic square is initial time, the duration that the Intelligent magic cube is determined as the termination time is restored using completion.Operating procedure set can be with
The step of being operation Intelligent magic cube in this period.
Wherein, start the Rule of judgment of recovery Intelligent magic cube, can receive the instruction for starting to restore Intelligent magic cube,
Can receive spatial movement parameter etc..For example, start timing when receiving and starting and restore the instruction of Intelligent magic cube.Such as,
User triggers the instruction that generation starts recovery Intelligent magic cube by triggering the specified control on smart mobile phone.For another example, receiving
Start calendar scheduling during to spatial movement kinematic parameter.
The Rule of judgment of recovery Intelligent magic cube is completed, can receive the instruction for completing to restore Intelligent magic cube, it can also
It is to detect Intelligent magic cube (reset condition) etc. in a state of nature.For example, it is tied when receiving the instruction for restoring Intelligent magic cube
Beam timing.Such as, user triggers the instruction that recovery Intelligent magic cube is completed in generation by triggering the specified control on smart mobile phone.Again
Such as, calendar scheduling is terminated when detecting Intelligent magic cube in a state of nature.
It as it can be seen that is limited to restore duration needed for Intelligent magic cube by the way that duration will be operated, it may be determined that player restores intelligence evil spirit
The time of side, and then improve the follow-up accuracy for speculating game level.
However, in practical applications, for the magic square of the non-primary state of certain difficulty, user may spend for a long time
It can not all restore, in order to avoid user loses the interest for playing, in another example, operation duration can be multiple to start
The former Intelligent magic cube is initial time, not operate the initial time of the Intelligent magic cube to terminate the duration that the time determines.
Wherein, the time for not operating the Intelligent magic cube is more than set period of time.Since player (user) is restoring intelligence
It may pause and be thought deeply during magic square, and the present embodiment is not restore Intelligent magic cube for a long time to count player
Situation, therefore, avoid being mistaken for player and will not restoring Intelligent magic cube the pause situation of thinking of player, setting can be set
Period, and set period of time is more than player's think time.When the time for not operating Intelligent magic cube being more than set period of time,
Judge that the player will not restore Intelligent magic cube, and the initial time for not operating Intelligent magic cube is counted as timing termination when
Between.
In this embodiment it is possible to start to restore Intelligent magic cube as initial time, not operate the starting of Intelligent magic cube
Time determines operation duration to terminate the time, is answered so as to can also count user in the case where user can not restore Intelligent magic cube
The level of former Intelligent magic cube, and then obtain user gradation.
In another example, arbitrary a period of time during can also user being restored Intelligent magic cube is as during operation
It is long, and deduce user's level using the operating procedure in the operation duration.It can be preset time period to operate duration, when presetting
Between section can flexibly set according to demand.It, can be according to the current state of Intelligent magic cube during the supposition of subsequent user grade
It determines to recommend operating procedure, and according to user's practical operation step compared with recommending operating procedure, and then judge user etc.
Grade.
It is understood that the method for determination of aforesaid operations duration can also be combined, for example, operation duration can wrap
It includes:Using start to restore the Intelligent magic cube as initial time, using complete to restore the Intelligent magic cube as terminate that the time determines when
It is long;And using start to restore the Intelligent magic cube as initial time, not operate the initial time of the Intelligent magic cube as termination
The duration that time determines.As it can be seen that it can realize in the case where not restoring magic square, it is also predicted that going out the user gradation of user.
In addition, operation duration can also be determined using other modes, as long as the operation in the operating time can be utilized
Step predicts the user gradation of user, and this is no longer going to repeat them.
Below to how to determine the operating procedure set of operation Intelligent magic cube according to spatial movement parameter and operate duration
It is illustrated.
Since operating procedure set is to operate the set of operating procedure during duration, so next to operating every time
Operating procedure method of determination is illustrated.
Due to when operating Intelligent magic cube, often being operated by face.For example, wherein one or more faces are rotated more
Few degree etc..Every face switch block of Intelligent magic cube includes at least a switch block, and the spatial movement for each switch block that the same face is operated
Parameter has correlation, in consideration of it, for operation every time, can determine to be operated in the same face according to the spatial movement parameter
Switch block, obtain in this time operation to the operating procedure of the face switch block.
As it can be seen that it in this embodiment, in each operation, first can determine to be grasped in the same face according to spatial movement parameter
The switch block of work then using coplanar switch block as minimum unit, determines the operating procedure of coplanar switch block, and then convenient for improving follow-up determine
The efficiency of user gradation.
In practical applications, when rotating Intelligent magic cube, the switch block in face is often not only rotated, can also move and not rotate
The switch block in face, therefore, can be by relativeness, to determine actual rotation relation.
In one example, a kind of method of definite operating procedure is provided, the described method includes:
Relative position and movement locus of the switch block compared with central shaft are determined according to the spatial movement parameter;
The switch block for determining to be operated in the same face according to the relative position;
According to the movement locus for the switch block that the same face is operated, determine in this time operation to the face switch block compared with central shaft
Operating procedure.
Wherein, motion sensor is built-in in central shaft, therefore can be detected according to central shaft in-built motion sensor
Spatial movement parameter and each switch block in-built motion sensor detection spatial movement parameter, determine switch block compared with center
The relative position and movement locus of axis.What spatial movement parameter can be detected including the parameter that displacement sensor detects and gyroscope
Parameter so as to obtain the displacement of central shaft and switch block and direction, and then determines relative position and fortune of the switch block compared with central shaft
Dynamic rail mark.Since the model structure of Intelligent magic cube is it has been determined that therefore can be according to switch block compared with the relative position of central shaft, really
The switch block of the same face is scheduled on, and switch block can embody operation of the user to switch block compared with the movement locus of central shaft, therefore,
According to the movement locus for the switch block that the same face is operated, it may be determined that the face switch block compared with the behaviour of central shaft in this time operation
Make step.In Intelligent magic cube, each switch block can be identified by unique identifier, therefore, in operating procedure
It can include the identifier for the switch block that the same face is operated and the operation to the face switch block.
It is understood that when operating every time, a face switch block may be only rotated, it is also possible to rotate multiaspect switch block, work as rotation
During multiaspect switch block, when determining the operating procedure of this operation, it may be determined that the operating procedure of each face switch block operated.
Further, it can also determine whether default rotation condition is full compared with the movement locus of central shaft according to switch block
Foot if default rotation condition meets, ignores this operation.It is so-called to ignore this operation, can not need to determine this operation
Operating procedure.
Wherein, default rotation condition can be for judging the condition whether completed when time rotating operation.
For example, default rotation condition can be there are round-trip movement locus in movement locus, then presetting rotation condition expires
When sufficient, this operation can be ignored.
For another example, default rotation condition can be that switch block is less than minimum rotation threshold compared with the relative rotation angle of central shaft
Value.Wherein, minimum rotation threshold value is to rotate the minimum angles value rotated needed for the switch block of Intelligent magic cube face.It as it can be seen that can basis
Switch block determines relative rotation angle of the switch block compared with central shaft compared with the movement locus of central shaft, and judges to relatively rotate angle
Whether degree is more than default minimum rotation threshold value, if less than minimum rotation threshold value, can ignore this rotating operation.
As it can be seen that can determine whether complete according to movement locus when time rotating operation, and ignore unfinished operation, no longer
It determines not completing the operating procedure operated, and then improves treatment effeciency.
It is understood that default rotation condition can also be combined, when combination condition meets simultaneously, determine to ignore
This rotating operation to improve judging efficiency, avoids the situation for ignoring operation by mistake.In addition, default rotation condition can also be it
He can be used to judge whether complete condition when time rotating operation, and this is no longer going to repeat them.
In another example, another method for determining operating procedure is also provided, the described method includes:
Switch block is determined compared with the relative position of central shaft according to the spatial movement parameter and relatively rotates angle;
The switch block for determining to be operated in the same face according to the relative position;
According to the relative rotation angle for the switch block that the same face is operated, determine in this time operation to the face switch block in
The operating procedure of mandrel.
Wherein, motion sensor is built-in in central shaft, therefore can be detected according to central shaft in-built motion sensor
Spatial movement parameter and each switch block in-built motion sensor detection spatial movement parameter, it may be determined that switch block compared with
The relative position of central shaft and relative rotation angle.Spatial movement parameter can include the parameter and gyro of displacement sensor detection
The parameter of instrument detection so as to obtain the parameters such as the displacement of central shaft and switch block, direction, rotational angle, and then determines that switch block is opposite
In the relative position of central shaft and relative rotation angle.Due to Intelligent magic cube model structure it has been determined that therefore can according to turn
Block determines the switch block in the same face, and switch block is compared with the relative rotation angle of central shaft compared with the relative position of central shaft
Rotating operation of the user to switch block can be embodied, it therefore, can be with according to the relative rotation angle for the switch block that the same face is operated
Determine the operating procedure to the face switch block compared with central shaft in this time operation.In Intelligent magic cube, each switch block can lead to
It crosses unique identifier to be identified, therefore, the identifier for the switch block that the same face is operated can be included in operating procedure, with
And the rotating operation to the face switch block.
It is understood that when operating every time, a face switch block may be only rotated, it is also possible to rotate multiaspect switch block, work as rotation
During multiaspect switch block, when determining the operating procedure of this operation, it may be determined that the operating procedure of each face switch block operated.
Further, can also whether rotation condition be preset compared with the relative rotation angle-determining of central shaft according to switch block
Meet, if default rotation condition meets, ignore this operation.
Wherein, default rotation condition is for judging the condition whether completed when time rotating operation.For example, default rotation strip
Part can be that switch block is less than minimum rotation threshold value compared with the relative rotation angle of central shaft.Minimum rotation threshold value can be rotated
The minimum angles value rotated needed for an Intelligent magic cube wherein face switch block.
As it can be seen that can work as whether time rotating operation is completed according to angle-determining is relatively rotated, and ignore unfinished operation,
It no longer determines not completing the operating procedure operated, and then improves treatment effeciency.
It is understood that default rotation condition can also be other conditions, as long as can be used to judge when time rotating operation
Whether complete, this is no longer going to repeat them.
Determine operation Intelligent magic cube operating procedure set and operation duration after, can be based on operating procedure set and
Operation duration determines user gradation.
Wherein, user gradation can be used to indicate that user restores the level of Intelligent magic cube.According to the operation in operation duration
Step, it may be determined that user restores the level of Intelligent magic cube, and then obtains user gradation.User gradation is higher, can represent to use
The level that Intelligent magic cube is restored at family is higher, and then the Intelligent magic cube for the non-primary state that complexity can be recommended higher is to use
Family, user gradation is lower, can represent that user restores the horizontal lower of Intelligent magic cube, and then can recommend complexity than relatively low
Non-primary state Intelligent magic cube to user.
It is in an optional realization method, the grade of the operating procedure set and operation duration input prebuild is pre-
Model is surveyed, obtains user gradation.
Wherein, the grade forecast model of prebuild can be for according to operating procedure set and operation duration prediction user
The model of grade.In one example, the grade forecast model can be trained based on training sample set pair neutral net
It obtains, the training sample concentrates every group of training sample to include as the operating procedure sample set of input data and operating time
Sample and the user gradation sample as training objective (label).By the way that training sample set is inputted neutral net, nerve net
Network can learn operating procedure sample set and operating time sample set as input data and the use as training objective
Mapping relations between the grade sample of family, and then obtain grade forecast model.Grade can be obtained by way of machine learning
Prediction model does not repeat one by one herein.
In the application scenarios of Intelligent magic cube and intelligent terminal interactive, intelligent terminal can to the Intelligent magic cube send with
The corresponding control instruction of the user gradation, the control instruction are used to indicate the Intelligent magic cube and carry out display content adjustment,
So that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.It is performed in Intelligent magic cube shown in Figure 1A
During method, can display content adjustment be carried out to each switch block according to user gradation, so that the recovery of the Intelligent magic cube after adjustment
Complexity is corresponding with the user gradation.
Wherein, when the screen to Intelligent magic cube carries out display content adjustment, the purpose of adjustment is to make Intelligent magic cube
The complexity of Intelligent magic cube in non-primary state and non-primary state is matched with user gradation.Wherein, in non-primary
Intelligent magic cube under state can make Intelligent magic cube be in reset condition after recovery operation.As it can be seen that the screen to Intelligent magic cube
Curtain carries out display content adjustment, and the Intelligent magic cube after adjustment is not only corresponding with user gradation, but also the Intelligent magic cube after adjustment
It can restore.
In one of the embodiments, the correspondence of user gradation and non-primary state can be built in advance, and difference is used
Family grade can correspond to different non-primary states, and same user gradation can correspond to one or more non-primary states.It is determining
After user gradation, the screen of intelligent object can be controlled to carry out display content adjustment, so that the non-original of the Intelligent magic cube after adjustment
Beginning state is corresponding with user gradation, so as to obtain the Intelligent magic cube in non-primary state consistent with user's level,
And then user is avoided to lose the interest for restoring Intelligent magic cube due to too difficult or too simple, while upset intelligence manually without user
Magic square improves and upsets efficiency.
Various technical characteristics in embodiment of above can be arbitrarily combined, as long as the combination between feature is not present
Conflict or contradiction, but as space is limited, it is not described one by one, therefore the various technical characteristics in the above embodiment is arbitrary
It is combined the scope for falling within this disclosure.
Correspondingly, for Intelligent magic cube and the application scenarios of intelligent terminal interactive, a kind of magic square controlling party can also be provided
Method is applied in Intelligent magic cube, and each switch block is built-in with to gather the motion-sensing of spatial movement parameter in the Intelligent magic cube
Device, switch block surface are provided with display screen.As shown in Fig. 2, Fig. 2 is another kind evil spirit of the disclosure according to an exemplary embodiment
The flow chart of square control method, comprises the following steps:
In step 201, the spatial movement parameter of the motion sensor acquisition is obtained;
In step 202, the spatial movement parameter is sent to the intelligent terminal with Intelligent magic cube binding;
In step 203, the control instruction that the intelligent terminal returns is received, according to the control instruction to each switch block
Display content adjustment is carried out, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.
Wherein, for the acquisition opportunity of spatial movement parameter, motion-sensing can be obtained when default acquisition condition meets
The spatial movement parameter of device acquisition.Default acquisition condition can be receive acquisition instructions, the conditions such as preset control is triggered.
After Intelligent magic cube gets the spatial movement parameter of each motion sensor acquisition every time, the parameter of acquisition can be sent out
It send to the intelligent terminal bound with Intelligent magic cube.Intelligent terminal can perform method shown in Figure 1A, and then control instruction is returned
To Intelligent magic cube.The present embodiment Intelligent magic cube receives the control instruction that the intelligent terminal returns, according to control instruction to each
Switch block carries out display content adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.
Correspondingly, in order to be better understood from the application scenarios of Intelligent magic cube and intelligent terminal interactive, it is situated between from interactive angle
Continue magic square control method.Each switch block is built-in with to gather the motion sensor of spatial movement parameter in the Intelligent magic cube,
Switch block surface is provided with display screen.As shown in figure 3, Fig. 3 is another magic square of the disclosure according to an exemplary embodiment
The flow chart of control method, the described method comprises the following steps:
In step 301, Intelligent magic cube obtains the spatial movement parameter of the motion sensor acquisition;
In step 302, the spatial movement parameter is sent to the intelligence with Intelligent magic cube binding by Intelligent magic cube
Terminal;
In step 303, spatial movement parameter of the intelligent terminal based on each switch block in Intelligent magic cube is determined described in operation
The operating procedure set of Intelligent magic cube and operation duration;
In step 304, intelligent terminal determines user gradation based on the operating procedure set and operation duration;
In step 305, intelligent terminal generates control instruction according to the user gradation, and control instruction is sent to intelligence
It can magic square.
Within step 306, Intelligent magic cube receives the control instruction that the intelligent terminal returns, according to the control instruction pair
Each switch block carries out display content adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment is opposite with the user gradation
It should.
As seen from the above-described embodiment, big data processing is realized by intelligent terminal, Intelligent magic cube is only responsible for acquisition and is shown
Show that content adjusts, regulated efficiency can be improved, Intelligent magic cube is made quickly to be adjusted to the non-primary state for being suitble to user.
Corresponding with the embodiment of foregoing magic square control method, the disclosure additionally provides magic square control device, device is answered
The embodiment of equipment, Intelligent magic cube and storage medium.
As shown in figure 4, Fig. 4 is a kind of block diagram of magic square control device of the disclosure according to an exemplary embodiment,
Described device includes:
Parameter acquisition module 41 is configured as obtaining the spatial movement parameter of each switch block in Intelligent magic cube.
Information determination module 42 is configured as determining the operation for operating the Intelligent magic cube based on the spatial movement parameter
Set of steps and operation duration.
Level determination module 43 is configured as determining user gradation based on the operating procedure set and operation duration.
Magic square control module 44 is configured as according to the user gradation screen of the Intelligent magic cube being controlled to be shown
Content adjusts, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.
In an optional realization method, the operational step set closes the operating procedure including at least once-through operation, institute
Information determination module 42 is stated to be specifically configured to:
For each operation, the switch block operated in the same face is determined according to the spatial movement parameter, obtains this behaviour
To the operating procedure of the face switch block in work.
As shown in figure 5, Fig. 5 is the frame of another magic square control device of the disclosure according to an exemplary embodiment
Figure, on the basis of foregoing embodiment illustrated in fig. 4, described information determining module 42 includes the embodiment:
First relative information determination sub-module 421, be configured as according to the spatial movement parameter determine switch block compared with
The relative position and movement locus of central shaft.
First coplanar switch block determination sub-module 422 is configured as determining to be operated in the same face according to the relative position
Switch block.
First operating procedure determination sub-module 423 is configured as the movement locus of the switch block operated according to the same face, really
To the face switch block compared with the operating procedure of central shaft in fixed this time operation.
As shown in fig. 6, Fig. 6 is the frame of another magic square control device of the disclosure according to an exemplary embodiment
Figure, on the basis of foregoing embodiment illustrated in fig. 4, described information determining module 42 includes the embodiment:
Second relative information determination sub-module 424, be configured as according to the spatial movement parameter determine switch block compared with
The relative position of central shaft and relative rotation angle.
Second coplanar switch block determination sub-module 425 is configured as determining to be operated in the same face according to the relative position
Switch block.
Second operating procedure determination sub-module 426 is configured as the relative rotation angle of the switch block operated according to the same face
Degree determines the operating procedure to the face switch block compared with central shaft in this time operation.
In an optional realization method, the operating procedure set be operate duration during operating procedure collection
It closes;The operation duration includes at least a kind of following duration:
It is determined using starting to restore the Intelligent magic cube as initial time, to complete to restore the Intelligent magic cube to terminate the time
Duration;
Using start to restore the Intelligent magic cube as initial time, not operate the initial time of the Intelligent magic cube as termination
The duration that time determines, wherein, the time for not operating the Intelligent magic cube is more than set period of time.
In an optional realization method, the level determination module 43 is specifically configured to:
By the operating procedure set and the grade forecast model of operation duration input prebuild, user gradation is obtained;
Wherein, the grade forecast model is trained acquisition, the trained sample based on training sample set pair neutral net
Every group of training sample of this concentration is included as the operating procedure sample set and operating time sample of input data and as instruction
Practice the user gradation sample of target.
In an optional realization method, described device is arranged on the intelligent terminal with Intelligent magic cube binding, described
Magic square control module 44 is specifically configured to:
Control instruction corresponding with the user gradation is sent to the Intelligent magic cube, the control instruction is used to indicate institute
It states Intelligent magic cube and carries out display content adjustment, so that the recovery complexity and the user gradation phase of the Intelligent magic cube after adjustment
It is corresponding.
As shown in fig. 7, Fig. 7 is the frame of another magic square control device of the disclosure according to an exemplary embodiment
Figure, described device are provided with to gather spatial movement parameter in Intelligent magic cube, the Intelligent magic cube in each switch block
Motion sensor, switch block surface are provided with display screen, and described device includes:
Parameter acquisition module 71 is configured as obtaining the spatial movement parameter of the motion sensor acquisition.
Parameter sending module 72 is configured as the spatial movement parameter being sent to the intelligence with Intelligent magic cube binding
It can terminal.
Content adjusts module 73, is configured as receiving the control instruction that the intelligent terminal returns, be referred to according to the control
Order carries out display content adjustment to each switch block, so that the recovery complexity of the Intelligent magic cube after adjustment and the user gradation
It is corresponding.
Correspondingly, the disclosure also provides a kind of electronic equipment, the equipment includes processor;It can for storing processor
The memory executed instruction;Wherein, the processor is configured as:
Obtain the spatial movement parameter of each switch block in Intelligent magic cube;
It determines to operate the operating procedure set of the Intelligent magic cube and operation duration based on the spatial movement parameter;
User gradation is determined based on the operating procedure set and operation duration;
The screen for controlling the Intelligent magic cube according to the user gradation carries out display content adjustment, so that the intelligence after adjustment
The recovery complexity of energy magic square is corresponding with the user gradation.
Correspondingly, the disclosure also provides a kind of Intelligent magic cube, the Intelligent magic cube include be provided with motion sensor and
The switch block of display screen;Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:
Obtain the spatial movement parameter of the motion sensor acquisition;
The spatial movement parameter is sent to the intelligent terminal with Intelligent magic cube binding;
The control instruction that the intelligent terminal returns is received, display content is carried out to each switch block according to the control instruction
Adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.
Correspondingly, the disclosure also provides a kind of computer readable storage medium, computer program is stored thereon with, the program
The step of any of the above-described the method is realized when being executed by processor.
Storage medium (the including but not limited to disk for wherein including program code in one or more can be used in the disclosure
Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer-usable storage medium bag
Permanent and non-permanent, removable and non-removable media is included, can realize that information stores by any method or technique.Letter
Breath can be computer-readable instruction, data structure, the module of program or other data.The example bag of the storage medium of computer
It includes but is not limited to:Phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM),
Other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory
(EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc
(DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-biography
Defeated medium, the information that can be accessed by a computing device available for storage.
The function of modules and the specific details of realization process of effect, which are shown in, in above device corresponds to step in the above method
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The module of explanation may or may not be physically separate, and the component shown as module can be or can also
It is not physical module, you can be located at a place or can also be distributed on multiple network modules.It can be according to reality
It needs that some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As shown in figure 8, Fig. 8 is a kind of device for magic square control of the disclosure according to an exemplary embodiment
Block diagram.The device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet
The terminals such as equipment, Medical Devices, body-building equipment, personal digital assistant.
With reference to Fig. 8, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814 and
Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 802 can refer to including one or more processors 820 to perform
Order, to perform all or part of the steps of the methods described above.In addition, processing component 802 can include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example is included for the instruction of any application program or method that are operated on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Border, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detect opening/closed state of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with a group in detection device 800 or device 800
The position change of part, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 can include proximity sensor, be configured to examine without any physical contact
Survey presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for
It is used in imaging applications.In some embodiments, which can also include acceleration transducer, and gyroscope passes
Sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Wherein, when the instruction in the storage medium is performed by the processor so that device 800 is able to carry out one kind
Magic square control method, including:
Obtain the spatial movement parameter of each switch block in Intelligent magic cube;
It determines to operate the operating procedure set of the Intelligent magic cube and operation duration based on the spatial movement parameter;
User gradation is determined based on the operating procedure set and operation duration;
The screen for controlling the Intelligent magic cube according to the user gradation carries out display content adjustment, so that the intelligence after adjustment
The recovery complexity of energy magic square is corresponding with the user gradation.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
The foregoing is merely the preferred embodiment of the disclosure, not limiting the disclosure, all essences in the disclosure
God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of disclosure protection.
Claims (11)
1. a kind of magic square control method, which is characterized in that the described method includes:
Obtain the spatial movement parameter of each switch block in Intelligent magic cube;
It determines to operate the operating procedure set of the Intelligent magic cube and operation duration based on the spatial movement parameter;
User gradation is determined based on the operating procedure set and operation duration;
The screen for controlling the Intelligent magic cube according to the user gradation carries out display content adjustment, so that the intelligence evil spirit after adjustment
The recovery complexity of side is corresponding with the user gradation.
2. according to the method described in claim 1, it is characterized in that, the operational step set closes the behaviour including at least once-through operation
Make step, it is described when determining to operate operating procedure set and the operation of the Intelligent magic cube based on the spatial movement parameter
It is long, including:
For each operation, the switch block operated in the same face is determined according to the spatial movement parameter, is obtained in this time operation
To the operating procedure of the face switch block.
3. according to the method described in claim 2, it is characterized in that, described operate for each, according to spatial movement ginseng
Number determines the switch block operated in the same face, obtains in this time operation to the operating procedure of the face switch block, including:
Relative position and movement locus of the switch block compared with central shaft are determined according to the spatial movement parameter;
The switch block for determining to be operated in the same face according to the relative position;
According to the movement locus for the switch block that the same face is operated, the behaviour to the face switch block compared with central shaft in this time operation is determined
Make step.
4. according to the method described in claim 2, it is characterized in that, described operate for each, according to spatial movement ginseng
Number determines the switch block operated in the same face, obtains in this time operation to the operating procedure of the face switch block, including:
Switch block is determined compared with the relative position of central shaft according to the spatial movement parameter and relatively rotates angle;
The switch block for determining to be operated in the same face according to the relative position;
According to the relative rotation angle for the switch block that the same face is operated, determine in this time operation to the face switch block compared with central shaft
Operating procedure.
5. method according to any one of claims 1 to 4, which is characterized in that the operating procedure set is operation duration
During operating procedure set;The operation duration includes at least a kind of following duration:
Using start to restore the Intelligent magic cube as initial time, using complete to restore the Intelligent magic cube as terminate that the time determines when
It is long;
Using start to restore the Intelligent magic cube as initial time, not operate the initial time of the Intelligent magic cube to terminate the time
Definite duration, wherein, the time for not operating the Intelligent magic cube is more than set period of time.
6. method according to any one of claims 1 to 4, which is characterized in that it is described based on the operating procedure set and
Operation duration determines user gradation, including:
By the operating procedure set and the grade forecast model of operation duration input prebuild, user gradation is obtained;
Wherein, the grade forecast model is trained acquisition, the training sample set based on training sample set pair neutral net
In every group of training sample include as the operating procedure sample set and operating time sample of input data and as trained mesh
Target user gradation sample.
7. method according to any one of claims 1 to 4, which is characterized in that the method is applied to and the intelligence evil spirit
The intelligent terminal just bound, it is described according to the user gradation screen of the Intelligent magic cube to be controlled to carry out display content adjustment,
So that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation, including:
Control instruction corresponding with the user gradation is sent to the Intelligent magic cube, the control instruction is used to indicate the intelligence
Energy magic square carries out display content adjustment, so that the recovery complexity of the Intelligent magic cube after adjustment is opposite with the user gradation
It should.
8. a kind of magic square control method, which is characterized in that the method is applied to Intelligent magic cube, each turns in the Intelligent magic cube
It is provided with to gather the motion sensor of spatial movement parameter in block, switch block surface is provided with display screen, the described method includes:
Obtain the spatial movement parameter of the motion sensor acquisition;
The spatial movement parameter is sent to the intelligent terminal with Intelligent magic cube binding;
The control instruction that the intelligent terminal returns is received, display content tune is carried out to each switch block according to the control instruction
It is whole, so that the recovery complexity of the Intelligent magic cube after adjustment is corresponding with the user gradation.
9. a kind of electronic equipment, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:It performs such as the step of any one of claim 1 to 7 the method.
10. a kind of Intelligent magic cube, which is characterized in that including:
It is provided with the switch block of motion sensor and display screen;
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The step of performing method as claimed in claim 8.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The step of any one of claim 1 to 8 the method is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711350221.1A CN108079581A (en) | 2017-12-15 | 2017-12-15 | Intelligent magic cube, magic square control method, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711350221.1A CN108079581A (en) | 2017-12-15 | 2017-12-15 | Intelligent magic cube, magic square control method, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108079581A true CN108079581A (en) | 2018-05-29 |
Family
ID=62176736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711350221.1A Pending CN108079581A (en) | 2017-12-15 | 2017-12-15 | Intelligent magic cube, magic square control method, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108079581A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108647689A (en) * | 2018-06-01 | 2018-10-12 | 中国科学院福建物质结构研究所 | Magic square restored method and its device based on GoogLeNet neural networks |
CN108830908A (en) * | 2018-06-15 | 2018-11-16 | 天津大学 | A kind of magic square color identification method based on artificial neural network |
CN109470949A (en) * | 2018-10-16 | 2019-03-15 | 北京小米移动软件有限公司 | The detection method and device of Intelligent magic cube |
CN110368670A (en) * | 2019-01-18 | 2019-10-25 | 佛山市计客创新科技有限公司 | Intelligent axis, Intelligent magic cube and its clocking method |
CN111311971A (en) * | 2020-03-31 | 2020-06-19 | 齐鲁工业大学 | Educational teaching aid capable of self-adjusting motion state and control method |
CN114565818A (en) * | 2022-02-15 | 2022-05-31 | 广州淦源智能科技有限公司 | Intelligent magic cube rotation state monitoring method and system based on MCU chip |
EP3928843A4 (en) * | 2019-02-19 | 2022-11-16 | Geniewoos Inc. | Smart cube and method for operating same |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4872682A (en) * | 1987-11-17 | 1989-10-10 | Ravi Kuchimanchi | Cube puzzle with moving faces |
CN1273395A (en) * | 1999-05-10 | 2000-11-15 | 战斗拓扑株式会社 | Class service device and method for on-line game |
CN101291711A (en) * | 2005-10-20 | 2008-10-22 | 皇家飞利浦电子股份有限公司 | Game with programmable light emitting segments |
CN103394191A (en) * | 2013-05-13 | 2013-11-20 | 重庆大学 | Electronic three-order magic cube game system |
CN105413170A (en) * | 2015-11-26 | 2016-03-23 | 北京像素软件科技股份有限公司 | Dynamic adjustment method and device for game difficulty |
CN106422295A (en) * | 2016-09-27 | 2017-02-22 | 珠海格力智能装备有限公司 | Method and device for processing difficulty level of playing chess and robot |
-
2017
- 2017-12-15 CN CN201711350221.1A patent/CN108079581A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4872682A (en) * | 1987-11-17 | 1989-10-10 | Ravi Kuchimanchi | Cube puzzle with moving faces |
CN1273395A (en) * | 1999-05-10 | 2000-11-15 | 战斗拓扑株式会社 | Class service device and method for on-line game |
CN101291711A (en) * | 2005-10-20 | 2008-10-22 | 皇家飞利浦电子股份有限公司 | Game with programmable light emitting segments |
CN103394191A (en) * | 2013-05-13 | 2013-11-20 | 重庆大学 | Electronic three-order magic cube game system |
CN105413170A (en) * | 2015-11-26 | 2016-03-23 | 北京像素软件科技股份有限公司 | Dynamic adjustment method and device for game difficulty |
CN106422295A (en) * | 2016-09-27 | 2017-02-22 | 珠海格力智能装备有限公司 | Method and device for processing difficulty level of playing chess and robot |
Non-Patent Citations (1)
Title |
---|
李通: ""数字化游戏的动态难度调整模型建构"", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108647689A (en) * | 2018-06-01 | 2018-10-12 | 中国科学院福建物质结构研究所 | Magic square restored method and its device based on GoogLeNet neural networks |
CN108830908A (en) * | 2018-06-15 | 2018-11-16 | 天津大学 | A kind of magic square color identification method based on artificial neural network |
CN109470949A (en) * | 2018-10-16 | 2019-03-15 | 北京小米移动软件有限公司 | The detection method and device of Intelligent magic cube |
CN109470949B (en) * | 2018-10-16 | 2021-06-04 | 北京小米移动软件有限公司 | Detection method and device of intelligent magic cube |
CN110368670A (en) * | 2019-01-18 | 2019-10-25 | 佛山市计客创新科技有限公司 | Intelligent axis, Intelligent magic cube and its clocking method |
EP3928843A4 (en) * | 2019-02-19 | 2022-11-16 | Geniewoos Inc. | Smart cube and method for operating same |
CN111311971A (en) * | 2020-03-31 | 2020-06-19 | 齐鲁工业大学 | Educational teaching aid capable of self-adjusting motion state and control method |
CN111311971B (en) * | 2020-03-31 | 2021-11-26 | 齐鲁工业大学 | Educational teaching aid capable of self-adjusting motion state and control method |
CN114565818A (en) * | 2022-02-15 | 2022-05-31 | 广州淦源智能科技有限公司 | Intelligent magic cube rotation state monitoring method and system based on MCU chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108079581A (en) | Intelligent magic cube, magic square control method, equipment and storage medium | |
CN109670397A (en) | Detection method, device, electronic equipment and the storage medium of skeleton key point | |
CN104383674B (en) | Counting method and device used for intelligent wearing equipment as well as intelligent wearing equipment | |
CN106375772B (en) | Video broadcasting method and device | |
CN104468329B (en) | Member adding method and device based on instant messaging | |
CN106228339B (en) | Control method and device for learning mode of mobile equipment and mobile equipment | |
CN107832836B (en) | Model-free deep reinforcement learning exploration method and device | |
CN105389304B (en) | Event Distillation method and device | |
CN103944804B (en) | Contact recommending method and device | |
JP6843359B2 (en) | Video display device and video display method (DEVICE AND METHOD OF DISPLAYING IMAGES) | |
CN105117008B (en) | Guiding method of operating and device, electronic equipment | |
CN104216630B (en) | interface sharing method and device | |
CN108744516A (en) | Obtain method and apparatus, storage medium and the electronic device of location information | |
CN104464238B (en) | Method of controlling operation thereof and device between mobile terminal | |
CN106993229A (en) | Interactive attribute methods of exhibiting and device | |
CN106296690A (en) | The method for evaluating quality of picture material and device | |
CN104317647B (en) | Application function implementation method, device and terminal | |
CN107845062A (en) | image generating method and device | |
CN107970607B (en) | Information display method, information display equipment, intelligent magic cube and storage medium | |
CN106310641A (en) | Motion scheme recommendation method and device | |
CN107527024A (en) | Face face value appraisal procedure and device | |
CN109360197A (en) | Processing method, device, electronic equipment and the storage medium of image | |
CN113655935B (en) | User determination method, electronic device and computer readable storage medium | |
CN107102801A (en) | Terminal screen spinning solution and device | |
CN106203306A (en) | The Forecasting Methodology at age, device and 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 |