CN102764504B - Information output method and electronic equipment - Google Patents

Information output method and electronic equipment Download PDF

Info

Publication number
CN102764504B
CN102764504B CN201210193697.XA CN201210193697A CN102764504B CN 102764504 B CN102764504 B CN 102764504B CN 201210193697 A CN201210193697 A CN 201210193697A CN 102764504 B CN102764504 B CN 102764504B
Authority
CN
China
Prior art keywords
communication module
electronic equipment
information
state
sent
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.)
Active
Application number
CN201210193697.XA
Other languages
Chinese (zh)
Other versions
CN102764504A (en
Inventor
邵翔
杨锦平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210193697.XA priority Critical patent/CN102764504B/en
Publication of CN102764504A publication Critical patent/CN102764504A/en
Priority to DE102013106005.6A priority patent/DE102013106005B4/en
Priority to US13/915,136 priority patent/US9746837B2/en
Application granted granted Critical
Publication of CN102764504B publication Critical patent/CN102764504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses an information output method, aiming to achieve the effect of energy conservation. The method comprises the steps as follows: when first electronic equipment enters a second state from a first state or enters the first state from the second state, a first communication module obtains first information; and the first communication module sends the first information to second electronic equipment. The invention further discloses electronic equipment used for implementing the method.

Description

A kind of information output method and electronic equipment
Technical field
The present invention relates to computer and the communications field, particularly a kind of information output method and electronic equipment.
Background technology
E-dice (electronic dice) takes active mode, adopts gravity sensor detection side to transmit to Zigbee (a kind of short-distance wireless communication technology) communication.Such as can with gravity sensor detect dice towards, thus give respective electronic equipment quote counting of dice, to play.
Present inventor, in the process realizing the embodiment of the present application technical scheme, at least finds to there is following technical problem in prior art:
In prior art, dice and electronic equipment keep communications status always, and power consumption obviously increases, and reduce the service time of dice.
Summary of the invention
The embodiment of the present invention provides a kind of information output method and electronic equipment, for solving the technical problem that in prior art, dice end power consumption is too large, reaches energy-conservation effect.
A kind of information output method, be applied to the first electronic equipment, described first electronic equipment at least comprises the first state and the second state, when described first electronic equipment is in described first state or is in described second state, described first electronic equipment is not connected with the second electronic equipment, described first electronic equipment has first communication module, said method comprising the steps of:
When described first electronic equipment enters the second state by the first state, or when entering the first state by the second state, described first communication module obtains the first information; Described first state is inactive state, and described second state is state of activation;
The described first information is sent to the second electronic equipment by described first communication module;
Wherein, when described first electronic equipment enters described second state by described first state, described first communication module also comprises step after the described first information is sent to described second electronic equipment: described first communication module closes the interface channel between the second communication module of described second electronic equipment.
Preferably, the step that the described first information is sent to described second electronic equipment by described first communication module is: the described first information is sent the first numerical value time to the second communication module in described second electronic equipment by described first communication module, is spaced apart the first duration wherein between every twice.
Preferably, the described first information is sent to the step of described second electronic equipment and is by described first communication module: described first communication module stops sending the described first information when confirming the information received for first that receives that described second communication module sends.
Preferably, the step that the described first information is sent to described second electronic equipment by described first communication module is: described first communication module is the described first information of stopping transmission when receiving the information of first confirmation reception that described second communication module sends, and stops the transmission described first information when described first communication module does not receive the information of first confirmation reception of described second communication module transmission yet after send the secondary described first information of second value to the second communication module in described second electronic equipment.
Preferably, when described first electronic equipment enters described first state by described second state, before the described first information is sent to described second electronic equipment by described first communication module, also comprise step: the second communication module in described first communication module and described second electronic equipment connects passage;
The step that the described first information is sent to described second electronic equipment by described first communication module comprises: the described first information is sent to described second communication module by described interface channel by described first communication module.
Preferably, the connect step of passage of second communication module in described first communication module and described second electronic equipment comprises: after described first electronic equipment enters described inactive state second duration by described state of activation, and the second communication module in described first communication module and described second electronic equipment connects passage.
Preferably, the step that the described first information is sent to described second communication module is comprised by described interface channel by described first communication module: after described first electronic equipment enters described first state second duration by described second state, the described first information is sent to described second communication module by described interface channel by described first communication module.
Preferably, the step that the described first information is sent to the second electronic equipment comprises by described first communication module: the described first information is broadcasted by the forms of broadcasting by described first communication module, described broadcast message is responded after receiving this broadcast message to make described second communication module, and described broadcast message is decoded, obtain the described first information.
A kind of electronic equipment, described electronic equipment at least comprises the first state and the second state, when described electronic equipment is in described first state or is in described second state, described electronic equipment is not connected with the second electronic equipment, described electronic equipment has first communication module, and described first communication module comprises:
Acquiring unit, for entering the second state when described electronic equipment by the first state, or when entering the first state by the second state, described first communication module obtains the first information; Described first state is inactive state, and described second state is state of activation;
Transmitting element, for being sent to the second electronic equipment by the described first information;
Wherein, when described electronic equipment enters described second state by described first state, described first communication module also comprises processing unit, for closing the interface channel between the second communication module of described second electronic equipment.
Preferably, described transmitting element, specifically for the described first information is sent the first numerical value time to the second communication module in described second electronic equipment, is spaced apart the first duration wherein between every twice.
Preferably, described transmitting element is specifically for stopping sending the described first information when receiving the information of first confirmation reception that described second communication module sends.
Preferably, described transmitting element specifically for the described first information of stopping transmission when receiving the information of first confirmation reception that described second communication module sends, and stops the transmission described first information when described first communication module does not receive the information of first confirmation reception of described second communication module transmission yet after send the secondary described first information of second value to the second communication module in described second electronic equipment.
Preferably, when described electronic equipment enters described first state by described second state, described first communication module also comprises processing unit, for connecting passage with the second communication module in described second electronic equipment;
Described transmitting element is specifically for being sent to described second communication module by described interface channel by the described first information.
Preferably, described processing unit, specifically for after described electronic equipment enters described inactive state second duration by described state of activation, to connect passage with the second communication module in described second electronic equipment.
Preferably, the described first information, specifically for after described electronic equipment enters described first state second duration by described second state, is sent to described second communication module by described interface channel by described transmitting element.
Preferably, described transmitting element is specifically for broadcasting the described first information by the forms of broadcasting, to make described second communication module respond described broadcast message after receiving this broadcast message, and described broadcast message is decoded, obtain the described first information.
Information output method in the embodiment of the present invention is for entering the second state when described first electronic equipment by the first state, or when entering the first state by the second state, described first communication module obtains the first information; The described first information is sent to the second electronic equipment by described first communication module.When the state of the first electronic equipment changes, the first information of acquisition is sent to the second electronic equipment by first communication module, and first communication module can not connect with the second electronic equipment when the state of the first electronic equipment remains unchanged, the electric energy of the first electronic equipment end can be saved like this when the state of the first electronic equipment is constant, reach energy-conservation effect.
Accompanying drawing explanation
Fig. 1 is the main method flow chart that in the embodiment of the present invention, information exports;
Fig. 2 is the detailed structure view of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
Information output method in the embodiment of the present invention is for entering the second state when described first electronic equipment by the first state, or when entering the first state by the second state, described first communication module obtains the first information; The described first information is sent to the second electronic equipment by described first communication module.When the state of the first electronic equipment changes, the first information of acquisition is sent to the second electronic equipment by first communication module, and first communication module can not connect with the second electronic equipment when the state of the first electronic equipment remains unchanged, the electric energy of the first electronic equipment end can be saved like this when the state of the first electronic equipment is constant, reach energy-conservation effect.
See Fig. 1, in the embodiment of the present invention, the main flow of information output method is as follows, described method can be applied to the first electronic equipment, described first electronic equipment at least comprises the first state and the second state, when described first electronic equipment is in described first state or is in described second state, described first electronic equipment is not connected with described second electronic equipment, and described first electronic equipment can have first communication module:
Step 101: when described first electronic equipment enters the second state by the first state, or when entering the first state by the second state, described first communication module obtains the first information.
In the embodiment of the present invention, described first electronic equipment can be an electronic dice, and described second electronic equipment can be a PAD (panel computer).Use scenes can be: when playing, user rocks electronic dice, is then thrown on the display screen of PAD by this electronic dice, thus PAD can be made to obtain the point information of dice.
Described first electronic equipment can adopt Zigbee mode to communicate with described second electronic equipment, or also can adopt other modes, and such as bluetooth etc. are described in Zigbee mode in the embodiment of the present invention.
When described first electronic equipment is in described first state or is in described second state always always, interface channel between described first electronic equipment and described second electronic equipment can be closed, for described first electronic equipment, its first communication module can not work, and effectively can save electric energy like this.Second electronic equipment end also can have second communication module, and it is for communicating with described first communication module.Described second communication module can be in running order all the time, to guarantee to connect with described first communication module at any time passage.
In the embodiment of the present invention, described first state can refer to inactive state, and described second state can refer to state of activation.
When described first electronic equipment enters the second state by the first state, or when entering the first state by the second state, namely when the state of described first electronic equipment changes, described first communication module can obtain the first information of described first electronic equipment end, and the described first information obtained can be sent to the described second communication module of described second electronic equipment.
Wherein, if described first electronic equipment enters state of activation by inactive state, then the described first information can be for notifying the information that interface channel described in described second electronic equipment will be closed, namely when described first electronic equipment enters state of activation by inactive state, described first communication module can obtain that described first electronic equipment generates for notifying that described second electronic equipment is about to cut out the information of described interface channel.
If described first electronic equipment enters inactive state by state of activation, then the described first information can be the described point information of the first electronic equipment or the information of other types.Namely, when described first electronic equipment enters inactive state by state of activation, described first communication module can obtain point information or other information of described first electronic equipment.
If described first electronic equipment enters inactive state by state of activation, because the interface channel when state of activation between described first communication module and described second communication module is closed, described first communication module is work no, therefore, when described first electronic equipment enters inactive state by state of activation, first described first communication module will set up described interface channel with described second communication module.
Wherein, in the embodiment of the present invention, the time that can be entered inactive state by state of activation at described first electronic equipment arrive the second duration after described first communication module to connect with described first communication module again passage, connect after can waiting until described first electronic equipment arrival stable state like this passage, thus can obtain the first information more accurately.
If described first communication module and described second communication module are the passages that connects first, then self first mark (ID) information can be broadcasted by the form of broadcast by described first communication module, described second communication module is after receiving this broadcast message, the second identification information of self can be mated with this first identification information, if determine that the two can mate, then described second communication module is determined to set up the success of described interface channel with described first communication module, thus described second communication module can adopt corresponding decoded information to decode when receiving other broadcast messages that described first communication module sends, to obtain the specifying information that described first communication module sends.
Step 102: the described first information is sent to the second electronic equipment by described first communication module.
If described first electronic equipment enters inactive state by state of activation, then described first communication module is after the second communication module with described second electronic equipment connects passage, by described interface channel, the described first information is sent to described second electronic equipment.
If described first electronic equipment enters state of activation by inactive state, now be divided into three kinds of situations: one, the inactive state that described first electronic equipment was entered by state of activation before this, now establish interface channel between described first communication module and described second communication module, described in when this interface channel is not closed, the first electronic equipment enters state of activation by inactive state again, described first communication module can obtain for notifying that interface channel described in described second electronic equipment is about to the first information of closing, and this first information is sent to described second electronic equipment by described interface channel, after this first information is sent to described second electronic equipment, or when this first information is mail to described second electronic equipment, described first communication module can close this interface channel.Wherein if close this interface channel when this first information is mail to described second electronic equipment, then described second electronic equipment may not receive this first information; Two, described first electronic equipment does not connect with described second electronic equipment passage always, when it enters state of activation by inactive state, described first communication module can obtain for notifying that interface channel described in described second electronic equipment is about to the first information of closing, and this first information is sent to described second electronic equipment, now because interface channel does not exist, then this first information may be dropped after sending, and described second electronic equipment possibly cannot receive this first information; Three, the inactive state that entered by state of activation before this of described first electronic equipment, now establish interface channel between described first communication module and described second communication module, after this interface channel is closed, described first electronic equipment enters state of activation by inactive state again, now because interface channel does not exist, then this first information may be dropped after sending, and described second electronic equipment possibly cannot receive this first information.
Wherein, if described first communication module is communicated by Zigbee mode with described second communication module, then a kind of mode sending the described first information can be: the described first information can be broadcasted by the forms of broadcasting by described first communication module, described second communication module responds described broadcast message after receiving this broadcast message, after response, this broadcast message is decoded, obtain the described first information.
If described first electronic equipment enters inactive state by state of activation, then after described first electronic equipment sends the described first information to described second electronic equipment, described first communication module can close the described interface channel between described second communication module automatically, to save electric energy.Wherein, described first communication module can close described interface channel after being sent the described first information the 3rd duration.
If described first electronic equipment enters state of activation by inactive state, then the described first information is for notifying that interface channel described in described second electronic equipment is about to the information of closing, although enter inactive state at described electronic equipment by state of activation, after being sent the described first information, described first communication module may close described interface channel automatically, but described first electronic equipment sends for informing that the information that interface channel described in described second electronic equipment is about to close is to ensure that described interface channel is necessarily closed to described second electronic equipment when entering state of activation by inactive state again.
In the embodiment of the present invention, described first communication module can send repeatedly when sending the described first information, and concrete transmission times can sets itself, such as, can be set as common transmission first numerical value.The time interval between every twice transmitting time can be the first duration.Such as, can set the described first information of common transmission 5 times, the time interval between every twice is 1 second.Can guarantee that described second electronic equipment can receive the described first information by repeatedly repeating transmission, reducing packet loss.
Because described second electronic equipment can reply the information confirming to receive after receiving the described first information, then can not also set concrete transmission times, when being only set in each described first information of transmission, as long as receive first information confirming to receive, then stop sending, if do not receive the confirmation the information of reception, continue to send the described first information.The time interval between every twice transmitting time can be the 4th duration.Described 4th duration and described first duration can equal also can be unequal.
Or can also second value be set: when sending each described first information, as long as receive first information confirming to receive, then stop sending, if still do not receive the confirmation the information of reception after have sent a second value described first information, then stop sending the described first information.The time interval between every twice transmitting time can be the 5th duration.Described 5th duration and described first duration can equal also can be unequal.When transmission does not repeatedly still receive feedback information, may be that equipment is out of order, if at this moment continue transmission may waste Internet resources.
The method that in the present invention, information exports is introduced below by way of several specific embodiment.
Embodiment one:
Described first electronic equipment is an electronic dice, and described second electronic equipment is a PAD, and this PAD has a touch-screen, and this electronic dice can be thrown on described touch-screen.The first communication module of described electronic dice side is communicated by Zigbee mode with the second communication module of described PAD side.
Described electronic dice comprises inactive state and state of activation, when described electronic dice continues be in described inactive state or continue to be in described state of activation, do not have interface channel between described electronic dice and described PAD, the first communication module of described electronic dice side is in closed condition.
In the present embodiment, user rocks described electronic dice, and namely first described electronic dice is in state of activation, and the first communication module of described electronic dice side is in closed condition in this case.
Afterwards, this electronic dice is thrown on the touch-screen of described PAD by user, and namely described electronic dice enters inactive state by state of activation.Now, first described first communication module can obtain the first information, and the first information described in the present embodiment can be the point information of described electronic dice.In the present embodiment, described first communication module can obtain this first information after described electronic dice enters inactive state second duration by state of activation, to obtain point information comparatively accurately.
Before the described first information is sent to described second electronic equipment by described first communication module, first described first communication module will connect with the second communication module in described second electronic equipment passage.In the present embodiment, described first communication module and described second communication module are the passages that connects first.Self first mark (ID) information can be broadcasted by the form of broadcast by described first communication module, described second communication module is after receiving this broadcast message, the second identification information of self can be mated with this first identification information, if determine that the two can mate, then described second communication module is determined to set up the success of described interface channel with described first communication module, thus described second communication module can adopt corresponding decoded information to decode when receiving other broadcast messages that described first communication module sends, to obtain the specifying information that described first communication module sends.Described in the present embodiment, interface channel is successfully established.
Obtain the time of the described first information because of described first communication module and to set up time of described interface channel almost identical with described second communication module, therefore can think that described first communication module is also set up described interface channel with described second communication module after described first electronic equipment enters inactive state second duration by state of activation.
After described interface channel is successfully established, the point information of acquisition is sent to described second communication module by described interface channel by described first communication module, to make described PAD obtain described point information, thus can play.
In the present embodiment, setting the number of times that described first communication module sends the described first information is in advance five times, and the time interval between every twice is the first duration, and described first duration is 1 second.Described PAD often may receive once the described first information and namely reply the information confirming to receive, and described first communication module does not respond the information that this confirmation receives, and stops for five times sending until send.
After described first communication module stops sending the described first information the 3rd duration, described first communication module closes the interface channel between described second communication module.
Embodiment two:
Described first electronic equipment is an electronic dice, and described second electronic equipment is a PAD, and this PAD has a touch-screen, and this electronic dice can be thrown on described touch-screen.The first communication module of described electronic dice side is communicated by Zigbee mode with the second communication module of described PAD side.
Described electronic dice comprises inactive state and state of activation, when described electronic dice continues be in described inactive state or continue to be in described state of activation, do not have interface channel between described electronic dice and described PAD, the first communication module of described electronic dice side is in closed condition.
In the present embodiment, described electronic dice remains static first always.
Afterwards, user starts to rock this electronic dice, and namely described electronic dice enters state of activation by inactive state.Now, described first communication module first can obtain that described electronic dice generates for close described first communication module and described PAD second communication module between the information of interface channel, and this first information is sent to described second electronic equipment, now because interface channel does not exist, then this first information may be dropped after sending, and described second electronic equipment possibly cannot receive this first information.
Then this electronic dice is thrown on the touch-screen of described PAD by user, and namely described electronic dice enters inactive state by state of activation.Now, first described first communication module can obtain the first information, and the first information described in the present embodiment can be the point information of described electronic dice.In the present embodiment, described first communication module can obtain this first information after described electronic dice enters inactive state second duration by state of activation, to obtain point information comparatively accurately.
Before the described first information is sent to described second electronic equipment by described first communication module, first described first communication module will connect with the second communication module in described second electronic equipment passage.In the present embodiment, described first communication module and described second communication module are the passages that connects first.Self first mark (ID) information can be broadcasted by the form of broadcast by described first communication module, described second communication module is after receiving this broadcast message, the second identification information of self can be mated with this first identification information, if determine that the two can mate, then described second communication module is determined to set up the success of described interface channel with described first communication module, thus described second communication module can adopt corresponding decoded information to decode when receiving other broadcast messages that described first communication module sends, to obtain the specifying information that described first communication module sends.Described in the present embodiment, interface channel is successfully established.
Obtain the time of the described first information because of described first communication module and to set up time of described interface channel almost identical with described second communication module, therefore can think that described first communication module is also set up described interface channel with described second communication module after described first electronic equipment enters inactive state second duration by state of activation.
After described interface channel is successfully established, the point information of acquisition is sent to described second communication module by described interface channel by described first communication module, to make described PAD obtain described point information, thus can play.
In the present embodiment, do not set the total degree that described first communication module sends the described first information in advance, configured to use only, stop sending the described first information to described second communication module when described first communication module receives the information of first confirmation reception that described second communication module sends.
In the present embodiment, described first communication module have sent three described first information to described second communication module, and the time interval between every twice is the first duration, and described first duration is 0.5 second.
Before described first communication module sends the described first information the 4th time to described second communication module, described first communication module have received the information of first confirmation reception that described second communication module sends, then described first communication module stops sending the described first information to described second communication module.
After described first communication module stops sending the described first information the 3rd duration, described first communication module closes the interface channel between described second communication module.
Embodiment three:
Described first electronic equipment is an electronic dice, and described second electronic equipment is a PAD, and this PAD has a touch-screen, and this electronic dice can be thrown on described touch-screen.The first communication module of described electronic dice side is communicated by Zigbee mode with the second communication module of described PAD side.
Described electronic dice comprises inactive state and state of activation, when described electronic dice continues be in described inactive state or continue to be in described state of activation, do not have interface channel between described electronic dice and described PAD, the first communication module of described electronic dice side is in closed condition.
In the present embodiment, user rocks described electronic dice, and namely first described electronic dice is in state of activation, and the first communication module of described electronic dice side is in closed condition in this case.
Afterwards, this electronic dice is thrown on the touch-screen of described PAD by user, and namely described electronic dice enters inactive state by state of activation.Now, first described first communication module can obtain the first information, and the first information described in the present embodiment can be the point information of described electronic dice.In the present embodiment, described first communication module can obtain this first information after described electronic dice enters inactive state second duration by state of activation, to obtain point information comparatively accurately.
Before the described first information is sent to described second electronic equipment by described first communication module, first described first communication module will connect with the second communication module in described second electronic equipment passage.In the present embodiment, described first communication module and described second communication module are the passages that connects first.Self first mark (ID) information can be broadcasted by the form of broadcast by described first communication module, described second communication module is after receiving this broadcast message, the second identification information of self can be mated with this first identification information, if determine that the two can mate, then described second communication module is determined to set up the success of described interface channel with described first communication module, thus described second communication module can adopt corresponding decoded information to decode when receiving other broadcast messages that described first communication module sends, to obtain the specifying information that described first communication module sends.Described in the present embodiment, interface channel is successfully established.
Obtain the time of the described first information because of described first communication module and to set up time of described interface channel almost identical with described second communication module, therefore can think that described first communication module is also set up described interface channel with described second communication module after described first electronic equipment enters inactive state second duration by state of activation.
After described interface channel is successfully established, the point information of acquisition is sent to described second communication module by described interface channel by described first communication module, to make described PAD obtain described point information, thus can play.
In the present embodiment, set in advance: if described first communication module does not also receive the information of the confirmation reception that described second communication module is replied after transmission 5 described first information, then described first communication module stops sending the described first information to described second communication module.When described first communication module does not send 5 times, if midway have received the information of first confirmation reception that described second communication module is replied, then described first communication module stops sending the described first information to described second communication module.The time interval wherein between every twice transmitting time is the first duration, and described first duration is 1 second.
First communication module described in the present embodiment have received the information of first confirmation reception that described second communication module is replied after sending 4 described first information to described second communication module, then described first communication module stops sending the described first information to described second communication module.
After described first communication module stops sending the described first information the 3rd duration, described first communication module closes the interface channel between described second communication module.
Afterwards, described electronic dice is picked up from the touch-screen of described PAD and is continued to rock by user, then described electronic dice enters state of activation from inactive state again.Now, described first communication module first can obtain that described electronic dice generates for close described first communication module and described PAD second communication module between the information of interface channel, and this first information is sent to described second electronic equipment.Now because interface channel is closed, then this first information may be dropped after sending, and described second electronic equipment possibly cannot receive this first information.
Embodiment four:
Described first electronic equipment is an electronic dice, and described second electronic equipment is a PAD, and this PAD has a touch-screen, and this electronic dice can be thrown on described touch-screen.The first communication module of described electronic dice side is communicated by Zigbee mode with the second communication module of described PAD side.
Described electronic dice comprises inactive state and state of activation, when described electronic dice continues be in described inactive state or continue to be in described state of activation, do not have interface channel between described electronic dice and described PAD, the first communication module of described electronic dice side is in closed condition.
In the present embodiment, user rocks described electronic dice, and namely first described electronic dice is in state of activation, and the first communication module of described electronic dice side is in closed condition in this case.
Afterwards, this electronic dice is thrown on the touch-screen of described PAD by user, and namely described electronic dice enters inactive state by state of activation.Now, first described first communication module can obtain the first information, and the first information described in the present embodiment can be the point information of described electronic dice.In the present embodiment, described first communication module can obtain this first information after described electronic dice enters inactive state second duration by state of activation, to obtain point information comparatively accurately.
Before the described first information is sent to described second electronic equipment by described first communication module, first described first communication module will connect with the second communication module in described second electronic equipment passage.In the present embodiment, described first communication module and described second communication module are the passages that connects first.Self first mark (ID) information can be broadcasted by the form of broadcast by described first communication module, described second communication module is after receiving this broadcast message, the second identification information of self can be mated with this first identification information, if determine that the two can mate, then described second communication module is determined to set up the success of described interface channel with described first communication module, thus described second communication module can adopt corresponding decoded information to decode when receiving other broadcast messages that described first communication module sends, to obtain the specifying information that described first communication module sends.Described in the present embodiment, interface channel is successfully established.
Obtain the time of the described first information because of described first communication module and to set up time of described interface channel almost identical with described second communication module, therefore can think that described first communication module is also set up described interface channel with described second communication module after described first electronic equipment enters inactive state second duration by state of activation.
After described interface channel is successfully established, the point information of acquisition is sent to described second communication module by described interface channel by described first communication module, to make described PAD obtain described point information, thus can play.
In the present embodiment, set in advance: if described first communication module does not also receive the information of the confirmation reception that described second communication module is replied after transmission 5 described first information, then described first communication module stops sending the described first information to described second communication module.When described first communication module does not send 5 times, if midway have received the information of first confirmation reception that described second communication module is replied, then described first communication module stops sending the described first information to described second communication module.The time interval wherein between every twice transmitting time is the first duration, and described first duration is 1 second.
First communication module described in the present embodiment does not also receive the information of first confirmation reception that described second communication module is replied after sending 5 described first information to described second communication module, and described first communication module stops sending the described first information to described second communication module.
After described first communication module stops sending the described first information the 6th duration, described electronic dice is picked up from the touch-screen of described PAD and is continued to rock by user, then described electronic dice enters state of activation from inactive state again.Now because described first communication module just closes the interface channel between described second communication module after the described first communication module stopping transmission described first information the 3rd duration, not only and the 6th duration described in the present embodiment is less than described 3rd duration, when described interface channel is not yet closed, described electronic dice is just but also enter state of activation from inactive state.
Afterwards, now, described first communication module first can obtain that described electronic dice generates for close described first communication module and described PAD second communication module between the information of interface channel, and by described interface channel, this first information will be sent to described second electronic equipment.
See Fig. 2, the present invention also provides a kind of electronic equipment, described electronic equipment can be called the first electronic equipment, described first electronic equipment at least can comprise the first state and the second state, when described first electronic equipment is in described first state or is in described second state, described first electronic equipment is not connected with described second electronic equipment, and described first electronic equipment can have first communication module.Described first communication module specifically can comprise acquiring unit 201 and transmitting element 202.Described first communication module can also comprise processing unit 203.In the embodiment of the present invention, described first state can be inactive state, and described second state can be state of activation.
Acquiring unit 201 may be used for entering the second state when described first electronic equipment by the first state, or when entering the first state by the second state, described first communication module obtains the first information.
Transmitting element 202 may be used for the described first information to be sent to the second electronic equipment.
Transmitting element 202 specifically may be used for the described first information to send the first numerical value time to the second communication module in described second electronic equipment, is spaced apart the first duration wherein between every twice.
Transmitting element 202 specifically may be used for stopping sending the described first information when receiving the information of first confirmation reception that described second communication module sends.
Transmitting element 202 specifically may be used for the described first information of stopping transmission when receiving the information of first confirmation reception that described second communication module sends, and stops the transmission described first information when described first communication module does not receive the information of first confirmation reception of described second communication module transmission yet after send the secondary described first information of second value to the second communication module in described second electronic equipment.
Transmitting element 202 specifically may be used for, by described interface channel, the described first information is sent to described second communication module.
Transmitting element 202 specifically may be used for, after described first electronic equipment enters described first state second duration by described second state, by described interface channel, the described first information being sent to described second communication module.
Transmitting element 202 specifically may be used for being broadcasted by the described first information by the forms of broadcasting, to make described second communication module respond described broadcast message after receiving described broadcast message, and set up described interface channel with described first communication module.
Processing unit 203 may be used for the interface channel of closing when described first electronic equipment is entered described second state by described first state between the second communication module of described second electronic equipment.
Processing unit 203 second communication module that may be used for when described first electronic equipment is entered described second state by described first state and in described second electronic equipment connects passage.
Processing unit 203 specifically may be used for after described first electronic equipment enters described inactive state second duration by described state of activation, to connect passage with the second communication module in described second electronic equipment.
Information output method in the embodiment of the present invention is for entering the second state when described first electronic equipment by the first state, or when entering the first state by the second state, described first communication module obtains the first information; The described first information is sent to the second electronic equipment by described first communication module.When the state of the first electronic equipment changes, the first information of acquisition is sent to the second electronic equipment by first communication module, and first communication module can not connect with the second electronic equipment when the state of the first electronic equipment remains unchanged, the electric energy of the first electronic equipment end can be saved like this when the state of the first electronic equipment is constant, reach energy-conservation effect.
First electronic equipment described in the embodiment of the present invention can repeatedly send the described first information to described second electronic equipment, to guarantee that described second electronic equipment can receive the described first information, reduces packet loss.
Or namely described first electronic equipment stops sending the described first information after the information receiving the confirmation reception that described second electronic equipment sends, to guarantee the waste reducing Internet resources while described second electronic equipment receives this first information.
Can send for informing that interface channel described in the second electronic equipment is about to the information of closing, to ensure that this interface channel is necessarily closed to the second electronic equipment when described first electronic equipment is entered state of activation by inactive state in the embodiment of the present invention.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. an information output method, be applied to the first electronic equipment, it is characterized in that, described first electronic equipment at least comprises the first state and the second state, when described first electronic equipment is in described first state or is in described second state, described first electronic equipment is not connected with the second electronic equipment, and described first electronic equipment has first communication module, said method comprising the steps of:
When described first electronic equipment enters the second state by the first state, or when entering the first state by the second state, described first communication module obtains the first information; Described first state is inactive state, and described second state is state of activation;
The described first information is sent to the second electronic equipment by described first communication module;
Wherein, when described first electronic equipment enters described second state by described first state, described first communication module also comprises step after the described first information is sent to described second electronic equipment: described first communication module closes the interface channel between the second communication module of described second electronic equipment.
2. the method for claim 1, it is characterized in that, the step that the described first information is sent to described second electronic equipment by described first communication module is: the described first information is sent the first numerical value time to the second communication module in described second electronic equipment by described first communication module, is spaced apart the first duration wherein between every twice.
3. the method for claim 1, it is characterized in that, the step that the described first information is sent to described second electronic equipment by described first communication module is: described first communication module stops sending the described first information when receiving the information of first confirmation reception that described second communication module sends.
4. the method for claim 1, it is characterized in that, the step that the described first information is sent to described second electronic equipment by described first communication module is: described first communication module is the described first information of stopping transmission when receiving the information of first confirmation reception that described second communication module sends, and stops the transmission described first information when described first communication module does not receive the information of first confirmation reception of described second communication module transmission yet after send the secondary described first information of second value to the second communication module in described second electronic equipment.
5. the method for claim 1, it is characterized in that, when described first electronic equipment enters described first state by described second state, before the described first information is sent to described second electronic equipment by described first communication module, also comprise step: the second communication module in described first communication module and described second electronic equipment connects passage;
The step that the described first information is sent to described second electronic equipment by described first communication module comprises: the described first information is sent to described second communication module by described interface channel by described first communication module.
6. method as claimed in claim 5, it is characterized in that, the connect step of passage of second communication module in described first communication module and described second electronic equipment comprises: after described first electronic equipment enters described inactive state second duration by described state of activation, and the second communication module in described first communication module and described second electronic equipment connects passage.
7. method as claimed in claim 6, it is characterized in that, the step that the described first information is sent to described second communication module is comprised by described interface channel by described first communication module: after described first electronic equipment enters described first state second duration by described second state, the described first information is sent to described second communication module by described interface channel by described first communication module.
8. the method as described in any one of claim 1-7, it is characterized in that, the step that the described first information is sent to the second electronic equipment comprises by described first communication module: the described first information is broadcasted by the forms of broadcasting by described first communication module, described broadcast message is responded after receiving this broadcast message to make described second communication module, and described broadcast message is decoded, obtain the described first information.
9. an electronic equipment, it is characterized in that, described electronic equipment at least comprises the first state and the second state, when described electronic equipment is in described first state or is in described second state, described electronic equipment is not connected with the second electronic equipment, described electronic equipment has first communication module, and described first communication module comprises:
Acquiring unit, for entering the second state when described electronic equipment by the first state, or when entering the first state by the second state, described first communication module obtains the first information; Described first state is inactive state, and described second state is state of activation;
Transmitting element, for being sent to the second electronic equipment by the described first information;
Wherein, when described electronic equipment enters described second state by described first state, described first communication module also comprises processing unit, for closing the interface channel between the second communication module of described second electronic equipment.
10. electronic equipment as claimed in claim 9, is characterized in that, described transmitting element, specifically for the described first information is sent the first numerical value to the second communication module in described second electronic equipment, is spaced apart the first duration wherein between every twice.
11. electronic equipments as claimed in claim 9, is characterized in that, described transmitting element is specifically for stopping sending the described first information when receiving the information of first confirmation reception that described second communication module sends.
12. electronic equipments as claimed in claim 9, it is characterized in that, described transmitting element specifically for the described first information of stopping transmission when receiving the information of first confirmation reception that described second communication module sends, and stops the transmission described first information when described first communication module does not receive the information of first confirmation reception of described second communication module transmission yet after send the secondary described first information of second value to the second communication module in described second electronic equipment.
13. electronic equipments as claimed in claim 9, it is characterized in that, when described electronic equipment enters described first state by described second state, described first communication module also comprises processing unit, for connecting passage with the second communication module in described second electronic equipment;
Described transmitting element is specifically for being sent to described second communication module by described interface channel by the described first information.
14. electronic equipments as claimed in claim 13, it is characterized in that, described processing unit, specifically for after described electronic equipment enters described inactive state second duration by described state of activation, to connect passage with the second communication module in described second electronic equipment.
15. electronic equipments as claimed in claim 14, it is characterized in that, the described first information, specifically for after described electronic equipment enters described first state second duration by described second state, is sent to described second communication module by described interface channel by described transmitting element.
16. electronic equipments as described in any one of claim 9-15, it is characterized in that, described transmitting element is specifically for broadcasting the described first information by the forms of broadcasting, described broadcast message is responded after receiving this broadcast message to make described second communication module, and described broadcast message is decoded, obtain the described first information.
CN201210193697.XA 2012-06-12 2012-06-12 Information output method and electronic equipment Active CN102764504B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201210193697.XA CN102764504B (en) 2012-06-12 2012-06-12 Information output method and electronic equipment
DE102013106005.6A DE102013106005B4 (en) 2012-06-12 2013-06-10 Information control process for a cube and electronic device that is a cube
US13/915,136 US9746837B2 (en) 2012-06-12 2013-06-11 Information control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210193697.XA CN102764504B (en) 2012-06-12 2012-06-12 Information output method and electronic equipment

Publications (2)

Publication Number Publication Date
CN102764504A CN102764504A (en) 2012-11-07
CN102764504B true CN102764504B (en) 2015-03-25

Family

ID=47092220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210193697.XA Active CN102764504B (en) 2012-06-12 2012-06-12 Information output method and electronic equipment

Country Status (1)

Country Link
CN (1) CN102764504B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793187A (en) * 2012-10-30 2014-05-14 联想(北京)有限公司 Message outputting method and electronic device
CN104052857A (en) * 2013-03-11 2014-09-17 百度国际科技(深圳)有限公司 Control device and method for mobile device
CN106933210B (en) * 2017-03-03 2020-03-24 联想(北京)有限公司 Equipment control method, device and system and multi-equipment working system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741640A (en) * 2004-08-23 2006-03-01 大唐移动通信设备有限公司 Method and apparatus for controlling emitting time slot of base station in radio communication system
CN100373218C (en) * 2004-08-09 2008-03-05 友达光电股份有限公司 Liquid crystal display and method for improving picture flash and residual picture in turn off process
WO2007146549A3 (en) * 2006-06-08 2008-03-13 Qualcomm Inc Achieving power savings through packet grouping
CN101156993A (en) * 2007-10-19 2008-04-09 中山市泰宝电子科技有限公司 An encoding decoding method of electric control toy and its electric control toy
JP2008131312A (en) * 2006-11-20 2008-06-05 Matsushita Electric Ind Co Ltd Radio terminal and its control method
EP1807978B1 (en) * 2004-09-29 2012-05-16 Philips Intellectual Property & Standards GmbH Interconnection of wireless networks using a master/slave node

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3706807B2 (en) * 2001-01-24 2005-10-19 キヤノン株式会社 Image input system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100373218C (en) * 2004-08-09 2008-03-05 友达光电股份有限公司 Liquid crystal display and method for improving picture flash and residual picture in turn off process
CN1741640A (en) * 2004-08-23 2006-03-01 大唐移动通信设备有限公司 Method and apparatus for controlling emitting time slot of base station in radio communication system
EP1807978B1 (en) * 2004-09-29 2012-05-16 Philips Intellectual Property & Standards GmbH Interconnection of wireless networks using a master/slave node
WO2007146549A3 (en) * 2006-06-08 2008-03-13 Qualcomm Inc Achieving power savings through packet grouping
JP2008131312A (en) * 2006-11-20 2008-06-05 Matsushita Electric Ind Co Ltd Radio terminal and its control method
CN101156993A (en) * 2007-10-19 2008-04-09 中山市泰宝电子科技有限公司 An encoding decoding method of electric control toy and its electric control toy

Also Published As

Publication number Publication date
CN102764504A (en) 2012-11-07

Similar Documents

Publication Publication Date Title
CN105657860B (en) A kind of method and device improving data service response speed
WO2020015580A1 (en) Communication between terminal and base station, network access method for terminal, and device
KR101941848B1 (en) Transmission node for energy saving of reception node, the reception node, and communication method thereof
CN107251583A (en) Initiate the wireless bulletin of pairing
CN106028266B (en) Information transmission method, device and system
CN108124510B (en) Wireless pairing system and pairing method
CN105101370A (en) Data connection method and device, and WIFI module
CN102764504B (en) Information output method and electronic equipment
KR20190047598A (en) Method and device of transmitting data
CN102291820A (en) Paging method, system and device
CN106470467B (en) Monitoring control method, terminal, base station and system
CN103326749A (en) NFC radio frequency communication control method, device and system
CN104936306A (en) Method for establishing small data safe transmission connection of MTC equipment set, HSS and system
CN112616135A (en) Intelligent building monitoring command transmission method and transmission system based on inter-equipment communication
CN105406955A (en) Data output control method and system
CN105722244A (en) Information processing method and electronic device
CN102917370A (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
WO2015196698A1 (en) Paging method, system and device, and computer storage medium
CN107547315B (en) Method and device for optimizing data communication
CN110086580B (en) Environment-friendly monitoring method and device based on artificial intelligence
CN105811595B (en) Wireless transmission method of electric energy and power supply equipment
CN105811593B (en) Channel seizing method of electric energy wireless transmission system and power supply equipment
KR101558985B1 (en) Low power communication device
CN109845346A (en) A kind of method, sending device and the receiving device of wake on wireless equipment
JP5277209B2 (en) Communication apparatus and operation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant