CN106230695A - Based on iOS system being shaken by mobile phone robs visitor's method - Google Patents

Based on iOS system being shaken by mobile phone robs visitor's method Download PDF

Info

Publication number
CN106230695A
CN106230695A CN201610625761.5A CN201610625761A CN106230695A CN 106230695 A CN106230695 A CN 106230695A CN 201610625761 A CN201610625761 A CN 201610625761A CN 106230695 A CN106230695 A CN 106230695A
Authority
CN
China
Prior art keywords
visitor
customer data
rob
ios device
robs
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
Application number
CN201610625761.5A
Other languages
Chinese (zh)
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.)
Suzhou Main Goal Software Technology Co Ltd
Original Assignee
Suzhou Main Goal Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Main Goal Software Technology Co Ltd filed Critical Suzhou Main Goal Software Technology Co Ltd
Priority to CN201610625761.5A priority Critical patent/CN106230695A/en
Publication of CN106230695A publication Critical patent/CN106230695A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of based on iOS system being shaken by mobile phone and rob visitor's method, by detecting the state of mobile phone, when mobile phone shakes, to the purchase of property, consultant distributes common customer, based on the present invention, purchase of property consultant can shake can start to rob visitor by using mobile phone.Purchase of property consultant can start to rob visitor by using mobile phone to shake, rob visitor's mode the most novel, only need to shake, purchase of property consultant can be shaken by mobile phone and i.e. can reach the purpose robbing visitor, and success rate is greatly improved, saving time and human cost, improve purchase of property consultant and rob the experience of visitor.

Description

Based on iOS system being shaken by mobile phone robs visitor's method
Technical field
The invention belongs to the technical field of mobile communication, particularly relate to a kind of based on iOS system shaken by mobile phone Rob visitor's method.
Background technology
In the past, the purchase of property consultant of property developer found the mode of client and distributed leaflets, and phone is invited, these modes Not only take time and effort, and success rate is extremely low, also have some by directly registration, or the method for registration finds visitor on platform Source, equally exists time-consuming long, inefficient problem.
There is the method that common customer resource is distributed on some backstages automatically on market, but there is distribution inequality, duplicate allocation Technical problem, and distribution method is single, the most dull, does not also have what new meaning for purchase of property consultant, easily occurs being sick of Emotion.
Summary of the invention
For solving above-mentioned technical problem, the present invention provides a kind of based on iOS system being shaken by mobile phone to rob visitor's method. In order to some aspects of the embodiment disclosed are had a basic understanding, shown below is simple summary.This summarized section It not extensive overview, be not key/critical component to be determined or the protection domain describing these embodiments.Its unique mesh Be to present some concepts, in this, as the preamble of following detailed description by simple form.
The present invention adopts the following technical scheme that
In some optional embodiments, it is provided that a kind of based on iOS system being shaken by mobile phone robs visitor's method, including:
Step S1: that opens iOS device shakes function, allows the visitor that robs of described iOS device recommend interface to become the event of shaking The first respondent;
Step S2: rob visitor recommend interface to monitor in real time to shake one and shake the hand gesture described;
Step S3: when monitor described iOS device shake a shake complete time, it is judged that the current iOS device distance last time robs Whether visitor's duration is more than 10 minutes, if more than 10 minutes, then carrying out step S4, otherwise carrying out step S10;
Step S4: described iOS device sends to background server and robs visitor's request;
Step S5: described background server receive described iOS device send rob visitor request after, from common customer resource with Machine obtains the customer data of 0 to 3 clients, and described customer data is pushed to described iOS device;
Step S6: described iOS device receives described customer data and carries out data parsing, the customer data transmission that will be parsed To data model, complete the loading of customer data;
Step S7: whether the quantity judging the client that current iOS device gets is 0, if quantity is 0, then carries out step S8, otherwise Carry out step S9;
Step S8: rob visitor and terminate, refreshes corresponding user interface, and starts the countdown of 10 minutes durations by a definite date;
Step S9: rob visitor and terminate, after described customer data loads successfully, refreshes corresponding user interface in main thread, and Proceed by the countdown of 10 minutes durations by a definite date, customer data is shown;
Step S10: visitor countdown interface is robbed in display.
In some optional embodiments, the customer data that described background server pushes to described iOS device is with json The form of character string returns.
In some optional embodiments, described customer data includes: head portrait, and the pet name is with, sex and contact method.
The beneficial effect that the present invention is brought: by detecting the state of mobile phone, when mobile phone shakes, distributes to purchase of property consultant Common customer, purchase of property consultant is by using mobile phone to shake and can start to rob visitor, and it is the most novel to rob visitor's mode, only need to shake i.e. Can, purchase of property consultant can be shaken by mobile phone and i.e. can reach the purpose robbing visitor, and success rate is greatly improved, during saving Between and human cost, improve purchase of property consultant rob visitor experience.
For above-mentioned and relevant purpose, one or more embodiments include will be explained in below and in claim In the feature that particularly points out.Description below and accompanying drawing describe some illustrative aspects in detail, and its instruction is only Some modes in the utilizable various modes of principle of each embodiment.Other benefit and novel features will along with under The detailed description in face is considered in conjunction with the accompanying and becomes obvious, the disclosed embodiments be intended to include all these aspect and they Equivalent.
Accompanying drawing explanation
Fig. 1 is that the present invention is based on iOS system shakes the schematic flow sheet robbing visitor's method by mobile phone.
Detailed description of the invention
The following description and drawings illustrate specific embodiments of the present invention fully, to enable those skilled in the art to Put into practice them.Other embodiments can include structure, logic, electric, process and other change.Embodiment Only represent possible change.Unless explicitly requested, otherwise individually components and functionality is optional, and the order operated is permissible Change.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.This The scope of bright embodiment includes the gamut of claims, and all obtainable equivalent of claims Thing.
As it is shown in figure 1, in some illustrative embodiments, it is provided that a kind of based on iOS system shaken by mobile phone Rob visitor's method, including:
Step S1: that opens iOS device shakes function, allows the visitor that robs of described iOS device recommend interface to become the event of shaking The first respondent, response user shakes the operation of event at any time.
The code shaking function opening iOS device is as follows:
[UIApplication sharedApplication].applicationSupportsShakeToEdit = YES。
The visitor that robs allowing institute's iOS device recommends the code of interface the first respondent of becoming the event of shaking as follows:
[self becomeFirstResponder]。
Step S2: rob visitor recommend interface to monitor in real time to shake one and shake the hand gesture described, in order to described in rob visitor and recommend the page at any time Operation to user is monitored.
Step S3: when monitor described iOS device shake a shake complete time, it is judged that current iOS device is apart from upper one Whether secondary visitor's duration of robbing is more than 10 minutes, if more than 10 minutes, then carrying out step S4, otherwise carrying out step S10.
In order to prevent malice from robbing visitor, no matter currently rob visitor and terminate to robbing the objective time interval started next time to be 10 minutes Purchase of property consultant this whether get common customer, 10 minutes period, even if monitoring user to trigger the gesture shaken, iOS The client of equipment also again will not send to background server and rob visitor's request, robs visitor's page and will not carry out data refresh operation.
The method calling iOS system is as follows:
(void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event)。
Step S4: described iOS device sends to background server and robs visitor's request.
Step S5: described background server receive described iOS device send rob visitor request after, from common customer resource In the random customer data obtaining 0 to 3 clients, and described customer data is pushed to described iOS device.
The customer data that described background server pushes to described iOS device returns with the form of json character string.
Step S6: described iOS device receives described customer data and carries out data parsing, is taken backstage by data parsing The json data parsing of business device is specific data form, the customer data being parsed is passed to data model, completes visitor The loading of user data.
Step S7: whether the quantity judging the client that current iOS device gets is 0, if quantity is 0, then carries out step S8, Otherwise carry out step S9.
Step S8: rob visitor and terminate, refreshes corresponding user interface, and starts the countdown of 10 minutes durations by a definite date.
Step S9: rob visitor and terminate, after described customer data loads successfully, refreshes corresponding user circle in main thread Face, and proceed by the countdown of 10 minutes durations by a definite date, customer data is shown.
Step S10: visitor countdown interface is robbed in display.
In some illustrative embodiments, described customer data includes: head portrait, and the pet name is with, sex and contact method.
Compared with prior art, the technical scheme proposed by the application embodiment of the present invention is to realize based on software , there is substantial amounts of customer data on backstage, and purchase of property consultant can be shaken by mobile phone and i.e. can reach the purpose robbing visitor, and becomes Power is greatly improved, and the object of robbing improving Vocational Counselor is tested.
User is satisfied robs visitor's requirement, is i.e. more than ten minutes apart from the last time starting to rob visitor, so effective control Rob the frequency of visitor, reduce the pressure of server, also effectively prevent malice and rob the behavior of visitor and occur.
When user enters and robs visitor interface, detection " shaking " gesture is opened, and as its first respondent, in order to When user uses " shaking ", this is robbed visitor's function and produces response immediately, if robbing visitor's requirement when user meets, shakes end Rear background server returns customer data.
It should also be appreciated by one skilled in the art that various illustrative box, the mould combining the embodiments herein and describing Block, circuit and algorithm steps all can be implemented as electronic hardware, computer software or a combination thereof.In order to clearly demonstrate hardware and Interchangeability between software, is all carried out around its function various illustrative parts, frame, module, circuit and step above It is generally described.It is implemented as hardware as this function and is also implemented as software, depend on specifically applying and to whole The design constraint that system is applied.Those skilled in the art can realize in the way of flexible for each application-specific Described function, but, this realize decision-making and should not be construed as the protection domain deviating from the disclosure.

Claims (3)

1. based on iOS system being shaken by mobile phone robs visitor's method, it is characterised in that including:
Step S1: that opens iOS device shakes function, allows the visitor that robs of described iOS device recommend interface to become the event of shaking The first respondent;
Step S2: rob visitor recommend interface to monitor in real time to shake one and shake the hand gesture described;
Step S3: when monitor described iOS device shake a shake complete time, it is judged that the current iOS device distance last time robs Whether visitor's duration is more than 10 minutes, if more than 10 minutes, then carrying out step S4, otherwise carrying out step S10;
Step S4: described iOS device sends to background server and robs visitor's request;
Step S5: described background server receive described iOS device send rob visitor request after, from common customer resource with Machine obtains the customer data of 0 to 3 clients, and described customer data is pushed to described iOS device;
Step S6: described iOS device receives described customer data and carries out data parsing, the customer data transmission that will be parsed To data model, complete the loading of customer data;
Step S7: whether the quantity judging the client that current iOS device gets is 0, if quantity is 0, then carries out step S8, otherwise Carry out step S9;
Step S8: rob visitor and terminate, refreshes corresponding user interface, and starts the countdown of 10 minutes durations by a definite date;
Step S9: rob visitor and terminate, after described customer data loads successfully, refreshes corresponding user interface in main thread, and Proceed by the countdown of 10 minutes durations by a definite date, customer data is shown;
Step S10: visitor countdown interface is robbed in display.
Based on iOS system being shaken by mobile phone the most according to claim 1 robs visitor's method, it is characterised in that described The customer data that background server pushes to described iOS device returns with the form of json character string.
Based on iOS system being shaken by mobile phone the most according to claim 1 robs visitor's method, it is characterised in that described Customer data includes: head portrait, and the pet name is with, sex and contact method.
CN201610625761.5A 2016-08-03 2016-08-03 Based on iOS system being shaken by mobile phone robs visitor's method Pending CN106230695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610625761.5A CN106230695A (en) 2016-08-03 2016-08-03 Based on iOS system being shaken by mobile phone robs visitor's method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610625761.5A CN106230695A (en) 2016-08-03 2016-08-03 Based on iOS system being shaken by mobile phone robs visitor's method

Publications (1)

Publication Number Publication Date
CN106230695A true CN106230695A (en) 2016-12-14

Family

ID=57535076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610625761.5A Pending CN106230695A (en) 2016-08-03 2016-08-03 Based on iOS system being shaken by mobile phone robs visitor's method

Country Status (1)

Country Link
CN (1) CN106230695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112233265A (en) * 2020-09-29 2021-01-15 深圳思为科技有限公司 Electronic sign-in method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902472A (en) * 2012-05-07 2013-01-30 腾讯科技(深圳)有限公司 Method and system for triggering commands and method and system for recommending users
CN103517229A (en) * 2013-09-24 2014-01-15 小米科技有限责任公司 Method and device for obtaining user information, mobile terminal and sever
CN105163314A (en) * 2015-09-29 2015-12-16 杭州讯久科技有限公司 Mobile terminal wireless network authentication method based on page simulation shake mechanism
CN105573630A (en) * 2015-12-14 2016-05-11 北京奇虎科技有限公司 Method and device for detecting shaking event of terminal device and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902472A (en) * 2012-05-07 2013-01-30 腾讯科技(深圳)有限公司 Method and system for triggering commands and method and system for recommending users
CN103517229A (en) * 2013-09-24 2014-01-15 小米科技有限责任公司 Method and device for obtaining user information, mobile terminal and sever
CN105163314A (en) * 2015-09-29 2015-12-16 杭州讯久科技有限公司 Mobile terminal wireless network authentication method based on page simulation shake mechanism
CN105573630A (en) * 2015-12-14 2016-05-11 北京奇虎科技有限公司 Method and device for detecting shaking event of terminal device and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
费佳: "基于Android的票务平台推荐及评论模块的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑(2016)》 *
黄俊: "基于Android系统的远程监控与控制系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑(2015)》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112233265A (en) * 2020-09-29 2021-01-15 深圳思为科技有限公司 Electronic sign-in method and related device

Similar Documents

Publication Publication Date Title
US10380488B2 (en) Methods and system for managing predictive models
CN105893850B (en) Leak restorative procedure and device
DE102017009171A1 (en) EMBEDDED APPENDIX
CN108052384B (en) Task processing method, service platform and electronic equipment
CN109979103A (en) Electrical changing station server-side and change electric treatment method, electrical changing station changes method for electrically and system
CN103309705B (en) End application Activiation method and system
CN106844047B (en) Application program optimization method of intelligent terminal
CN106164917A (en) User's application-specific for remote session activates
CN105719112A (en) Determination method and device for distribution abnormal state, and server
CN106598678A (en) Method and device for supplying application installation packages to terminal equipment
CN113836264A (en) Process monitoring method, device, equipment and medium based on RPA and AI
CN103501391B (en) A kind of method and system managing user's brush machine behavior
CN104052769B (en) It is a kind of to mobile terminal apply comprising resource updates methods, devices and systems
CN105874852A (en) Mobile device power control
CN104102326A (en) Power-saving control method and system of mobile terminal
CN112365634A (en) Method and device for pushing abnormal alarm based on intelligent door lock
CN106230695A (en) Based on iOS system being shaken by mobile phone robs visitor's method
CN107832069A (en) The update method of application program
CN111078383A (en) Timed task management method, device, equipment and storage medium
CN104994082B (en) A kind of pictorial information processing method, server and system
CN109525552A (en) Dynamic code synchronized process expansion method, dynamic code generator and storage medium
DE102016106738B4 (en) Embedded computer device
CN105187391B (en) APP and its logging in network access point methods, server and system
CN109995744B (en) Authorization management method, device and storage medium
CN109062848A (en) Purchasing management method, apparatus and bus platform based on ESB bus platform

Legal Events

Date Code Title Description
C06 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

Application publication date: 20161214

RJ01 Rejection of invention patent application after publication