CN108846658A - Method and device for collecting electronic red packet and smart watch - Google Patents
Method and device for collecting electronic red packet and smart watch Download PDFInfo
- Publication number
- CN108846658A CN108846658A CN201810581352.9A CN201810581352A CN108846658A CN 108846658 A CN108846658 A CN 108846658A CN 201810581352 A CN201810581352 A CN 201810581352A CN 108846658 A CN108846658 A CN 108846658A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- smartwatch
- destination mobile
- red packet
- event
- 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 46
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 230000006870 function Effects 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 20
- 230000001133 acceleration Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims 1
- 230000002708 enhancing effect Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000011435 rock Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is suitable for the technical field of electronic equipment, and provides a method and a device for receiving an electronic red packet and a smart watch, wherein the method for receiving the electronic red packet is applied to the smart watch and comprises the following steps: detecting the state of a preset application in the smart watch, monitoring whether a preset event exists in the smart watch when the preset application is detected to be in an open state, if so, searching a target mobile terminal, establishing connection with the searched target mobile terminal, and receiving electronic red packet data sent by the target mobile terminal after the connection is successful. According to the invention, the target mobile terminal is searched and connected with the target mobile terminal, so that the electronic red envelope can be collected through the intelligent watch on the premise of enhancing interactivity.
Description
Technical field
The present invention relates to technical field of electronic equipment more particularly to a kind of method, apparatus for collecting electronics red packet, intelligent hand
Table and computer readable storage medium.
Background technique
The rapid development of intelligent terminal technology brings the experience become better and better to user, this to be embodied in intelligent end
End can not only install more and more applications, and these applications have some other additional functions toward contact, such as:It is micro-
Letter, Alipay, QQ have the function of transmitting/receiving electronics red packet.
However, the both sides for receiving and dispatching red packet in the prior art are mostly merely to be interacted by above-mentioned application, it is interactive and
Interest is not high.
Therefore it's necessary to propose a new technical scheme, to solve the above technical problems.
Summary of the invention
In consideration of it, the embodiment of the invention provides a kind of method, apparatus for collecting electronics red packet and smartwatch, Ke Yi
Electronics red packet is collected by smartwatch under the premise of enhancing is interactive.
The first aspect of the embodiment of the present invention provides a kind of method for collecting electronics red packet, is applied to smartwatch, institute
The method of stating includes:
The state that application is preset in the smartwatch is detected, wherein the default application is preset processing electronics red packet
The application of data;
When detecting that the default application is in the open state, the smartwatch is monitored with the presence or absence of predeterminable event;
The predeterminable event if it exists is then searched destination mobile terminal, and is built with the destination mobile terminal found
Vertical connection receives the electronics red packet data that the destination mobile terminal is sent after successful connection.
The second aspect of the embodiment of the present invention provides a kind of device for collecting electronics red packet, is applied to smartwatch, institute
Stating device includes:
Detection module, for detecting the state for presetting application in the smartwatch, wherein the default application is default
Processing electronics red packet data application;
Module is monitored, for whether monitoring the smartwatch when detecting that the default application is in the open state
There are predeterminable events;
Searching module then searches destination mobile terminal for the predeterminable event if it exists, and with the mesh that finds
Mark mobile terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
The third aspect of the embodiment of the present invention provides a kind of smartwatch, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, above-mentioned processor realizes above-mentioned the when executing above-mentioned computer program
On the one hand the method referred to.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, above-mentioned computer program realizes method mentioned in the first aspect when being executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art:In the present embodiment, first described in detection
The state of application is preset in smartwatch, then when detecting that the default application is in the open state, monitors the intelligence
Wrist-watch whether there is predeterminable event, when there are the predeterminable event, search destination mobile terminal, and with the mesh that finds
Mark mobile terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.The present invention
By searching for destination mobile terminal, and connection is established therewith, can be collected under the premise of enhancing interactive by smartwatch
Electronics red packet has stronger usability and practicality.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram for the method for collecting electronics red packet that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the method provided by Embodiment 2 of the present invention for collecting electronics red packet;
Fig. 3 is the flow diagram for the method for collecting electronics red packet that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the device for collecting electronics red packet that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the smartwatch that the embodiment of the present invention five provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage
Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple:Drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process
Execution sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
Fig. 1 is the flow diagram for the method for collecting electronics red packet that the embodiment of the present invention one provides, and this method can wrap
Include following steps:
S101:Detect the state that application is preset in the smartwatch.
Smartwatch in addition to indicating the time, should also have prompting, navigation, calibration, monitoring, interaction etc. one of or
Multiple functions;Display mode includes pointer, number, image etc..
The default application is the application of preset processing electronics red packet data, can be user from mounted application
Selected a certain type or the application with a certain function, such as:Wechat, Alipay, QQ etc. have the function of to rob/generate electricity sub- red packet
Application, certain user can also modify selected application according to actual needs.The state of the default application includes opening state
State and closed state execute subsequent step S102-S103 when detecting that the default application is in the open state.
S102:When detecting that the default application is in the open state, the smartwatch is monitored with the presence or absence of default
Event.
Wherein, the predeterminable event includes shaking event and touching event.
S103:The predeterminable event if it exists is then searched destination mobile terminal, and is moved eventually with the target found
Connection is established at end, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
In one embodiment, default apply pushes a red packet prompt letter when having detected electronics red packet data
Breath, in order to which user can dismantle the electronics red packet by the operation clicked in time after reading the prompt information, to obtain
The amount of money of the electronics red packet, the prompt information can be shown in a manner of pop-up, voice or vibration.
In addition, excessive limitation wouldn't be done to the opportunity and unfolding mode for opening default application in the application, in the company of foundation
The front and back connect can open the default application, such as:Default application can be opened after establishing connection with mobile terminal,
The default application can also be opened by way of shaking.
Therefore in the embodiment of the present invention, by searching for destination mobile terminal, and connection is established therewith, can increase
Electronics red packet is collected by smartwatch under the premise of strong interactivity, there is stronger usability and practicality.
Embodiment two
Fig. 2 is the flow diagram of the method provided by Embodiment 2 of the present invention for collecting electronics red packet, is to above-mentioned implementation
The further refinement of step S102, S103 in example one and explanation, this method may comprise steps of:
S201:Detect the state that application is preset in the smartwatch.
Wherein, above-mentioned steps S201 is identical as the step S101 in embodiment one, so here is no more repetition.
S202:When detecting that the default application is in the open state, the smartwatch is monitored with the presence or absence of shaking one
Shake event.
Wherein, the shake behavior referred in two opposite directions is shaken, such as:It fluctuates, rock from side to side, rock back and forth
Dynamic, inclination is shaken.The user for wearing smartwatch, which can remove smartwatch, to carry out shaking operation in hand held,
It can directly be shaken together in the state of wearing with arm.
Due to being built-in with acceleration transducer in the smartwatch, when operation is shaken in execution, on three axis of x, y, z
Numerical value at least have one apparent variation occur, the power on three axis of x, y, z is applied to by monitoring user at this time, can be with
When the power of wherein either direction is greater than preset threshold value, determine that user has carried out smartwatch to shake operation.In addition, being
Smartwatch operation will simply be picked up by, which preventing, is also determined as that user has carried out it to shake operation, needs when one section
Between calculate value on these three directions, specifically, described monitor includes with the presence or absence of the event of shaking:
Acceleration value of the smartwatch described in interval acquiring in three reference axis of x, y, z at preset timed intervals, if continuously obtaining
It there are the acceleration at least one reference axis is not 0 in the acceleration value taken, it is determined that the smartwatch, which exists, to be shaken
One shakes event.
Optionally, coordinate origin is set by the lower left corner of smartwatch screen, and sets x for direction horizontally to the right
The positive direction of axis sets direction straight up to the positive direction of y-axis, will be perpendicular to smartwatch screen outwardly direction and sets
It is set to the positive direction of z-axis.
Certainly in practical applications, can also be monitored by other motion sensors, which whether there is, shakes event, example
Such as:The relative motion angle information that smartwatch is detected by the gyro sensor built in smartwatch, herein not to tool
The motion sensor type that body uses makees excessive restriction.
S203:Event is shaken if it exists, then is searched in the same period with the presence or absence of the identical mesh for shaking event of generation
Mark mobile terminal.
In one embodiment, specific described search whether there is the identical mesh for shaking event of generation in the same period
Marking mobile terminal includes:
A1:Open the Bluetooth function of the smartwatch;
A2:Search open Bluetooth function mobile terminal, and by search unlatching Bluetooth function mobile terminal letter
Breath is uploaded to server;
In one embodiment, smartwatch searches for the mobile terminal in preset range according to preset rules, for example, only searching
Mobile terminal with special field SSID in rope local area network, to filter out other mobile terminals not being inconsistent normally.
In one embodiment, it is searched for based on the binding relationship of mobile terminal and the smartwatch and nearby opens bluetooth function
The mobile terminal of energy.
Optionally, after sending look-up command to server, the search result of smartwatch is actively obtained by server.
In one embodiment, the smartwatch is in the information of the mobile terminal for the unlatching Bluetooth function that will be searched
The location information of itself is uploaded to server together while reaching server, in order to which server is finding multiple targets
When mobile terminal, preferentially select apart from nearest destination mobile terminal as the destination mobile terminal in the present invention.
A3:Look-up command is sent to server, so that the server after receiving the look-up command, searches institute
It states mobile eventually with the presence or absence of the identical target for shaking event occurs within the same period in the mobile terminal for opening Bluetooth function
End, and lookup result is fed back into the smartwatch.
In one embodiment, it is user where smartwatch when operation is shaken in execution that identical event of shaking, which occurs,
Shaking direction and destination mobile terminal where user shaking direction when shaking operation is identical and/or smartwatch executing
User is when operation is shaken in execution where shake number and destination mobile terminal of the place user when operation is shaken in execution
Shake number it is identical.
It should be noted that in view of adding in the setting position of the acceleration transducer in mobile terminal and smartwatch
The setting position of velocity sensor may be not quite alike, and even dynamics of the two when operation is shaken in execution is identical, practical
Collected data may be also discrepant.Therefore, the shake number of the two does not need stringent identical, as long as in error
In allowed band.
S204:The destination mobile terminal if it exists then establishes bluetooth connection with the destination mobile terminal found,
After bluetooth connection success, the electronics red packet data that the destination mobile terminal is sent are received by Bluetooth link.
By taking a kind of specific application scenarios as an example, on New Year's Day or other festivals when, parent often gives child's money given to children as a lunar New year gift, in order to avoid small
Child carries too many cash and unsafe situation occurs, can be in advance on the smartwatch that the mobile phone of parent and child are worn
Alipay application is all loaded onto, if child carries out it to shake operation, passes through the bluetooth having been switched in advance on smartwatch
Search for the mobile phone of parent, and demonstrate the mobile phone really with smartwatch synchronize perform and shake operation after, with the hand
Machine establishes bluetooth connection, after bluetooth connection success, receives the electronics red packet data that parent sends by Bluetooth link, successfully tears open
It is stored in after opening in the Alipay account of child oneself.
Therefore the embodiment of the present application two gives compared to embodiment one and establishes bluetooth company by shaking operation
The specific implementation connect can realize short distance electronics red packet under the premise of enhancing interactivity between sender and recipient
Send and receive, have stronger usability and practicality.
Embodiment three
Fig. 3 is the flow diagram for the method for collecting electronics red packet that the embodiment of the present invention three provides, and is to above-mentioned implementation
The another refinement of step S102 in example one and explanation, this method may comprise steps of:
S301:Detect the state that application is preset in the smartwatch.
Wherein, above-mentioned steps S301 is identical as the step S101 in embodiment one, so here is no more repetition.
S302:When detecting that the default application is in the open state, the smartwatch is monitored with the presence or absence of touching one
Touch event.
Wherein, described to touch including putting together smartwatch and mobile terminal are back-to-back.
In one embodiment, specifically monitoring the smartwatch with the presence or absence of the event of touching includes:
When the range sensor in the smartwatch detects that the smartwatch is small at a distance from a certain mobile terminal
When preset value, determines that the smartwatch exists and touch event.
In one embodiment, the smartwatch is monitored with the presence or absence of before touching event, opens the close of smartwatch
Distance wireless communication function (Near Field Communication, NFC).
S303:It is described if it exists to touch event, then the destination mobile terminal to collide with the smartwatch is detected,
And connection is established with the mobile terminal, after successful connection, receive the electronics red packet data that the destination mobile terminal is sent.
In one embodiment, NFC is established with the destination mobile terminal found to connect, after NFC successful connection,
The destination mobile terminal is contacted by smartwatch to receive the electronics red packet data that the destination mobile terminal is sent.
Therefore it is short to carry out to give the NFC connection by foundation compared to embodiment one for the embodiment of the present application three
Apart from sending and receiving for red packet, to enhance the interactivity between the sender and recipient of electronics red packet, have stronger
Usability and practicality.
Example IV
Fig. 4 is the structural schematic diagram for the device for collecting electronics red packet that the embodiment of the present invention four provides, for ease of description,
Only parts related to embodiments of the present invention are shown.
The device of the reception electronics red packet can be the software unit being built in smartwatch, hardware cell or soft or hard
In conjunction with unit, can also be used as independent pendant and be integrated into the smartwatch.
The device for receiving electronics red packet, including:
Detection module 41, for detecting the state for presetting application in the smartwatch, wherein the default application is pre-
If processing electronics red packet data application;
Module 42 is monitored, for when detecting that the default application is in the open state, monitoring the smartwatch to be
It is no that there are predeterminable events;
Searching module 43 then searches destination mobile terminal for the predeterminable event if it exists, and with find described in
Destination mobile terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
In one embodiment, the module 42, is specifically used for;
When detect it is described it is default application it is in the open state when, at preset timed intervals smartwatch described in interval acquiring x,
Y, the acceleration value in tri- reference axis of z, if there are adding at least one reference axis in the acceleration value continuously acquired
Speed is not 0, it is determined that the smartwatch, which exists, shakes event.
In one embodiment, the module 42, is specifically used for;
When detecting that the default application is in the open state, if the range sensor in the smartwatch detects
The smartwatch is less than preset value at a distance from a certain mobile terminal, it is determined that the smartwatch, which exists, touches event.
In one embodiment, the module 43, is specifically used for;
Event is shaken if it exists, then is searched mobile with the presence or absence of the identical target for shaking event occurs in the same period
Terminal;
The destination mobile terminal if it exists then establishes connection with the destination mobile terminal, and after successful connection, connects
Receive the electronics red packet data that the destination mobile terminal is sent.
In one embodiment, the module 43, is specifically used for;
It is described if it exists to touch event, then the destination mobile terminal that detection collides with the smartwatch, and with
The mobile terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
In one embodiment, the module 43, is specifically used for;
Event is shaken if it exists, then opens the Bluetooth function of the smartwatch;
The mobile terminal of Bluetooth function is opened in search, and will be in the information of the mobile terminal for the unlatching Bluetooth function that searched
Reach server;
Look-up command is sent to server, so that the server is after receiving the look-up command, described in lookup
Opening whether there is in the mobile terminal of Bluetooth function occurs the identical destination mobile terminal for shaking event within the same period,
And lookup result is fed back into the smartwatch;
The destination mobile terminal if it exists then establishes connection with the destination mobile terminal, and after successful connection, connects
Receive the electronics red packet data that the destination mobile terminal is sent.
Embodiment five
Fig. 5 is the structural schematic diagram for the smartwatch that the embodiment of the present invention five provides.As shown in figure 5, the intelligence of the embodiment
Can wrist-watch 5 include:It processor 50, memory 51 and is stored in the memory 51 and can be run on the processor 50
Computer program 52.The processor 50 realizes the step in above method embodiment one when executing the computer program 52
Such as step S101 to S103 shown in FIG. 1 suddenly,.Alternatively, realizing the step in above method embodiment two, such as shown in Fig. 2
Step S201 to S204.Alternatively, realizing the step in above method embodiment three, such as step S301 shown in Fig. 3 is extremely
S303.The processor 50 realizes the function of each module/unit in above-mentioned each Installation practice when executing the computer program 52
Can, such as the function of module 41 to 43 shown in Fig. 4.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the smartwatch 5 is described.For example, the computer program 52 can be divided
It is cut into detection module, monitors module, searching module, each module concrete function is as follows:
Detection module, for detecting the state for presetting application in the smartwatch, wherein the default application is default
Processing electronics red packet data application;
Module is monitored, for whether monitoring the smartwatch when detecting that the default application is in the open state
There are predeterminable events;
Searching module then searches destination mobile terminal for the predeterminable event if it exists, and with the mesh that finds
Mark mobile terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
The smartwatch may include, but be not limited only to, processor 50, memory 51.Those skilled in the art can manage
Solution, Fig. 5 is only the example of smartwatch 5, does not constitute the restriction to smartwatch 5, may include more or more than illustrating
Few component perhaps combines certain components or different components, such as the smartwatch can also be set including input and output
Standby, network access equipment, bus etc..
The processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the smartwatch 5, such as the hard disk or interior of smartwatch 5
It deposits.The memory 51 is also possible to the External memory equipment of the smartwatch 5, such as be equipped on the smartwatch 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the smartwatch 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the smartwatch
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that each embodiment described in conjunction with the examples disclosed in this document
Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side
All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with
Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light of the computer program code can be carried
Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer
The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as
It does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that:It still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method for collecting electronics red packet, which is characterized in that it is applied to smartwatch, the method includes:
The state that application is preset in the smartwatch is detected, wherein the default application is preset processing electronics red packet data
Application;
When detecting that the default application is in the open state, the smartwatch is monitored with the presence or absence of predeterminable event;
The predeterminable event if it exists then searches destination mobile terminal, and establishes and connect with the destination mobile terminal found
It connects, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
2. the method according to claim 1, wherein the predeterminable event includes shaking event;
Correspondingly, the predeterminable event if it exists, then search destination mobile terminal, and with the destination mobile terminal that finds
Connection is established, after successful connection, receiving the electronics red packet data that the destination mobile terminal is sent includes:
Event is shaken if it exists, then is searched mobile eventually with the presence or absence of the identical target for shaking event occurs in the same period
End;
The destination mobile terminal if it exists then establishes connection with the destination mobile terminal, and after successful connection, receives institute
State the electronics red packet data of destination mobile terminal transmission.
3. according to the method described in claim 2, it is characterized in that, described search in the same period is shaken with the presence or absence of generation is identical
One shake event destination mobile terminal include:
Open the Bluetooth function of the smartwatch;
The mobile terminal of Bluetooth function is opened in search, and the information of the mobile terminal of the unlatching Bluetooth function searched is uploaded to
Server;
Look-up command is sent to server, so that the server after receiving the look-up command, searches the unlatching
It whether there is in the mobile terminal of Bluetooth function and the identical destination mobile terminal for shaking event occur within the same period, and will
Lookup result feeds back to the smartwatch.
4. method according to any one of claims 1 to 3, which is characterized in that described to monitor whether the smartwatch is deposited
Include in predeterminable event:
Acceleration value of the smartwatch described in interval acquiring in three reference axis of x, y, z at preset timed intervals, if continuously acquire
It there are the acceleration at least one reference axis is not 0 in the acceleration value, it is determined that the smartwatch, which exists, to be shaken
Event.
5. the method according to claim 1, wherein the predeterminable event further includes the event of touching;
Correspondingly, the predeterminable event if it exists, then search destination mobile terminal, and establish with the destination mobile terminal found
Connection, after successful connection, receiving the electronics red packet data that the destination mobile terminal is sent includes:
It is described if it exists to touch event, then detect the destination mobile terminal to collide with the smartwatch, and with the shifting
Dynamic terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
6. method according to claim 1 or 5, which is characterized in that described to monitor the smartwatch with the presence or absence of default
Event includes:
When the range sensor in the smartwatch detects that the smartwatch is less than in advance at a distance from a certain mobile terminal
If when value, determining that the smartwatch exists and touching event.
7. the method according to claim 1, wherein described establish with the destination mobile terminal found connects
It connects, after successful connection, receiving the electronics red packet data that the destination mobile terminal is sent includes:
Bluetooth connection is established with the destination mobile terminal found, after bluetooth connection success, is received by Bluetooth link
The electronics red packet data that the destination mobile terminal is sent.
8. a kind of device for collecting electronics red packet, which is characterized in that be applied to smartwatch, described device includes:
Detection module, for detecting the state for presetting application in the smartwatch, wherein the default application is preset place
Manage the application of electronics red packet data;
Module is monitored, for when detecting that the default application is in the open state, monitoring the smartwatch to whether there is
Predeterminable event;
Searching module then searches destination mobile terminal for the predeterminable event if it exists, and moves with the target found
Dynamic terminal establishes connection, after successful connection, receives the electronics red packet data that the destination mobile terminal is sent.
9. a kind of smartwatch, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
Any one of the method the step of.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as the step of any one of claims 1 to 7 the method when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810581352.9A CN108846658A (en) | 2018-06-07 | 2018-06-07 | Method and device for collecting electronic red packet and smart watch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810581352.9A CN108846658A (en) | 2018-06-07 | 2018-06-07 | Method and device for collecting electronic red packet and smart watch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108846658A true CN108846658A (en) | 2018-11-20 |
Family
ID=64211438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810581352.9A Pending CN108846658A (en) | 2018-06-07 | 2018-06-07 | Method and device for collecting electronic red packet and smart watch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108846658A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113481A (en) * | 2019-04-16 | 2019-08-09 | 努比亚技术有限公司 | Open method, terminal, wearable device and the medium of corresponding application on wearable device |
CN113577768A (en) * | 2021-06-10 | 2021-11-02 | 林国辉 | Virtual article interaction method, device, equipment and storage medium |
CN115529576A (en) * | 2022-01-13 | 2022-12-27 | 荣耀终端有限公司 | Collision connection method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051665A (en) * | 2012-09-10 | 2013-04-17 | 百度在线网络技术(北京)有限公司 | Method and system for pairing mobile terminals based on cloud, and mobile terminals |
CN106960315A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | Resource information processing method, apparatus and system |
CN107332755A (en) * | 2017-05-09 | 2017-11-07 | 深圳小熊麻麻科技有限公司 | The method and device that a kind of red packet is sent |
US20170364933A1 (en) * | 2014-12-09 | 2017-12-21 | Beijing Didi Infinity Technology And Development Co., Ltd. | User maintenance system and method |
CN107566259A (en) * | 2017-10-18 | 2018-01-09 | 维沃移动通信有限公司 | Movement locus sharing method and mobile terminal |
CN107741783A (en) * | 2017-10-01 | 2018-02-27 | 上海量科电子科技有限公司 | electronic transfer method and system |
-
2018
- 2018-06-07 CN CN201810581352.9A patent/CN108846658A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051665A (en) * | 2012-09-10 | 2013-04-17 | 百度在线网络技术(北京)有限公司 | Method and system for pairing mobile terminals based on cloud, and mobile terminals |
US20170364933A1 (en) * | 2014-12-09 | 2017-12-21 | Beijing Didi Infinity Technology And Development Co., Ltd. | User maintenance system and method |
CN106960315A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | Resource information processing method, apparatus and system |
CN107332755A (en) * | 2017-05-09 | 2017-11-07 | 深圳小熊麻麻科技有限公司 | The method and device that a kind of red packet is sent |
CN107741783A (en) * | 2017-10-01 | 2018-02-27 | 上海量科电子科技有限公司 | electronic transfer method and system |
CN107566259A (en) * | 2017-10-18 | 2018-01-09 | 维沃移动通信有限公司 | Movement locus sharing method and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113481A (en) * | 2019-04-16 | 2019-08-09 | 努比亚技术有限公司 | Open method, terminal, wearable device and the medium of corresponding application on wearable device |
CN113577768A (en) * | 2021-06-10 | 2021-11-02 | 林国辉 | Virtual article interaction method, device, equipment and storage medium |
CN113577768B (en) * | 2021-06-10 | 2023-12-19 | 林国辉 | Virtual article interaction method, device, equipment and storage medium |
CN115529576A (en) * | 2022-01-13 | 2022-12-27 | 荣耀终端有限公司 | Collision connection method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110582017B (en) | Video playing method, device, terminal and storage medium | |
KR102198778B1 (en) | Method, apparatus and mobile terminal associating notification message | |
EP2720135B1 (en) | Data transmission method, data transmission device and terminal provided with touch screen | |
CN112153071B (en) | Message sending method, device, gateway and storage medium | |
CN109769065B (en) | Message display method and device, mobile terminal and storage medium | |
US20190095887A1 (en) | Resource transferring method and apparatus | |
US10972914B2 (en) | Image sharing method and system, and electronic device | |
EP3531290A1 (en) | Data backup method, apparatus, electronic device, storage medium, and system | |
CN111614549B (en) | Interaction processing method and device, computer equipment and storage medium | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN108646970B (en) | Display control method and related product | |
CN109085968B (en) | Screen capturing method and terminal equipment | |
EP4093032A1 (en) | Method and apparatus for displaying data | |
US10455492B2 (en) | Mobile terminal and method of operating the same | |
CN108846658A (en) | Method and device for collecting electronic red packet and smart watch | |
CN110244884B (en) | Desktop icon management method and terminal equipment | |
CN112163406A (en) | Interactive message display method and device, computer equipment and storage medium | |
CN110796438B (en) | Message sending method and mobile terminal | |
KR102625255B1 (en) | Method for providing notification and electronic device for the same | |
CN110012152B (en) | Interface display method and terminal equipment | |
CN113253826A (en) | Control method, control device, terminal and storage medium | |
CN109067975B (en) | Contact person information management method and terminal equipment | |
CN112311661B (en) | Message processing method, device, equipment and storage medium | |
CN109800097B (en) | Notification message reminding method, storage medium and mobile terminal | |
CN114785766A (en) | Control method of intelligent equipment, terminal and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |