CN109350958A - The control method of terminal and terminal, computer readable storage medium - Google Patents

The control method of terminal and terminal, computer readable storage medium Download PDF

Info

Publication number
CN109350958A
CN109350958A CN201811444756.XA CN201811444756A CN109350958A CN 109350958 A CN109350958 A CN 109350958A CN 201811444756 A CN201811444756 A CN 201811444756A CN 109350958 A CN109350958 A CN 109350958A
Authority
CN
China
Prior art keywords
state
magic cube
intelligent magic
actual mechanical
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811444756.XA
Other languages
Chinese (zh)
Other versions
CN109350958B (en
Inventor
孙永利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811444756.XA priority Critical patent/CN109350958B/en
Publication of CN109350958A publication Critical patent/CN109350958A/en
Application granted granted Critical
Publication of CN109350958B publication Critical patent/CN109350958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F9/00Games not otherwise provided for
    • A63F9/06Patience; Other games for self-amusement
    • A63F9/08Puzzles provided with elements movable in relation, i.e. movably connected, to each other
    • A63F9/0826Three-dimensional puzzles with slidable or rotatable elements or groups of elements, the main configuration remaining unchanged, e.g. Rubik's cube
    • A63F9/0838Three-dimensional puzzles with slidable or rotatable elements or groups of elements, the main configuration remaining unchanged, e.g. Rubik's cube with an element, e.g. invisible core, staying permanently in a central position having the function of central retaining spider and with groups of elements rotatable about at least three axes intersecting in one point
    • A63F9/0842Three-dimensional puzzles with slidable or rotatable elements or groups of elements, the main configuration remaining unchanged, e.g. Rubik's cube with an element, e.g. invisible core, staying permanently in a central position having the function of central retaining spider and with groups of elements rotatable about at least three axes intersecting in one point each group consisting of again a central element and a plurality of additional elements rotatable about three orthogonal axes at both ends, the additional elements being rotatable about at least two axes, e.g. Rubik's cube

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides the control methods of a kind of terminal and terminal, computer readable storage medium.The control method includes obtaining Intelligent magic cube to turn from first state to the second state and actually turn number;It more actually turns number and presets and turn number, the default number that turns is that preset turn Intelligent magic cube to needed for the second state from first state turns number;When actually turn number be greater than it is default turn number when, show optimization operating process.Number will be actually turned to turn number with default and be compared, if actually turn number be greater than it is default turn number if show that during turning Intelligent magic cube from first state to the second state, the operation of user can be simplified more there are the less optimization operating process of required step.By showing the optimization operating process, allow user that Intelligent magic cube to be turned to the ability for facilitating user to promote recovery magic square to the second state from first state with the less number that turns.

Description

The control method of terminal and terminal, computer readable storage medium
Technical field
This disclosure relates to field of terminal, in particular to control method, the computer-readable storage medium of a kind of terminal and terminal Matter.
Background technique
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 usually square, by 1 A central axis (core block), 6 central blocks, 12 rib blocks (side block), 8 hornblocks are constituted.When they are combined Each part, which can check and balance, to 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.
User, which generally requires to reduce to the greatest extent, restores number that magic square is turned to promote the ability for restoring magic square, but selects Number operation few as far as possible is turned out, it is more difficult to novice users.
Summary of the invention
The embodiment of the present disclosure provides control method, the computer readable storage medium of a kind of terminal and terminal, Neng Goufang Just user promotes the ability for restoring magic square.The technical solution is as follows:
In a first aspect, the embodiment of the present disclosure provides a kind of control method of terminal, comprising:
Acquisition Intelligent magic cube, which is turned from first state to the second state, actually turns number;
Compare it is described actually turn number and it is default turn number, the default number that turns is preset by the intelligence Magic square turns to needed for second state from the first state and turns number;
When it is described actually turn number be greater than it is described it is default turn number when, show that optimization operating process, the optimization are grasped It include default turning number with described and turning the Intelligent magic cube to second state from the first state as process Institute is stateful.It is turned from first state to the second state by acquisition Intelligent magic cube and actually turns number, will actually turned secondary It is several to turn number with default and be compared, if actually turn number be greater than preset turn number if show by Intelligent magic cube from First state turn to the second state during there are the less optimization operating process of required step, the operation of user can be more It simplifies.By showing the optimization operating process, twist user Intelligent magic cube from first state with the less number that turns It moves and user is facilitated to promote the ability for restoring magic square to the second state.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
It is described acquisition Intelligent magic cube from first state turn to the second state actually turn number before, by the intelligence The original state of energy magic square is set as the first state, and the reset condition of the Intelligent magic cube is set as the second state.It is logical It crosses and original state is set as first state, reset condition is set as the second state, the optimization operation shown in this way is exactly The complete procedure that magic square is restored from original state learns complete recuperation convenient for user.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
Obtain and show that the actual mechanical process of the Intelligent magic cube, the actual mechanical process include the Intelligent magic cube Under user's operation from original state change to reset condition institute it is stateful;
Two different states point are selected from multiple states of the Intelligent magic cube shown according to user instructions It is not set as the first state and second state.First state and the second shape are selectively set according to user instructions State, in this way optimization operation are exactly a part in complete recuperation, targetedly learn a portion behaviour convenient for user Make process.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
The actual mechanical process of the Intelligent magic cube is obtained, the actual mechanical process includes the Intelligent magic cube in user Under operation from original state change to reset condition institute it is stateful;
Determine that the Optimum Operation process of the Intelligent magic cube, the Optimum Operation process include at least to turn number for institute State Intelligent magic cube from original state turn to reset condition institute it is stateful;
The Optimum Operation process is compared with the actual mechanical process, with the determination first state and described Second state, the first state are first state different from the Optimum Operation process in the actual mechanical process Last status, second state are n-th of state reciprocal in the actual mechanical process, in the actual mechanical process Last n state is identical as the last n state during the Optimum Operation, wherein n for the integer more than or equal to 1 in this way User can learn the one section operation different from during Optimum Operation by terminal, entirely restore without completely learning Process.
It is described by the Optimum Operation process and the reality in a kind of possible implementation of the embodiment of the present disclosure Operating process compares, with the determination first state and second state, comprising:
Since the original state, the actual mechanical process and described optimal is compared one by one according to operating time sequence State in operating process, by first in actual mechanical process described in comparison process with during the Optimum Operation not The previous state of same state is determined as the first state;
Since the reset condition, the actual mechanical process and described optimal is compared one by one according to operating time backward State in operating process is different from during the Optimum Operation by first in actual mechanical process described in comparison process State previous state as second state.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
Before showing the optimization operating process, the optimization is determined according to the first state, second state Operating process.Intelligent magic cube can have a variety of different states, can be by Intelligent magic cube from one kind by turning Intelligent magic cube State turns another state, and Intelligent magic cube is turned there are many operating process to the second state from first state, can be with At least one operation is selected from a variety of operating process as optimization operating process, in order to be shown.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
When the current state of the Intelligent magic cube is a state in the optimization operating process, and the current state Retention time be more than preset time threshold when, show it is described optimization operating process in NextState.Learn in this way in user Optimize in operating process, the NextState in optimization operating process can be shown when user has forgotten subsequent operating process, To give user reminding.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
Receive mode of learning open command;
The mode of learning sign on is used to when the current state of the Intelligent magic cube be in the optimization operating process A state when, show it is described optimization operating process in NextState.It is indicated after receiving mode of learning open command User starts study optimization operation can facilitate user to learn by showing the NextState in optimization operating process.
Second aspect, the embodiment of the present disclosure provide a kind of terminal, and the terminal includes:
Module is obtained, is turned to the second state from first state for obtaining Intelligent magic cube and actually turns number;
Processing module, for it is more described actually turn number and it is default turn number, it is described that default to turn number be pre- If the Intelligent magic cube turned from the first state to needed for second state turn number;
Display module, for when it is described actually turn number be greater than it is described it is default turn number when, show that optimization operated Journey, the optimization operating process include default being turned number with described and turning the Intelligent magic cube to institute from the first state The institute for stating the second state is stateful.It is turned from first state to the second state by acquisition Intelligent magic cube and actually turns number, Number will be actually turned to turn number with default and be compared, if actually turn number be greater than it is default turn number if show There are the less optimization operating process of required step, users during Intelligent magic cube is turned from first state to the second state Operation can more simplify.By showing the optimization operating process, allow user with the less number that turns by Intelligent magic cube It is turned from first state and user is facilitated to promote the ability for restoring magic square to the second state.
In a kind of possible implementation of the embodiment of the present disclosure, which further includes state selection module, the shape State selecting module be used for it is described acquisition Intelligent magic cube from first state turn to the second state actually turn number before, will The original state of the Intelligent magic cube is set as the first state, and the reset condition of the Intelligent magic cube is set as the second shape State.By the way that original state is set as first state, reset condition is set as the second state, the optimization operation shown in this way It is exactly the complete procedure for restoring magic square from original state, learns complete recuperation convenient for user.
In a kind of possible implementation of the embodiment of the present disclosure, the acquisition module is also used to obtain the intelligence evil spirit Side actual mechanical process, the actual mechanical process include the Intelligent magic cube under user's operation from original state change to The institute of reset condition is stateful;
The display module is also used to show the actual mechanical process of the Intelligent magic cube;
The terminal further includes state selection module, for according to user instructions from the more of the Intelligent magic cube shown Two different states are selected in a state is respectively set as the first state and second state.According to user instructions First state and the second state are selectively set, and optimization operation in this way is exactly a part in complete recuperation, is convenient for User targetedly learns a portion operating process.
In a kind of possible implementation of the embodiment of the present disclosure, the acquisition module is also used to obtain the intelligence evil spirit Side actual mechanical process, the actual mechanical process include the Intelligent magic cube under user's operation from original state change to The institute of reset condition is stateful;
The processing module is also used to determine that the Optimum Operation process of the Intelligent magic cube, the Optimum Operation process include It is stateful that institute to reset condition is turned from original state at least to turn number for the Intelligent magic cube, and by the optimal behaviour Make process to compare with the actual mechanical process, with the determination first state and second state, first shape State be the actual mechanical process in first state different from the Optimum Operation process Last status, described second State is n-th of state reciprocal in the actual mechanical process, the last n state in the actual mechanical process with it is described most Last n state in excellent operating process is identical, wherein n is the integer more than or equal to 1.User can be by terminal in this way The one section operation different from during Optimum Operation is practised, without completely learning the process entirely restored.
In a kind of possible implementation of the embodiment of the present disclosure, the processing module from the original state for opening Begin, compares the state during the actual mechanical process and the Optimum Operation one by one according to operating time sequence, will compare The previous state of the state different from during the Optimum Operation of first in the actual mechanical process determines in the process For the first state;Since the reset condition, according to operating time backward compare one by one the actual mechanical process and State during the Optimum Operation, by first in actual mechanical process described in comparison process and the Optimum Operation mistake The previous state of different states is as second state in journey.
In a kind of possible implementation of the embodiment of the present disclosure, the processing module is also used to showing the optimization Before operating process, the optimization operating process is determined according to the first state, second state.Intelligent magic cube can have There are many different states, can be turned Intelligent magic cube to another state from a kind of state by turning Intelligent magic cube, will Intelligent magic cube is turned from first state there are many operating process to the second state, can be selected from a variety of operating process to A kind of few operation is as optimization operating process, in order to be shown.
In a kind of possible implementation of the embodiment of the present disclosure, the display module is also used to working as when Intelligent magic cube Preceding state is a state in the optimization operating process, and the retention time of the current state is more than preset time threshold When, show the NextState in the optimization operating process.Learn in optimization operating process in user in this way, when user forgets The NextState in optimization operating process can be shown when subsequent operating process, to give user reminding.
In a kind of possible implementation of the embodiment of the present disclosure, which can also include receiving module, for connecing Mode of learning open command is received, the display module is also used to after receiving the mode of learning open command, when the intelligence The current state of magic square is to show the NextState in the optimization operating process when optimizing a state in operating process. Indicate that user starts study optimization operation after receiving mode of learning open command, under showing in optimization operating process One state can facilitate user to learn.
The third aspect, the embodiment of the present disclosure provide a kind of terminal, comprising:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to the step of executing the control method of terminal as described in relation to the first aspect.
Fourth aspect, the embodiment of the present disclosure provide a kind of computer readable storage medium, the computer-readable storage Medium includes at least one instruction, when at least one instruction is executed by processor, executes terminal as described in relation to the first aspect Control method.
The technical solution bring beneficial effect that the embodiment of the present disclosure provides includes at least: by obtaining Intelligent magic cube from the One state turns to the second state and actually turns number, will actually turn number and turns number with default and be compared, if It actually turns number and is greater than and default turn number and then show Intelligent magic cube turning the process to the second state from first state In there are the less optimization operating process of required step, the operation of user can be simplified more.By showing the optimization operating process, It turns user Intelligent magic cube to the second state from first state with the less number that turns, facilitates user to be promoted and restore The ability of magic square.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the embodiment of the present disclosure, will make below to required in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present disclosure, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of structural schematic diagram for terminal that the embodiment of the present disclosure provides;
Fig. 2 is the structural schematic diagram for the three rank magic square of one kind that the embodiment of the present disclosure provides;
Fig. 3 is the structural schematic diagram for another terminal that the embodiment of the present disclosure provides;
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present disclosure provides;
Fig. 5 is a kind of control method flow chart for terminal that the embodiment of the present disclosure provides;
Fig. 6 is a kind of control method flow chart for terminal that the embodiment of the present disclosure provides;
Fig. 7 is a kind of control method flow chart for terminal that the embodiment of the present disclosure provides;
Fig. 8 is a kind of structural schematic diagram for terminal that the embodiment of the present disclosure provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
It should be noted that in the present embodiment, the state of Intelligent magic cube refers to the color on each of which magic square face point Cloth situation.
Fig. 1 is a kind of structural schematic diagram for terminal that the embodiment of the present disclosure provides.As shown in Figure 1, the terminal 100 includes obtaining Modulus block 10, processing module 20 and display module 30.
Acquisition module 10, which is used to obtain Intelligent magic cube to turn from first state to the second state, actually turns number.Processing Module 20 turns number for more actually turning number and presetting.Wherein, it is preset by Intelligent magic cube for presetting and turning number It turns from first state to needed for the second state and turns number.30 display modules are greater than default twist for ought actually turn number When dynamic number, optimization operating process is shown.Optimization operating process includes turning number for Intelligent magic cube from first state with default Turn the operating process to the second state.
The embodiment of the present disclosure is turned to the second state from first state by acquisition Intelligent magic cube and actually turns number, will Number is actually turned to turn number with default and be compared, if actually turn number be greater than it is default turn number if show will Intelligent magic cube from first state turn to the second state during there are the less optimization operating process of required step, user's Operation can be simplified more.By showing the optimization operating process, allow user with it is less turn number by Intelligent magic cube from First state is turned facilitates user to promote the ability for restoring magic square to the second state.
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..With three common rank magic squares For (as shown in Figure 2), for magic square tool there are six face, each face has nine color lumps, altogether with the color lump of six kinds of colors on magic square. After reconstruction, nine color lump colors on the same face are identical for magic square.The state of magic square can refer to the position of each switch block of magic square Relationship, when the positional relationship difference of each switch block in the magic square of positional relationship and recovery between switch block, magic square at least there are two There are two types of the color lumps of color for mask.
Intelligent magic cube may include several switch blocks, and each switch block is built-in with motion sensor, and motion sensor can be with Obtain the spatial movement parameter of each switch block in Intelligent magic cube.Spatial movement parameter can be the ginseng for describing switch block movement Number.It is adopted for example, spatial movement parameter can be the parameter of displacement sensor acquisition, the parameter of gyroscope acquisition, direction sensor One of parameter of collection is a variety of.During rotating Intelligent magic cube, the motion sensor in switch block being rotated is inevitable Detect spatial movement parameter, the motion sensor not being rotated in switch block may can't detect spatial movement parameter, Huo Zhekong Between kinematic parameter it is constant, or the spatial movement parameter that detects is the kinematic parameter of entire Intelligent magic cube, therefore, Ke Yigen It is determined according to the spatial movement parameter of switch block each in Intelligent magic cube and is rotated switch block, and then determine that user turns the behaviour of Intelligent magic cube Make process.
In a kind of possible implementation of the embodiment of the present disclosure, terminal 100 can be communicated with Intelligent magic cube, intelligence evil spirit Side can send the spatial movement parameter that motion sensor is got to terminal 100, and terminal 100 passes through the spatial movement parameter Determine that user turns the operating process of Intelligent magic cube.The behaviour of Intelligent magic cube can be turned according to the user determined by obtaining module 10 Make process, gets Intelligent magic cube and turn from first state to the second state and actually turn number.
Optionally, Intelligent magic cube can be close by the transmission modes such as bluetooth, WiFi (Wireless Fidelity) network and terminal 100 Distance communication, Intelligent magic cube can also carry out telecommunication by server and terminal 100.
Optionally, which can be but be not limited to, and can be smart phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), E-book reader, multimedia player, Intelligent bracelet.
The first state of Intelligent magic cube can be the free position in addition to reset condition, it can be the first of Intelligent magic cube Beginning state (i.e. user do not have started Intelligent magic cube when turning Intelligent magic cube state), after being also possible to turn several times but still The state of Intelligent magic cube when not restoring.Second state can be reset condition, after being also possible to turn several times but not yet multiple The state of Intelligent magic cube when former.Second state can be the state than first state closer to reset condition.Wherein, than first State refers to closer to reset condition turns at least turning number and be less than to reset condition from the second state for Intelligent magic cube It turns from first state to reset condition and at least turns number.For example, turning Intelligent magic cube from the second state to recovery shape The least number that turns required for state is denoted as a times, by Intelligent magic cube from first state turn to required for reset condition most Few number that turns is denoted as b times, then a < b.
Obtaining module 10 can be also used for obtaining the actual mechanical process of Intelligent magic cube.Actual mechanical process includes intelligence evil spirit Side under user's operation from original state change to reset condition institute it is stateful.Display module 30 can be also used for showing intelligence The actual mechanical process of magic square.The actual mechanical process that Intelligent magic cube is shown by display module 30, it is more straight to can be used family The every single stepping for knowing oneself seen facilitates user to compare actual mechanical process with optimization operating process, is conducive to User improves the ability for restoring magic square.
Fig. 3 is the structural schematic diagram for another terminal that the embodiment of the present disclosure provides.As shown in figure 3, the terminal 100 may be used also To include logging modle 40, logging modle 40 is for recording the actual mechanical process of Intelligent magic cube.Terminal 100 can be according to sky Between after kinematic parameter determines the operation that user turns Intelligent magic cube, record determined operation.Obtaining module 10 can be with The actual mechanical process of Intelligent magic cube is got by logging modle 40.
Illustratively, Intelligent magic cube shown in Fig. 2 is made of 1 core block, 6 central blocks, 12 rib blocks, 8 hornblocks, Totally 27 switch blocks establish 3 d space coordinate, reference axis X, reference axis Y and reference axis Z are respectively along intelligence by taking the Intelligent magic cube as an example Three ribs of energy magic square.Due to being every time 9 switch blocks for rotating same layer, along the 3 of X-axis positive direction when rotating Intelligent magic cube Layer switch block can be X1, X2, X3 with number consecutively, similarly, 3 layers of switch block along Y-axis square can be Y1, Y2 with number consecutively, Y3,3 layers of switch block along Z axis square can be Z1, Z2, Z3 with number consecutively.It is counterclockwise for positive direction when with reverse reference axis, Combine the number of every layer of switch block and the angle of rotation that can record and turn next time in this way.For example, when according to spatial movement Parameter determines that one layer of switch block for numbering as Z3 in Fig. 2 is turned 90 ° along arrow J by user about the z axis, then this time, which turns, can recorde It can recorde for (Z3 ,+90 °) if the opposite direction by this layer of switch block along arrow J turns 90 ° about the z axis as (Z3, -90 °).It is logical That determines under overwriting turns each time, so that it may record the operation that determined user turns Intelligent magic cube.Accordingly Ground, optimizing can also indicate to turn each time in the same way in operation.
Optionally, display module 30 can be used for showing optimization operation in a manner of at least one of voice, picture, animation Process.Optimization operating process is shown in a manner of at least one of voice, picture or animation, and user's study is facilitated to operate to optimization Process improves the ability for restoring magic square.
Illustratively, optimization operating process can be played in a manner of voice, turned time with informing that user such as how presets Intelligent magic cube is turned the operating process to the second state from first state by number.Or it can also be shown by the way of picture excellent Change operating process, such as can successively be shown with picture after often turning an Intelligent magic cube, Intelligent magic cube since first state State, can also indicate turn the direction of Intelligent magic cube every time with arrow.Or intelligence can also be played in animated way Magic square turns the process to the second state from first state.It additionally can be with the two ways in voice, picture, animation simultaneously The displaying of operating process is optimized, to facilitate user to understand optimization operating process.Display module 30 can be also used for showing real Border operating process, display module 30 can also show actual mechanical process in a manner of at least one of voice, picture, animation.
In a kind of possible implementation of the embodiment of the present disclosure, display module 30 can the exhibition at least in the form of animation Show actual mechanical process.As shown in figure 4, each frame picture 301 of the animation shows that a state of Intelligent magic cube (saves in Fig. 4 Part picture is omitted in contracted notation expression), which may include showing the first frame picture for having original state and showing useful The multiframe picture of the state of Intelligent magic cube after family turns every time successively plays out all pictures 301 using the time as sequence The actual mechanical process that user turns Intelligent magic cube can be shown.For example, user turns Intelligent magic cube 15 times, then showing The animation that user turns the actual mechanical process of Intelligent magic cube just includes 16 frame pictures 301.This exhibition method was not only simple but also straight It sees, user is facilitated to check.
Optionally, animation can also include multiframe transition picture, and transition photo exhibition is shown with Intelligent magic cube and becomes from a kind of state Change the process to another state.At least inserted with one between two pictures of two kinds of different conditions for showing Intelligent magic cube Transition picture can make animation more smooth in this way, and user is facilitated more intuitively to find out the rotation of Intelligent magic cube.
The terminal 100 can also include state selection module 50.In a kind of possible implementation of the embodiment of the present disclosure In, state selection module 50 can be used for the original state of Intelligent magic cube being set as first state, by the recovery of Intelligent magic cube State is set as the second state.For display module 30 in this way when showing optimization operation, what is shown is exactly a recovery intelligence evil spirit The complete operation of side, user may learn the complete operation for restoring Intelligent magic cube.Illustratively, it can select to refer to according to state It enables and determines original state.When state selection module 50 receives state selection instructions, state selection instructions can will be received When Intelligent magic cube state be set to original state.State selection instructions can be manually entered according to user.
In the alternatively possible implementation of the embodiment of the present disclosure, state selection module 50 can be used for according to user Instruction selects two different states from multiple states of the Intelligent magic cube shown and is respectively set as first state and the Two-state.The actual mechanical process of the available Intelligent magic cube of module 10 is obtained, display module 30 can show Intelligent magic cube Actual mechanical process, user select two different states as according to the actual mechanical process of shown Intelligent magic cube One state and the second state can be convenient user and targetedly learn to restore the part operation process during magic square.
Such as shown in Fig. 4, user, which turns the displaying of each frame picture 301 in the animation of the operation of Intelligent magic cube, intelligent evil spirit A kind of state of side can be convenient user and select two states from the state that multiframe picture 301 is shown respectively as the One state and the second state.
In the alternatively possible implementation of the embodiment of the present disclosure, processing module 20 can be also used for determining intelligence evil spirit The Optimum Operation process of side, and Optimum Operation process is compared with actual mechanical process, to determine first state and second State.Here Optimum Operation process includes the institute turned from original state at least to turn number for Intelligent magic cube to reset condition It is stateful.First state is a upper shape for first state different from the Optimum Operation process in actual mechanical process State, the second state are n-th of state reciprocal in actual mechanical process, last n state and optimal behaviour in actual mechanical process Last n state during work is identical, wherein n is the integer more than or equal to 1.In this way user can by terminal learn with Different one section operation during Optimum Operation, without completely learning the process entirely restored.
Illustratively, Optimum Operation process is being compared with actual mechanical process, to determine first state and second When state, actual mechanical process and Optimum Operation process can be compared one by one according to operating time sequence since original state In state, by first state different from during the Optimum Operation in actual mechanical process described in comparison process Previous state be determined as first state.Since reset condition, actual mechanical process is compared one by one according to operating time backward With the state during Optimum Operation, by first in actual mechanical process described in comparison process and the Optimum Operation process The previous state of middle different state is as the second state.It is a certain in comparison process when being compared according to operating time sequence The previous state of state be in operation between sequence laststate;When being compared according to operating time backward, comparison process In a certain state previous state be in operation between sequence NextState.
It needs to turn Intelligent magic cube 18 times altogether for example, user restores the Intelligent magic cube in original state, and restores It is 14 times that the Optimum Operation process of the Intelligent magic cube in the original state needed, which turns number,.By by Optimum Operation process It is compared with the actual mechanical process of the user recorded.
First state different from Optimum Operation process is to turn intelligence after Intelligent magic cube the 6th time in actual mechanical process The state of magic square, therefore illustrate in actual mechanical process, the 1st~5 time in the 1st~5 mode and Optimum Operation turned is twisted Dynamic mode is identical, and the 6th mode turned of the 6th mode turned and Optimum Operation process in actual mechanical process Difference, the laststate of the state of the magic square after the 6th time being turned, i.e. the 5th turn the state of rear magic square as first State.
The state different from Optimum Operation process of the last one in actual mechanical process is that the 4th reciprocal turns Intelligent magic cube The state of Intelligent magic cube afterwards, therefore illustrate in actual mechanical process, in the 1st~3 mode and Optimum Operation turned reciprocal 1st~3 mode turned reciprocal is identical, and the mode that the 4th reciprocal in actual mechanical process turns and Optimum Operation mistake The mode that the 4th reciprocal of journey turns is different, the NextState of the state of the magic square after the 4th reciprocal being turned falls Number the 4th turns the state of rear magic square as the second state.User just only needs to learn Intelligent magic cube from first state in this way The optimization operation to the second state is turned, process simplification is turned by intermediate 9 times and turns process to 5 times, improve and restore magic square Ability.
Processing module 20 can be also used for determining optimization operating process according to first state, the second state.Intelligent magic cube can Intelligent magic cube can be turned from a kind of state to another shape by turning Intelligent magic cube with a variety of different states State.Intelligent magic cube is turned there are many operations to the second state from first state, can be selected from a variety of operating process At least one operation is as optimization operating process, in order to be shown.It is turned as required for different operating process secondary Number may be different, thus can also according to it is default turn number selected from a variety of operating process it is at least one meet it is default stubborn The optimization operating process of the requirement of dynamic number is shown.It, can be according to user instructions when there are a variety of optimization operating process One is selected from multiple optimization operating process, so that display module 30 is shown.Here, it presets and turns number and can be The different from number is at least turned of user setting turn number.
As shown in figure 3, the terminal 100 can also include setting module 60.Setting module 60 is for setting default turn time Number.The user different for qualification, Intelligent magic cube is turned from first state to required for the second state and turns number May be different, user lower for proficiency, it may be difficult to once the least optimization operation of number is turned with regard to grasping, by setting Set setting module 60, allow user manually set it is default turn number, thus default can turn number according to set It determines appropriate optimization operating process, user is facilitated to improve the ability for restoring magic square by easy stages.User is setting manually It is fixed default both to directly input the number turned when turning number, to learn the optimization operating process that difference turns number, It directly will can at least turn number and be set as default and turn number, to learn Optimum Operation process.
Optionally, required for processing module 20 can also determine Optimum Operation process according to first state and the second state Turn number, display module 30 can be shown to turning number needed for Optimum Operation process and giving.User is facilitated to exist in this way Setting, which is preset when turning number, a lower limit value.
Illustratively, the Intelligent magic cube in original state is restored and needs to turn Intelligent magic cube 18 times altogether by user, and The number that turns for restoring the Optimum Operation process needs of the Intelligent magic cube in the original state is 14 times.It then presets and turns number It can be 14,15,16 or 17.By be arranged it is different it is default turn number, user can learn different optimization operations, pass through A variety of recuperations that user skillfully grasps Intelligent magic cube can be conducive to the study of Different Optimization operation, improve and restore magic square Ability.
Optionally, processing module 20 can be also used for being scanned in the database to determine and optimize operating process, data Library is at least one of terminal database or cloud database.Intelligent magic cube is turned into the behaviour to the second state from first state Make there are many processes, a variety of operating process are all stored in database profession, acquisition that can be simple and quick by way of search To optimization operating process.
Illustratively, multiple set can store in database, each set includes indicating respectively Intelligent magic cube not First element of same two states and second element, instruction turn Intelligent magic cube to another from one of two states state A kind of third element for turning number of state, instruction turn Intelligent magic cube to another kind from one of two states state The fourth element of the operating process of state.Processing module 20 can be used for searching out shape indicated by the first element from database State is first state, state indicated by second element is the second state, to turn number indicated by third element be default twist The set of dynamic number, and using operating process indicated by the fourth element of the set searched out as optimization operating process.It is convenient Optimization operating process is quickly determined according to first state, the second state and the default number that turns.Needs are searched out most When excellent operating process, processing module 20 can also only carry out the search of the first element, second element, obtain first element with this With the fourth element gathered where second element.
Optionally, the first element, second element can be stored in the database in the form of number or picture, and the 4th Element can be stored in the database in the form of the combination of one or more of voice, picture, animation.
In a kind of possible implementation of the embodiment of the present disclosure, which can also include receiving module 70, receive Module 70 is for receiving mode of learning open command.Display module 30 can be also used for after receiving mode of learning open command, When the current state of Intelligent magic cube is to optimize a state in operating process, next shape in optimization operating process is shown State, to give user's prompt.User is after the optimization operating process for having learnt to be shown, practice is by Intelligent magic cube from the first shape During state is turned to the second state, subsequent operating process may be forgotten, give user's prompt by display module 30, It can continue subsequent operation in order to user.Display module 30 when giving prompt, can also in voice, picture, animation extremely A kind of few mode is prompted.
For example, display module 30, after being shown to optimization operating process, user passes through the input study of receiving module 70 Mode open command is to start practice optimization operating process.User practices from first state turning Intelligent magic cube to second again State, after user turns 8 times, display module 30 can show the 9th state for turning rear Intelligent magic cube at this time, or to Multiple states after turning Intelligent magic cube for 9 times are shown.
Optionally, receiving module 70 can be also used for receiving hint instructions.Display module 30 can connect in receiving module 70 It receives to give after hint instructions and prompt.Such as switch of seeking help can be set, when user meets difficulty, manual operation can be passed through Switch is sought help to input hint instructions, control display module 30, which is given, to be prompted.Switch of seeking help can be set on the terminal 100, lead to It crosses and operates switch of seeking help, directly given and prompted by terminal 100.Or also can be set on Intelligent magic cube, it seeks help out in operation Guan Hou, Intelligent magic cube are communicated with terminal 100, are given and are prompted by terminal 100.Switch of seeking help can be mechanical switch, or It is also possible to virtual switch.
In the alternatively possible implementation of the embodiment of the present disclosure, terminal can also be after showing optimization operation certainly It is dynamic to enter mode of learning, without receiving mode of learning open command until receiving module 70.Such as can shown it is excellent Mode of learning is immediately entered after changing operation, or preset time enters back into mode of learning after having shown optimization operation, when presetting Between can manually set, such as 5 seconds, 10 seconds, 30 seconds etc..
Optionally, display module 30 can be also used for when the current state of Intelligent magic cube being one optimized in operating process State, and the retention time of current state be more than preset time threshold when, show optimization operating process in NextState with into Row prompt.Current state retention time be more than preset time threshold when, indicate user recalled longer time but Subsequent operating process is not remembered yet, can be given and be prompted.
Fig. 5 is a kind of control method flow chart for terminal that the embodiment of the present disclosure provides, before the control method is for controlling The terminal stated.As shown in figure 5, the control method includes:
In step s 11, acquisition Intelligent magic cube, which is turned from first state to the second state, actually turns number.
In step s 12, it more actually turns number and presets and turn number.
The default number that turns is that preset turn Intelligent magic cube to needed for the second state from first state turns number.
In step s 13, when actually turn number be greater than it is default turn number when, show optimization operating process.
Optimization operating process includes being turned number with default Intelligent magic cube being turned the behaviour to the second state from first state Make process.
It is turned from first state to the second state by acquisition Intelligent magic cube and actually turns number, will actually turn number Turn number with default and be compared, if actually turn number be greater than it is default turn number if show by Intelligent magic cube from the One state turn to the second state during there are the less optimization operating process of required step, the operation of user can be more smart Letter.By showing the optimization operating process, turn user Intelligent magic cube from first state with the less number that turns To the second state, user is facilitated to promote the ability for restoring magic square.
Fig. 6 is a kind of control method flow chart for terminal that the embodiment of the present disclosure provides.As shown in fig. 6, the control method Include:
In the step s 21, the actual mechanical process of Intelligent magic cube is obtained.
The actual mechanical process of Intelligent magic cube can be obtained by acquisition module above-mentioned.It is detailed in embodiment above.
Before step S21, the actual mechanical process of Intelligent magic cube can also be recorded.It can be remembered by logging modle above-mentioned Record the actual mechanical process of Intelligent magic cube.It in this way can be in order to obtaining the actual mechanical process of Intelligent magic cube.
In step S22, first state and the second state are set.
The first state of Intelligent magic cube can be the free position in addition to reset condition, it can be the first of Intelligent magic cube Beginning state, be also possible to turn several times after but not yet restore when Intelligent magic cube state.Second state can be recovery shape State, be also possible to turn several times after but not yet restore when Intelligent magic cube state.It is detailed in embodiment above.
In a kind of possible implementation of the embodiment of the present disclosure, the original state of Intelligent magic cube can be set as to The reset condition of Intelligent magic cube is set as the second state by one state.It can learn one again by subsequent step user in this way The complete operation of former Intelligent magic cube.
In the alternatively possible implementation of the embodiment of the present disclosure, the Optimum Operation mistake of Intelligent magic cube can also be determined Journey, and Optimum Operation process is compared with actual mechanical process, to determine first state and the second state.Here optimal behaviour Include as process at least turn number by Intelligent magic cube from original state turn to reset condition institute it is stateful.First state For the Last status of first state different from Optimum Operation process in actual mechanical process, the second state is practical operation N-th of state reciprocal in the process, the last n state in actual mechanical process and the last n state during Optimum Operation It is identical, wherein n is the integer more than or equal to 1.User can learn one different from during Optimum Operation by terminal in this way Section operation, without completely learning the process entirely restored.
Illustratively, Optimum Operation process is being compared with actual mechanical process, to determine first state and second When state, actual mechanical process and Optimum Operation process can be compared one by one according to operating time sequence since original state In state, by the previous shape of first state different from during Optimum Operation in comparison process in actual mechanical process State is determined as first state.Since reset condition, actual mechanical process and optimal behaviour are compared one by one according to operating time backward State during work, will be in comparison process in actual mechanical process before first state different from during Optimum Operation One state is as the second state.The determination of first state and the second state can be shown in previous embodiment.
In the alternatively possible implementation of the embodiment of the present disclosure, the practical operation of Intelligent magic cube can also be shown Journey is selected two different states from multiple states of the Intelligent magic cube shown further according to user instruction and is respectively set as First state and the second state.Illustratively, as shown in figure 4, user turns each frame in the animation of the operation of Intelligent magic cube Picture 301 shows a kind of state for having Intelligent magic cube, can be convenient user and selects from the state that multiframe picture 301 is shown Two states are respectively as first state and the second state.
Optionally, when showing the actual mechanical process of Intelligent magic cube, Intelligent magic cube can be shown in the form of animation Actual mechanical process.One state of each frame picture presentation Intelligent magic cube of the animation, the animation may include showing to have just The multiframe picture of the state of Intelligent magic cube after the first frame picture of beginning state and displaying have user to turn every time, will be all Picture successively plays out the operation that can be shown user and turn Intelligent magic cube using the time as sequence.For example, user turns intelligence Can be magic square 15 times, then the animation for showing the operation that user turns Intelligent magic cube just includes 16 frame pictures.This exhibition method was both It is simple and intuitive, facilitate user to check.The animation can also include multiframe transition picture, and displaying process can see above implementation Example.
In step S23, acquisition Intelligent magic cube, which is turned from first state to the second state, actually turns number.
Illustratively, it can be obtained according to the actual mechanical process of the Intelligent magic cube got from first state and be turned to the Two-state actually turns number.
In step s 24, setting is default turns number.
The user different for qualification, Intelligent magic cube is turned from first state to required for the second state and is turned Number may be different, user lower for proficiency, it may be difficult to once turn the least optimization operation of number with regard to grasping, use Family can turn number by manually setting to preset, and can determine that appropriate optimization is grasped according to the set default number that turns Make, user is facilitated to improve the ability for restoring magic square by easy stages.It is default to turn number and be set by setting module above-mentioned Fixed, the default mode for turning number of setting is shown in previous embodiment.
Before setting is preset and turns number, Optimum Operation process can also be determined according to first state and the second state It is required to turn number, and shown to turning number needed for Optimum Operation process and giving.Facilitate user pre- in setting in this way There is a lower limit value when if turning number.
Illustratively, step S24 may include:
After setting first state and the second state, output selection option, the selection option for being for user's selection No setting is default to turn number;
If user selects setting is default to turn number, output times input text box or output digital option, for User's input is default to turn number;
If user's selection, which is not provided with presetting, turns number, the number that at least turns from first state to the second state is made Number is turned to be default.
In step s 25, optimization operating process is determined according to first state, the second state and the default number that turns.
Intelligent magic cube can have a variety of different states, can be by Intelligent magic cube from a kind of shape by turning Intelligent magic cube State turns another state.Intelligent magic cube is turned into different operation there are many operations to the second state from first state The required number that turns may be different, there is default turn under the limitation of number, so that it may selected from a variety of operations to A kind of few operation is as optimization operating process, in order to be shown.When there are a variety of optimization operating process, can according to Family instruction is selected one from multiple optimization operating process and is shown.
Illustratively, it can scan in the database to determine and optimize operating process.Database can be number of terminals According at least one of library or cloud database.Intelligent magic cube is turned there are many operations to the second state from first state, A variety of operating process are all stored in database profession, the optimization that gets that can be simple and quick by way of search operated Journey.The mode of database purchase optimization operating process and the mode of chess game optimization operating process are referred to previous embodiment.
In step S26, number is more actually turned with default and turns number.
The default number that turns is that preset turn Intelligent magic cube to needed for the second state from first state turns number.
If actually turn number be greater than it is default turn number if show from first state turning Intelligent magic cube to the There are the less optimization operating process of required step during two-state, the operation of user can be simplified more.
When actually turn number no more than it is default turn number when, illustrate that user has grasped current default turn time Several optimization operating process can learn to turn the less optimization operating process of number, therefore can be with return step S24.Work as reality Border turns number and is greater than default when turning number, can execute step S27.
In step s 27, optimization operating process is shown.
Optimization operating process includes that Intelligent magic cube is turned to institute to the second state from first state with the default number that turns It is stateful.
It is alternatively possible to show optimization operating process in a manner of at least one of voice, picture, animation.With voice, figure At least one of piece or animation mode show optimization operating process, facilitate user's study to optimization operating process, improve and restore The ability of magic square.In step s 27, show that optimization operating process can be executed by display module above-mentioned.Exhibition method can join See above embodiment.
It should be noted that abovementioned steps S24 is optional step, can be directly used from first state to the second state Number is at least turned as default and turns number, at this time without executing step S24.Alternatively, when directlying adopt first state To the second state at least turn number as it is default turn number when, in step s 25 can also be according only to first state, the Two-state determines optimization operating process.Optimization can be searched in the database using first state and the second state to operate Journey, in this case, the set in database can only include aforementioned first element, second element and fourth element.In addition, figure 6 illustrated embodiments to the sequencing of step S23 and step S24 without limitation.
Fig. 7 is a kind of control method flow chart for terminal that the embodiment of the present disclosure provides.Method shown in Fig. 7 can be convenient User learns optimization operating process above-mentioned.This method can carry out after aforementioned step S28.As shown in fig. 7, the control Method includes:
In step S31, mode of learning open command is received.
It is alternatively possible to export mode of learning after the completion of optimizing operating process displaying on terminal interface and open option, User can open option by mode of learning and input mode of learning open command.
Illustratively, prompt information can also be exported on the terminal interface, which can be for example " whether to open The printed words of mode of learning ".
Step S31 is that optional step can also shown in the alternatively possible implementation of the embodiment of the present disclosure Automatically into mode of learning after optimization operating process.Such as it can be after having shown optimization operation immediately automatically into study mould Formula, or can also shown optimization operation after preset time again automatically into mode of learning, preset time can manually be set It is fixed, such as 5 seconds, 10 seconds, 30 seconds etc..
In step s 32, the current state of Intelligent magic cube is obtained.
The state of magic square can refer to the positional relationship of each switch block of magic square, can be according to the sky of switch block each in Intelligent magic cube Between kinematic parameter determine the positional relationship of each switch block, to obtain the state of Intelligent magic cube.Current state can be user at certain It is secondary turn Intelligent magic cube after, the state of Intelligent magic cube.Step S32 can be executed by acquisition module above-mentioned.
In step S33, judge whether the current state of Intelligent magic cube is the state optimized in operating process.
When the current state of Intelligent magic cube is to optimize a state in operating process, step S34 is executed, is otherwise returned Step S32.
In step S34, the NextState in optimization operating process is shown.
Step S34 can be performed automatically, such as after step S33 is finished, when the condition for meeting execution step S34 When execute step S34 at once, with give at any time user prompt.Or after step S33 is finished, step is executed when meeting When the condition of S34, delay preset time executes step S34, to give the certain think time of user.
Step S34 can also be executed by manually controlling.Such as switch of seeking help can be set, when user meets difficulty, Switch can be sought help by manual operation to input hint instructions, to execute step S34.Switch of seeking help can be set in terminal On, by operating switch of seeking help, is directly given and prompted by terminal.Or also can be set on Intelligent magic cube, it seeks help in operation After switch, Intelligent magic cube is communicated with terminal, is given and is prompted by terminal.Switch of seeking help can be mechanical switch, or can also To be virtual switch.
For user after the optimization operating process for having learnt to be shown, practice turns Intelligent magic cube to second from first state During state, may forget it is subsequent turn mode, by giving user's prompt, subsequent behaviour can be continued in order to user Make.Step S34 can be executed by display module above-mentioned.
About the method in above-described embodiment, wherein the concrete mode that each step executes is in the reality in relation to the terminal It applies in example and is described in detail, no detailed explanation will be given here.
Fig. 8 is a kind of block diagram of terminal shown according to an exemplary embodiment.For example, terminal 700 can be mobile electricity Words, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment are a The terminals such as personal digital assistant.
Referring to Fig. 8, terminal 700 may include following one or more components: processing component 702, memory 704, power supply Component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor module 714, and Communication component 716.
The integrated operation of the usual controlling terminal 700 of processing component 702, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 702 may include that one or more processors 720 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 702 may include one or more modules, just Interaction between processing component 702 and other assemblies.For example, processing component 702 may include multi-media module, it is more to facilitate Interaction between media component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in terminal 700.These data are shown Example includes the instruction of any application or method for operating in terminal 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (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.
Electric power assembly 706 provides electric power for the various assemblies of terminal 700.Electric power assembly 706 may include power management system System, one or more power supplys and other with for terminal 700 generate, manage, and distribute the associated component of electric power.
Multimedia component 708 includes the screen of one output interface of offer between the terminal 700 and user.Some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense the side of touch or sliding action Boundary, but also detect duration and pressure relevant to the touch or slide.In some embodiments, multimedia component 708 include a front camera and/or rear camera.When terminal 700 is in operation mode, such as screening-mode or video screen module When formula, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition are taken the photograph As head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 710 is configured as output and/or input audio signal.For example, audio component 710 includes a Mike Wind (MIC), when terminal 700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 704 or via communication set Part 716 is sent.In some embodiments, audio component 710 further includes a loudspeaker, is used for output audio signal.
I/O interface 712 provides interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 714 includes one or more sensors, and the state for providing various aspects for terminal 700 is commented Estimate.For example, sensor module 714 can detecte the state that opens/closes of terminal 700, the relative positioning of component, such as the group Part is the display and keypad of terminal 700, and sensor module 714 can also detect a component of terminal 700 or terminal 700 Position change, the existence or non-existence that user contacts with terminal 700,700 orientation of terminal or acceleration/deceleration and terminal 700 Temperature change.Sensor module 714 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 714 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between terminal 700 and other equipment.Terminal 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, which further includes near-field communication (NFC) module, to promote short range communication.
In the exemplary embodiment, terminal 700 can be believed by one or more 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 executing any width institute in Fig. 5~Fig. 7 The method shown.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 704 of instruction, above-metioned instruction can be executed by the processor 720 of terminal 700 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage medium In instruction when being executed by the processor of terminal, enable the terminal to execute method shown in any width in Fig. 5~Fig. 7.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended Claim is pointed out.
It should be understood 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 the accompanying claims.

Claims (18)

1. a kind of control method of terminal characterized by comprising
Acquisition Intelligent magic cube, which is turned from first state to the second state, actually turns number;
Compare it is described actually turn number and it is default turn number, the default number that turns is preset by the Intelligent magic cube It turns from the first state to needed for second state and turns number;
When it is described actually turn number be greater than it is described it is default turn number when, show that optimization operating process, the optimization operated Journey includes being turned the Intelligent magic cube to all of second state from the first state with the default number that turns State.
2. control method according to claim 1, which is characterized in that the method also includes:
It is described acquisition Intelligent magic cube from first state turn to the second state actually turn number before, will it is described intelligence evil spirit The original state of side is set as the first state, and the reset condition of the Intelligent magic cube is set as the second state.
3. control method according to claim 1, which is characterized in that the method also includes:
Obtain and show the actual mechanical process of the Intelligent magic cube, the actual mechanical process include the Intelligent magic cube with Family operation under from original state change to reset condition institute it is stateful;
Two different states are selected from multiple states of the Intelligent magic cube shown according to user instructions to set respectively It is set to the first state and second state.
4. control method according to claim 1, which is characterized in that the method also includes:
The actual mechanical process of the Intelligent magic cube is obtained, the actual mechanical process includes the Intelligent magic cube in user's operation Under from original state change to reset condition institute it is stateful;
Determine that the Optimum Operation process of the Intelligent magic cube, the Optimum Operation process include at least to turn number for the intelligence Can magic square from original state turn to reset condition institute it is stateful;
The Optimum Operation process is compared with the actual mechanical process, with the determination first state and described second State, the first state are upper one of first state different from the Optimum Operation process in the actual mechanical process A state, second state is n-th of state reciprocal in the actual mechanical process, last in the actual mechanical process N state is identical as the last n state during the Optimum Operation, wherein n is the integer more than or equal to 1.
5. control method according to claim 4, which is characterized in that described by the Optimum Operation process and the reality Operating process compares, with the determination first state and second state, comprising:
Since the original state, the actual mechanical process and the Optimum Operation are compared one by one according to operating time sequence State in the process is different from during the Optimum Operation by first in actual mechanical process described in comparison process The previous state of state is determined as the first state;
Since the reset condition, the actual mechanical process and the Optimum Operation are compared one by one according to operating time backward State in the process, by first in actual mechanical process described in the comparison process shape different from during the Optimum Operation The previous state of state is as second state.
6. described in any item control methods according to claim 1~5, which is characterized in that the method also includes:
Before showing the optimization operating process, determine that the optimization operates according to the first state, second state Process.
7. described in any item control methods according to claim 1~5, which is characterized in that the method also includes:
When the current state of the Intelligent magic cube is a state in the optimization operating process, and the guarantor of the current state When holding the time more than preset time threshold, the NextState in the optimization operating process is shown.
8. described in any item control methods according to claim 1~5, which is characterized in that the method also includes:
Receive mode of learning open command;
The mode of learning sign on is used to when the current state of the Intelligent magic cube be one in the optimization operating process When a state, the NextState in the optimization operating process is shown.
9. a kind of terminal characterized by comprising
Module is obtained, is turned to the second state from first state for obtaining Intelligent magic cube and actually turns number;
Processing module, for it is more described actually turn number and it is default turn number, the default number that turns is preset The Intelligent magic cube is turned from the first state to needed for second state and turns number;
Display module, for when it is described actually turn number be greater than it is described it is default turn number when, show optimization operating process, institute Stating optimization operating process includes being turned the Intelligent magic cube to described the from the first state with the default number that turns The institute of two-state is stateful.
10. terminal according to claim 9, which is characterized in that it further include state selection module, the state selection module For it is described acquisition Intelligent magic cube from first state turn to the second state actually turn number before, will it is described intelligence evil spirit The original state of side is set as the first state, and the reset condition of the Intelligent magic cube is set as the second state.
11. terminal according to claim 9, which is characterized in that the acquisition module is also used to obtain the Intelligent magic cube Actual mechanical process, the actual mechanical process includes that the Intelligent magic cube changes from original state to multiple under user's operation The institute of original state is stateful;
The display module is also used to show the actual mechanical process of the Intelligent magic cube;
The terminal further includes state selection module, for according to user instructions from multiple shapes of the Intelligent magic cube shown Two different states are selected in state is respectively set as the first state and second state.
12. terminal according to claim 9, which is characterized in that the acquisition module is also used to obtain the Intelligent magic cube Actual mechanical process, the actual mechanical process includes that the Intelligent magic cube changes from original state to multiple under user's operation The institute of original state is stateful;
The processing module is also used to determine the Optimum Operation process of the Intelligent magic cube, and the Optimum Operation process includes with most Turning number less, that the Intelligent magic cube turned institute to reset condition from original state is stateful, and by the Optimum Operation mistake Journey is compared with the actual mechanical process, and with the determination first state and second state, the first state is The Last status of first state different from the Optimum Operation process in the actual mechanical process, second state Last n state and the optimal behaviour for n-th of state reciprocal in the actual mechanical process, in the actual mechanical process Last n state during work is identical, wherein n is the integer more than or equal to 1.
13. terminal according to claim 12, which is characterized in that the processing module from the original state for opening Begin, compares the state during the actual mechanical process and the Optimum Operation one by one according to operating time sequence, will compare The previous state of the state different from during the Optimum Operation of first in the actual mechanical process determines in the process For the first state;
Since the reset condition, the actual mechanical process and the Optimum Operation are compared one by one according to operating time backward State in the process, by first in actual mechanical process described in the comparison process shape different from during the Optimum Operation The previous state of state is as second state.
14. according to the described in any item terminals of claim 9~13, which is characterized in that the processing module is also used to showing Before the optimization operating process, the optimization operating process is determined according to the first state, second state.
15. according to the described in any item terminals of claim 9~13, which is characterized in that the display module is also used to when intelligence The current state of magic square is a state in the optimization operating process, and the retention time of the current state is more than default When time threshold, the NextState in the optimization operating process is shown.
16. according to the described in any item terminals of claim 9~13, which is characterized in that further include receiving module, learned for receiving Habit mode open command;The display module is also used to after receiving the mode of learning open command, when the Intelligent magic cube Current state be optimize operating process in a state when, show it is described optimization operating process in NextState.
17. a kind of terminal characterized by comprising
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to executing the step of the control method of terminal as described in any one of claims 1 to 8 Suddenly.
18. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes at least one finger It enables, when at least one instruction is executed by processor, executes the controlling party of terminal as described in any one of claims 1 to 8 Method.
CN201811444756.XA 2018-11-29 2018-11-29 Terminal, control method of terminal, and computer-readable storage medium Active CN109350958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811444756.XA CN109350958B (en) 2018-11-29 2018-11-29 Terminal, control method of terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811444756.XA CN109350958B (en) 2018-11-29 2018-11-29 Terminal, control method of terminal, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109350958A true CN109350958A (en) 2019-02-19
CN109350958B CN109350958B (en) 2022-03-11

Family

ID=65343611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811444756.XA Active CN109350958B (en) 2018-11-29 2018-11-29 Terminal, control method of terminal, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109350958B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114565818A (en) * 2022-02-15 2022-05-31 广州淦源智能科技有限公司 Intelligent magic cube rotation state monitoring method and system based on MCU chip

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060163810A1 (en) * 2005-01-25 2006-07-27 Ching-Te Wang Magic cube
US20120184341A1 (en) * 2010-10-28 2012-07-19 Empire Technology Development Llc Audible puzzle cube
CN103394191A (en) * 2013-05-13 2013-11-20 重庆大学 Electronic three-order magic cube game system
CN105027134A (en) * 2013-02-01 2015-11-04 爱派库布有限公司 Puzzle cube and communication system
CN107016578A (en) * 2017-04-18 2017-08-04 广州市菲拓网络科技有限公司 A kind of wechat marketing service platform
CN206577359U (en) * 2017-02-23 2017-10-24 陈书恬 A kind of magic square of self-clocking meter step
CN107995875A (en) * 2016-12-02 2018-05-04 深圳市柔宇科技有限公司 Intelligent magic cube and magic square control method
CN108647689A (en) * 2018-06-01 2018-10-12 中国科学院福建物质结构研究所 Magic square restored method and its device based on GoogLeNet neural networks

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060163810A1 (en) * 2005-01-25 2006-07-27 Ching-Te Wang Magic cube
US20120184341A1 (en) * 2010-10-28 2012-07-19 Empire Technology Development Llc Audible puzzle cube
CN105027134A (en) * 2013-02-01 2015-11-04 爱派库布有限公司 Puzzle cube and communication system
CN103394191A (en) * 2013-05-13 2013-11-20 重庆大学 Electronic three-order magic cube game system
CN107995875A (en) * 2016-12-02 2018-05-04 深圳市柔宇科技有限公司 Intelligent magic cube and magic square control method
CN206577359U (en) * 2017-02-23 2017-10-24 陈书恬 A kind of magic square of self-clocking meter step
CN107016578A (en) * 2017-04-18 2017-08-04 广州市菲拓网络科技有限公司 A kind of wechat marketing service platform
CN108647689A (en) * 2018-06-01 2018-10-12 中国科学院福建物质结构研究所 Magic square restored method and its device based on GoogLeNet neural networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋小岩: "【开箱测评】小米智能魔方? 计客超级魔方开箱测评", 《HTTPS://WWW.BILIBILI.COM/VIDEO/AV24621103/》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114565818A (en) * 2022-02-15 2022-05-31 广州淦源智能科技有限公司 Intelligent magic cube rotation state monitoring method and system based on MCU chip

Also Published As

Publication number Publication date
CN109350958B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
WO2021135655A1 (en) Method and device for generating multimedia resources
CN105264480B (en) Equipment, method and graphic user interface for being switched between camera interface
CN102365613B (en) System and method for changing touch screen functionality
CN109068081A (en) Video generation method, device, electronic equipment and storage medium
CN109670397A (en) Detection method, device, electronic equipment and the storage medium of skeleton key point
CN105103111A (en) User interface for computing device
CN107771312A (en) Event is selected based on user&#39;s input and current context
KR20100052378A (en) Motion input device for portable device and operation method using the same
CN106534994A (en) Live broadcasting interaction method and device
CN109829863A (en) Image processing method and device, electronic equipment and storage medium
CN107037920A (en) Electronic equipment and its control method
CN108079581A (en) Intelligent magic cube, magic square control method, equipment and storage medium
CN104991910B (en) Photograph album creation method and device
CN106095465A (en) The method and device of identity image is set
CN103116463A (en) Interface control method of personal digital assistant applications and mobile terminal
WO2017168922A1 (en) Information processing device, information processing method, and information provision method
CN113655887A (en) Virtual reality equipment and static screen recording method
CN109698878A (en) Notification message sort method and device
CN110084180A (en) Critical point detection method, apparatus, electronic equipment and readable storage medium storing program for executing
CN106128440A (en) A kind of lyrics display processing method, device, terminal unit and system
CN107970607A (en) Information displaying method, equipment, Intelligent magic cube and storage medium
CN101867708A (en) Photography device, display device, reproduction device, photography method and display method
CN109350958A (en) The control method of terminal and terminal, computer readable storage medium
JP2010097393A (en) Image display device and program
CN114302221A (en) Virtual reality equipment and screen-casting media asset playing method

Legal Events

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