CN108134838A - data reporting method, device, mobile terminal and computer-readable medium - Google Patents
data reporting method, device, mobile terminal and computer-readable medium Download PDFInfo
- Publication number
- CN108134838A CN108134838A CN201711449187.3A CN201711449187A CN108134838A CN 108134838 A CN108134838 A CN 108134838A CN 201711449187 A CN201711449187 A CN 201711449187A CN 108134838 A CN108134838 A CN 108134838A
- Authority
- CN
- China
- Prior art keywords
- data
- application program
- reported
- sent
- acquisition component
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/62—Establishing a time schedule for servicing the requests
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present application discloses a kind of data reporting method, device, mobile terminal and computer-readable medium, and this method includes:SDK components judge whether application program meets default report condition;If satisfied, the data to be reported of the application program are sent to system acquisition component by the SDK components;The data to be reported of the application program received are sent to server by the system acquisition component according to preset rules.Using SDK components in a manner that system acquisition component is combined, the data of the SDK components transmission of each application program are uniformly collected by system acquisition component, server are reported to according still further to preset rules, convenient for management.
Description
Technical field
This application involves technical field of information processing, whole more particularly, to a kind of data reporting method, device, movement
End and computer-readable medium.
Background technology
At present, the mobile terminals such as mobile phone, tablet computer are more and more universal, and the function of mobile terminal is also increasingly stronger
Greatly, people do not make a phone call and send short messages merely with mobile terminal, and webpage, hair microblogging etc. can also be seen using mobile terminal, mobile
The data that the bulk information related with user and mobile terminal generate at runtime can be stored in terminal, by acquiring these
Data can analyze the behavior of user and the operating condition of mobile terminal.
Existing gathered data is usually to acquire the data of each application program simultaneously by the SDK components bound with application program
The DCS components for reporting or being carried by system acquire all data and report, and mode is single and is not easy to be managed collectively.
Invention content
Present applicant proposes a kind of data reporting method, device, mobile terminal and computer-readable mediums, above-mentioned to improve
Defect.
In a first aspect, the embodiment of the present application provides a kind of data reporting method, including:SDK components judge application program
Whether satisfaction presets report condition;It is adopted if satisfied, the data to be reported of the application program are sent to system by the SDK components
Collect component;The data to be reported of the application program received are sent to clothes by the system acquisition component according to preset rules
Business device.
Second aspect, the embodiment of the present application additionally provide data reporting device, including:Judging unit, transmitting element and on
Declaration form member.Judging unit, for judging whether application program meets default report condition.Transmitting element, for if satisfied, by institute
The data to be reported for stating application program are sent to system acquisition component.Reporting unit, for will be received according to preset rules
The data to be reported of the application program are sent to server.
The third aspect, the embodiment of the present application additionally provide a kind of mobile terminal, including memory and processor, the storage
Device is coupled with the processor.The memory store instruction, when executed by the processor so that the place
It manages device and performs following operate:SDK components judge whether application program meets default report condition;If satisfied, the SDK components will
The data to be reported of the application program are sent to system acquisition component;The system acquisition component will be connect according to preset rules
The data to be reported for the application program received are sent to server.
Fourth aspect, the embodiment of the present application additionally provides a kind of computer of program code that can perform with processor can
Medium is read, said program code makes the processor perform the above method.
Data reporting method provided by the embodiments of the present application, device, mobile terminal and computer-readable medium, first, by
Whether SDK assemblies monitors application program meets default report condition, if it is satisfied, then by the corresponding data to be reported of application program
System acquisition component is sent to, the data to be reported sent by system acquisition collect components SDK components will be collected to be reported
Data are sent to server.Therefore, it using SDK components in a manner that system acquisition component is combined, is united by system acquisition component
The data that the one SDK components for collecting each application program are sent, report to server, convenient for management according still further to preset rules.
Other feature and advantage of the embodiment of the present application will illustrate, also, in subsequent specification partly from specification
In become apparent or understood by implementing the embodiment of the present application.The purpose of the embodiment of the present application and other advantages can
It realizes and obtains by specifically noted structure in the specification, claims and attached drawing write.
Description of the drawings
In order to illustrate more clearly of the technical solution in the embodiment of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows the application scenario diagram of data reporting method and device provided by the embodiments of the present application;
Fig. 2 shows the method flow diagrams for the data reporting method that one embodiment of the application provides;
Fig. 3 shows the method flow diagram of data reporting method that another embodiment of the application provides;
Fig. 4 shows the module frame chart for the data reporting device that one embodiment of the application provides;
Fig. 5 shows the module frame chart of data reporting device that another embodiment of the application provides;
Fig. 6 shows the structure diagram of mobile terminal provided by the embodiments of the present application;
Fig. 7 shows the module frame chart of the mobile terminal of the embodiment of the present application.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Ground describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be configured to arrange and design with a variety of different herein.Cause
This, the detailed description of the embodiments herein to providing in the accompanying drawings is not intended to limit claimed the application's below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not doing
Go out all other embodiments obtained under the premise of creative work, shall fall in the protection scope of this application.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing.Meanwhile the application's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Referring to Fig. 1, show the application scenario diagram of data reporting method and device provided by the embodiments of the present application.Such as figure
Shown in 1, user terminal 1 and server 2 are located in wireless network or cable network, and user terminal 1 and server 2 carry out data
Interaction.
In the embodiment of the present application, user terminal 1 can be mobile terminal device, such as can include smart mobile phone, put down
Plate computer, E-book reader, pocket computer on knee, vehicle-mounted computer, wearable mobile terminal etc..
In some embodiments, client is mounted in user terminal 1.Specifically, client can be mounted in user
The application program of terminal 1.User can be reported to server for the operation of client and the operation data of client.Specifically
Ground, the corresponding data of client can be sent to server by SDK components or system acquisition component.
Wherein, SDK components are mounted in client, are bound with client, and can be updated with the update of client.
The effect of SDK components is to provide access interface for the data of other applications access client, can also actively acquire visitor
The Data Concurrent at family end is sent to other clients or terminal.The acquisition work that system acquisition component is carried for the system of user terminal
Tool, for example, it may be data gathering system (Data Collect System, DCS), generally updates according to the update of system.
Server 2 be equipped with for store client data memory space, for managing, storing user data and provide
User service.Server 2 can be individual server or server cluster, can be local server, can also
It is cloud server.
In some embodiments, SDK components are for acquiring the data of client bound with it, and system acquisition component can
To acquire the data of each client in user terminal.And in present data acquisition, it is often right using SDK components acquisition institute
The data for the client answered if to acquire multiple client, need the SDK components of each client by the number of acquisition
According to server is sent to, extremely inconvenient management.And after although the data of different clients can be acquired by system acquisition component
It reports again, still, acquisition strategies are not abundant enough, and acquisition mode is excessively single.
Therefore, in order to overcome drawbacks described above, referring to Fig. 2, showing that the embodiment of the present application provides a kind of data and reports
Method, this method are used to improve the diversity of data acquisition and convenient for managerial.Specifically, this method includes:S201 to S203.
S201:SDK components judge whether application program meets default report condition.
Wherein, application program is mounted in mobile terminal, and SDK components are bound with application program, for acquisition applications program
Data and report.SDK components judge whether application program meets default report condition according to preset strategy, for example, can be with
It is that the data of application program are sent to system acquisition component according to preset interval time.Specifically, judgement current time with
When time interval between the time point of last time transmission data meets predetermined interval, decide that application program meets default report
Condition.
It is also possible that when the data length of the data to be reported of application program meets certain value, by the number of application program
According to being sent to system acquisition component.Specifically, the data length of the data to be reported of application program described in current time is obtained;Sentence
Whether the data length that breaks is more than preset length;If more than judgement application program meets default report condition.
Local storage space is equipped in mobile terminal, for storing the data to be reported of application program, wherein, number to be reported
According to the operation data including application program, for example, the startup of application program or exiting, user is further included for application program
Operation behavior data, for example, closing some interface or the certain information of input etc..As a kind of embodiment, in application program
Set it is multiple bury a little, each bury a little represent user for application program operation behavior or application program operating status, for example,
The startup of application program is buried a little as one, some interface that user opens application program is buried a little as one, and in these rows
During to occur namely to bury and be a little triggered, then its corresponding data can just be stored in the corresponding local storage space of application program,
Data to be reported as application program are stored in local.
It should be noted that the data in data to be reported are acquired with SDK components and are gone through what the data of application program were sent
Records of the Historian record is related, for example, after application program launching, generated data A is stored in local, and SDK components using A as treating on
Count off is according to being sent to system acquisition component, then, as continuing to run with for application program produces data B, then application program
Data in local storage space are A and B, but data A has been sent to system acquisition component, then this data to be reported
For B.
A preset length is pre-set, wherein, which can be the byte number of data, for example, 3M bytes,
Can be the item number of data, such as 30.And the data that SDK components can monitor the data to be reported of application program in real time are long
Degree.For example, after the data of application program are sent to system acquisition component by the SDK component last times, the length of data to be reported
It is 0, with the operation of application program, the data length of the data to be reported of application program gradually increases, and constantly accumulates, is accumulating
To after preset length, SDK components decide that application program meets default report condition.Therefore, once should on SDK components
After being sent with the data of program, after the data length accumulation to certain length of this data to be reported, just meet pre-
If report condition, then the operation that the data to be reported of application program are sent to system acquisition component can be performed.
It as another embodiment, can also be when the state of application program is in some state, judgement is using journey
Sequence meets default report condition.Specifically, whether the state for monitoring the application program by operating status is switched to background state;
If monitoring, the state of the application program is switched to background state by operating status, judges that application program meets default report
Condition.
The state of application program includes operating status, background state and exits state, wherein, operating status is mobile whole
It is run on the display interface at end, for example, an activity of level of application is in topmost states, then it represents that application program
In operating status, when user clicks home keys or screen locking key, application program then enters background state, at this point, using journey
Sequence is run in system background.If the process of application program killed completely, application program, which enters, exits state.Using journey
When sequence is switched to background state by operating status, then it represents that user may use the application program in portion whithin a period of time,
That is the data that application program is locally stored may be unchanged whithin a period of time, then it can be after application program entrance
When platform, the data to be reported of application program are reported, that is to say, that monitoring the state of the application program by running
State is switched to background state, then judges that application program meets default report condition.
S202:The data to be reported of the application program are sent to system acquisition component by the SDK components.
SDK components meet default report condition in judgement application program, and the data to be reported of the application program are sent
To system acquisition component.Specifically, the data equipped with application program report record in mobile process, which includes reporting every time
The time of data, the storage time etc. of each data, then can be according to the time of last time reported data and the storage of each data
Time determines this data to be reported.For example, the time of last time reported data is first time, then it will be after first time
In data, meet and report the data of requirement as data to be reported, wherein, meet the energy for reporting requirement that can be defined with user oneself
The data enough reported, for example, non-privacy class data, for example, some specific operation behavior data or operation data.
After the data to be reported of application program are determined, data to be reported are sent to system acquisition component.In this Shen
Please be in embodiment, system acquisition component can be DCS components, then below by taking DCS components as an example, between SDK components and DCS components
Access interface is preset with, can realize data access mutual between SDK components and DCS components.Then SDK components are connect by accessing
The data to be reported of the application program are sent to DCS components by mouth.
S203:The system acquisition component sends out the data to be reported of the application program received according to preset rules
It send to server.
Specifically, DCS components are by all numbers to be reported of the application program received within a preset time interval
According to being sent to server.Wherein, prefixed time interval is preset time interval, such as 12 hours or 2 hours.DCS groups
The time that data to be reported are sent to server by part every time is all recorded in transmission record, and one is obtained in transmission record
It is secondary to send data to be reported to the time of server, historical time is denoted as, using the historical time as starting point, is obtained in the history
Between after prefixed time interval in all data to be reported, then all numbers to be reported received within a preset time interval
According to being sent to server.
It should be noted that multiple application programs can be included in mobile terminal, and each application program is one corresponding
SDK components, each SDK components are when the corresponding application program of judgement meets default report condition, by treating for application program
Count off evidence is sent to DCS components.DCS components persistently receive the different of different SDK components transmissions within a preset time interval
Then the data to be reported of application program, the data to be reported of all application programs received in prefixed time interval are sent
To server.
Referring to Fig. 3, showing that the embodiment of the present application provides a kind of data reporting method, this method is used to improve data
The diversity of acquisition and convenient for managerial.Specifically, this method includes:S301 to S307.
S301:The data whether the SDK assemblies monitors receive the application program report request.
The data of application program report request of the request for the data to be reported of instruction SDK sending application programs, specifically,
It can be the operation that reports button of the user based on application program that the data, which report request, i.e., user is in certain for clicking application program
A interface report button after, then SDK assemblies monitors report request to the data for having received application program.
As another embodiment, whether the SDK assemblies monitors receive is submitted a report asking in the data of the application program
If the mode asked be also possible that the SDK assemblies monitors to the corresponding predeterminable event of the application program occur when, judgement receives
Data to the application program report request.
Wherein, which is the corresponding operation behavior of the preset application program of user or operating status, in SDK
When assemblies monitor is to the corresponding operation behavior of application program or operating status generation, mean that SDK assemblies monitors to predeterminable event
Occur.For example, predeterminable event is clicked for some floating frame of application program, then when user clicks the floating frame, just
Judge that the corresponding predeterminable event of application program occurs, then data to be reported at this time just include the clicking operation with the floating frame
Relevant data.Specifically, which can be aforementioned bury a little.
S302:Judge received data report request whether be application program this start after the data that obtain for the first time
Report request.
Mobile terminal memory contains data record corresponding with application program, which includes the startup of application program
Number, the time started every time, the time exited every time and the time for sending data to be reported every time etc..
It when detecting that application program is in operating status, represents that the application program has been started up, is obtaining this startup
The startup time, then in the time for obtaining current acquired data and reporting request, with currently being obtained between judging on startup
Between the time that the data taken report request, if there are other data to report request, if it does not exist, then judging current institute
The data that the data of acquisition report request to be obtained for the first time after this starts for the application program report request, then perform S306
Operation.If it is present the current acquired data of judgement report request be not the application program this start after it is first
The data of secondary acquisition report request, i.e., the non-data obtained for the first time report request, then perform the operation of S303.
S303:Obtaining SDK components last time sends the data to be reported of the application program to system acquisition component
History sending time.
Specifically, it is obtained in the above-mentioned corresponding data record of application program and once sends treating for the application program
Count off is according to the time to system acquisition component, as history sending time.
S304:It obtains between the time that this received data is reported between the time of request and the history sending time
Every.
S305:Judge whether the time interval is more than preset time threshold.
Preset time threshold is set for user according to the demand that real data reports, for example, it may be 5 minutes.Such as
Fruit time interval then performs S306 more than preset time threshold, if no more than terminate if preset time threshold this method or
Person, which returns, performs S304, naturally it is also possible to be by other logic reported datas, for example, obtaining application program described in current time
Data to be reported data length;Judge whether the data length is more than preset length, if more than then performing S306, having
The embodiment of body can refer to previous embodiment, that is to say, that in not up to preset time threshold, but data length is
Through being more than preset length, then S306 is performed.
S306:The data to be reported of the application program are sent to system acquisition component by the SDK components.
S307:The system acquisition component sends out the data to be reported of the application program received according to preset rules
It send to server.
It should be noted that the part not being described in detail in above-mentioned steps, can refer to previous embodiment, it is no longer superfluous herein
It states.
Referring to Fig. 4, showing that the embodiment of the present application provides a kind of data reporting device 400, which is used to improve
Data acquisition diversity and convenient for managerial.Specifically, which includes:Judging unit 401, transmitting element 402, upper declaration form
Member 403.
Judging unit 401, for judging whether application program meets default report condition.
Transmitting element 402, for if satisfied, the data to be reported of the application program are sent to system acquisition component.
Reporting unit 403, for being sent to the data to be reported of the application program received according to preset rules
Server.
It should be noted that judging unit 401 and transmitting element 402 are the module in SDK components, reporting unit 403 is
Module in system acquisition component.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
With the specific work process of unit, the corresponding process in preceding method embodiment can be referred to, details are not described herein.
Referring to Fig. 5, showing that the embodiment of the present application provides a kind of data reporting device 500, which is used to improve
Data acquisition diversity and convenient for managerial.Specifically, which includes:Judging unit 501, transmitting element 502, upper declaration form
Member 503.
Judging unit 501, for judging whether application program meets default report condition.
Specifically, judging unit 501 includes monitoring subelement 5011, the first judgment sub-unit 5012, first obtains son list
Member 5013, second obtains 5014 and second judgment sub-unit 5015 of subelement.
Subelement 5011 is monitored, for monitoring whether that the data for receiving the application program report request.
First judgment sub-unit 5012, for judging that received data reports whether request is this startup of application program
The data obtained for the first time later report request.
First obtains subelement 5013, and the to be reported of the application program is sent for obtaining the SDK components last time
Data to system acquisition component history sending time.
Second obtains subelement 5014, the time of request and the history is reported to send out for obtaining this received data
Send the time interval between the time.
Second judgment sub-unit 5015, for judging whether the time interval is more than preset time threshold.
Transmitting element 502, for if satisfied, the data to be reported of the application program are sent to system acquisition component.
Reporting unit 503, for being sent to the data to be reported of the application program received according to preset rules
Server.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
With the specific work process of unit, the corresponding process in preceding method embodiment can be referred to, details are not described herein.
Referring to Fig. 6, based on above-mentioned method and apparatus, the embodiment of the present application also provides a kind of mobile terminal 100, packet
Electronic body portion 10 is included, the electronic body portion 10 includes housing 12 and the main display 120 being arranged on the housing 12.Institute
State that metal can be used in housing 12, such as steel, aluminium alloy are made.In the present embodiment, the main display 120 generally includes display surface
Plate 111 may also comprise to respond circuit for carrying out the display panel 111 touch control operation etc..The display panel 111 can
Think a liquid crystal display panel (Liquid Crystal Display, LCD), in some embodiments, the display panel
111 be simultaneously a touch screen 109.
Please refer to Fig. 7, in practical application scenarios, the mobile terminal 100 can be used as intelligent mobile phone terminal into
It exercises and uses, the electronic body portion 10 also typically includes one or more (one is only shown in figure) processors in this case
102nd, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module
118th, power module 122.It will appreciated by the skilled person that structure shown in Fig. 7 is only to illustrate, not to described
The structure in electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include than shown in Fig. 7 more or more
Few component or with the configuration different from shown in Fig. 6.
It will appreciated by the skilled person that for the processor 102, every other component belongs to
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation:Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or the storage control for connecting memory.In addition, these controllers can also be from described
Detached in Peripheral Interface 124, and be integrated in the processor 102 or corresponding peripheral hardware in.
The memory 104 can be used for storage software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, so as to perform various functions application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or the main display 120.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile communication
Net and combinations thereof.
The RF modules 106 are used to receive and transmit electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, so as to
It is communicated with communication network or other equipment.The RF modules 106 may include various existing for performing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF modules 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multipleaccess, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/or
IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, Instant Messenger
The agreement of news and short message and any other suitable communications protocol or even it may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, receiver 101, sound jack 103, microphone 105 provide user and the electronic body portion jointly
Audio interface between 10 or described main displays 120.Specifically, the voicefrequency circuit 110 receives at the processor 102
Voice data is converted to electric signal by voice data, by electric signal transmission to the receiver 101.The receiver 101 is by electric signal
Be converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electric signal also at the microphone 105, by electric signal
Voice data is converted to, and the processor 102 is given to be further processed data transmission in network telephony.Audio data can be with
It is obtained at the memory 104 or by the RF modules 106.In addition, audio data can also be stored to the storage
It is sent in device 104 or by the RF modules 106.
The sensor 114 is arranged in the electronic body portion 10 or in the main display 120, the sensor
114 example includes but is not limited to:Optical sensor, operation sensor, pressure sensor, gravity accelerometer and
Other sensors.
Specifically, the optical sensor may include light sensor 114F, pressure sensor 114G.Wherein, pressure sensing
Device 114G can detect the sensor of the pressure generated by being pressed on mobile terminal 100.That is, pressure sensor 114G detection by with
The pressure that contact between family and mobile terminal or pressing generate, for example, by the contact between the ear and mobile terminal of user or
Press the pressure generated.Therefore, whether pressure sensor 114G may be used to determine occurs between user and mobile terminal 100
Contact or the size of pressing and pressure.
Referring to Fig. 6, specifically in the embodiment shown in fig. 6, the light sensor 114F and the pressure
Sensor 114G is set adjacent to the display panel 111.The light sensor 114F can have object close to the main display
When shielding 120, such as when the electronic body portion 10 is moved in one's ear, the processor 102 closes display output.
As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the application of 100 posture of mobile terminal
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In addition, the electronic body portion 10 can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer
It repeats,
In the present embodiment, the input module 118 may include the touch screen being arranged on the main display 120
109, the touch screen 109 collect user on it or neighbouring touch operation (for example user is any using finger, stylus etc.
Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), and according to presetting
The corresponding attachment device of driven by program.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.
Wherein, the touch orientation of the touch detecting apparatus detection user, and the signal that touch operation is brought is detected, it transmits a signal to
The touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touch information
Contact coordinate is converted into, then gives the processor 102, and the order that the processor 102 is sent can be received and performed.
Furthermore, it is possible to realize touching for the touch screen 109 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Touch detection function.
The main display 120 is used to show by information input by user, is supplied to the information of user and the electronics
The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its
Arbitrary to combine to form, in an example, the touch screen 109 may be disposed on the display panel 111 thus with described
Display panel 111 forms an entirety.
The power module 122 is used to provide supply of electric power to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other and the electronic body portion 10 or the master
Generation, management and the relevant component of distribution of electric power in display screen 120.
The mobile terminal 100 further includes locator 119, and the locator 119 is used to determine 100 institute of mobile terminal
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the mobile terminal 100 using positioning service,
The positioning service, it should be understood that the location information of the mobile terminal 100 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology of the position of positioning object or service.
It should be understood that above-mentioned mobile terminal 100 is not limited to intelligent mobile phone terminal, should refer to can move
The computer equipment used in dynamic.Specifically, mobile terminal 100, refer to be equipped with the mobile computer of intelligent operating system
Equipment, mobile terminal 100 include but not limited to smart mobile phone, smartwatch, tablet computer, etc..
In conclusion data reporting method provided by the embodiments of the present application, device, mobile terminal and computer-readable Jie
Whether matter first, meets default report condition, if it is satisfied, then application program is corresponding by SDK assemblies monitors application program
Data to be reported are sent to system acquisition component, and the data to be reported sent by system acquisition collect components SDK components will be received
The data to be reported of collection are sent to server.Therefore, using SDK components in a manner that system acquisition component is combined, by system
Acquisition component uniformly collects the data that the SDK components of each application program are sent, and reports to server according still further to preset rules, just
In management.
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments "
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It is combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the different embodiments or examples described in this specification and the feature of different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, " multiple " are meant that at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement specific logical function or process
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) it uses or combines these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
It puts.The more specific example (non-exhaustive list) of computer-readable medium is including following:Electricity with one or more wiring
Connecting portion (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art
Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function
Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.In addition, in each embodiment of the application
In each functional unit can be integrated in a processing module or each unit is individually physically present, can also two
A or more than two units are integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product is sold or in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although it has been shown and retouches above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the application
System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of application
Type.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art are when understanding:It still can be with
It modifies to the technical solution recorded in foregoing embodiments or equivalent replacement is carried out to which part technical characteristic;And
These modification or replace, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of data reporting method, which is characterized in that including:
SDK components judge whether application program meets default report condition;
If satisfied, the data to be reported of the application program are sent to system acquisition component by the SDK components;
The data to be reported of the application program received are sent to service by the system acquisition component according to preset rules
Device.
2. according to the method described in claim 1, the SDK components judge whether application program meets default report condition, wrap
It includes:
The data whether the SDK assemblies monitors receive the application program report request;
Judge received data report request whether be the application program this start after the data that obtain for the first time report
Request;
If so, judgement application program meets default report condition.
3. according to the method described in claim 2, the method further includes:
If it is not, obtain data to be reported the going through to system acquisition component of the SDK components last time transmission application program
History sending time;
It obtains this received data and reports time interval between the time of request and the history sending time;
Judge whether the time interval is more than preset time threshold;
If more than judgement application program meets default report condition.
4. according to the method described in claim 2, it is characterized in that, the SDK assemblies monitors whether receive it is described using journey
The data of sequence report request, including:
If the SDK assemblies monitors to the corresponding predeterminable event of the application program occur when, judgement receives described using journey
The data of sequence report request.
5. according to the method described in claim 1, it is characterized in that, the SDK components to judge whether application program meets default
Report condition, including:
Obtain the data length of the data to be reported of application program described in current time;
Judge whether the data length is more than preset length;
If more than judgement application program meets default report condition.
6. according to the method described in claim 1, it is characterized in that, the SDK components to judge whether application program meets default
Report condition, including:
Whether the state for monitoring the application program by operating status is switched to background state;
If monitoring, the state of the application program is switched to background state by operating status, and it is default to judge that application program meets
Report condition.
7. according to claim 1-6 any one of them methods, the system acquisition component will be received according to preset rules
The data to be reported of the application program are sent to server, including:
The system acquisition component is by all data to be reported of the application program received within a preset time interval
It is sent to server.
8. a kind of data reporting device, which is characterized in that including:
Judging unit, for judging whether application program meets default report condition;
Transmitting element, for if satisfied, the data to be reported of the application program are sent to system acquisition component;
Reporting unit, for the data to be reported of the application program received to be sent to server according to preset rules.
9. a kind of mobile terminal, which is characterized in that including memory and processor, the memory is coupled with the processor;
The memory store instruction, when executed by the processor so that the processor performs following operate:
SDK components judge whether application program meets default report condition;
If satisfied, the data to be reported of the application program are sent to system acquisition component by the SDK components;
The data to be reported of the application program received are sent to service by the system acquisition component according to preset rules
Device.
A kind of 10. computer-readable medium of program code that can perform with processor, which is characterized in that said program code
The processor is made to perform any one of claim 1-7 the methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711449187.3A CN108134838A (en) | 2017-12-27 | 2017-12-27 | data reporting method, device, mobile terminal and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711449187.3A CN108134838A (en) | 2017-12-27 | 2017-12-27 | data reporting method, device, mobile terminal and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108134838A true CN108134838A (en) | 2018-06-08 |
Family
ID=62393496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711449187.3A Pending CN108134838A (en) | 2017-12-27 | 2017-12-27 | data reporting method, device, mobile terminal and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108134838A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442402A (en) * | 2019-08-08 | 2019-11-12 | 中国建设银行股份有限公司 | Data processing method, device, equipment and storage medium |
CN110620675A (en) * | 2018-06-20 | 2019-12-27 | 佛山市顺德区美的电热电器制造有限公司 | Information processing method and device and computer storage medium |
CN110737563A (en) * | 2018-07-19 | 2020-01-31 | 阿里巴巴集团控股有限公司 | application program information reporting and receiving method and device |
CN111327711A (en) * | 2020-03-18 | 2020-06-23 | 上海商米科技集团股份有限公司 | Data service method, data service device, terminal and machine readable storage medium |
CN111552521A (en) * | 2020-04-26 | 2020-08-18 | 深圳乐信软件技术有限公司 | Application data reporting method, device, server and storage medium |
CN111984896A (en) * | 2019-05-24 | 2020-11-24 | 上海哔哩哔哩科技有限公司 | Buried point data acquisition method and device, computer equipment and readable storage medium |
CN113433908A (en) * | 2021-06-24 | 2021-09-24 | 储信(北京)科技发展有限公司 | Method for reporting and processing distributed events |
CN113778801A (en) * | 2021-09-14 | 2021-12-10 | 珠海格力电器股份有限公司 | Method and device for reporting start event, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376335A (en) * | 2015-12-15 | 2016-03-02 | 北京奇虎科技有限公司 | Method and device for collection data uploading |
CN105656714A (en) * | 2015-12-25 | 2016-06-08 | 北京京东尚科信息技术有限公司 | Data collection and reporting method and device of mobile device |
CN106101169A (en) * | 2016-05-19 | 2016-11-09 | 努比亚技术有限公司 | A kind of terminal and data reporting method |
US9525606B1 (en) * | 2014-09-04 | 2016-12-20 | HCA Holdings, Inc. | Differential processing of data streams based on protocols |
-
2017
- 2017-12-27 CN CN201711449187.3A patent/CN108134838A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9525606B1 (en) * | 2014-09-04 | 2016-12-20 | HCA Holdings, Inc. | Differential processing of data streams based on protocols |
CN105376335A (en) * | 2015-12-15 | 2016-03-02 | 北京奇虎科技有限公司 | Method and device for collection data uploading |
CN105656714A (en) * | 2015-12-25 | 2016-06-08 | 北京京东尚科信息技术有限公司 | Data collection and reporting method and device of mobile device |
CN106101169A (en) * | 2016-05-19 | 2016-11-09 | 努比亚技术有限公司 | A kind of terminal and data reporting method |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110620675A (en) * | 2018-06-20 | 2019-12-27 | 佛山市顺德区美的电热电器制造有限公司 | Information processing method and device and computer storage medium |
CN110737563A (en) * | 2018-07-19 | 2020-01-31 | 阿里巴巴集团控股有限公司 | application program information reporting and receiving method and device |
CN110737563B (en) * | 2018-07-19 | 2023-05-26 | 阿里巴巴集团控股有限公司 | Application program information reporting and receiving method and device |
CN111984896A (en) * | 2019-05-24 | 2020-11-24 | 上海哔哩哔哩科技有限公司 | Buried point data acquisition method and device, computer equipment and readable storage medium |
CN110442402A (en) * | 2019-08-08 | 2019-11-12 | 中国建设银行股份有限公司 | Data processing method, device, equipment and storage medium |
CN111327711A (en) * | 2020-03-18 | 2020-06-23 | 上海商米科技集团股份有限公司 | Data service method, data service device, terminal and machine readable storage medium |
CN111552521A (en) * | 2020-04-26 | 2020-08-18 | 深圳乐信软件技术有限公司 | Application data reporting method, device, server and storage medium |
CN113433908A (en) * | 2021-06-24 | 2021-09-24 | 储信(北京)科技发展有限公司 | Method for reporting and processing distributed events |
CN113778801A (en) * | 2021-09-14 | 2021-12-10 | 珠海格力电器股份有限公司 | Method and device for reporting start event, electronic equipment and storage medium |
CN113778801B (en) * | 2021-09-14 | 2024-05-03 | 珠海格力电器股份有限公司 | Method and device for reporting start event, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108134838A (en) | data reporting method, device, mobile terminal and computer-readable medium | |
CN108235308A (en) | data reporting method, device, mobile terminal and computer-readable medium | |
CN110035546B (en) | Transmission method, mobile terminal and network equipment | |
CN108712561A (en) | Right management method, device, mobile terminal and storage medium | |
CN108228025A (en) | message display method, device, mobile terminal and storage medium | |
CN108632460A (en) | Right management method, device, mobile terminal and storage medium | |
CN104518945B (en) | A kind of transmission, the methods, devices and systems of reception social network information | |
CN108763892A (en) | Right management method, device, mobile terminal and storage medium | |
CN108446211A (en) | Browser exception collection method, device, mobile terminal and storage medium | |
CN108737254A (en) | Display control method, terminal and the computer storage media of application chat component | |
CN108345422A (en) | Application control method, apparatus, mobile terminal and computer-readable medium | |
CN108255674A (en) | multi-process browser process log collecting method, device and mobile terminal | |
CN109428871B (en) | Defense strategy determination method and device | |
CN108200546A (en) | data reporting method, device, mobile terminal and computer-readable medium | |
CN108235237B (en) | Data reporting method and device, mobile terminal and computer readable medium | |
CN108494851B (en) | Application program recommended method, device and server | |
CN108803961A (en) | Data processing method, device and mobile terminal | |
CN104539794A (en) | Terminal | |
CN107819938A (en) | Footmark collocation method, device, mobile terminal and server | |
CN107688498B (en) | Application program processing method and device, computer equipment and storage medium | |
CN107896285A (en) | data reporting method, device, mobile terminal and computer-readable medium | |
CN109788132A (en) | A kind of message treatment method, mobile terminal and computer readable storage medium | |
CN107743151A (en) | Content delivery method, device, mobile terminal and server | |
CN108667962A (en) | Display methods, device, mobile terminal and storage medium | |
CN107930126A (en) | Reservation data of playing processing method, device and mobile terminal |
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: 20180608 |