CN103677238A - Information interaction method and electronic device - Google Patents
Information interaction method and electronic device Download PDFInfo
- Publication number
- CN103677238A CN103677238A CN201210356944.3A CN201210356944A CN103677238A CN 103677238 A CN103677238 A CN 103677238A CN 201210356944 A CN201210356944 A CN 201210356944A CN 103677238 A CN103677238 A CN 103677238A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- dimensional coordinate
- coordinate parameter
- electronic
- motion
- 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
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000003993 interaction Effects 0.000 title claims abstract description 12
- 230000003068 static effect Effects 0.000 claims abstract description 20
- 230000008569 process Effects 0.000 claims description 53
- 238000001514 detection method Methods 0.000 claims description 18
- 238000004891 communication Methods 0.000 claims description 15
- 238000005516 engineering process Methods 0.000 claims description 12
- 238000007789 sealing Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 239000004033 plastic Substances 0.000 description 2
- 229920003023 plastic Polymers 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000931705 Cicada Species 0.000 description 1
- 229920001967 Metal rubber Polymers 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 229920001971 elastomer Polymers 0.000 description 1
- 239000013536 elastomeric material Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004816 latex Substances 0.000 description 1
- 229920000126 latex Polymers 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000012858 resilient material Substances 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 239000005060 rubber Substances 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention discloses an information interaction method and an electronic device. The method comprises detecting whether N second electronic devices exist in a preset range when a first electronic device needs to obtain a first random number, wherein N is an integer no less than 1; obtaining first three-dimensional coordinate parameters from the time when the first second electronic device is in the static state when N second electronic devices are detected in the preset range and the first second electronic device is changed into the static state from the motion state, wherein the first three-dimensional coordinate parameters are generated by a first processing chip of the first second electronic device; obtaining a first value of a preset plane of the first second electronic device based on the first three-dimensional coordinate parameters and outputting the first value as the first random number.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method and electronic equipment of information interaction.
Background technology
Along with the development of electronic technology, produced increasing electronic equipment, and the function that electronic equipment has is also more and more, man-machine interaction is exactly one of them very important function.
The good mode that a kind of many people of table trip carry out man-machine interaction, a plurality of users can use a large panel computer to carry out desktop game, such as: millionaire, flight chess etc.Because it is easy to operate, and do not need entity medium to participate in, so be subject to increasing user, welcome.Wherein, when using panel computer to carry out desktop game, user also will participate, such as: when playing flight chess, by throwing dice, determine the move distance of flight chess, and existing dice is taked active mode, adopt gravity sensor detection side to passing with communication, for example can with acceleration transducer detect dice towards, thereby quote counting of dice to corresponding panel computer, determine the move distance of flight chess.
Present inventor, in realizing the process of the embodiment of the present application technical scheme, at least finds to exist in prior art following technical matters:
Due in the prior art, when adopting electronic equipment to carry out desktop game, electronic equipment is the information of counting that the direction vector of the directly acceleration transducer based in dice obtains dice, if placing the angle of the electronic equipment of dice changes, the direction vector of acceleration transducer also will change so, thereby can cause counting of dice that electronic equipment obtains inaccurate, and there is the technical matters of desktop game described in maloperation in described electronic equipment, the misuse rate of described electronic equipment is improved, poor user experience.
Summary of the invention
The embodiment of the present application is by providing a kind of method and electronic equipment of information interaction, in order to solve in prior art when adopting electronic equipment to carry out desktop game, counting of the dice that electronic equipment obtains is inaccurate, and there is the technical matters of desktop game described in maloperation in described electronic equipment, and the raising of the misuse rate of the described electronic equipment bringing therefrom, the problem of poor user experience.
The embodiment of the present application provides a kind of method of information interaction, is applied to the first electronic equipment, and described method comprises:
When described the first electronic equipment need to obtain the first random number, in a preset range, detect and whether have N the second electronic equipment, wherein, described N is not less than 1 integer;
While described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment that detects described N the second electronic equipment is kept in motion;
At described first second electronic equipment, during in described motion state, detect described first second electronic equipment and whether from described motion state, convert stationary state to;
When described in detecting, first second electronic equipment has converted described stationary state to from described motion state, acquisition is the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, wherein, described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates;
Based on described the first three-dimensional coordinate parameter, obtain the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
Optionally, before described the first electronic equipment need to obtain the first random number, described method also comprises: whether detect described the first electronic equipment needs to obtain the first random number.
Optionally, while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment that detects described N the second electronic equipment is kept in motion, specifically comprise: described N the second electronic equipment in described preset range, detected and when first moment, obtained the second three-dimensional coordinate parameter of described first second electronic equipment in described first moment; Obtain the three three-dimensional coordinate parameter of described first second electronic equipment in second moment, wherein, after being engraved in described first moment at described second o'clock; By detecting, whether whether described the 3rd three-dimensional coordinate parameter is identical with described the second three-dimensional coordinate parameter detects described first second electronic equipment and is kept in motion.
Optionally, after whether first second electronic equipment of the described N of described detection the second electronic equipment is kept in motion, described method also comprises: when described first second electronic equipment is not kept in motion, generate the first information; Export described the first information, to point out first operator corresponding with described the first electronic equipment.
Optionally, described when described first second electronic equipment being detected and converted stationary state to from motion state, the first three-dimensional coordinate parameter when acquisition remains static from described first second electronic equipment, specifically comprise: when first second electronic equipment has converted stationary state to from motion state described in detecting, by Zigbee wireless communication technology, obtain the first three-dimensional coordinate parameter remaining static from described first second electronic equipment.
Optionally, described based on described the first three-dimensional coordinate parameter, after obtaining the first numerical value of the default plane of described first second electronic equipment, described method also comprises: at described N, be while being not less than 2 integer, whether second the second electronic equipment that detects described N the second electronic equipment converts stationary state to from described motion state; When described second the second electronic equipment being detected and converted stationary state to from motion state, obtain the second three-dimensional coordinate parameter while remaining static from described second the second electronic equipment; Based on described the second three-dimensional coordinate parameter, obtain the second value of the default plane of described second the second electronic equipment, generate the first computations; Carry out described the first computations, obtain third value, wherein, described third value is described the first numerical value and described second value sum, and described third value and institute are exported as described the first random number.
One embodiment of the invention also provides a kind of electronic equipment, and described electronic equipment comprises:
Circuit board;
The second process chip, on setting and described circuit board, when described electronic equipment need to obtain the first random number, for detect whether there be N the second electronic equipment in a preset range, wherein, described N is not less than 1 integer, while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment for detection of described N the second electronic equipment is kept in motion, at described first second electronic equipment during in described motion state, for detection of described first second electronic equipment, whether from described motion state, convert stationary state to, when described in detecting, first second electronic equipment has converted described stationary state to from described motion state, for obtaining the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, and based on described the first three-dimensional coordinate parameter, for obtaining the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
Optionally, described process chip comprises judging unit, for detection of described electronic equipment, whether needs to obtain the first random number.
Optionally, described process chip comprises the first detecting unit, described N the second electronic equipment in described preset range, detected and in first constantly time, for obtaining the second three-dimensional coordinate parameter of described first second electronic equipment in described first moment, and for obtaining the three three-dimensional coordinate parameter of described first second electronic equipment in second moment, wherein, after being engraved in described first moment at described second o'clock, and whether whether described the 3rd three-dimensional coordinate parameter is identical with described the second three-dimensional coordinate parameter detects described first second electronic equipment and is kept in motion by detecting.
Optionally, described process chip comprises Tip element, when described first second electronic equipment is not kept in motion, for generating the first information, and exports described the first information, to point out first operator corresponding with described electronic equipment.
Optionally, described process chip comprises that coordinate parameters obtains unit, when described in detecting, first second electronic equipment has converted stationary state to from motion state, for obtain the first three-dimensional coordinate parameter remaining static from described first second electronic equipment by Zigbee wireless communication technology.
Optionally, described process chip comprises random number acquiring unit, described based on described the first three-dimensional coordinate parameter, after obtaining the first numerical value of the default plane of described first second electronic equipment, at described N, be while being not less than 2 integer, for detection of second the second electronic equipment in described N the second electronic equipment, whether from motion state, convert stationary state to, when described second the second electronic equipment being detected and converted stationary state to from motion state, for obtaining the second three-dimensional coordinate parameter while remaining static from described second the second electronic equipment, again based on described the second three-dimensional coordinate parameter, for obtaining the second value of the default plane of described second the second electronic equipment, and generate the first computations, be used for carrying out described the first computations, obtain third value, wherein, described third value is described the first numerical value and described second value sum, and described third value is exported as described the first random number with institute.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
One, because the embodiment of the present application is when described the first electronic equipment need to obtain the first random number, and N the second electronic equipment detected in a preset range time, whether first second electronic equipment that judges described N the second electronic equipment is kept in motion, when described first second electronic equipment is kept in motion and converted stationary state to from described motion state, obtain the first three-dimensional coordinate parameter of described first the second electronic equipment, again based on described the first three-dimensional coordinate parameter, determine the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.Because described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates, and corresponding different the counting of each three-dimensional coordinate parameter of described the second electronic equipment, described the first electronic equipment is determined first numerical value (counting) of the default plane of described first second electronic equipment based on described the first three-dimensional coordinate parameter, so guaranteed counting of second electronic equipment described in Obtaining Accurate, can reduce the probability that desktop game described in maloperation appears in described electronic equipment, thereby be user-friendly to, user's experience is better.
Two, because the embodiment of the present application is after described first second electronic equipment generates described the first three-dimensional coordinate parameter, by Zigbee wireless communication technology, described the first three-dimensional coordinate parameter is transferred to described the first electronic equipment, so improved data rate between described first second electronic equipment and described the first electronic equipment, make described the first electronic equipment can make faster corresponding operation, user uses more convenient, and user's experience is better.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for information interaction in the embodiment of the present application;
Fig. 2 is the first structural drawing of electronic dice in the embodiment of the present application;
Fig. 3 is the second structural drawing of electronic dice in the embodiment of the present application;
Fig. 4 is the structural drawing of upper cover plate in the embodiment of the present application;
Fig. 5 is the structural drawing of lower cover in the embodiment of the present application;
Fig. 6 is the structural drawing of electronic component in the embodiment of the present application;
Fig. 7 is the structural drawing of the first locking device in the embodiment of the present application;
Fig. 8 is the structural representation of electronic equipment in the embodiment of the present application.
Embodiment
The embodiment of the present application is by providing a kind of method and electronic equipment of information interaction, in order to solve in prior art when adopting electronic equipment to carry out desktop game, counting of the dice that electronic equipment obtains is inaccurate, and there is the technical matters of desktop game described in maloperation in described electronic equipment, and the raising of the misuse rate of the described electronic equipment bringing therefrom, the problem of poor user experience.
The technical scheme of the embodiment of the present application is for solving the problem of above-mentioned technology, and general thought is as follows:
When described the first electronic equipment need to obtain the first random number, and N the second electronic equipment detected in a preset range time, whether first second electronic equipment that judges described N the second electronic equipment is kept in motion, when described first second electronic equipment is kept in motion and converted stationary state to from described motion state, obtain the first three-dimensional coordinate parameter of described first the second electronic equipment, again based on described the first three-dimensional coordinate parameter, determine the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
Because described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates, and corresponding different the counting of each three-dimensional coordinate parameter of described the second electronic equipment, described the first electronic equipment is determined first numerical value (counting) of the default plane of described first second electronic equipment based on described the first three-dimensional coordinate parameter, so guaranteed counting of second electronic equipment described in Obtaining Accurate, can reduce the probability that desktop game described in maloperation appears in described electronic equipment, thereby be user-friendly to, user's experience is better.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
The application one embodiment provides a kind of method of information interaction, is applied to the first electronic equipment, and described the first electronic equipment is such as being the electronic equipments such as panel computer, Tabletop computer.
Please refer to Fig. 1, described method comprises:
Step 101: when described the first electronic equipment need to obtain the first random number, detect and whether have N the second electronic equipment in a preset range, wherein, described N is not less than 1 integer;
Step 102: while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment that detects described N the second electronic equipment is kept in motion;
Step 103: during in described motion state, detect described first second electronic equipment and whether convert stationary state to from described motion state at described first second electronic equipment;
Step 104: when first second electronic equipment has converted described stationary state to from described motion state described in detecting, acquisition is the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, wherein, described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates;
Step 105: based on described the first three-dimensional coordinate parameter, obtain the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
Wherein, before execution step 101,, before described the first electronic equipment need to obtain the first random number, also need to detect described the first electronic equipment and whether need to obtain the first random number, and obtain the first testing result, and when described the first testing result characterizes described the first electronic equipment and need to obtain described the first random number, execution step 101.In specific implementation process, on the display unit such as described the first electronic equipment, show when being the operands such as zillionaire, flight chess, detect while whether needing to obtain the move distance of the first random number control operation object execution step 101.
Next perform step 101, when described the first electronic equipment need to obtain the first random number, detect and whether have N the second electronic equipment in a preset range, wherein, described N is not less than 1 integer.In specific implementation process, in order to improve described the first electronic equipment and described the second electronic equipment data rate and efficiency, described the first electronic equipment is by Zigbee(short-distance wireless communication technology) communication and described the second electronic equipment carry out communication, because the distance of Zigbee communication transmission is short, therefore, need to be based on the residing primary importance of described the first electronic equipment, determine a preset range, for example described preset range can be set to the space within 5 meters of the surroundings of described primary importance, it can also be the space within 2 meters of the surroundings of described primary importance, or space that can also be within 3 meters of the surroundings of described primary importance, so that described the first electronic equipment and described the second electronic equipment can proper communications, when described the first electronic equipment being detected and need to obtain the first random number, then in described preset range, detect and whether have described N the second electronic equipment, wherein, described N is not less than 1 integer, for example when carrying out zillionaire game, can use 1 ~ 3 dice.
Next perform step 102, while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment that detects described N the second electronic equipment is kept in motion.In specific implementation process, described first second electronic equipment is any in described N the second electronic equipment, described N the second electronic equipment in described preset range, detected and in first constantly time, obtain the second three-dimensional coordinate parameter of described first second electronic equipment in described first moment, and the three three-dimensional coordinate parameter of first second electronic equipment in second moment described in obtaining, wherein, after being engraved in described first moment at described second o'clock, by detecting, whether whether described the 3rd three-dimensional coordinate parameter is identical with described the second three-dimensional coordinate parameter detects described first second electronic equipment and is kept in motion again.Specifically, be exactly by described the second electronic equipment of comparison whether the coordinate parameters in the same time not identical, can judge whether described the second electronic equipment is kept in motion.
In actual applications, when having 6 users to use Tabletop computer to carry out zillionaire game, on this Tabletop computer, be placed with 3 electronics sieves, in described 6 users, need to throw the moment that electronic dice is played and show on this Tabletop computer be 11:10:25 to first user, obtain first electronic dice in 3 electronic dices in 11:10:25 the second three-dimensional coordinate parameter constantly, and obtain this first electronic dice in 11:10:58 the 3rd three-dimensional coordinate parameter constantly, detect whether whether described the second three-dimensional coordinate parameter identical with described the 3rd three-dimensional coordinate parameter judges whether this first electronic dice is kept in motion, in described the second three-dimensional coordinate parameter with described the 3rd three-dimensional coordinate parameter when identical, can determine that this first electronic dice remains static, in described the second three-dimensional coordinate parameter, when different, can determine that this first electronic dice is kept in motion with described the 3rd three-dimensional coordinate parameter.
After execution step 102, first second electronic equipment, when described motion state, carry out step 103 described in the structure obtaining, and detects described first second electronic equipment and whether from described motion state, converts stationary state to.In specific implementation process, determining that described first second electronic equipment is after described motion state, obtain described first second electronic equipment the 4th three-dimensional coordinate parameter in the 3rd moment after described second moment, and the 5th three-dimensional coordinate parameter in four moment of described first second electronic equipment of acquisition after described the 3rd moment, , detect whether whether described the 4th three-dimensional coordinate parameter identical with described the 5th three-dimensional coordinate parameter judges whether described first second electronic equipment converts stationary state to from described motion state, in described the 4th three-dimensional coordinate parameter with described the 5th three-dimensional coordinate parameter when identical, can determine that first second electronic equipment has converted stationary state to from described motion state, in described the 4th three-dimensional coordinate parameter, when different, can determine that described first second electronic equipment is still kept in motion with described the 5th three-dimensional coordinate parameter.
In actual applications, when having 6 users to use Tabletop computer to carry out zillionaire game, and constantly for detecting the first electronic dice, 11:10:58 is in motion state second, the coordinate that the first electronic dice detected the 3rd during constantly for 11:11:25 is (10,0,0), described in when the 4th is constantly 11:11:58, the coordinate of the first electronic dice is (10,0,0), can judge that described the first electronic dice converts stationary state to from motion state; If the coordinate of the first electronic dice and (10,0,0) difference described in when 11:11:58, the coordinate of described the first electronic dice when 11:11:58 is for example (0,10,0), (10,0,0) etc., can determine that described the first electronic dice is still kept in motion.
Wherein, certainly for impelling the accuracy of detection, can also be continuously the three-dimensional coordinate parameter in a plurality of moment such as 3 or 4 or 5 be compared, whether the described coordinate parameters of first the second electronic equipment in a plurality of moment of judgement be all identical, when the three-dimensional coordinate parameter in described a plurality of moment is all identical, can judge that described first second electronic equipment converts stationary state to from described motion state.So, can further guarantee to detect described first second electronic equipment and whether from described motion state, convert the accuracy of the result of stationary state to, it is identical that its comparison mode and the coordinate parameters in above-mentioned 2 moment are compared mode, and succinct for instructions just do not repeating at this.
After execution step 103, when described in the structure obtaining, first second electronic equipment does not convert described stationary state to from described motion state, obtain described first second electronic equipment the 5th three-dimensional coordinate parameter in the 5th moment after described the 4th moment, judging that whether described the 4th three-dimensional parameter is identical with described the 5th three-dimensional coordinate parameter; If not identical, continue to obtain described first second electronic equipment the 6th three-dimensional coordinate parameter in the 6th moment after described the 5th moment, then judge that whether described the 5th three-dimensional coordinate parameter is identical with described the 6th coordinate parameters; If also different, continue to obtain described first second electronic equipment the 7th three-dimensional coordinate parameter in the 7th moment after described the 6th moment, until the structure of judgement when to be the coordinate parameters in described two adjacent moment identical till, and then execution step 104.
In actual applications, if the coordinate parameters of first electronic dice when the 4th is constantly 10:10:15 is (0, 10, 0), the coordinate parameters of this first electronic dice when the 5th is constantly 10:10:30 is (0,-10, 0), due to coordinate (0, 10, 0) with coordinate (0,-10, 0) difference, continuing to obtain the coordinate parameters of this first electronic dice when the 6th is 10:10:45 is constantly (10, 0, 0), in like manner coordinate (0,-10, 0) with coordinate (10, 0, 0) difference, continue to obtain the coordinate parameters of this first electronic equipment when the 7th is 10:11:00 constantly, judge again described coordinate parameters and coordinate (10, 0, 0) whether identical, if it is not identical, continue to obtain next coordinate parameters constantly, until two adjacent coordinate parameters detected when identical, execution step 104.
After execution step 103, when described in the structure obtaining, first second electronic equipment has converted described stationary state to from described motion state, execution step 104, acquisition is the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, wherein, described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates.In specific implementation process, by step 102, described first second electronic equipment detected identical in the 3rd three-dimensional coordinate parameter in described the 4th moment with described first second electronic equipment in the described the 3rd the second three-dimensional coordinate parameter constantly, can be directly using described the second three-dimensional coordinate parameter or described the 3rd three-dimensional coordinate parameter as described the first three-dimensional coordinate parameter.
Specifically, if the coordinate parameters of first electronic dice when the 3rd is constantly 11:11:25 is (10,0,0), and the coordinate parameters of described the first electronic dice when the 4th constantly be 11:11:58 be also (10,0,0), the first three-dimensional coordinate parameter that described the first electronic equipment obtains is (10,0,0).
In actual application, as shown in Figures 2 and 3, the embodiment of the present application provides a kind of electronic dice, described electronic dice comprises shell 10, on shell 10, there are 6 planes, be respectively the first plane 11, the second plane 12, the 3rd plane 13, Siping City's face 14, the 5th plane 15 and the 6th plane 16, in the first plane 11, be provided with the first changing sensor 20, in the second plane 12, be provided with the second changing sensor 21, in the 3rd plane 13, be provided with the 3rd changing sensor 22, on Siping City face 14, be provided with the 4th changing sensor 23, in the 5th plane 15, be provided with the 5th changing sensor 24, in the 6th plane 16, be provided with the 6th changing sensor 25.Wherein, counting of the first plane 11 correspondences is that counting of 1, the second plane 12 correspondences is that counting of 2, the three plane 13 correspondences is that counting of 3, the Siping City's face 14 correspondences is that counting of 4, the five plane 15 correspondences is that counting of 5, the six plane 16 correspondences is 6.
As shown in Figure 4 and Figure 5, shell 10 comprises upper cover body 30 and lower cover 35, wherein, upper cover body 30 comprises the first housing and is fixed in the locking device on described the first housing, described locking device comprises the 5th web member and the locking member being connected with the first end of described the 5th web member, and the second end of described web member and described the first housing are affixed.Wherein, described the first housing comprises the 6th plane 16 and the support column that is arranged on four corners of the 6th plane 16, is respectively the first support column 31, the second support column 32, the 3rd support column 33 and the 4th support column 34; Described locking device comprises the first locking device 40, the second locking device 41, the 3rd locking device 42 and the 4th locking device 43 on the four edges that is fixed in the 6th plane 16.
As shown in Figure 5, be the structural drawing of lower cover.Lower cover 35 comprises the second housing, and described the second housing comprises the first plane 11, the second plane 12, the 3rd plane 13, Siping City's face 14 and the 5th plane 15, an opening box of the common composition of above-mentioned 5 planes.
Wherein, the 6th plane 16 and 5 planes of lower cover 35 of upper cover plate 30 match, four support columns of upper cover plate 30 overlap with four corners of lower cover 35, impel upper cover plate 30 and lower cover 35 to form the first space of a sealing, and be fixed with an electronic component in described the first space.
As shown in Figure 6, be the structural drawing of electronic component.Electronic component 50 comprises power supply and the first process chip being connected with described power supply, and electronic component 50 is fixed in described the first space, can receive the information sending from described changing sensor.Electronic component 50 is also provided with Zigbee module, and electronic component 50 can be transferred to the parameter in described the first process chip in the second electronic equipment by Zigbee module.Described the second electronic equipment can be the electronic equipments such as mobile phone, panel computer and notebook computer.Electronic component 50 is structure in echelon, comprise that the 7th plane 51 is with the 8th plane 53 and for being connected the middleware 52 of the 7th plane 51 and the 8th plane 53, wherein, the xsect of the 7th plane 51 is greater than the area of the xsect of the 8th plane 53, the 7th plane 51 comprises the first side 54, the second side 55, the 3rd side 56 and the 4th side 57, the eight planes 53 comprise the 5th side 58, the 6th side 59, heptalateral face 500 and the 8th side 501.
As shown in Figure 7, be the structural drawing of the first locking device.The first locking device 40 comprises the first web member 44 and the first snap fit 49 being connected with the first end 47 of the first web member 44, the second end 45 of the first web member 44 is affixed with described the first housing, the first snap fit 49 comprises the first prodger 46 and the first hook body 48 being connected with the first prodger 46, the first prodger 46 is connected with the first end 47 of the first web member 44, and outwards outstanding, so that Siping City's face 14 has an inside acting force when contacting with the first prodger 46, impel upper cover body 30 and lower cover 35 to lock, form the first space of a sealing.Wherein, the inside surface of the first side 54, the first web members 44 and the 5th side 58 of the 8th plane 53 that in the first hook body 48, are provided with the 7th plane 51 are close to, and make the first locking device 40 can fastening electronic component 50.
Structure with reference to figure 7, the second locking devices 41 is identical with the structure of the first locking device.The second locking device 41 comprises the second web member and the second snap fit being connected with the first end of described the second web member, the second end of described the second web member and described the first housing are affixed, the second snap fit comprise the second prodger and be connected with described the second prodger second hook body, described the second prodger is connected with the first end of described the second web member, and outwards outstanding, so that the first plane 11 has an inside acting force when contacting with described the second prodger, impel upper cover body 30 and lower cover 35 to lock, form the first space of a sealing.Wherein, described second, hook the second side 55 that is provided with the 7th plane 51 in body, the 6th side 59 of the inside surface of described the second web member and the 8th plane 53 is close to, and makes the second locking device 41 can fastening electronic component 50.
Structure with reference to figure 7, the three locking devices 42 is identical with the structure of the first locking device.The 3rd locking device 42 comprises the 3rd web member and the 3rd snap fit being connected with the first end of described the 3rd web member, the second end of described the 3rd web member and described the first housing are affixed, described the 3rd snap fit comprises the 3rd prodger and the 3rd hook body being connected with described the 3rd prodger, described the 3rd prodger is connected with the first end of described the 3rd web member, and outwards outstanding, so that the second plane 12 has an inside acting force when contacting with described the 3rd prodger, impel upper cover body 30 and lower cover 35 to lock, form the first space of a sealing.Wherein, the described the 3rd, hook the 3rd side 56 that is provided with the 7th plane 51 in body, the heptalateral face 500 of the inside surface of described the 3rd web member and the 8th plane 53 is close to, and makes the 3rd locking device 42 can fastening electronic component 50.
Structure with reference to figure 7, the four locking devices 43 is identical with the structure of the first locking device.The 3rd locking device 43 comprises the 4th web member and the 4th snap fit being connected with the first end of described the 4th web member, the second end of described the 4th web member and described the first housing are affixed, described the 4th snap fit comprises the 4th prodger and the 4th hook body being connected with described the 4th prodger, described the 4th prodger is connected with the first end of described the 4th web member, and outwards outstanding, so that the 3rd plane 13 has an inside acting force when contacting with described the 4th prodger, impel upper cover body 30 and lower cover 35 to lock, form the first space of a sealing.Wherein, the described the 4th, hook the 4th side 57 that is provided with the 7th plane 51 in body, the 8th side 501 of the inside surface of described the 3rd web member and the 8th plane 53 is close to, and makes the 4th locking device 43 can fastening electronic component 50.
Due to the first locking device 40 and the 3rd locking device 42 and, the second locking device 41 and the 4th locking device 43 mutually corresponding, electronic component 50 is fixed in described the first space, and because above-mentioned 4 locking devices all have a prodger, make the corresponding flat of each locking device and lower cover 35 there is outside tension force, impel upper cover plate 30 and lower cover 35 to lock.Certainly locking device can also be arranged to 2 or 3, electronic component 50 can be fixed in described the first space equally, and impel upper cover plate 30 and lower cover 35 to lock.
In addition, described locking device can only comprise the first locking device 40 and the 3rd locking device 42, can also comprise any in the first locking device 40, the 3rd locking device 42 and the second locking device 41 and the 4th locking device 43, or more locking device can also be set, be not construed as limiting in the present invention.
Wherein, upper cover plate 30 and lower cover 35 can be made by plastic material, also can be made by metal material, described electronic dice also comprises outer shell, be socketed in the outside surface of upper cover plate 30 and lower cover 35, described outer shell is made by rubber, latex, plastics and metal-rubber elastomeric material, and described changing sensor can be arranged between described outer shell and described upper cover plate 30 and the outside surface of lower cover 35, can also be arranged on the outside surface of described outer shell.
Each plane that electronic component 50 is described electronic dice is distributed a three-dimensional coordinate parameter and in each plane, is provided with a changing sensor, the information that each changing sensor sends is corresponding with described three-dimensional coordinate parameter, such as: take electronic component 50 center arranges three-dimensional coordinate parameter corresponding to center that a 3-D walls and floor is determined each plane as initial point, and the three-dimensional coordinate parameter using described three-dimensional coordinate parameter as the plane corresponding with described three-dimensional coordinate parameter.
For example: the three-dimensional coordinate parameter of the 6th plane 16 correspondences that showing on electronic dice counts is 1 is 110 for (10,0,0) and corresponding to the information of the 6th changing sensor 25, the six changing sensor 25 correspondences;
The three-dimensional coordinate parameter of the first plane 11 correspondences that are 2 of counting is 001 for (0,0,10) and corresponding to the information of the first changing sensor 20, the first changing sensor 20 correspondences;
The three-dimensional coordinate parameter of Siping City's face 14 correspondences that are 3 of counting is 011 for (0,10,0) and corresponding to the information of the 4th changing sensor 23, the four changing sensor 23 correspondences;
The three-dimensional coordinate parameter of the second plane 12 correspondences that are 4 of counting is 010 for (0 ,-10,0) and corresponding to the information of the second changing sensor 21, the second changing sensor 21 correspondences;
The three-dimensional coordinate parameter of the 3rd plane 13 correspondences that are 5 of counting is 100 for (0,0 ,-10) and corresponding to the information of the 3rd changing sensor 22, the three changing sensor 22 correspondences;
The three-dimensional coordinate parameter of the 5th plane 15 correspondences that are 6 of counting is 101 for (10,0,0) and corresponding to the information of the 5th changing sensor 24, the five changing sensor 24 correspondences;
When Siping City's face 14 of this electronic dice is upward time, the second plane 12 meetings stationary plane contact corresponding with this electronic dice will produce deformation, because described electronic dice itself has weight, make the second plane 12 that deformation can occur, so, the second changing sensor 21 can detect the first plane 11 deformation has occurred, and information 010 is sent to described the first process chip, based on described the first deformation data, described the first process chip can be obtained the three-dimensional coordinate parameter (0 of Siping City face 14 corresponding with the second plane 12,-10, 0), and the three-dimensional coordinate of Jiang Siping City face 14 ginseng (0,-10, 0) by Zigbee communication, be transferred to described the first electronic equipment, described the first electronic equipment is determined and three-dimensional coordinate ginseng (0 according to default three-dimensional coordinate parameter and the relation of counting,-10, 0) the first corresponding numerical value is 3, when the 3rd plane 13 contacts with described stationary plane, the 3rd changing sensor 22 sends to described the first process chip by information 100, described the first process chip sends to described the first electronic equipment by the three-dimensional coordinate parameter (0,0,10) of the first plane 11 corresponding with the 3rd plane, so that described the first electronic equipment is by analyzing described three-dimensional coordinate parameter (0,0,10), obtain and described three-dimensional coordinate parameter (0,0,10) the first corresponding numerical value is 2.
In another embodiment, described electronic dice also can arrange is arranged to 2 planes, comprise the first plane and the second plane, in described the first plane, be all provided with the first changing sensor, in described the second plane, be provided with the second changing sensor, and be connected with electronic component in the inside of described electronic dice, when described the first plane contacts with a stationary plane, by the first changing sensor being arranged in described the first plane, send information to described electronic component, described electronic component is by the output three-dimensional coordinate parameter corresponding with described the second plane, so that first electronic equipment corresponding with described electronic component can receive described three-dimensional coordinate parameter.In addition, described electronic dice can also be arranged to 4 planes or 8 planes etc.
In another embodiment, on described upper cover plate, be provided with 4 the first springs, and on described lower cover, be provided with 4 the second springs, impel corresponding second spring of each first spring, by being arranged on the snap fit of described the first spring at front end, match with the snap fit that is arranged on the front end of the second corresponding spring, impel described upper cover plate and the sealing of described lower cover, and form the first space of a sealing, wherein, position that 4 the first springs arrange and the first locking device in previous embodiment, the second locking device are set on described upper cover plate.The 3rd locking device is corresponding with the 4th locking device.So, described locking device just comprises 8 spring structures.
One or more technical schemes that the application provides, at least have following technique effect or advantage:
(1) due in the embodiment of the present application, in each plane of described shell, be provided with a changing sensor, and the corresponding three-dimensional coordinate parameter of described each plane, when the first plane of this electronic dice and other object contacts, the changing sensor arranging in the above first plane can be by communication to electronic component, described electronic component just can be identified the three-dimensional coordinate parameter of described the first plane and the one side contrary with described the first plane, so guaranteed the information of counting of electronic dice described in Obtaining Accurate.
(2) due in the embodiment of the present application, at the outside surface of described upper cover plate and described lower cover, also overlap and have crust layer, and described outer shell is made by resilient material, reduce the pressure that described upper cover plate and described lower cover bear, make to reduce in the loss of electronic dice described in use procedure, can improve the serviceable life of described electronic dice, make user's experience better.
(3) due in the embodiment of the present application, arcuate structure is all arranged in 8 corners of described electronic dice, makes the rolling that described electronic dice can be more smooth, for user provides convenience.
After execution of step 104, next perform step 105, in this step, based on described the first three-dimensional coordinate parameter, obtain the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.In specific implementation process, the first process chip at described first the second electronic equipment is provided with three-dimensional system of coordinate, each plane that makes described first the second electronic equipment is corresponding different three-dimensional coordinate all, and described the first three-dimensional coordinate parameter is corresponding with described default plane, for example, when described default plane is the first plane upward of described first second electronic equipment, described the first three-dimensional coordinate parameter is the three-dimensional parameter of described the first plane, when described default plane is the second plane down of described first second electronic equipment, described the first three-dimensional coordinate parameter is the coordinate parameters of described the second plane, then each plane of described first the second electronic equipment is shown count and the three-dimensional coordinate Parameter storage corresponding with described each plane in described the first electronic equipment, so, after obtaining described the first three-dimensional coordinate parameter, by above-mentioned corresponding relation, just can obtain the first numerical value of the default plane of described first second electronic equipment, then described the first numerical value is exported as described the first random data, controlling the operand corresponding with described the first random number moves accordingly.
Specifically, described first second electronic equipment be take above-mentioned electronic dice as example, in the first process chip of this electronic dice, be provided with (X, Y, Z) three-dimensional coordinate, and each plane at this electronic dice is provided with changing sensor, when the first plane 11 of described electronic dice contacts with described stationary plane, because described electronic dice itself has weight, make the first plane 11 that deformation can occur, so, the first changing sensor 20 can detect the first plane 11 deformation has occurred, concurrent carry information 001 is given described the first process chip, described the first process chip is by the three-dimensional coordinate parameter (0 of contrary the 3rd plane 13 of the first plane 11, 0,-10) export, described the first electronic equipment receives described three-dimensional coordinate parameter (0, 0,-10) time, pass through to analyze described three-dimensional coordinate parameter (0, 0,-10) obtaining the first corresponding numerical value is 5, and the first numerical value 5 is exported as described the first random number, if deformation can occur the 6th plane 16, so, the 6th changing sensor 25 meeting transmission information 110 are to described the first process chip, described the first process chip is by the three-dimensional coordinate parameter with corresponding the 5th plane 15 of the 6th plane 16 (10,0,0), so, make described the first electronic equipment receive described three-dimensional coordinate parameter (10,0,0), obtain and described three-dimensional coordinate parameter (10,0,0) the first corresponding numerical value is 6, and the first numerical value 6 is exported as described the first random number.
In another embodiment, after whether first second electronic equipment of the described N of described detection the second electronic equipment is kept in motion, when if described first second electronic equipment is not kept in motion, generate the first information, and export described the first information, with prompting first operator corresponding with described the first electronic equipment, wherein, described first second electronic equipment is any in a described N electronic equipment.In specific implementation process, once neither one the second electronic equipment in described N the second electronic equipment be detected, be not all kept in motion, send information to point out described the first operator.
In actual applications, while using Tabletop computer to carry out zillionaire game, 6 electronic dices in the scope of 2 meters, this Tabletop computer, have been detected, taking turns to first user while playing, if any dice in described 6 electronic dices being detected is not all kept in motion, send voice prompt, to remind described first user to throw dice.
In another embodiment, described based on described the first three-dimensional coordinate parameter, after obtaining the first numerical value of the default plane of described first second electronic equipment, at described N, be while being not less than 2 integer, detect described second the second electronic equipment and whether from described motion state, convert stationary state to; When described second the second electronic equipment being detected and converted stationary state to from motion state, obtain the second three-dimensional coordinate parameter while remaining static from described second the second electronic equipment; Based on described the second three-dimensional coordinate parameter, obtain the second value of the default plane of described second the second electronic equipment, generate the first computations; Carry out described the first computations, obtain third value, wherein, described third value is described the first numerical value and described second value sum, and described third value and institute are exported as described the first random number.
In specific implementation process, the first random number that described the first electronic equipment need to obtain can need to determine with 2 the second electronic equipments, for example, while using Tabletop computer to carry out zillionaire game, may use 2 electronic dices, so, described the first electronic equipment just need to obtain the counting separately of 2 electronic dices, and the sum of counting of above-mentioned 2 electronic dices is exported as described the first random number.
In actual application, for example, while using Tabletop computer to carry out flight chess game, if the first three-dimensional coordinate parameter of first the second electronic dice is (0,-10,0), the second three-dimensional coordinate parameter of second the second electronic dice is (0,0,-10), described the first numerical value is 4, and described the second numeral is 5, and described third value is: 4+5=9, numerical value 9 is exported as described the first random number, controlled flight chess 9 units that travel forward.
In another embodiment, the first random number that described electronic equipment obtains can need to determine with N the second electronic equipment, wherein, described N is not less than 2 integer, for example, while using Tabletop computer to carry out zillionaire game or flight chess, may use 2 or 3 electronic dices, so, described electronic equipment just need to obtain the counting separately of 2 or 3 electronic dices, and the sum of counting of above-mentioned 2 or 3 electronic dices is exported as described the first random number.
In specific implementation process, when obtaining the counting of described N the second electronic equipment, whether need to judge in described N the second electronic equipment has at least second electronic equipment to be kept in motion, when having described at least one second electronic equipment in described motion state, when described in detecting, at least one second electronic equipment converts stationary state to from described motion state again, obtain counting of each the second electronic equipment in described N the second electronic equipment, then the sum of counting of the N of institute the second electronic equipment is exported as described the first random number.
Specifically, when obtaining the counting of described N the second electronic equipment, as long as detect in described N the second electronic equipment, have at least second electronic equipment to be kept in motion, just using the sum of counting of each electronic equipment in described N the second electronic equipment as described the first random number.For example, when using Tabletop computer to carry out flight chess game, 3 electronic dices can need to be used, when this Tabletop computer detection is when only having first electronic dice to be kept in motion in described 3 electronic dices, , in described 3 electronic dices, other 2 dices are not kept in motion, when described first electronic dice converts stationary state to from described motion state, obtain first numerical value of first electronic dice when described stationary state, then obtain in described 3 electronic dices the numerical value of each electronic dice in other 2 electronic dices, using the numerical value sum of described 3 electronic dices as described the first random number, control the move distance of flight chess, when first electronic dice being detected in fortune account of somebody's meritorious service state, second electronic dice also being detected is also kept in motion, so, the first numerical value when first electronic dice converts stationary state to from described motion state described in obtaining, and the second value when obtaining described the second electronic dice and converting stationary state to from described motion state, and obtain in described 3 electronic dices the 4th numerical value when the 3rd electronic dice remains static, using described the first numerical value and described second value and described third value sum as described the first random number, control the move distance of described flight chess.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
One, because the embodiment of the present application is when described the first electronic equipment need to obtain the first random number, and N the second electronic equipment detected in a preset range time, whether first second electronic equipment that judges described N the second electronic equipment is kept in motion, when described first second electronic equipment is kept in motion and converted stationary state to from described motion state, obtain the first three-dimensional coordinate parameter of described first the second electronic equipment, again based on described the first three-dimensional coordinate parameter, determine the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.Due to numerical value corresponding to each three-dimensional coordinate parameter of described the second electronic equipment,
Two, because the embodiment of the present application is while being connected by wired mode described the first electronic equipment and described the second electronic equipment being detected, by carrying out described steering order, the current state of described the first radio-cell is adjusted into off-position, and the current state of described the second radio-cell is adjusted into off-position, that is, described the first radio-cell and described the second radio-cell are stopped power supply.So, can reduce the power consumption of described the first electronic equipment and described the second electronic equipment, improve the flying power of described the first electronic equipment and described the second electronic equipment, further for user provides convenience, impel user's experience better.
One embodiment of the invention also provides a kind of electronic equipment, and described electronic equipment is such as being the electronic equipments such as panel computer, Tabletop computer.
Referring to Fig. 8, this electronic equipment comprises circuit board 201, the second process chip 202, be arranged on circuit board 201, when described electronic equipment need to obtain the first random number, for detect whether there be N the second electronic equipment in a preset range, wherein, described N is not less than 1 integer, while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment for detection of described N the second electronic equipment is kept in motion, at described first second electronic equipment during in described motion state, for detection of described first second electronic equipment, whether from described motion state, convert stationary state to, when described in detecting, first second electronic equipment has converted described stationary state to from described motion state, for obtaining the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, wherein, described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates, and based on described the first three-dimensional coordinate parameter, for obtaining the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
Wherein, circuit board 201 can be the mainboard of electronic equipment, and further, the second process chip 202 can be independent process chip, can be to be also integrated in processor.
Further, the second process chip 202 comprises judging unit, before described electronic equipment need to obtain the first random number, for detection of described electronic equipment, whether needs to obtain the first random number.
Further, the second process chip 202 comprises the first detecting unit, described N the second electronic equipment in described preset range, detected and in first constantly time, for obtaining the second three-dimensional coordinate parameter of described first second electronic equipment in described first moment, and for obtaining the three three-dimensional coordinate parameter of described first second electronic equipment in second moment, wherein, after being engraved in described first moment at described second o'clock, and whether whether described the 3rd three-dimensional coordinate parameter is identical with described the second three-dimensional coordinate parameter detects described first second electronic equipment and is kept in motion by detecting.
Further, the second process chip 202 comprises that coordinate parameters obtains unit, when described in detecting, first second electronic equipment has converted stationary state to from motion state, for obtain the first three-dimensional coordinate parameter remaining static from described first second electronic equipment by Zigbee wireless communication technology.
In one embodiment, for example take panel computer as electronic equipment, and electronic dice is the second electronic equipment, when using electronic dice to carry out zillionaire game, at 11:10:20, constantly take turns to first user while playing, described first user is thrown this electronic dice on described panel computer, so, this electronic dice can rotate, the three-dimensional coordinate parameter of impelling this electronic dice to be transferred to panel computer also can change, making this panel computer described electronic dice can be detected is kept in motion, at 11:10:50 this electronic dice of the moment, remain static, and counting of plane is upward 4, because the three-dimensional coordinate parameter of described electronic dice after remaining static can not change, making described panel computer described electronic dice can be detected remains static, because counting of described electronic dice is that deformation can occur for 3 plane and the Surface Contact of panel computer, by changing sensor, communication can be given to the first process chip of described electronic dice, described the first process chip will be that the three-dimensional coordinate parameter of the plane that is 4 of counting corresponding to 3 plane is transferred to described panel computer with described counting, making described panel computer can identify described electronic dice is 4 as the counting of plane upward of described default plane, then will count and 4 as described the first random number, export.
In another embodiment, the second process chip 202 comprises Tip element, when described first second electronic equipment is not kept in motion, for generating the first information, and export described the first information, to point out first operator corresponding with described electronic equipment.
In another embodiment, the second process chip 202 comprises random number acquiring unit, described based on described the first three-dimensional coordinate parameter, after obtaining the first numerical value of the default plane of described first second electronic equipment, at described N, be while being not less than 2 integer, for detection of second the second electronic equipment in described N the second electronic equipment, whether from described motion state, convert stationary state to, when described second the second electronic equipment being detected and converted described stationary state to from described motion state, for obtaining the second three-dimensional coordinate parameter while remaining static from described second the second electronic equipment, again based on described the second three-dimensional coordinate parameter, for obtaining the second value of the default plane of described second the second electronic equipment, and generate the first computations, be used for carrying out described the first computations, obtain third value, wherein, described third value is described the first numerical value and described second value sum, and described third value is exported as described the first random number with institute.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
One, because the embodiment of the present application is when described the first electronic equipment need to obtain the first random number, and N the second electronic equipment detected in a preset range time, whether first second electronic equipment that judges described N the second electronic equipment is kept in motion, when described first second electronic equipment is kept in motion and converted stationary state to from described motion state, obtain the first three-dimensional coordinate parameter of described first the second electronic equipment, again based on described the first three-dimensional coordinate parameter, determine the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.Due to numerical value corresponding to each three-dimensional coordinate parameter of described the second electronic equipment,
Two, because the embodiment of the present application is while being connected by wired mode described the first electronic equipment and described the second electronic equipment being detected, by carrying out described steering order, the current state of described the first radio-cell is adjusted into off-position, and the current state of described the second radio-cell is adjusted into off-position, that is, described the first radio-cell and described the second radio-cell are stopped power supply.So, can reduce the power consumption of described the first electronic equipment and described the second electronic equipment, improve the flying power of described the first electronic equipment and described the second electronic equipment, further for user provides convenience, impel user's experience better.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (12)
1. a method for information interaction, is applied to the first electronic equipment, it is characterized in that, described method comprises:
When described the first electronic equipment need to obtain the first random number, in a preset range, detect and whether have N the second electronic equipment, wherein, described N is not less than 1 integer;
While described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment that detects described N the second electronic equipment is kept in motion;
At described first second electronic equipment, during in described motion state, detect described first second electronic equipment and whether from described motion state, convert stationary state to;
When described in detecting, first second electronic equipment has converted described stationary state to from described motion state, acquisition is the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, wherein, described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates;
Based on described the first three-dimensional coordinate parameter, obtain the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
2. the method for claim 1, is characterized in that, before described the first electronic equipment need to obtain the first random number, described method also comprises:
Detect described the first electronic equipment and whether need to obtain the first random number.
3. the method for claim 1, is characterized in that, while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment that detects described N the second electronic equipment is kept in motion, and specifically comprises:
Described N the second electronic equipment in described preset range, detected and when first moment, obtained the second three-dimensional coordinate parameter of described first second electronic equipment in described first moment;
Obtain the three three-dimensional coordinate parameter of described first second electronic equipment in second moment, wherein, after being engraved in described first moment at described second o'clock;
By detecting, whether whether described the 3rd three-dimensional coordinate parameter is identical with described the second three-dimensional coordinate parameter detects described first second electronic equipment and is kept in motion.
4. the method for claim 1, is characterized in that, after whether first second electronic equipment of the described N of described detection the second electronic equipment is kept in motion, described method also comprises:
When described first second electronic equipment is not kept in motion, generate the first information;
Export described the first information, to point out first operator corresponding with described the first electronic equipment.
5. the method for claim 1, it is characterized in that, describedly when described first second electronic equipment being detected and converted stationary state to from motion state, obtain the first three-dimensional coordinate parameter while remaining static from described first second electronic equipment, specifically comprise:
When described first second electronic equipment being detected and converted stationary state to from motion state, by Zigbee wireless communication technology obtain from described first second electronic equipment, remain static the first three-dimensional coordinate parameter.
6. the method for claim 1, is characterized in that, described, based on described the first three-dimensional coordinate parameter, after obtaining the first numerical value of the default plane of described first second electronic equipment, described method also comprises:
At described N, be while being not less than 2 integer, detect described second the second electronic equipment and whether from described motion state, convert stationary state to;
When described second the second electronic equipment being detected and converted stationary state to from motion state, obtain the second three-dimensional coordinate parameter while remaining static from described second the second electronic equipment;
Based on described the second three-dimensional coordinate parameter, obtain the second value of the default plane of described second the second electronic equipment, generate the first computations;
Carry out described the first computations, obtain third value, wherein, described third value is described the first numerical value and described second value sum, and described third value and institute are exported as described the first random number.
7. an electronic equipment, is characterized in that, described electronic equipment comprises:
Circuit board;
The second process chip, on setting and described circuit board, when described electronic equipment need to obtain the first random number, for detect whether there be N the second electronic equipment in a preset range, wherein, described N is not less than 1 integer, while described N the second electronic equipment having been detected in described preset range, whether first second electronic equipment for detection of described N the second electronic equipment is kept in motion, at described first second electronic equipment during in described motion state, for detection of described first second electronic equipment, whether from described motion state, convert stationary state to, when described in detecting, first second electronic equipment has converted described stationary state to from described motion state, for obtaining the first three-dimensional coordinate parameter when the described stationary state from described first second electronic equipment, wherein, described the first three-dimensional coordinate parameter is that the first process chip by described first the second electronic equipment generates, and based on described the first three-dimensional coordinate parameter, for obtaining the first numerical value of the default plane of described first second electronic equipment, and described the first numerical value is exported as described the first random number.
8. electronic equipment as claimed in claim 7, is characterized in that, described the second process chip comprises judging unit, for detection of described electronic equipment, whether needs to obtain the first random number.
9. electronic equipment as claimed in claim 7, it is characterized in that, described the second process chip comprises the first detecting unit, described N the second electronic equipment in described preset range, detected and in first constantly time, for obtaining the second three-dimensional coordinate parameter of described first second electronic equipment in described first moment, and for obtaining the three three-dimensional coordinate parameter of described first second electronic equipment in second moment, wherein, after being engraved in described first moment at described second o'clock, and whether whether described the 3rd three-dimensional coordinate parameter is identical with described the second three-dimensional coordinate parameter detects described first second electronic equipment and is kept in motion by detecting.
10. electronic equipment as claimed in claim 7, it is characterized in that, described the second process chip comprises Tip element, when described first second electronic equipment is not kept in motion, be used for generating the first information, and export described the first information, to point out first operator corresponding with described electronic equipment.
11. electronic equipments as claimed in claim 7, it is characterized in that, described the second process chip comprises that coordinate parameters obtains unit, when described in detecting, first second electronic equipment has converted stationary state to from motion state, for obtain the first three-dimensional coordinate parameter remaining static from described first second electronic equipment by Zigbee wireless communication technology.
12. electronic equipments as claimed in claim 7, it is characterized in that, described process chip second comprises random number acquiring unit, described based on described the first three-dimensional coordinate parameter, after obtaining the first numerical value of the default plane of described first second electronic equipment, at described N, be while being not less than 2 integer, for detection of second the second electronic equipment in described N the second electronic equipment, whether from described motion state, convert stationary state to, when described second the second electronic equipment being detected and converted described stationary state to from described motion state, for obtaining the second three-dimensional coordinate parameter while remaining static from described second the second electronic equipment, again based on described the second three-dimensional coordinate parameter, for obtaining the second value of the default plane of described second the second electronic equipment, and generate the first computations, be used for carrying out described the first computations, obtain third value, wherein, described third value is described the first numerical value and described second value sum, and described third value is exported as described the first random number with institute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210356944.3A CN103677238A (en) | 2012-09-21 | 2012-09-21 | Information interaction method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210356944.3A CN103677238A (en) | 2012-09-21 | 2012-09-21 | Information interaction method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103677238A true CN103677238A (en) | 2014-03-26 |
Family
ID=50315060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210356944.3A Pending CN103677238A (en) | 2012-09-21 | 2012-09-21 | Information interaction method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103677238A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114748865A (en) * | 2022-05-13 | 2022-07-15 | 深圳合众魔袋文创有限公司 | smart dice |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000052672A1 (en) * | 1999-02-28 | 2000-09-08 | Cibro Technologies Ltd. | An electronic dice |
US6220594B1 (en) * | 1999-05-06 | 2001-04-24 | Yun-Ching Peng | Device for automatically discriminating die spot number |
CN1623622A (en) * | 2003-12-04 | 2005-06-08 | 赫德森索夫特株式会社 | Method and apparatus for dice eye number determination and electronic device using the determinater |
CN1684745A (en) * | 2002-08-24 | 2005-10-19 | 迈克尔·K·琳德赛 | electronic dice |
KR20100007474A (en) * | 2008-07-14 | 2010-01-22 | 부산광역시 | Electronic dice system |
-
2012
- 2012-09-21 CN CN201210356944.3A patent/CN103677238A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000052672A1 (en) * | 1999-02-28 | 2000-09-08 | Cibro Technologies Ltd. | An electronic dice |
US6220594B1 (en) * | 1999-05-06 | 2001-04-24 | Yun-Ching Peng | Device for automatically discriminating die spot number |
CN1684745A (en) * | 2002-08-24 | 2005-10-19 | 迈克尔·K·琳德赛 | electronic dice |
CN1623622A (en) * | 2003-12-04 | 2005-06-08 | 赫德森索夫特株式会社 | Method and apparatus for dice eye number determination and electronic device using the determinater |
KR20100007474A (en) * | 2008-07-14 | 2010-01-22 | 부산광역시 | Electronic dice system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114748865A (en) * | 2022-05-13 | 2022-07-15 | 深圳合众魔袋文创有限公司 | smart dice |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101227678B1 (en) | Human body communication system and method | |
CN102945088B (en) | Realize the method for terminal simulation mouse action equipment, device and mobile terminal | |
CN106068487B (en) | The display of button-free activates | |
CN103933722B (en) | A kind of dumb-bell motion detection apparatus and dumb-bell method for testing motion | |
CN103869928B (en) | The system and method that power consumption is reduced in multi-sensor environment | |
CN106030446A (en) | Adjusting a power mode of a wearable computing device based on motion data | |
US20130021271A1 (en) | Touch mouse | |
CN105786238A (en) | Sensing objects using multiple transmitter frequencies | |
CN111060000B (en) | Rotation angle detection device and method and electronic equipment | |
CN107168539A (en) | A kind of equipment awakening method, device and electronic equipment | |
US10061400B2 (en) | Input device and control system | |
CN110413099A (en) | Haptic feedback system and method | |
CN105242780B (en) | A kind of interaction control method and device | |
CN205318322U (en) | Virtual reality sense of touch feedback device | |
CN112738886A (en) | Positioning method, device, storage medium and electronic device | |
CN103096156A (en) | Control method and control device of set top box | |
CN202083962U (en) | A toy controller and its signal processing device | |
CN103257753A (en) | Infrared 3D control platform | |
Mrazovac et al. | Gesture based hardware interface for RF lighting control | |
US20120287049A1 (en) | Gravity sensing input system, gravity sensing input method and electronic device thereof | |
CN106020578A (en) | Single receiver superdoze mode | |
CN103677238A (en) | Information interaction method and electronic device | |
US8866611B2 (en) | Three-dimensional input sensing system | |
CN108958375A (en) | A kind of Morphology observation method, Morphology observation device and electronic equipment | |
CN202961839U (en) | Electronic dice |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |