CN107896285A - data reporting method, device, mobile terminal and computer-readable medium - Google Patents

data reporting method, device, mobile terminal and computer-readable medium Download PDF

Info

Publication number
CN107896285A
CN107896285A CN201711445566.5A CN201711445566A CN107896285A CN 107896285 A CN107896285 A CN 107896285A CN 201711445566 A CN201711445566 A CN 201711445566A CN 107896285 A CN107896285 A CN 107896285A
Authority
CN
China
Prior art keywords
data
mobile terminal
reported
server
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711445566.5A
Other languages
Chinese (zh)
Inventor
张建都
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711445566.5A priority Critical patent/CN107896285A/en
Publication of CN107896285A publication Critical patent/CN107896285A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Abstract

The embodiment of the present application provides a kind of data reporting method, device, mobile terminal and computer-readable medium, belongs to technical field of information processing.This method includes:Obtain the Regional Property of mobile terminal;Judge whether the Regional Property meets preparatory condition;If meeting preparatory condition, the data to be reported in the mobile terminal are sent to server.The data to be reported are screened according to the Regional Property of mobile terminal, so that the data being unsatisfactory in the mobile terminal of the Regional Property of preparatory condition do not report, the possibility for invading the rights and interests of user corresponding to some regional mobile terminal is effectively reduced, improves the security of user.

Description

Data reporting method, device, mobile terminal and computer-readable medium
Technical field
The application is related to technical field of information processing, more particularly, to a kind of data reporting method, device, movement eventually End and computer-readable medium.
Background technology
At present, the mobile terminal such as mobile phone, tablet personal computer is increasingly popularized, and the function of mobile terminal is also more and more stronger Greatly, people are not made a phone call and sent short messages merely with mobile terminal, and webpage, hair microblogging etc. can also be seen using mobile terminal, mobile The bulk information relevant with user and mobile terminal operationally caused data can be stored with terminal, by gathering these Data can analyze the behavior of user and the running situation of mobile terminal.
But during existing data acquisition, the shifting of all regions is often distributed in using a set of strategy collection The data of dynamic terminal so that the data of collection can very likely invade the rights and interests of some regional user.
The content of the invention
It is above-mentioned to improve present applicant proposes a kind of data reporting method, device, mobile terminal and computer-readable medium Defect.
In a first aspect, the embodiment of the present application provides a kind of data reporting method, including:Obtain the region category of mobile terminal Property;Judge whether the Regional Property meets preparatory condition;, will be to be reported in the mobile terminal if meeting preparatory condition Data are sent to server.
Second aspect, the embodiment of the present application additionally provide a kind of data reporting device, including:Acquiring unit, judging unit And reporting unit.Acquiring unit, for obtaining the Regional Property of mobile terminal.Judging unit, for judging the Regional Property Whether preparatory condition is met.Reporting unit, if for meeting preparatory condition, the data to be reported in the mobile terminal are sent out Deliver 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 couples with the processor.The memory store instruction, when executed by the processor so that the place Manage device and perform following operate:Obtain the Regional Property of mobile terminal;Judge whether the Regional Property meets preparatory condition;It is if full Sufficient preparatory condition, then the data to be reported in the mobile terminal are sent to server.
Fourth aspect, the embodiment of the present application additionally provides a kind of computer for the program code that can perform with processor can Medium is read, described program code makes the computing device above method.
Data reporting method, device, mobile terminal and the computer-readable medium that the embodiment of the present application provides, first judge to move Whether the Regional Property corresponding to dynamic terminal meets preparatory condition, is judging to meet preparatory condition and then by mobile terminal Data to be reported send to server.Therefore, the data to be reported are screened according to the Regional Property of mobile terminal, So that the data being unsatisfactory in the mobile terminal of the Regional Property of preparatory condition do not report, effectively reduce and invade some area The possibility of the rights and interests of user corresponding to mobile terminal, improve the security of user.
Other feature and advantage of the embodiment of the present application will illustrate in subsequent specification, also, 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 Realize and obtain by specifically noted structure in the specification, claims and accompanying drawing write.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 shows the data reporting method of the embodiment of the present application offer and the application scenario diagram of device;
Fig. 2 shows the method flow diagram for the data reporting method that the embodiment of the application one provides;
Fig. 3 shows the method flow diagram for the data reporting method that another embodiment of the application provides;
Fig. 4 shows the module frame chart for the data reporting device that the embodiment of the application one provides;
Fig. 5 shows the module frame chart for the data reporting device that another embodiment of the application provides;
Fig. 6 shows the structural representation for the mobile terminal that the embodiment of the present application provides;
Fig. 7 shows the module frame chart of the mobile terminal of the embodiment of the present application.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Ground describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.Generally exist The component of the embodiment of the present application described and illustrated in accompanying drawing can be configured to arrange and design with a variety of 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 Scope, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belong to the scope of the application protection.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying 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 data reporting method of the embodiment of the present application offer and the application scenario diagram of device.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 certain embodiments, client is arranged in user terminal 1.Specifically, client can be mounted in user The application program of terminal 1.User can report server for the operation of client and the service data of client.Specifically Ground, client is interior to include multiple business modules, and each business module represents a certain item function of client, for example, talk business. And each business module includes multiple events, the specific operation behavior of the representations of events, for example, sharing a pictures, issue One comment etc..These data of client can report server in the case where meeting condition.Need what is illustrated It is that the quantity of client can be multiple.
Server 2 is provided with the memory space for the data for being used to store client, for managing, storing user data and provide User service.Server 2 can be single server or server cluster, can be home server, can also It is cloud server.
When data are reported server by user terminal, if ignoring limitation of some regions to reported data, For example, some national law bans gather some data of users, then the rights and interests of user can be damaged.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 reporting method, this method is used to carry During high gathered data, the security of user.Specifically, this method includes:S201 to S203.
S201:Obtain the Regional Property of mobile terminal.
Data acquisition components are installed in mobile terminal, the data acquisition components can be DCS components, i.e. Data Collect System, for user's gathered data in the operating system of mobile terminal and report to the component of server.The data Component can also be SDK components, and the SDK components may be mounted in some client, and user gathers the data of the client simultaneously Report to server.
The Regional Property of mobile terminal can be the positional information of mobile terminal, i.e., the position that mobile terminal is currently located, Then the embodiment of the Regional Property of acquisition mobile terminal is:With obtaining the network of the present access network of the mobile terminal Location;The positional information of the mobile terminal is obtained according to the network address.
When connection of mobile terminal into network, or the network address that user accesses the network is got, for example, IP Location, the network address of the present access network of mobile terminal can be just got by some instructions or code.If for example, The network that mobile terminal is currently accessed is mobile communications network, such as 4G networks, then is obtained by getLocalI pAddress () Take the network address of the present access network of mobile terminal.If the network that mobile terminal is currently accessed is WLAN, example Such as Wi-Fi, then the network address of the present access network of mobile terminal is obtained by intToIp (ipAddress).
After network address is got, according to the corresponding relation of default network address and positional information, it can obtain The positional information of mobile terminal corresponding to the network address.For example, 103.21.176.0 is the IP address of China, then it is corresponding Positional information for China, 195.090.053.000 be the U.S. IP address, then the positional information of its corresponding mobile terminal be The U.S..
, can be by the locating module in mobile terminal, for example, GPS module, obtains movement as another embodiment The positional information of terminal.
S202:Judge whether the Regional Property meets preparatory condition.
Preparatory condition is, based on the collection standard set is actually needed, specifically, preparatory condition can allow to report The region of data.Then judge whether the Regional Property meets that the embodiment of preparatory condition is:Judge the position letter Whether breath belongs to the region for allowing reported data;If so, judge that the Regional Property meets preparatory condition.
It is corresponding to one area classification of each region setting, then each region and the region as a kind of embodiment Corresponding relation between area classification, which is preset, to be stored in mobile terminal.Wherein, the area classification includes allowing reported data Region and the region for not allowing reported data.Without allow reported data region setting based on the region to gathered data Regulation, for example, the U.S. does not allow to gather the data in mobile terminal, then the area classification that region is belonged to the U.S. is arranged to not permit Perhaps the region of reported data.After the positional information of mobile terminal is got, in region corresponding to each region and the region In corresponding relation between classification, area classification corresponding to the positional information of the mobile terminal is searched, if the area searched Domain classification is to allow the region of reported data, then judges that the Regional Property meets preparatory condition, then continue executing with follow-up number Operated according to reporting.If the area classification searched is not allow the region of reported data, judge that the Regional Property meets Preparatory condition.
S203:Data to be reported in the mobile terminal are sent to server.
If the Regional Property of mobile terminal meets preparatory condition, data acquisition components will be to be reported in mobile terminal Data are sent to server.Wherein, data to be reported are that user operates the user behavior data that the client in mobile terminal is And service data during client operation.In the case where the Regional Property of mobile terminal meets preparatory condition, according to default Strategy sends the data to be reported in mobile terminal to server., can be according to mobile terminal as a kind of embodiment Client corresponding to operator's informaiton, data to be reported, the behaviour of type of service and data to be reported corresponding to data to be reported Make the type of behavior.
In the first embodiment, the data to be reported in mobile terminal are sent out according to the operator's informaiton of mobile terminal Server is delivered to, specifically, obtains the operator's informaiton of the present access network of the mobile terminal;Judge operator's letter Whether breath belongs to the operator for allowing to upload data;If so, then the data to be reported in the mobile terminal are sent to service Device.Wherein, operator's informaiton includes the title of operator, for example, mobile, communication and telecommunications.
The network identification information that mobile terminal is currently located network is obtained, by obtained network identification information and default fortune The network identification information that stores is matched in battalion's business's title table, and the operator name corresponding to item that obtains that the match is successful.Operation Business's title table includes operator name and network identification information corresponding with the operator.For example, mobile terminal is accessing During network, the Extended System Parameters Message that the network issues is received, and network identification information is extracted from the message.Wherein, net Network identification information can include:MCC (Mobile Country Code, Mobile Country Code MCC) and MNC (Mobile Network Code, mobile network code), so as to can just obtain the operator's informaiton of the present access network of mobile terminal.
Vendor class corresponding to operator's informaiton is preset with mobile terminal, the vendor class includes allowing to upload The operator of data and the operator for not allowing upload data, wherein, regulation of the vendor class according to the region to operator And set, for example, some areas do not allow some operators to report the data in mobile terminal or user according to oneself Need and set vendor class.For example, the traffic fee of some operators is higher, user can manually set the operator as not Allow the operator for uploading data.In the operator's informaiton for the present access network for getting mobile terminal, in default operation In the corresponding relation of business's information vendor class corresponding with the operator's informaiton, the present Access of the mobile terminal is searched Vendor class corresponding to the operator's informaiton of network, if the vendor class searched is the operator for allowing to upload data, Then the data to be reported in the mobile terminal are sent to server, if the vendor class searched is not allow to upload The operator of data, then prompting message can be sent, net corresponding to new operator is accessed to remind user to operate mobile terminal Network.
In second of embodiment, according to client corresponding to data to be reported by the data to be reported in mobile terminal Send to server, specifically, obtain the data category of client corresponding to the data to be reported;Judge the client Whether data category belongs to privacy class client;If it is not, the data to be reported are sent to server.
Then now, data to be reported are data corresponding to client.In mobile terminal, the data and client of client Mark it is corresponding, therefore, data acquisition components can determine the mark of the client corresponding to data to be reported.In mobile terminal It is preset with the corresponding relation of the mark of client and the data category of client.Wherein, the data category of client includes privacy Class and non-privacy class.Specifically, the data category of client can be determined according to the species of client, for example, the kind of client Class includes game class client (for example, king's honor), social class client (for example, wechat), instrument client terminal (for example, phase Machine, alarm clock), social class client can be set as privacy class client, it is of course also possible to be demand of the user according to oneself And it is different client setting privacy classes or non-privacy class.
After the mark of client corresponding to data to be reported is got, according to the mark and client of default client Data category corresponding relation, the data category of client corresponding to data to be reported is obtained, if data to be reported are corresponding The classification of client belong to non-privacy class client, then the data to be reported are sent to server, if number to be reported Belong to privacy class client according to the classification of corresponding client, then do not send the data to be reported to server, Ke Yifa Go out information warning, for example, prompt window, reminding the data of user's client does not allow to be collected, and belongs to privacy class client.
In the third embodiment, according to type of service corresponding to data to be reported by the number to be reported in mobile terminal According to sending to server, specifically, type of service corresponding to the data to be reported is obtained;Judge whether the type of service belongs to In privacy class business;If it is not, the data to be reported are sent to server.
Then now, data to be reported are data corresponding to business, wherein, business is corresponding with client.Specifically, client It is interior that there are multiple functional modules, for example, some has the functions such as forum, application program management using center, then forum and should It is exactly two business of client with program management, then the address list of such as bitcom, call are also two business.It is mobile whole The mark of each business and the corresponding relation of type of service are preset with end.Can be that business sets industry according to the function of business Service type, specifically, if the function of business belongs to the higher function of privacy, for example, talk business or chat service, then The business is arranged to privacy class business.It is of course also possible to it is that each industry under some client is set according to user's request The type of service of business.
After the mark of business corresponding to data to be reported is got, according to the mark of each business and type of service Corresponding relation, the type of service of the mark of business corresponding to the data to be reported is determined, if business corresponding to data to be reported Type of service belong to privacy class business, then the data to be reported are not sent to server, information warning, example can be sent Such as, prompt window, reminding the data of user's business does not allow to be collected, and belongs to privacy class business.If data pair to be reported The type of service for the business answered belongs to non-privacy class business, then sends the data to be reported to server.
In the 4th kind of embodiment, according to operation behavior corresponding to data to be reported by the number to be reported in mobile terminal According to sending to server, specifically, the type of operation behavior corresponding to the data to be reported is obtained;Judge the operation behavior Type whether belong to privacy generic operation behavior;If it is not, the data to be reported are sent to server.
Then now, data to be reported are data corresponding to operation behavior, wherein, the business pair of operation behavior and client Should.Specifically, client includes multiple business, and each business includes multiple events, and each event represents an operation Behavior.For example, by taking social class software as an example, the interactive service under social class software, for example, friend's circle business under wechat, and Share photos or sharing video frequency under interactive service just belong to specific operation behavior, and each operation behavior is both provided with class Type, the type include privacy class and non-privacy class, i.e., the mark and operation behavior of each operation behavior are preset with mobile terminal Type corresponding relation.Specifically, can be that operation behavior sets different types according to the function of operation behavior, for example, The function of operation behavior is share photos, then belongs to the behavior compared with secret, then is set as privacy generic operation behavior.Certainly, also may be used To be that user is that different operation behaviors set privacy class or non-privacy class according to the needs of oneself.
After the mark of operation behavior corresponding to data to be reported is got, according to the mark of default each operation behavior With the corresponding relation of the type of operation behavior, the type of operation behavior corresponding to the data to be reported is determined, if number to be reported Belong to non-privacy class according to the classification of corresponding operation behavior, then send the data to be reported to server, if to be reported The classification of operation behavior corresponding to data belongs to privacy class, then does not send the data to be reported to server, can send Information warning, for example, prompt window, reminding the data of user's operation behavior does not allow to be collected, and belongs to privacy class client.
It should be noted that the judgement of above-mentioned four kinds of embodiments and Regional Property, can be separately as in movement After the Regional Property of terminal meets preparatory condition, the data to be reported in the mobile terminal are sent to the transmission of server Strategy, can also be by way of level setting in combination as the sending strategy of an entirety, will according to the sending strategy Data to be reported in the mobile terminal are sent to the sending strategy of server.Specifically, five levels are arranged to, are respectively One-level switch, secondary switch, three step switch, level Four switch and Pyatyi switch.
Wherein, one-level switch is the Regional Property for obtaining mobile terminal;Judge whether the Regional Property meets default bar Part;If meeting preparatory condition, now one-level switch belongs to open mode.
Secondary switch is to be sent the data to be reported in mobile terminal to service according to the operator's informaiton of mobile terminal Device, specifically, obtain the operator's informaiton of the present access network of the mobile terminal;Judge whether the operator's informaiton belongs to In the operator for allowing to upload data;If so, then now secondary switch belongs to open mode.
Three step switch is that the client according to corresponding to data to be reported sends the data to be reported in mobile terminal to clothes Business device, specifically, obtain the data category of client corresponding to the data to be reported;Judge the data category of the client Whether privacy class client is belonged to;If it is not, then now three step switch belongs to open mode.
Level Four switch be according to corresponding to data to be reported type of service by the data to be reported in mobile terminal send to Server, specifically, obtain type of service corresponding to the data to be reported;Judge whether the type of service belongs to privacy class Business;If it is not, then now level Four switch belongs to open mode.
Pyatyi switch be according to corresponding to data to be reported operation behavior by the data to be reported in mobile terminal send to Server, specifically, obtain the type of operation behavior corresponding to the data to be reported;Judging the type of the operation behavior is It is no to belong to privacy generic operation behavior;If it is not, then now Pyatyi switch belongs to open mode.
It should be noted that in five switches, priority is successively on earth by height:One-level switch, secondary switch, three-level are opened Close, level Four switch and Pyatyi switch.That is, one-level switch be not at open mode, i.e., in closure state when, no matter Secondary switch, three step switch, level Four switch and Pyatyi switch are in any state, do not report any data to be reported.And such as What to report the data of some operation behavior under some business of some client, it is necessary to opening in the corresponding level Close and the level before when opening extension and being in open mode, can just report, that is to say, that opened in one-level switch, two level When pass, three step switch, level Four switch and Pyatyi switch are in open mode, some behaviour under some business of some client Making the data of behavior just can successfully report.
Referring to Fig. 3, showing that the embodiment of the present application provides a kind of data reporting method, this method, which is used to improve, to be gathered During data, the security of user.Specifically, this method includes:S301 to S305.
S301:Obtain the affiliated area of the SIM card of the mobile terminal.
After SIM card is installed in mobile terminal, the information in SIM card can be got, wherein, the information in SIM card Including the integrated circuit number in SIM card, mobile station ISDN number, international mobile subscriber identification code etc., can be known according to the information The not region of the SIM, for example, the national code in mobile station ISDN number represents the belonging country of SIM card, for example, 86 tables Show China, 001 represents the U.S., and the first six digits of integrated circuit number represent the code name of country, the 9th, the volume that the 10th is each province Code.
S302:Judge whether the affiliated area of region corresponding to the current mobile network of mobile terminal and SIM card is consistent.
The acquisition modes of the current mobile network of mobile terminal may be referred to the acquisition of foregoing operator's informaiton, herein no longer Repeat.If the affiliated area of region and SIM card is inconsistent corresponding to the current mobile network of mobile terminal, then it represents that works as reach Dynamic terminal is in the state of roaming, and if continuing reported data, it is too high to may result in the consumption of mobile terminal, therefore, In the case, the operation of reported data is terminated.If region corresponding to the current mobile network of mobile terminal and the institute of SIM card Category region is consistent, then continues to obtain the Regional Property of mobile terminal.
It should be noted that above-mentioned judgement be region corresponding to current mobile network and SIM card affiliated area, for Some areas, wlan network is also charge, for example, India, then can by after the Regional Property of mobile terminal is obtained, Determine that the region belongs to the region of wlan network charge, by above-mentioned secondary switch, setting WLAN operator as not The operator for allowing to upload data is without uploading data.
S303:Obtain the Regional Property of mobile terminal.
S304:Judge whether the Regional Property meets preparatory condition.
S305:Data to be reported in the mobile terminal are sent to server.
It should be noted that the part not being described in detail in above-mentioned steps, refers to previous embodiment, it is no longer superfluous herein State.
Referring to Fig. 4, showing that the embodiment of the present application provides a kind of data reporting device 400, the device is used to improve During gathered data, the security of user.Specifically, the device includes:Acquiring unit 401, judging unit 402 and reporting unit 403。
Acquiring unit 401, for obtaining the Regional Property of mobile terminal.
Judging unit 402, for judging whether the Regional Property meets preparatory condition.
Reporting unit 403, if for meeting preparatory condition, the data to be reported in the mobile terminal are sent to clothes Business device.
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 is may be referred to, will not be repeated here.
Referring to Fig. 5, showing that the embodiment of the present application provides a kind of data reporting device 500, the device is used to improve During gathered data, the security of user.Specifically, the device includes:Institute's possession acquiring unit 501, roaming judging unit 502, Acquiring unit 503, judging unit 504 and reporting unit 505.
Institute's possession acquiring unit 501, the affiliated area of the SIM card for obtaining the mobile terminal.
Judging unit 502 is roamed, for judging region corresponding to the current mobile network of the mobile terminal and the SIM Whether the affiliated area of card is consistent, if unanimously, jumping to acquiring unit 503.
Acquiring unit 503, for obtaining the Regional Property of mobile terminal.
Judging unit 504, for judging whether the Regional Property meets preparatory condition.
Reporting unit 505, if for meeting preparatory condition, the data to be reported in the mobile terminal are sent to clothes Business device
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 is may be referred to, will not be repeated here.
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, and it is wrapped 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 Stating housing 12 can use metal, such as steel, aluminium alloy to be made.In the present embodiment, the main display 120 generally includes display surface Plate 111, it may also comprise circuit for carrying out touch control operation to the display panel 111 for responding etc..The display panel 111 can Think a liquid crystal display panel (Liquid Crystal Display, LCD), in certain embodiments, the display panel 111 be simultaneously a touch-screen 109.
Please refer to Fig. 7, in the application scenarios of reality, the mobile terminal 100 can enter as intelligent mobile phone terminal Exercise and use, the electronic body portion 10 generally also 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 the structure shown in Fig. 7 is only to illustrate, it is 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 there is 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/dispensing 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 Spun off 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 function application and data processing.The memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, dodge Deposit 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 is not limited to internet, intranet, LAN, mobile communication Net and combinations thereof.
The RF modules 106 are used to receiving and sending electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, so as to 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 multiple access, W-CDMA), CDMA (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 be used for mail, IMU The agreement of news and short message, and any other suitable communications protocol, or even 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 COBBAIF between 10 or described main displays 120.Specifically, the voicefrequency circuit 110 receives at the processor 102 Voice data, voice data is converted into electric signal, 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 gives the processor 102 to be further processed data transmission in network telephony.Voice data can be with Obtained at the memory 104 or by the RF modules 106.In addition, voice data can also be stored to the storage It is transmitted 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 as caused by being pressed against mobile terminal 100.That is, pressure sensor 114G detection by with Pressure caused by contact or pressing between family and mobile terminal, for example, by the contact between the ear and mobile terminal of user or Pressure caused by pressing.Therefore, whether pressure sensor 114G may be used to determine occurs between user and mobile terminal 100 Contact or pressing, and the size of 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 axles) and accelerate The size of degree, size and the direction of gravity are can detect that when static, available for the application for identifying the posture of mobile terminal 100 (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 Repeat,
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 collects touch operation of the user on or near it, and (for example user is any using finger, stylus etc. Operation of the suitable object or annex on the touch-screen 109 or near the touch-screen 109), and according to presetting The corresponding attachment means 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, transmit 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 touching for the touch-screen 109 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Touch detection function.
The main display 120 is used to show the information inputted by user, the information for being supplied to user and the electronics The various graphical user interface of body 10, these graphical user interface can by figure, text, icon, numeral, video and its Any combination is formed, in an example, the touch-screen 109 may be disposed on the display panel 111 so as to it is 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 supplys (such as battery or alternating current), charging circuit, Power-fail detection circuit, inverter, indicator of the power supply status and other arbitrarily with the electronic body portion 10 or the master The related component of generation, management and the distribution of electric power in display screen 120.
The mobile terminal 100 also includes locator 119, and the locator 119 is used to determine the institute of mobile terminal 100 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 positional information of the mobile terminal 100 is obtained by specific location technology (as passed through Latitude coordinate), technology or the service of the position for being positioned object are marked on the electronic map.
It should be appreciated that above-mentioned mobile terminal 100 is not limited to intelligent mobile phone terminal, it, which should refer to, to move The computer equipment used in dynamic.Specifically, mobile terminal 100, the mobile computer for being equipped with intelligent operating system is referred to Equipment, mobile terminal 100 include but is not limited to smart mobile phone, intelligent watch, tablet personal computer, etc..
In summary, data reporting method, device, mobile terminal and computer-readable Jie that the embodiment of the present application provides Matter, first judges whether the Regional Property corresponding to mobile terminal meets preparatory condition, is judging to meet preparatory condition and then is inciting somebody to action Data to be reported in mobile terminal are sent to server.Therefore, according to the Regional Property of mobile terminal to the number to be reported According to being screened so that the data being unsatisfactory in the mobile terminal of the Regional Property of preparatory condition do not report, and effectively reduce and invade Violate the possibility of the rights and interests of user corresponding to some regional mobile terminal, improve the security of user.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show 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 this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", 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 individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope 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, carry out 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) use, or combine 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 Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (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, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the application can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal 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 to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.In addition, in each embodiment of the application In each functional unit can be integrated in a processing module or unit is individually physically present, can also two Individual or two or more unit is integrated in a module.Above-mentioned integrated module can both be realized in the form of hardware, also may be used Realized in the form of using software function module.If the integrated module realized in the form of software function module and as Independent production marketing in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch 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, one of ordinary skill in the art can be changed to 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 scheme of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, one of ordinary skill in the art is when understanding:It still can be with Technical scheme described in foregoing embodiments is modified, or equivalent substitution is carried out to which part technical characteristic;And These modification or replace, do not drive appropriate technical solution essence depart from each embodiment technical scheme of the application spirit and Scope.

Claims (10)

  1. A kind of 1. data reporting method, it is characterised in that including:
    Obtain the Regional Property of mobile terminal;
    Judge whether the Regional Property meets preparatory condition;
    If meeting preparatory condition, the data to be reported in the mobile terminal are sent to server.
  2. 2. according to the method for claim 1, it is characterised in that the Regional Property for obtaining mobile terminal;Described in judgement Whether Regional Property meets preparatory condition, including:
    Obtain the network address of the present access network of the mobile terminal;
    The positional information of the mobile terminal is obtained according to the network address;
    Judge whether the positional information belongs to the region for allowing reported data;
    If so, judge that the Regional Property meets preparatory condition.
  3. 3. according to the method described in any one of claim 1 or 2, it is characterised in that the Regional Property for obtaining mobile terminal Before, methods described also includes:
    Obtain the affiliated area of the S I M cards of the mobile terminal;
    Judge whether region corresponding to the current mobile network of the mobile terminal is consistent with the affiliated area of the S I M cards, If consistent, the Regional Property for obtaining mobile terminal is performed.
  4. 4. according to the method for claim 1, it is characterised in that the data to be reported by the mobile terminal are sent To server, including:
    Obtain the operator's informaiton of the present access network of the mobile terminal;
    Judge whether the operator's informaiton belongs to the operator for allowing to upload data;
    If so, then the data to be reported in the mobile terminal are sent to server.
  5. 5. according to the method for claim 1, it is characterised in that the data to be reported by the mobile terminal are sent To server, including:
    Obtain the data category of client corresponding to the data to be reported;
    Judge whether the data category of the client belongs to privacy class client;
    If it is not, the data to be reported are sent to server.
  6. 6. according to the method for claim 1, it is characterised in that the data to be reported by the mobile terminal are sent To server, including:
    Obtain type of service corresponding to the data to be reported;
    Judge whether the type of service belongs to privacy class business;
    If it is not, the data to be reported are sent to server.
  7. 7. according to the method for claim 1, it is characterised in that the data to be reported by the mobile terminal are sent To server, including:
    Obtain the type of operation behavior corresponding to the data to be reported;
    Judge whether the type of the operation behavior belongs to privacy generic operation behavior;
    If it is not, the data to be reported are sent to server.
  8. A kind of 8. data reporting device, it is characterised in that including:
    Acquiring unit, for obtaining the Regional Property of mobile terminal;
    Judging unit, for judging whether the Regional Property meets preparatory condition;
    Reporting unit, if for meeting preparatory condition, the data to be reported in the mobile terminal are sent to server.
  9. 9. a kind of mobile terminal, it is characterised in that including memory and processor, the memory couples with the processor; The memory store instruction, when executed by the processor so as to be operated below the computing device:
    Obtain the Regional Property of mobile terminal;
    Judge whether the Regional Property meets preparatory condition;
    If meeting preparatory condition, the data to be reported in the mobile terminal are sent to server.
  10. A kind of 10. computer-readable medium for the program code that can perform with processor, it is characterised in that described program code Make any one of claim 1-7 methods describeds described in the computing device.
CN201711445566.5A 2017-12-27 2017-12-27 data reporting method, device, mobile terminal and computer-readable medium Pending CN107896285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711445566.5A CN107896285A (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
CN201711445566.5A CN107896285A (en) 2017-12-27 2017-12-27 data reporting method, device, mobile terminal and computer-readable medium

Publications (1)

Publication Number Publication Date
CN107896285A true CN107896285A (en) 2018-04-10

Family

ID=61808816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711445566.5A Pending CN107896285A (en) 2017-12-27 2017-12-27 data reporting method, device, mobile terminal and computer-readable medium

Country Status (1)

Country Link
CN (1) CN107896285A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069924A (en) * 2019-03-16 2019-07-30 浙江无极互联科技有限公司 Computer user's behavior monitoring method and computer readable storage medium
CN112671870A (en) * 2020-12-16 2021-04-16 珠海格力电器股份有限公司 Data processing method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102090044A (en) * 2008-07-10 2011-06-08 苹果公司 System and method of regulating the download of data files from a server to a client device
CN102612057A (en) * 2011-01-20 2012-07-25 中兴通讯股份有限公司 Reporting method and reporting system of position information
US20140094195A1 (en) * 2012-09-28 2014-04-03 Tencent Technology (Shenzhen) Company Limited Terminal location obtaining method, device, and system
CN103987022A (en) * 2014-06-04 2014-08-13 中科创达软件股份有限公司 Position information checking method and system based on mobile terminal and mobile terminal
CN105279067A (en) * 2014-07-24 2016-01-27 腾讯科技(深圳)有限公司 Method and device for reporting information
CN106164869A (en) * 2014-04-01 2016-11-23 微软技术许可有限责任公司 Mixed-client/server architecture for parallel processing
CN106325904A (en) * 2015-06-30 2017-01-11 青岛海信移动通信技术股份有限公司 Terminal software upgrading method, server and terminal
CN106792538A (en) * 2016-12-29 2017-05-31 哈尔滨海能达科技有限公司 Information uploading method, terminal pattern changing method and digital communication system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102090044A (en) * 2008-07-10 2011-06-08 苹果公司 System and method of regulating the download of data files from a server to a client device
CN102612057A (en) * 2011-01-20 2012-07-25 中兴通讯股份有限公司 Reporting method and reporting system of position information
US20140094195A1 (en) * 2012-09-28 2014-04-03 Tencent Technology (Shenzhen) Company Limited Terminal location obtaining method, device, and system
CN106164869A (en) * 2014-04-01 2016-11-23 微软技术许可有限责任公司 Mixed-client/server architecture for parallel processing
CN103987022A (en) * 2014-06-04 2014-08-13 中科创达软件股份有限公司 Position information checking method and system based on mobile terminal and mobile terminal
CN105279067A (en) * 2014-07-24 2016-01-27 腾讯科技(深圳)有限公司 Method and device for reporting information
CN106325904A (en) * 2015-06-30 2017-01-11 青岛海信移动通信技术股份有限公司 Terminal software upgrading method, server and terminal
CN106792538A (en) * 2016-12-29 2017-05-31 哈尔滨海能达科技有限公司 Information uploading method, terminal pattern changing method and digital communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069924A (en) * 2019-03-16 2019-07-30 浙江无极互联科技有限公司 Computer user's behavior monitoring method and computer readable storage medium
CN112671870A (en) * 2020-12-16 2021-04-16 珠海格力电器股份有限公司 Data processing method and device, electronic equipment and storage medium
CN112671870B (en) * 2020-12-16 2023-12-12 珠海格力电器股份有限公司 Data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104901991B (en) Virtual resource transfer method, device and system
CN105281906A (en) Safety authentication method and device
CN108228025A (en) message display method, device, mobile terminal and storage medium
CN107635266A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN108717343A (en) Application icon processing method, device and mobile terminal
CN108134838A (en) data reporting method, device, mobile terminal and computer-readable medium
CN107395850A (en) A kind of social communication information guard method, device and computer-readable recording medium
CN108235308A (en) data reporting method, device, mobile terminal and computer-readable medium
CN108255674A (en) multi-process browser process log collecting method, device and mobile terminal
CN107766548A (en) Method for information display, device, mobile terminal and readable storage medium storing program for executing
CN106255102A (en) The authentication method of a kind of terminal unit and relevant device
CN104917796A (en) Credit account creating method, system and method
CN108235237B (en) Data reporting method and device, mobile terminal and computer readable medium
CN108345422A (en) Application control method, apparatus, mobile terminal and computer-readable medium
CN108829444A (en) A kind of method that background application is automatically closed, terminal and computer storage medium
CN113038434A (en) Device registration method and device, mobile terminal and storage medium
CN107770356A (en) A kind of communication establishing method, equipment and computer-readable recording medium
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN108494851B (en) Application program recommended method, device and server
CN108200546A (en) data reporting method, device, mobile terminal and computer-readable medium
CN110191465A (en) Authority control method, mobile terminal and computer readable storage medium
CN107896285A (en) data reporting method, device, mobile terminal and computer-readable medium
CN109600714A (en) A kind of method of payment, terminal and readable storage medium storing program for executing
CN109544140A (en) A kind of identification code scan method, terminal and readable storage medium storing program for executing
CN107484144A (en) A kind of information acquisition method, terminal, server and computer-readable storage medium

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: 20180410