CN110049479A - Wrist machine information report method, terminal and readable storage medium storing program for executing - Google Patents
Wrist machine information report method, terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110049479A CN110049479A CN201910341925.5A CN201910341925A CN110049479A CN 110049479 A CN110049479 A CN 110049479A CN 201910341925 A CN201910341925 A CN 201910341925A CN 110049479 A CN110049479 A CN 110049479A
- Authority
- CN
- China
- Prior art keywords
- terminal
- wrist machine
- wrist
- system data
- location information
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- 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)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of wrist machine information report methods, the following steps are included: when receiving the activation request that the wrist machine is sent, show that the permission of location information confirms interface in the terminal screen, then when detecting the determine instruction of permission confirmation interface triggering, determine the wrist machine and the terminal whether successful matching, next in the wrist machine and the terminal successful matching, obtain the system data of the wrist machine, locating module finally based on the terminal obtains the location information of the terminal, and sending includes that the system data and reporting for the location information are requested to server.The invention also discloses a kind of terminal and computer readable storage mediums.The present invention realizes the information for obtaining wrist machine in time, effectively tracks wrist machine service condition, so that Wan Ji producer be promoted to promote sale and after sale management quality.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of wrist machine information report methods, terminal and readable storage medium
Matter.
Background technique
With the fast development of terminal technology, especially wrist machine, more and more people are met in life by wrist machine
Various functional requirements.Currently, can not judge whether user has activated wrist machine for Wan Ji manufacturer, and can not obtain
The corresponding information of wrist machine used by a user, such as mobile device identification code IMEI, model, version consumption, geographical location, Wu Fashi
Other user whether by wrist machine and wearing APP pairing use, thus can not track wrist machine service condition and understand sale area,
Model, after sale information, channel etc..
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of wrist machine information report method, terminal and readable storage medium storing program for executing, it is intended to
Solve the technical issues of Wan Ji producer can not obtain the information of wrist machine in time, track wrist machine service condition.
To achieve the above object, the present invention provides a kind of wrist machine information report method, is applied to that data can be carried out with wrist machine
The terminal of communication, the wrist machine information report method the following steps are included:
When receiving the activation request that the wrist machine is sent, the permission confirmation of location information is shown in the terminal screen
Interface;
When detecting the determine instruction of permission confirmation interface triggering, determine whether the wrist machine and the terminal match
To success;
In the wrist machine and the terminal successful matching, the system data of the wrist machine is obtained;
Locating module based on the terminal obtains the location information of the terminal, and send include the system data and
The location information reports request to server.
In one embodiment, described in the wrist machine and the terminal successful matching, obtain the system number of the wrist machine
According to the step of include:
Determine whether the wrist machine and the terminal have built up bluetooth connection;
When the wrist machine and the terminal have built up bluetooth connection, the wrist machine is obtained by the bluetooth connection
System data.
In one embodiment, described when the wrist machine and the terminal have built up bluetooth connection, pass through the bluetooth
Connection obtains the step of system data of the wrist machine and includes:
When the wrist machine and the terminal have built up bluetooth connection, the first acquisition is sent by the bluetooth connection and is asked
It asks to the wrist machine, so that the wrist machine feedback system data;
When not receiving the system data that the wrist machine is sent in the first preset time, sent by the bluetooth connection
Second acquisition request is to the wrist machine.
In one embodiment, described when the wrist machine and the terminal have built up bluetooth connection, pass through the bluetooth
Connection sends the first acquisition request to the wrist machine, so that after the step of wrist machine feedback system data, further includes:
When receiving the system data that the wrist machine is sent, determine whether the system data meets preset format;
When the system data is unsatisfactory for preset format, third acquisition request is sent to described by the bluetooth connection
Wrist machine.
In one embodiment, the locating module based on the terminal obtains the location information of the terminal, and sends
Request to the server that reports for including the steps that the system data and the location information includes:
Determine whether the terminal has built up network connection;
When the terminal has built up network connection, determine whether homepage is shown the corresponding application App of the wrist machine;
When the application App is that homepage is shown, the location information of the terminal is obtained based on the locating module, concurrently
It send and requests including the system data and reporting for the location information to server.
In one embodiment, described when the terminal has built up network connection, determine the corresponding application of the wrist machine
App whether homepage show the step of after, further includes:
When the application App is that non-home is shown, whether the detection application App, which switches to homepage, is shown;
When detecting that the application App switches to homepage display, continue to execute based on described in locating module acquisition
The location information of terminal, and send and include the steps that the system data and reporting for the location information are requested to server.
In one embodiment, the system data includes: the corresponding mobile device identification code IMEI of the wrist machine, the wrist
The corresponding rom version of machine and the corresponding model of the wrist machine.
In one embodiment, the locating module based on the terminal obtains the location information of the terminal, and sends
Include the steps that the system data and reporting for the location information are requested to server, further includes:
When reporting of not receiving that the server sends in the second preset time is successfully fed back, detects and described apply App
Homepage whether is switched to show;
When detecting that the application App switches to homepage display, continues to execute the locating module based on the terminal and obtain
The location information of the terminal is taken, and sending includes that the system data and reporting for the location information are requested to server
Step.
In addition, to achieve the above object, the present invention also provides a kind of terminal, it is logical that the terminal can carry out data with wrist machine
Letter, the terminal include: memory, processor and are stored in the wrist machine that can be run on the memory and on the processor
Information reporting program, the wrist machine information report program to realize wrist machine letter described in any of the above embodiments when being executed by the processor
The step of ceasing report method.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing
It contains wrist machine information and reports program, the wrist machine information realizes wrist described in any of the above embodiments when program being reported to be executed by processor
The step of machine information report method.
The present invention is by showing location information in the terminal screen when receiving the activation request that the wrist machine is sent
Permission confirm interface, then when detecting the determine instruction of permission confirmation interface triggering, determine the wrist machine and institute
Stating terminal, whether successful matching obtains the system number of the wrist machine next in the wrist machine and the terminal successful matching
Obtain the location information of the terminal according to, the locating module finally based on the terminal, and send include the system data and
Reporting for the location information is requested to server, and then realizes the information for obtaining wrist machine in time, effectively tracks the use of wrist machine
Situation, so that Wan Ji producer be promoted to promote sale and after sale management quality.
Detailed description of the invention
The structural schematic diagram of terminal in the hardware running environment that Fig. 1 is related to for the embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of wrist machine information report method first embodiment of the present invention;
Fig. 4 is the flow diagram of wrist machine information report method second embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
100 structure of mobile terminal does not constitute the restriction to mobile terminal 100, and mobile terminal 100 may include more or more than illustrating
Few component perhaps combines certain components or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal 100:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal 100 can help user to receive by Wi-Fi module 102
It sends e-mails, browse webpage and access streaming video etc., it provides wireless broadband internet access for user.Although figure
1 shows Wi-Fi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal 100, it completely can be with
It omits within the scope of not changing the essence of the invention as needed.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or Wi-Fi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide executed to mobile terminal 100 the relevant audio output of specific function (for example, call signal receive sound,
Message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or Wi-Fi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal 100, utilizes various interfaces and the entire mobile terminal of connection
Various pieces by running or execute the software program and/or module that are stored in memory 109, and are called and are stored in
Data in reservoir 109 execute the various functions and processing data of mobile terminal 100, to carry out entirety to mobile terminal 100
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, processor 110 is for calling the wrist machine information stored in memory 109 in mobile terminal shown in Fig. 1
The step of reporting program, executing the wrist machine information report method that each embodiment of the application provides.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned mobile terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned terminal hardware structure and communications network system, each of wrist machine information report method of the present invention is proposed
Embodiment.
The present invention also provides a kind of wrist machine information report methods, are wrist machine information report method of the present invention referring to Fig. 3, Fig. 3
The flow diagram of first embodiment.
In the present embodiment, which is applied to that the terminal of data communication can be carried out with wrist machine.The wrist
Machine information report method the following steps are included:
Step S100 shows location information in the terminal screen when receiving the activation request that the wrist machine is sent
Permission confirm interface;
In the present embodiment, wrist machine includes the mobile terminals such as Intelligent bracelet, smartwatch and smart phone.With screen
The continuous development of curtain technology, the appearance of the screens form such as flexible screen, Folding screen, the mobile terminals such as smart phone can also be used as wrist
Machine.Wrist machine needs to activate when using first time, needs to install at the terminal matched using App with wrist machine, is completed by App
The activation of wrist machine operates.In the present invention, because wrist machine is in the case where not yet activating, location information can not be obtained, therefore logical
The locating module for crossing terminal obtains location information, and location information belongs to individual privacy scope, therefore needs to obtain user's agreement.Specifically
Ground, terminal show the permission confirmation interface of location information on a terminal screen, ask in the activation request for receiving the transmission of wrist machine
Ask user's location information for whether agreeing to obtain its terminal.
Step S200 determines the wrist machine and described when detecting the determine instruction of permission confirmation interface triggering
Terminal whether successful matching;
In the present embodiment, when terminal detects the determine instruction of permission confirmation interface triggering of location information, also
It is to say that user agrees to obtain the location information of its terminal, next, terminal and wrist machine carry out matching operation.About terminal and wrist machine
Matching operation be illustrated below: be mounted in terminal with the matched App of wrist machine, open App, select equipment in find and to swash
Wrist machine living follows the interface App to guide the bluetooth connection for completing wrist machine and terminal;Further, need on App click relative to
The virtual key of " pairing ", can be by vibration reminding and/or display pairing icon, at this time in wrist when wrist machine receives pairing request
Virtual key, confirmation pairing are clicked on machine;The temporal information etc. of wrist machine simultaneous display terminal, arrives this, and the pairing connection of wrist machine is just completed.
Step S300 obtains the system data of the wrist machine in the wrist machine and the terminal successful matching;
In the present embodiment, after wrist machine and terminal successful matching, terminal further obtains the system data of wrist machine, success
Default memory block is saved into after obtaining system data, wherein the system data of wrist machine includes: the corresponding IMEI of wrist machine
(International Mobile Equipment Identity, international mobile equipment identification number), wrist machine are ROM editions corresponding
Sheet and the corresponding model of wrist machine.It should be noted that terminal obtain wrist machine system data during, need terminal and
Wrist machine keeps normal communication connection, and terminal and wrist machine are by bluetooth connection in the present invention, that is to say, that is obtaining wrist
During the system data of machine, terminal and wrist machine keep bluetooth connection that cannot interrupt, and otherwise will lead to terminal acquisition wrist machine is
Data of uniting are unsuccessful.
Step S400, the locating module based on the terminal obtain the location information of the terminal, and it includes described for sending
System data and reporting for the location information are requested to server.
In the present embodiment, because wrist machine can not obtain location information, therefore pass through terminal in the case where not yet activating
Locating module obtain location information, after getting location information, terminal sends the system data of wrist machine and determining for terminal
Position information is to server, so that server saves these information, for feeding back to the relevant staff of Wan Ji producer.
Specifically, step S400 includes:
Step S410, determines whether the terminal has built up network connection;
In the present embodiment, before the location information for obtaining terminal by the locating module of terminal, it is necessary first to determine
Whether the terminal has been set up network connection, such as: wireless network WIFI or the cellular mo-bile data network of operator, if
Terminal does not establish network connection, will be unable to accurately obtain location information, and can not be successfully transmitted data to server.
Step S420 determines whether the corresponding application App of the wrist machine leads when the terminal has built up network connection
Page display;
In the present embodiment, when App is currently homepage display, terminal just executes the system data for sending wrist machine and end
The location information at end is to server, and otherwise, when not being homepage display using App, the system data that terminal only saves wrist machine is arrived
Therefore default memory block after determining that terminal currently has built up network connection, further determines that whether homepage is shown App.
Step S430 obtains the positioning of the terminal based on the locating module when the application App is that homepage is shown
Information, and sending includes that the system data and reporting for the location information are requested to server;
In the present embodiment, bluetooth is a kind of wireless technology standard, it can be achieved that fixed equipment, mobile device and building are personal
Domain net between short-range data exchange because terminal and wrist machine be by bluetooth connection, therefore terminal and wrist machine be held in compared with
In short distance, therefore, it can be reported to server using the location information of terminal as the location information of wrist machine, pass through terminal
Locating module obtains the location information of the terminal.Specifically, it when application App is that homepage is shown, is obtained eventually based on locating module
The location information at end, and send system data and location information to server.
Further, in one embodiment, after step S420 further include:
Step S440, when the application App is that non-home is shown, it is aobvious whether the detection application App switches to homepage
Show;
In the present embodiment, when App is currently homepage display, terminal just executes the system data for sending wrist machine and end
The location information at end is to server, and therefore, when not being homepage display using App, terminal temporarily saves the system data of wrist machine
To default memory block, the system data of wrist machine is not sent.It is aobvious whether terminal timing or real-time detection application App switch to homepage
Show.
Step S450 is continued to execute and is determined based on the terminal when detecting that the application App switches to homepage display
Position module obtains the location information of the terminal, and sending includes that the system data and reporting for the location information are requested extremely
The step of server.
In the present embodiment, when terminal detects that App currently switches to homepage display, terminal is read from default memory block
It goes bail for the system data of the wrist machine deposited, and obtains the location information of terminal by the locating module of terminal, then send wrist machine
System data and terminal location information to server.It should be noted that because the location information of terminal can be with terminal
Move and change, therefore, every time send location information before be intended to again through terminal locating module obtain terminal work as
Preceding location information.
Further, in one embodiment, after step S400 further include:
When step S500, reporting of not receiving that the server sends in the second preset time are successfully fed back, institute is detected
It states and whether switches to homepage using App and show;
In the present embodiment, if server is successfully received the system data of the wrist machine of terminal transmission and the positioning of terminal
When information, server, which can timely feedback, reports successful confirmation message to terminal, therefore, if within the preset time, terminal
Reporting for service transmission is not received successfully to feed back, and illustrates that data send failure, terminal is needed to retransmit the system number of wrist machine
According to the location information with terminal.Specifically, do not receive reporting when successfully feeding back for server transmission within a preset time, timing or
Whether real-time detection application App, which switches to homepage, shows.
Step S600 is continued to execute when detecting that the application App switches to homepage display based on the locating module
The location information of the terminal is obtained, and sending includes that the system data and reporting for the location information are requested to server
The step of.
In the present embodiment, when terminal detects that App currently switches to homepage display, terminal is read from default memory block
It goes bail for the system data of the wrist machine deposited, and obtains the location information of terminal by the locating module of terminal, then send wrist machine
The location information of system data and terminal is to server.It should be noted that because the location information of terminal can be with terminal
It moves and changes, therefore, be intended to before transmission location information every time current again through the locating module acquisition terminal of terminal
Location information.
The wrist machine information report method that the present embodiment proposes, when receiving the activation request that the wrist machine is sent, in institute
The permission confirmation interface that terminal screen shows location information is stated, is then referred in the determination for detecting that permission confirmation interface is triggered
When enabling, determine the wrist machine and the terminal whether successful matching, next in the wrist machine and the terminal successful matching,
The system data for obtaining the wrist machine, the locating module finally based on the terminal obtain the location information of the terminal, concurrently
It send and requests including the system data and reporting for the location information to server, and then realize the letter for obtaining wrist machine in time
Breath effectively tracks wrist machine service condition, so that Wan Ji producer be promoted to promote sale and after sale management quality.
Based on first embodiment, the second embodiment of wrist machine information report method of the present invention is proposed, referring to Fig. 4, in this reality
It applies in example, step S300 includes:
Step S310, determines whether the wrist machine and the terminal have built up bluetooth connection;
In the present embodiment, terminal and wrist machine are by bluetooth connection, in order to guarantee that terminal can successfully get wrist machine
System data, it is thus necessary to determine that whether wrist machine and terminal have built up bluetooth connection, that is to say, that terminal is obtaining wrist machine
During data of uniting, terminal and wrist machine is needed to keep normal communication connection, i.e., during obtaining the system data of wrist machine,
Terminal and wrist machine keep bluetooth connection that cannot interrupt, and the system data that otherwise will lead to terminal acquisition wrist machine is unsuccessful.
Step S320 is obtained when the wrist machine and the terminal have built up bluetooth connection by the bluetooth connection
The system data of the wrist machine.
In the present embodiment, when wrist machine and terminal successful matching, and when determining that wrist machine and terminal have built up bluetooth connection,
Terminal further obtains the system data of wrist machine.
Specifically, step S320 includes:
Step S321 is sent when the wrist machine and the terminal have built up bluetooth connection by the bluetooth connection
First acquisition request is to the wrist machine, so that the wrist machine feedback system data;
In the present embodiment, when wrist machine and terminal have built up bluetooth connection, terminal, which is sent, obtains wrist machine system data
Acquisition request to wrist machine so that wrist machine feedback system data.If wrist machine is successfully received acquisition request, wrist chance is timely
The system data of wrist machine is sent to terminal.
Step S322 passes through the indigo plant when not receiving the system data that the wrist machine is sent in the first preset time
Tooth connection sends the second acquisition request to the wrist machine.
In the present embodiment, if wrist machine is successfully received the acquisition request for obtaining wrist machine system data, wrist chance
The system data of wrist machine is sent in time to terminal, otherwise, if terminal does not receive the system number of wrist machine within the preset time
According to illustrating that acquisition request that wrist machine is not successfully receiving or wrist machine send system data failure, terminal is sent again at this time
Acquisition request is to wrist machine, so that wrist machine feedback system data.
Further, in one embodiment, after step S321 further include:
It is pre- to determine whether the system data meets when receiving the system data that the wrist machine is sent by step S323
If format;
In the present embodiment, when wrist machine is successfully received the acquisition request of the acquisition wrist machine system data sent by terminal
When, then wrist chance sends the system data of wrist machine to terminal in time, and terminal after the system data for receiving wrist machine, received by detection
To system data whether meet preset format requirement, system data meets preset format requirement, illustrate system data obtain at
Otherwise function illustrates to get system data not successfully, need to continue to attempt to obtain the system data of wrist machine.
Step S324 sends third by the bluetooth connection and obtains when the system data is unsatisfactory for preset format
It requests to the wrist machine.
In the present embodiment, whether full terminal detects received system data after the system data for receiving wrist machine
Sufficient preset format requirement, system data meet preset format requirement, illustrate that system data obtains successfully, otherwise, illustrate failed
System data is got, needs to continue to attempt to obtain the system data of wrist machine.Specifically, when terminal determines that system data is unsatisfactory for
When preset format, acquisition request is sent again to the wrist machine, so that wrist machine feedback system data.
The wrist machine information report method that the present embodiment proposes, determines whether the wrist machine and the terminal have built up bluetooth
Connection obtains the wrist machine by the bluetooth connection then when the wrist machine and the terminal have built up bluetooth connection
System data, and then realize wrist machine activation while obtain wrist machine system data, effectively track wrist machine service condition,
To promote Wan Ji producer to promote sale and after sale management quality.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, wrist machine is stored on the readable storage medium storing program for executing
Information reporting program, the wrist machine information are realized in above-mentioned each embodiment when program being reported to be executed by processor on wrist machine information
The step of reporting method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of wrist machine information report method, which is characterized in that applied to the terminal for carrying out data communication with wrist machine, the wrist machine
Information uploading method the following steps are included:
When receiving the activation request that the wrist machine is sent, show that the permission of location information confirms boundary in the terminal screen
Face;
When detecting the determine instruction of permission confirmation interface triggering, determine whether the wrist machine and the terminal are paired into
Function;
In the wrist machine and the terminal successful matching, the system data of the wrist machine is obtained;
Locating module based on the terminal obtains the location information of the terminal, and it includes the system data and described for sending
Location information reports request to server.
2. wrist machine information report method as described in claim 1, which is characterized in that described to match in the wrist machine and the terminal
When to success, the step of obtaining the system data of the wrist machine, includes:
Determine whether the wrist machine and the terminal have built up bluetooth connection;
When the wrist machine and the terminal have built up bluetooth connection, system that the wrist machine is obtained by the bluetooth connection
Data.
3. wrist machine information report method as claimed in claim 2, which is characterized in that it is described the wrist machine and the terminal
When being set up bluetooth connection, the step of obtaining the system data of the wrist machine by the bluetooth connection, includes:
When the wrist machine and the terminal have built up bluetooth connection, the first acquisition request is sent extremely by the bluetooth connection
The wrist machine, so that the wrist machine feedback system data;
When not receiving the system data that the wrist machine is sent in the first preset time, second is sent by the bluetooth connection
Acquisition request is to the wrist machine.
4. wrist machine information report method as claimed in claim 3, which is characterized in that it is described the wrist machine and the terminal
When being set up bluetooth connection, the first acquisition request is sent to the wrist machine, so that the wrist machine is fed back by the bluetooth connection
After the step of system data, further includes:
When receiving the system data that the wrist machine is sent, determine whether the system data meets preset format;
When the system data is unsatisfactory for preset format, third acquisition request is sent to the wrist by the bluetooth connection
Machine.
5. wrist machine information report method as described in claim 1, which is characterized in that the locating module based on the terminal
The location information of the terminal is obtained, and sending includes that the system data and reporting for the location information are requested to server
The step of include:
Determine whether the terminal has built up network connection;
When the terminal has built up network connection, determine whether homepage is shown the corresponding application App of the wrist machine;
When the application App is that homepage is shown, the location information of the terminal is obtained based on the locating module, and send packet
It includes the system data and reporting for the location information is requested to server.
6. wrist machine information report method as claimed in claim 5, which is characterized in that described to have built up network in the terminal
When connection, determine the corresponding application App of the wrist machine whether homepage show the step of after, further includes:
When the application App is that non-home is shown, whether the detection application App, which switches to homepage, is shown;
When detecting that the application App switches to homepage display, continues to execute and the terminal is obtained based on the locating module
Location information, and send and include the steps that reporting for the system data and the location information is requested to server.
7. wrist machine information report method as described in claim 1, which is characterized in that the system data includes: the wrist machine
Corresponding mobile device identification code IMEI, the corresponding rom version of the wrist machine and the corresponding model of the wrist machine.
8. wrist machine information report method as described in any one of claim 1 to 7, which is characterized in that described to be based on the terminal
Locating module obtain the location information of the terminal, and send include the system data and the location information on submit a report asking for
After the step of asking to server, further includes:
When reporting of not receiving that the server sends in the second preset time is successfully fed back, whether the application App is detected
Homepage is switched to show;
When detecting that the application App switches to homepage display, continues to execute the locating module based on the terminal and obtain institute
State the location information of terminal, and sending includes that the system data and the location information report request to the step of server
Suddenly.
9. a kind of terminal, which is characterized in that the terminal can carry out data communication with wrist machine, and the terminal includes: memory, place
It manages device and is stored in the wrist machine information that can be run on the memory and on the processor and report program, the wrist machine information
It realizes when program being reported to be executed by the processor such as wrist machine information report method described in any item of the claim 1 to 8
Step.
10. a kind of readable storage medium storing program for executing, which is characterized in that it is stored with wrist machine information on the readable storage medium storing program for executing and reports program,
It is realized when the wrist machine information reports program to be executed by processor as on wrist machine information described in any item of the claim 1 to 8
The step of reporting method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910341925.5A CN110049479A (en) | 2019-04-25 | 2019-04-25 | Wrist machine information report method, terminal and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910341925.5A CN110049479A (en) | 2019-04-25 | 2019-04-25 | Wrist machine information report method, terminal and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110049479A true CN110049479A (en) | 2019-07-23 |
Family
ID=67279473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910341925.5A Pending CN110049479A (en) | 2019-04-25 | 2019-04-25 | Wrist machine information report method, terminal and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049479A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602689A (en) * | 2019-07-30 | 2019-12-20 | 华为技术有限公司 | Method and device for safely operating equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8311522B1 (en) * | 2010-09-28 | 2012-11-13 | E.Digital Corporation | System and method for managing mobile communications |
CN104735615A (en) * | 2015-02-03 | 2015-06-24 | 宗航 | Mobile terminal positioning method and device, information transmitting method and device, mobile terminal and device |
CN105163266A (en) * | 2015-09-16 | 2015-12-16 | 小米科技有限责任公司 | Method and device for locating wearable device |
CN106060773A (en) * | 2016-05-09 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Object positioning system, method and device |
CN206212279U (en) * | 2016-07-25 | 2017-05-31 | 南京盟联信息科技股份有限公司 | A kind of indoor occupant alignment system |
CN108135027A (en) * | 2017-12-22 | 2018-06-08 | 深圳市航天华拓科技有限公司 | Reduce the method and wearable device of wearable device power consumption |
CN108664799A (en) * | 2017-03-31 | 2018-10-16 | 腾讯科技(深圳)有限公司 | The authority setting method and device of device management application |
-
2019
- 2019-04-25 CN CN201910341925.5A patent/CN110049479A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8311522B1 (en) * | 2010-09-28 | 2012-11-13 | E.Digital Corporation | System and method for managing mobile communications |
CN104735615A (en) * | 2015-02-03 | 2015-06-24 | 宗航 | Mobile terminal positioning method and device, information transmitting method and device, mobile terminal and device |
CN105163266A (en) * | 2015-09-16 | 2015-12-16 | 小米科技有限责任公司 | Method and device for locating wearable device |
CN106060773A (en) * | 2016-05-09 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Object positioning system, method and device |
CN206212279U (en) * | 2016-07-25 | 2017-05-31 | 南京盟联信息科技股份有限公司 | A kind of indoor occupant alignment system |
CN108664799A (en) * | 2017-03-31 | 2018-10-16 | 腾讯科技(深圳)有限公司 | The authority setting method and device of device management application |
CN108135027A (en) * | 2017-12-22 | 2018-06-08 | 深圳市航天华拓科技有限公司 | Reduce the method and wearable device of wearable device power consumption |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602689A (en) * | 2019-07-30 | 2019-12-20 | 华为技术有限公司 | Method and device for safely operating equipment |
CN110602689B (en) * | 2019-07-30 | 2021-01-05 | 华为技术有限公司 | Method and device for safely operating equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924364A (en) | Message prompt method, mobile terminal and computer readable storage medium | |
CN109831586A (en) | A kind of user interface switching display methods, mobile terminal and storage medium | |
CN109407957A (en) | Screen touch control method, terminal and computer readable storage medium | |
CN109525713A (en) | A kind of application control method, wearable device and mobile terminal | |
CN109379735A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN110069167A (en) | Touch point sweep-out method, mobile terminal and computer readable storage medium | |
CN109618049A (en) | Terminal screen method for handover control, terminal and computer readable storage medium | |
CN109462700A (en) | A kind of call method, mobile terminal and computer readable storage medium | |
CN109543474A (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN109165651A (en) | A kind of identification code recognition methods, terminal and computer readable storage medium | |
CN110290269A (en) | Display control method, mobile terminal and computer readable storage medium | |
CN110351423A (en) | A kind of unread message process control method, terminal and computer readable storage medium | |
CN109889651A (en) | A kind of notification message processing method, terminal and computer readable storage medium | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN109558009A (en) | Video broadcasting method, mobile terminal and computer readable storage medium | |
CN109062678A (en) | A kind of Working mode switching method, wearable device and computer storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN110096173A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN110045903A (en) | Interface operation response method, mobile terminal, device and computer storage medium | |
CN109800097A (en) | Notification message based reminding method, storage medium and mobile terminal | |
CN110049479A (en) | Wrist machine information report method, terminal and readable storage medium storing program for executing | |
CN109151163A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109151184A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109089258A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN109257739A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus |
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: 20190723 |