CN105743773A - Weather data acquisition method and device - Google Patents

Weather data acquisition method and device Download PDF

Info

Publication number
CN105743773A
CN105743773A CN201610054642.9A CN201610054642A CN105743773A CN 105743773 A CN105743773 A CN 105743773A CN 201610054642 A CN201610054642 A CN 201610054642A CN 105743773 A CN105743773 A CN 105743773A
Authority
CN
China
Prior art keywords
weather
weather data
geographical position
server
state
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
CN201610054642.9A
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 CN201610054642.9A priority Critical patent/CN105743773A/en
Publication of CN105743773A publication Critical patent/CN105743773A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W1/00Meteorology
    • G01W1/02Instruments for indicating weather conditions by measuring two or more variables, e.g. humidity, pressure, temperature, cloud cover or wind speed

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a weather data acquisition method and device. The method comprises the following steps: sending a real-time weather acquisition request to a first server, wherein the real-time weather acquisition request indicates a geographic position; receiving N groups of weather data of the geographic position returned by the first server, wherein a difference between upload time of the returned weather data and current time is smaller than a preset threshold; and determining a weather state with the highest occurrence frequency in the received weather data of the geographic position as a real-time weather state of the geographic position. In the method and the device, acquisition of the weather data depends on real weather data uploaded by a large quantity of mobile terminals. Compared with forecast weather data acquired from a server of a professional meteorological institute, the weather data acquired through the scheme have the advantage that the timeliness and authenticity of the weather data can be ensured.

Description

The acquisition methods of weather data and device
Technical field
The invention belongs to technical field of mobile terminals, particularly relate to acquisition methods and the device of weather data.
Background technology
A large amount of along with the mobile terminal product such as Intelligent flat, smart mobile phone popularize, application or desktop tool based on Mobile operating platform are also arisen at the historic moment, the function that can realize includes weather, calendar, clock etc., wherein, user can pass through weather instrument and obtain the real-time weather in somewhere, thus providing planned reference for item arrangements such as trips.
At present, mobile terminal gets the real-time weather data in somewhere mainly by the data server accessing meteorological institution, but, in the data server of meteorological institution, mostly be there is time delay in the renewal of real-time weather data, therefore, acquisition for mobile terminal to be actually meteorological institution by forecasting procedure at the weather data predicting out before, these data do not ensure that when some the real-time weather actual with locality is consistent, reduce the information authenticity that weather data obtains.
Summary of the invention
In view of this, embodiments providing acquisition methods and the device of weather data, there is time delay in the acquisition to solve current real-time weather data, information authenticity cannot guaranteed problem.
First aspect, embodiments provides the acquisition methods of a kind of weather data, including:
Send real-time weather to first server and obtain request, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position;
Receiving the weather data in the described geographical position of N group that described first server returns, the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1;
In the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
Second aspect, embodiments provides the acquisition device of a kind of weather data, including:
First transmitting element, request is obtained for sending real-time weather to first server, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position;
First receives unit, and for receiving the weather data in the described geographical position of N group that described first server returns, the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1;
Determine unit, for, in the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
In the embodiment of the present invention, the acquisition of weather data depends on the true weather data that substantial amounts of mobile terminal is uploaded, compared to the weather data doped accessed on the server from Professional Meteorological mechanism, can both be guaranteed in real-time and data validity by the weather data accessed by this programme.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flowchart of the acquisition methods of the weather data that the embodiment of the present invention provides;
Fig. 2 is the flowchart of the acquisition methods of the weather data that another embodiment of the present invention provides;
Fig. 3 be the embodiment of the present invention provide weather data acquisition methods S102 implement flow chart;
Fig. 4 is the flowchart of the acquisition methods of the weather data that another embodiment of the present invention provides;
Fig. 5 is the structured flowchart of the acquisition device of the weather data that the embodiment of the present invention provides;
Fig. 6 is the block diagram of the part-structure of the mobile phone relevant to the mobile terminal of embodiment of the present invention offer.
Detailed description of the invention
In being described below, in order to illustrate rather than in order to limit, it is proposed that the such as detail of particular system structure, technology etc, in order to thoroughly cut and understand the embodiment of the present invention.But, it will be clear to one skilled in the art that and can also realize the present invention in the other embodiments do not have these details.In other situation, omit the detailed description to well-known system, device, circuit and method, in order to avoid unnecessary details hinders description of the invention.
What Fig. 1 illustrated the acquisition methods of the weather data that the embodiment of the present invention provides realizes flow process, and details are as follows:
In S101, send real-time weather to first server and obtain request, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position.
In embodiments of the present invention, described first server can be Cloud Server, and it is for gathering and store the weather data that a large amount of mobile terminal is uploaded, and provides data base querying function, it is possible to output meets the weather data Query Result of querying condition.When the weather application of mobile terminal or weather desktop tool start or are activated to mobile terminal front stage operation, real-time weather can be sent to first server and obtain request, this real-time weather obtains in request and geographical position has been indicated, and clearly requires that what get is the weather data about this geographical position.Wherein, geographical position can be obtained in real time by the built-in GPS module of mobile terminal or architecture, for representing the geographical position that mobile terminal is currently located, it is also possible to for certain geographical position that user specifies.When sending real-time weather and obtaining request, geographical position can to carry in the way of latitude and longitude coordinates data in real-time weather acquisition request.
In S102, receiving the weather data in the described geographical position of N group that described first server returns, the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1.
In embodiments of the present invention, first server gathers the real-time weather data in each geographical position by mobile terminal, therefore, after the real-time weather receiving mobile terminal obtains request, it is possible to return the weather data in the geographical position of its needs to mobile terminal.As one embodiment of the present of invention, first server obtains the mode of real-time weather data, after mobile terminal sends real-time weather acquisition request, prompting mobile terminal uploads its real-time weather data being currently located geographical position, as shown in Figure 2, before S101, described method also includes:
S201, receives the weather data acquisition request that described first server sends.
S201, obtains request according to described weather data, and the weather data being currently located geographical position is uploaded to the storage of described first server.
Described weather data obtains request, is the request that first server sends to mobile terminal, and the weather data being currently located geographical position for prompting mobile terminal is uploaded, and mobile terminal is currently located the weather data collection in geographical position completing server.Mobile terminal is when receiving weather data and obtaining request, can also decide whether to upload weather data according to its residing environment, for instance, when mobile terminal is in the indoor environment comparatively closed, when cannot learn the weather condition of outdoor, it is possible to select not upload weather data.Mobile terminal can include the weather data that the current weather situation in its geographic location, wind conditions, temperature conditions etc. are described to the weather data that first server is uploaded, further, mobile terminal can also get, by photographic head, the weather picture that its geographic location is real-time, to be uploaded to first server as weather data more intuitively.
Further, consider that the description of weather condition is more the description on subjectivity, sense organ by mobile phone users, such as, with the word such as hot and cold, very hot, sky temperature is described, but not be the description of objective specialty, such as, with concrete temperature value, sky temperature is described, therefore, as one embodiment of the invention, it is possible to by arranging state of weather option, the description of weather will be changed into objective, professional weather data by mobile phone users subjectivity, sense organ, as it is shown on figure 3, the implementation of S102 is as follows:
In S301, show state of weather list, described state of weather list includes various different state of weather option.
State of weather option can include some dimensions, for containing the various aspects of state of weather, such as, temperature dimension, wind-force dimension, weather dimension can be included, etc., each dimension is corresponding some state of weather options respectively, the state of weather options such as such as temperature dimension correspondence is cold, cold, comfortable, hot, extremely hot, and each state of weather option can state of weather parameter in a corresponding segment limit, for instance the state of weather option of temperatures above dimension, all can a corresponding temperature range.
In S302, choose the state of weather option being consistent with the current weather being currently located geographical position.
Mobile phone users, according to the state of weather list demonstrated, according to oneself real-time, actual sensorial perception to weather, chooses the state of weather option being consistent with the state of weather being currently located geographical position.
In S303, weather data corresponding for the state of weather option chosen is uploaded to the storage of described first server.
Finally, state of weather parameter corresponding to its user-selected state of weather option can be currently located the weather data in geographical position as it by mobile terminal, it is uploaded to first server storage, thus helping first server to complete a weather data gatherer process.
For first server, it can complete the weather data collection of magnanimity by the way, therefore, after the real-time weather receiving mobile terminal obtains request, real-time weather is obtained in request the geographical position carried as search condition by first server, its magnanimity weather data collected is retrieved, by the difference of uplink time and current time less than predetermined threshold value (namely comparatively nearest with current time uplink time), and geographical position identical (or, can also be at described geographic vicinity) N group weather data return to mobile terminal.
In S103, in the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
Mobile terminal is after receiving the weather data that first server returns, weather data is carried out statistical disposition, state of weather the highest for the wherein frequency of occurrences is defined as its real-time weather state requiring the geographical position checked, using big probability data as final data result, thus the error message rejected in the weather data that other mobile terminals are uploaded, it is ensured that the accuracy that weather data obtains.
Further, as one embodiment of the present of invention, if mobile terminal is uploaded to the weather data in first server when also including weather picture, mobile terminal is after the real-time weather state getting its required geographical position, weather picture can also be sent to first server and check instruction, the weather picture in this geographical position that other mobile terminals can be uploaded by first server in real time is pushed to mobile terminal, mobile terminal receives and shows this weather picture, so, mobile phone users can recognize the state of weather in its required geographical position more intuitively from weather picture.
Further, as shown in Figure 4, described method also includes:
S104, if not receiving the weather data in the described geographical position that described first server returns, then to the weather data in geographical position described in second server acquisition request, the weather data server that described second server provides for meteorological institution.
If mobile terminal does not receive the weather data that first server returns, then show do not have mobile terminal to upload the weather data in this geographical position to first server at no distant date, or, the mobile terminal quantity of weather data in this geographical position is uploaded to first server not up to predetermined quantity in the recent period, now, mobile terminal changes the weather data in this geographical position of weather data server request that the meteorological institution to specialty provides into, to ensure the smooth acquisition of weather data.
In the embodiment of the present invention, the acquisition of weather data depends on the true weather data that substantial amounts of mobile terminal is uploaded, compared to the weather data doped accessed on the server from Professional Meteorological mechanism, can both be guaranteed in real-time and data validity by the weather data accessed by this programme.
Should be understood that in above-described embodiment, the size of the sequence number of each step is not meant to the priority of execution sequence, the execution sequence of each process should be determined with its function and internal logic, and the implementation process of the embodiment of the present invention should not constituted any restriction.
Acquisition methods corresponding to the weather data described in foregoing embodiments, Fig. 5 illustrates the structured flowchart of the acquisition device of the weather data that the embodiment of the present invention provides, and the acquisition device of described weather data can be built in the unit that software unit in the application system of mobile terminal or mobile terminal, hardware cell or soft or hard combine.For the ease of illustrating, illustrate only part related to the present embodiment.
With reference to Fig. 5, this device includes:
First transmitting element 51, send real-time weather to first server and obtain request, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position;
First receives unit 52, receives the weather data in the described geographical position of N group that described first server returns, and the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1;
Determine unit 53, in the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
Alternatively, described device also includes:
Second receives unit, receives the weather data acquisition request that described first server sends;
Uploading unit, obtains request according to described weather data, and the weather data being currently located geographical position is uploaded to the storage of described first server.
Alternatively, described uploading unit includes:
Display subelement, shows state of weather list, includes various different state of weather option in described state of weather list;
Choose subelement, choose the state of weather option being consistent with the current weather being currently located geographical position;
Upload subelement, weather data corresponding for the state of weather option chosen is uploaded to the storage of described first server.
Alternatively, the weather data in described geographical position also includes: the weather picture in described geographical position,
Described device also includes:
Second transmitting element, sends weather picture to described first server and checks instruction;
3rd receives unit, receives and show the weather picture in the described geographical position that described first server pushes.
Alternatively, described device also includes:
Request unit, if not receiving the weather data in the described geographical position that described first server returns, then to the weather data in geographical position described in second server acquisition request, the weather data server that described second server provides for meteorological institution.
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the mobile terminal of embodiment of the present invention offer.With reference to Fig. 6, mobile phone includes: the parts such as radio frequency (RadioFrequency, RF) circuit 610, memorizer 620, input block 630, display unit 640, sensor 650, voicefrequency circuit 660, photographic head 670, processor 680 and power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not intended that the restriction to mobile phone, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 6, each component parts of mobile phone is carried out concrete introduction:
RF circuit 610 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, processes to processor 680;It addition, be sent to base station by designing up data.Generally, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (LowNoiseAmplifier, LNA), duplexer etc..Communicate additionally, RF circuit 610 can also pass through radio communication with network and other equipment.nullAbove-mentioned radio communication can use arbitrary communication standard or agreement,Include but not limited to global system for mobile communications (GlobalSystemofMobilecommunication,GSM)、General packet radio service (GeneralPacketRadioService,GPRS)、CDMA (CodeDivisionMultipleAccess,CDMA)、WCDMA (WidebandCodeDivisionMultipleAccess,WCDMA)、Long Term Evolution (LongTermEvolution,LTE))、Email、Short Message Service (ShortMessagingService,SMS) etc..
Memorizer 620 can be used for storing software program and module, and processor 680 is stored in software program and the module of memorizer 620 by running, thus performing the application of various functions and the data process of mobile phone.Memorizer 620 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function;Storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to mobile phone creates.Additionally, memorizer 620 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 630 can be used for receiving numeral or the character information of input, and produces the key signals input relevant with the user setup of mobile phone and function control.Specifically, input block 630 can include contact panel 631 and other input equipments 632.Contact panel 631, also referred to as touch screen, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 631 or near contact panel 631), and drive corresponding connecting device according to formula set in advance.Optionally, contact panel 631 can include touch detecting apparatus and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 680, and can receive order that processor 680 sends and be performed.Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 640 can be used for showing the various menus of information or the information being supplied to user and the mobile phone inputted by user.Display unit 640 can include display floater 641, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display floater 641.Further, contact panel 631 can cover display floater 641, when contact panel 631 detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display floater 641, provide corresponding visual output with preprocessor 880 according to the type of touch event.Although in figure 6, contact panel 631 and display floater 641 are to realize input and the input function of mobile phone as two independent parts, but in some embodiments it is possible to by integrated to contact panel 631 and display floater 641 and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 650, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate the brightness of display floater 641 according to the light and shade of ambient light, proximity transducer when mobile phone moves in one's ear, can cut out display floater 641 and/or backlight.One as motion sensor, accelerometer sensor can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.;Other sensors such as the gyroscope that can also configure as mobile phone, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, speaker 661, mike 662 can provide the audio interface between user and mobile phone.Voicefrequency circuit 660 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 661, by speaker 661 be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by mike 662, voice data is converted to after being received by voicefrequency circuit 660, after again voice data output processor 680 being processed, through RF circuit 610 to be sent to such as another mobile phone, or voice data is exported to memorizer 620 to process further.
Photographic head 670 is used for performing photographing operation.
Processor 680 is the control centre of mobile phone, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in memorizer 620 and/or module by running or performing, and call the data being stored in memorizer 620, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 680 can include one or more processing unit;Preferably, processor 680 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 680 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system.
Although not shown, mobile phone can also include bluetooth module, wireless module etc., does not repeat them here.
In embodiments of the present invention, the processor 680 included by this terminal also has following functions: the acquisition methods of weather data, including:
Send real-time weather to first server and obtain request, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position;
Receiving the weather data in the described geographical position of N group that described first server returns, the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1;
In the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
Further, described after first server transmission real-time weather acquisition request, described method also includes:
Receive the weather data acquisition request that described first server sends;
Obtain request according to described weather data, the weather data being currently located geographical position is uploaded to the storage of described first server.
Further, described acquisition according to described weather data is asked, and the weather data being currently located geographical position is uploaded to described first server storage and includes:
Display state of weather list, includes various different state of weather option in described state of weather list;
The state of weather option that the current weather chosen and be currently located geographical position is consistent;
Weather data corresponding for the state of weather option chosen is uploaded to the storage of described first server.
Further, the weather data in described geographical position also includes: the weather picture in described geographical position,
Described method also includes:
Send weather picture to described first server and check instruction;
Receive and show the weather picture in the described geographical position that described first server pushes.
Further, described method also includes:
If not receiving the weather data in the described geographical position that described first server returns, then to the weather data in geographical position described in second server acquisition request, the weather data server that described second server provides for meteorological institution.
Those skilled in the art is it can be understood that arrive, for convenience of description and succinctly, only it is illustrated with the division of above-mentioned each functional unit, module, in practical application, as desired above-mentioned functions distribution can be completed by different functional units, module, it is divided into different functional units or module, to complete all or part of function described above by the internal structure of described device.Each functional unit in embodiment, module can be integrated in a processing unit, can also be that unit is individually physically present, can also two or more unit integrated in a unit, above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.It addition, the concrete title of each functional unit, module is also only to facilitate mutually distinguish, it is not limited to the protection domain of the application.The specific works process of unit, module in said system, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
Those of ordinary skill in the art are it is to be appreciated that the unit of each example that describes in conjunction with the embodiments described herein and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, it is possible to realize by another way.Such as, system embodiment described above is merely schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connect the INDIRECT COUPLING that can be through some interfaces, device or unit or communication connects, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by the technical scheme of the embodiment of the present invention substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
Embodiment described above only in order to technical scheme to be described, is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of each embodiment technical scheme of the embodiment of the present invention.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (10)

1. the acquisition methods of a weather data, it is characterised in that including:
Send real-time weather to first server and obtain request, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position;
Receiving the weather data in the described geographical position of N group that described first server returns, the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1;
In the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
2. the method for claim 1, it is characterised in that described after first server transmission real-time weather acquisition request, described method also includes:
Receive the weather data acquisition request that described first server sends;
Obtain request according to described weather data, the weather data being currently located geographical position is uploaded to the storage of described first server.
3. method as claimed in claim 2, it is characterised in that described acquisition according to described weather data is asked, and the weather data being currently located geographical position is uploaded to described first server storage and includes:
Display state of weather list, includes various different state of weather option in described state of weather list;
The state of weather option that the current weather chosen and be currently located geographical position is consistent;
Weather data corresponding for the state of weather option chosen is uploaded to the storage of described first server.
4. the method for claim 1, it is characterised in that the weather data in described geographical position also includes: the weather picture in described geographical position,
Described method also includes:
Send weather picture to described first server and check instruction;
Receive and show the weather picture in the described geographical position that described first server pushes.
5. the method for claim 1, it is characterised in that described method also includes:
If not receiving the weather data in the described geographical position that described first server returns, then to the weather data in geographical position described in second server acquisition request, the weather data server that described second server provides for meteorological institution.
6. the acquisition device of a weather data, it is characterised in that including:
First transmitting element, request is obtained for sending real-time weather to first server, described real-time weather obtains in request and indicates geographical position, so that described first server returns the weather data in described geographical position, the weather data in described geographical position is uploaded to described first server by other mobile terminals when being positioned at described geographical position;
First receives unit, and for receiving the weather data in the described geographical position of N group that described first server returns, the uplink time of the weather data of return and the difference of current time are less than predetermined threshold value, and described N is the integer more than or equal to 1;
Determine unit, for, in the weather data in the described geographical position received, will appear from the highest state of weather of frequency and be defined as the real-time weather state in described geographical position.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Second receives unit, and the weather data sent for receiving described first server obtains request;
Uploading unit, for obtaining request according to described weather data, is uploaded to the storage of described first server by the weather data being currently located geographical position.
8. device as claimed in claim 7, it is characterised in that described uploading unit includes:
Display subelement, is used for showing state of weather list, includes various different state of weather option in described state of weather list;
Choose subelement, for choosing the state of weather option being consistent with the current weather being currently located geographical position;
Upload subelement, for weather data corresponding for the state of weather option chosen being uploaded to the storage of described first server.
9. device as claimed in claim 6, it is characterised in that the weather data in described geographical position also includes: the weather picture in described geographical position,
Described device also includes:
Second transmitting element, checks instruction for sending weather picture to described first server;
3rd receives unit, for receiving and show the weather picture in the described geographical position that described first server pushes.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Request unit, if for the weather data not receiving the described geographical position that described first server returns, then to the weather data in geographical position described in second server acquisition request, the weather data server that described second server provides for meteorological institution.
CN201610054642.9A 2016-01-26 2016-01-26 Weather data acquisition method and device Pending CN105743773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610054642.9A CN105743773A (en) 2016-01-26 2016-01-26 Weather data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610054642.9A CN105743773A (en) 2016-01-26 2016-01-26 Weather data acquisition method and device

Publications (1)

Publication Number Publication Date
CN105743773A true CN105743773A (en) 2016-07-06

Family

ID=56247792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610054642.9A Pending CN105743773A (en) 2016-01-26 2016-01-26 Weather data acquisition method and device

Country Status (1)

Country Link
CN (1) CN105743773A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339477A (en) * 2016-08-30 2017-01-18 广东欧珀移动通信有限公司 Picture playing method and terminal equipment
CN106776756A (en) * 2016-11-22 2017-05-31 杭州联络互动信息科技股份有限公司 The method and apparatus of server end, client process weather resource data
CN107323379A (en) * 2017-06-30 2017-11-07 百度在线网络技术(北京)有限公司 Control method for vehicle, device, equipment and storage medium
CN113840234A (en) * 2020-06-23 2021-12-24 深圳市万普拉斯科技有限公司 Weather information acquisition method, device, system, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651634A (en) * 2008-08-13 2010-02-17 阿里巴巴集团控股有限公司 Method and system for providing regional information
CN102546767A (en) * 2011-12-22 2012-07-04 深圳市赛格导航科技股份有限公司 Cloud-based real-time map weather forecast system and method
CN102682495A (en) * 2011-02-18 2012-09-19 福特全球技术公司 Computer-implemented method of gathering data
US20140358394A1 (en) * 2013-02-15 2014-12-04 Lxtch, Llc Jolt and Jar Recorder System and Methods of Use Thereof
CN104375210A (en) * 2013-08-16 2015-02-25 腾讯科技(深圳)有限公司 Weather prediction method, device and system
CN104395780A (en) * 2012-06-22 2015-03-04 谷歌公司 Weather forecasts based on expected location

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651634A (en) * 2008-08-13 2010-02-17 阿里巴巴集团控股有限公司 Method and system for providing regional information
CN102682495A (en) * 2011-02-18 2012-09-19 福特全球技术公司 Computer-implemented method of gathering data
CN102546767A (en) * 2011-12-22 2012-07-04 深圳市赛格导航科技股份有限公司 Cloud-based real-time map weather forecast system and method
CN104395780A (en) * 2012-06-22 2015-03-04 谷歌公司 Weather forecasts based on expected location
US20140358394A1 (en) * 2013-02-15 2014-12-04 Lxtch, Llc Jolt and Jar Recorder System and Methods of Use Thereof
CN104375210A (en) * 2013-08-16 2015-02-25 腾讯科技(深圳)有限公司 Weather prediction method, device and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339477A (en) * 2016-08-30 2017-01-18 广东欧珀移动通信有限公司 Picture playing method and terminal equipment
CN106339477B (en) * 2016-08-30 2020-04-10 Oppo广东移动通信有限公司 Picture playing method and terminal equipment
CN106776756A (en) * 2016-11-22 2017-05-31 杭州联络互动信息科技股份有限公司 The method and apparatus of server end, client process weather resource data
CN106776756B (en) * 2016-11-22 2020-12-01 杭州联络互动信息科技股份有限公司 Method and device for processing weather resource data by server side and client side
CN107323379A (en) * 2017-06-30 2017-11-07 百度在线网络技术(北京)有限公司 Control method for vehicle, device, equipment and storage medium
CN113840234A (en) * 2020-06-23 2021-12-24 深圳市万普拉斯科技有限公司 Weather information acquisition method, device, system, server and storage medium
CN113840234B (en) * 2020-06-23 2023-10-24 深圳市万普拉斯科技有限公司 Weather information acquisition method, device, system, server and storage medium

Similar Documents

Publication Publication Date Title
CN109241765B (en) Mobile terminal and method and device for managing authority of application program
CN103874018B (en) Access-in point information sharing method and device
CN103327102A (en) Application program recommending method and device
CN106406892A (en) A shortcut function display method and device for applications and a terminal apparatus
CN105005457A (en) Geographical location display method and apparatus
CN106160894A (en) A kind of signal intensity reminding method, device and terminal unit
CN103530115B (en) Application program display method and device and terminal equipment
CN104375210A (en) Weather prediction method, device and system
CN103974189A (en) GPS positioning method of mobile terminal and mobile terminal
CN104699973A (en) Method and device for controlling logic of questionnaires
CN104168175A (en) Message group sensing method and terminal in instant messaging
CN104866505A (en) Application recommendation method and device
CN103475700A (en) Method, device and terminal for obtaining address information
CN104426919A (en) Page sharing method, device and system
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN103313139A (en) History display method and device and electronic device
CN104954159A (en) Network information statistics method and device
CN104516886A (en) Method, mobile terminal and server for displaying data analysis result
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN105743773A (en) Weather data acquisition method and device
CN106170034A (en) A kind of sound effect treatment method and mobile terminal
CN103945241A (en) Streaming data statistical method, system and related device
CN104346368A (en) Indoor scene switch displaying method and device and mobile terminal
CN105307242A (en) Wi-Fi network application method and terminal
CN105512150A (en) Method and device for information search

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160706