CN106980654B - Road condition updating method, device and computer equipment - Google Patents

Road condition updating method, device and computer equipment Download PDF

Info

Publication number
CN106980654B
CN106980654B CN201710128928.1A CN201710128928A CN106980654B CN 106980654 B CN106980654 B CN 106980654B CN 201710128928 A CN201710128928 A CN 201710128928A CN 106980654 B CN106980654 B CN 106980654B
Authority
CN
China
Prior art keywords
user terminal
road conditions
conditions parameter
sent
parameter
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.)
Active
Application number
CN201710128928.1A
Other languages
Chinese (zh)
Other versions
CN106980654A (en
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 CN201710128928.1A priority Critical patent/CN106980654B/en
Publication of CN106980654A publication Critical patent/CN106980654A/en
Application granted granted Critical
Publication of CN106980654B publication Critical patent/CN106980654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present embodiments relate to a kind of road condition updating method, device and computer equipments.The described method includes: obtaining corresponding road conditions parameter according to the inquiry place of user terminal input;If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, the road conditions parameter is sent to the user terminal, so that the user terminal updates the traffic information in the inquiry place.Above-mentioned road condition updating method, device and computer equipment, may be implemented the update of user terminal road conditions, to alleviate the burden of server.

Description

Road condition updating method, device and computer equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of road condition updating method, device and computer equipment.
Background technique
With the rapid development of intelligent terminals, more and more services are applied in mobile terminal.Map system is to move Very widely used service in dynamic terminal, user can input the related place for needing to inquire by map system, and pass through Interface in map system is come information such as the geographical location, traffic route, the real-time roads that show related place.
In traditional map system, after user inputs related place, it is of interest that location-server can periodically inquire user Related place traffic information, and send intelligent terminal for the traffic information inquired.Pass through the interface of map system again Traffic information is showed into user, user can view the real-time road in related place.
Summary of the invention
The embodiment of the present invention provides a kind of road condition updating method, device and computer equipment, can mitigate the negative of server Load.
A kind of road condition updating method, comprising:
Corresponding road conditions parameter is obtained according to the inquiry place of user terminal input;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, The road conditions parameter is then sent to the user terminal, so that the user terminal updates the road conditions letter in the inquiry place Breath.
A kind of road condition updating device, comprising:
Parameter acquisition module, the inquiry place for being inputted according to user terminal obtain corresponding road conditions parameter;
Parameter sending module, if the difference for the road conditions parameter and the last road conditions parameter being sent to the user terminal More than preset difference value range, then the road conditions parameter is sent to the user terminal, so that described in user terminal update Inquire the traffic information in place.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the processor perform the steps of when executing described program
Corresponding road conditions parameter is obtained according to the inquiry place of user terminal input;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, The road conditions parameter is then sent to the user terminal, so that the user terminal updates the road conditions letter in the inquiry place Breath.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram of road condition updating method in one embodiment;
Fig. 2 is the hardware interaction figure that road condition updating method is realized in one embodiment;
Fig. 3 is the flow chart of road condition updating method in one embodiment;
Fig. 4 is the flow chart of road condition updating method in another embodiment;
Fig. 5 is the structural schematic diagram of road conditions updating device in one embodiment;
Fig. 6 is the structural schematic diagram of road conditions updating device in another embodiment;
Fig. 7 is the block diagram of the part-structure of computer equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used to distinguish the first element from the other element.Citing comes It says, without departing from the scope of the invention, the first client can be known as the second client, and similarly, can incite somebody to action Second client is known as the first client.The first client and the second client both client, but it is not same visitor Family end.
Fig. 1 is the application environment schematic diagram of road condition updating method in one embodiment.As shown in Figure 1, the application environment packet Include user terminal 102 and server 104.Wherein, user terminal 102 can be used for user input query place, and by the inquiry Place is sent to server 104.Server 104 obtains corresponding road conditions parameter after receiving inquiry place, and by the road conditions The road conditions parameter that parameter is sent to the user terminal 102 with the last time is compared, if the road conditions parameter and last time are sent to use The difference of the road conditions parameter of family terminal 102 is more than preset difference value range, then it is whole that the road conditions parameter that will acquire is sent to the user End 102.User terminal 102 goes the road conditions for updating the inquiry place further according to the road conditions parameter after receiving road conditions parameter Information.User terminal 102 is mainly used for inputting user information and exports processing result in computer network outermost Electronic equipment, such as can be PC, mobile terminal, personal digital assistant, wearable electronic etc..It is understood that It is that in other embodiments provided by the invention, user terminal 102 can be one or more.Server 104 is for ringing Service request is answered, while providing the equipment of the service of calculating, such as can be one or multiple stage computers.
Fig. 2 is the hardware interaction figure that road condition updating method is realized in one embodiment.As shown in Fig. 2, the road condition updating side Method includes step S202 to step S208.Wherein: step S202, user terminal obtain the inquiry place of user's input, and should Inquiry place is sent to server.Step S204, server receives the inquiry place that user terminal is sent, and obtains query point pair The road conditions parameter answered.Step S206, if server judgement road conditions parameter and the last road conditions parameter being sent to the user terminal Difference is more than preset difference value range, then is sent to the user terminal road conditions parameter.Step S208, user terminal receive server hair The road conditions parameter sent, and the corresponding traffic information in inquiry place is updated according to the road conditions parameter.
Fig. 3 is the flow chart of road condition updating method in one embodiment.As shown in figure 3, the road condition updating method includes step Rapid 302 to step 304, in which:
Step 302, corresponding road conditions parameter is obtained according to the inquiry place of user terminal input.
In embodiment provided by the invention, inquiry place refers to that user desired knows traffic by what user terminal inputted The place of situation.The inquiry place of user terminal input refers to that user passes through the unique identification in user terminal input inquiry place, The unique identification in inquiry place can be, but not limited to be one of the title, area code or postcode in some place or a variety of groups Conjunction form.Such as: the inquiry place of user's input can be city name " Shenzhen ", street name " Science Court North Road " or city Area code " 020 " etc..
It should be noted that user terminal is behind input inquiry place, server can be by user terminal identification and corresponding Inquire place record in the database.In this way it is known which user terminal is the identical inquiry place of input, sending out It when sending road conditions parameter, can be sent together, avoid notifying mistake caused by user one by one.
Wherein, user terminal identification refers to the unique identification of difference user terminal, and user terminal identification can be, but not limited to It is IMSI (International Mobile Subscriber Identification Number, the mobile use of user terminal Family identification code), (International Mobile Equipment Identification Number, the world are mobile by IMEI EIC equipment identification code), MEID (Mobile Equipment Identification, mobile device mark) etc..Server can incite somebody to action The user terminal identification of the identical user terminal in inquiry place of input is recorded with tabular form.
Further, road conditions parameter refers to the variable parameter that can reflect the traffic condition in some place.Server meeting The road conditions parameter in each place in periodically acquisition and more new database.After user passes through user terminal input inquiry place, clothes Business device can search road conditions parameter corresponding with inquiry place in the database according to inquiry place.
Road conditions parameter can be, but not limited to be the parameters such as vehicle flowrate, lane occupancy ratio, traffic behavior.Wherein, vehicle flowrate is Refer to the vehicle fleet size for passing through certain section in the unit time, vehicle flowrate is bigger, more traffic congestion.Lane occupancy ratio refers to certain section quilt The ratio that vehicle occupies, lane occupancy ratio is bigger, more traffic congestion.Traffic behavior, which refers to, indicates certain road section traffic volume congestion status Mark, the congestion of traffic can be intuitively checked by traffic behavior.Such as traffic behavior can be unimpeded, congestion, tight The states such as congestion again.
Step 304, if the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than default poor It is worth range, then is sent to the user terminal the road conditions parameter.
In embodiment provided by the invention, when server can be by the road conditions parameter, the transmission that are sent to user terminal every time Between, the information such as user terminal identification record in the database.After getting road conditions parameter in step 302, it will acquire The road conditions parameter the last road conditions parameter sent corresponding with each user terminal identification in list is compared.
If the difference of the road conditions parameter the last road conditions parameter sent corresponding with the user terminal identification in list More than preset difference value range, then the road conditions parameter is sent to the user terminal the corresponding user terminal of mark, and in the server Update is sent to the information such as road conditions parameter, the sending time of user terminal.If the user terminal mark in the road conditions parameter and list The difference of the corresponding the last road conditions parameter sent is known within the scope of preset difference value, then the road conditions parameter is not sent to user Terminal will not update the information such as the road conditions parameter for being sent to user terminal, sending time in the server.
It is to be appreciated that preset difference value range refers to that system or user are preset for deciding whether to update road conditions Road conditions parameter variation range.When the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is pre- at this If when in difference range, then it is assumed that the traffic condition variation for inquiring place is smaller, does not need to update inquiry ground on the subscriber terminal The corresponding road conditions of point;On the contrary, then it is assumed that the traffic condition for inquiring place changes greatly, and needs to update inquiry ground on the subscriber terminal The corresponding road conditions of point.
After user terminal receives road conditions parameter, traffic information is shown on interface according to road conditions parameter, is made User can view the variation of road conditions.Wherein, traffic information refers to that family can be used intuitively to be checked on the subscriber terminal Ask the information of the corresponding traffic condition in place.
For example, road conditions parameter can be the traffic behaviors such as unimpeded, congestion, heavy congestion.When user terminal receives Be " unimpeded " state when, it is shown in green that user terminal in map interface will inquire the relevant region in place, to indicate that this is looked into The traffic condition for asking place is good;When user terminal receive be " congestion " state when, user terminal will be looked into map interface It askes the relevant region in place and is shown as yellow, to indicate the traffic condition congestion in the inquiry place.
It can also include the inquiry place phase for obtaining input before step 304 in other embodiments provided by the invention The quantity step of same user terminal.If the quantity of the identical user terminal in inquiry place of input is more than default terminal quantity, Then follow the steps 304;On the contrary, the road conditions parameter that then will acquire is regularly sent to user terminal, so that user terminal timing updates Inquire the traffic information in place.
Road condition updating method provided in an embodiment of the present invention, server obtain in the inquiry place inputted according to user terminal To after road conditions parameter, the road conditions parameter which is sent to the user terminal with the last time can be compared.According to than Relatively result decides whether for the road conditions parameter to be sent to the user terminal, and alleviates the burden of server.
Fig. 4 is the flow chart of road condition updating method in another embodiment.As shown in figure 4, the road condition updating method includes Step 402 is to step 406, in which:
Step 402, current time and the last road conditions parameter that sends are obtained between the time of the user terminal Every the time.
In embodiment provided by the invention, when server can be by the road conditions parameter, the transmission that are sent to user terminal every time Between, the information such as user terminal identification are recorded correspondingly with tabular form.The last time can be read according to the list Send the time of road conditions parameter to user terminal, and will acquire it is last send road conditions parameter to user terminal time with work as The preceding time is compared, to obtain interval time.
Specifically, road conditions parameter can be, but not limited to be vehicle flowrate, lane occupancy ratio, traffic behavior, traffic quantized value etc. One of parameter or multiple combinations.Wherein, traffic quantized value refers to the value of the corresponding traffic condition in quantization inquiry place.Example Such as, traffic quantized value can be the current passage speed in inquiry place and the ratio of highest passage speed.
Step 404, it if the interval time is more than preset time range, is obtained according to the inquiry place of user terminal input Corresponding road conditions parameter.
In embodiment provided by the invention, preset time range refer to system or user it is preset for determine be The range of the no interval time for updating road conditions.The variation user terminal of road conditions in a short time is often unconcerned, therefore, when When the interval time obtained in step 402 is in the preset time range, then it is assumed that user terminal does not need to update road conditions;If should When interval time is more than preset time range, then it is assumed that user terminal needs to update road conditions.Road conditions can be prevented in short-term in this way Interior variation is too big, and makes user terminal road condition updating too frequent.
The mode in user terminal input inquiry place can be directly user terminal interface input inquiry place title, One of area code or postcode or multiple combinations.It is also possible to be selected by the place that user terminal is shown.More Further, user can be by the map interface input inquiry place of user terminal, and on the map interface of user terminal The inquiry place is labeled in the form of icon.
For example, user passes through mobile terminal input inquiry place.Firstly, the first inquiry of user's input place, mobile After terminal gets the first inquiry place of user's input, by server or the data base querying of mobile terminal local to First inquiry place relevant second inquiry place.Then, user chooses from these relevant second inquiry places most think again The place of concern is as inquiry place.
Step 406, if the difference of road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value Road conditions parameter is then sent to the user terminal by range, so that user terminal updates the traffic information in inquiry place.
In embodiment provided by the invention, preset difference value range refer to system or user it is preset for determine be The variation range of the no road conditions parameter for updating road conditions.Specifically, server can periodically update the road conditions parameter in each place, and The difference of the road conditions parameter currently updated and the last road conditions parameter being sent to the user terminal is obtained, the bigger explanation of the difference is looked into The road condition change for asking place is bigger;The difference is smaller to illustrate that the road condition change for inquiring place is smaller.
The difference currently obtained is compared with preset difference value range, when the difference is more than preset difference value range, is recognized Road condition change for inquiry place is larger, then is sent to the user terminal the road conditions parameter currently obtained, so that user terminal is more The traffic information in new inquiry place.When the difference is within the scope of preset difference value, it is believed that the road condition change for inquiring place is smaller, then when The road conditions parameter of preceding acquisition does not have to be sent to the user terminal.
In other embodiments provided by the invention, user terminal can voluntarily select road condition updating mode, and one is fixed When renewal model, i.e. server timing updates the road conditions parameter in each place, and the road conditions parameter regularly sent to each use Family terminal inquires the traffic information in place to update;Another kind is threshold value renewal model, i.e. server timing updates inquiry place Road conditions parameter, if the difference of the road conditions parameter currently updated and the last road conditions parameter being sent to the user terminal is more than default Difference range then sends the road conditions parameter currently updated to user terminal to update the traffic information for inquiring place.
In other embodiments provided by the invention, road condition updating method can be the following steps are included: obtain user's end The present position at end, and preset difference value range is arranged according to the present position.Specifically, user terminal is obtained Present position, then obtain the present position of user terminal again and inquiry place that user terminal inputs at a distance from. The distance is closer, illustrates that user distance inquiry place is closer, then it is assumed that user more pays close attention to the road condition change situation in inquiry place.It can To preset the corresponding relationship of preset difference value range and distance, preset difference value range is dynamically adjusted according to this distance, it should be away from From smaller, the preset difference value range of setting is smaller, and road condition updating must be faster;The distance is bigger, and the preset difference value range of setting is got over Greatly, road condition updating must be slower.
In other embodiments provided by the invention, road condition updating method can be the following steps are included: obtain user's end The query pattern of input is held, and preset difference value range is arranged according to the query pattern.Specifically, query pattern refers to that user sets The mode for the inquiry road conditions set, query pattern can be divided into real-time navigation mode and single query pattern.In real-time navigation mode Under, user needs to check the traffic condition in inquiry place in time;Under single query pattern, user only needs to check current time Inquire the traffic condition in place.
The query pattern of user terminal input is obtained, and preset difference value range is arranged according to the query pattern.Work as user When what terminal inputted is real-time navigation mode, illustrate that user is higher to the requirement of real-time of road condition updating, then by preset difference value model It encloses and is set as a smaller value, correspondingly the speed of road condition updating will be than very fast;What it is when user terminal input is single When query pattern, illustrate that user is relatively low to the requirement of real-time of road condition updating, then sets a ratio for preset difference value range Biggish value, then road condition updating will be slow.Preset difference value range is set according to the demand of user in this way, alleviates service Device burden.
In one embodiment, the road conditions parameter that server timing updates is saved in the database, judges current update Road conditions parameter and the difference of the last road conditions parameter being sent to the user terminal when being more than preset difference value range, can will be current The road conditions parameter of update is sent to the user terminal together with the road conditions parameter to user terminal save several times recently and not sent Carry out road condition updating.
A sending time threshold value can be preset in one of the embodiments, and server updates road conditions ginseng every time When number, the last sending time for being sent to the user terminal road conditions parameter just can read.If the sending time is to currently Interval time between time is more than sending time threshold value, then is sent to the user terminal the road conditions parameter currently updated.In this way When can change smaller to avoid traffic condition, the traffic information of user terminal is in the state not updated for a long time.
Fig. 5 is the structural schematic diagram of road conditions updating device in one embodiment.As shown in figure 5, the road condition updating device 500 Including parameter acquisition module 502 and parameter sending module 504.Wherein:
Parameter acquisition module 502, the inquiry place for being inputted according to user terminal obtain corresponding road conditions parameter
Parameter sending module 504, if for the road conditions parameter and the last road conditions parameter being sent to the user terminal Difference is more than preset difference value range, then the road conditions parameter is sent to the user terminal, so that the user terminal updates The traffic information in the inquiry place.
Road condition updating device provided in an embodiment of the present invention, server obtain in the inquiry place inputted according to user terminal To after road conditions parameter, the road conditions parameter which is sent to the user terminal with the last time can be compared.According to than Relatively result decides whether for the road conditions parameter to be sent to the user terminal, and alleviates the burden of server.
Fig. 6 is the structural schematic diagram of road conditions updating device in another embodiment.As shown in fig. 6, the road condition updating device 600 include range setup module 602, time-obtaining module 604, quantity acquisition module 606, parameter acquisition module 608 and parameter Sending module 610.Wherein:
Range setup module 602, for obtaining the present position of user terminal, and according to the present position Preset difference value range is set.
Time-obtaining module 604, for obtaining current time and the last road conditions parameter that sends to the user terminal Interval time between time.
Quantity obtains module 606, the quantity of the identical user terminal in inquiry place for obtaining input.
Parameter acquisition module 608, the inquiry place for being inputted according to user terminal obtain corresponding road conditions parameter.
Parameter sending module 610, if for the road conditions parameter and the last road conditions parameter being sent to the user terminal Difference is more than preset difference value range, then the road conditions parameter is sent to the user terminal, so that the user terminal updates The traffic information in the inquiry place.
In other embodiments provided by the invention, if it is more than pre- that parameter acquisition module 608, which is also used to the interval time, If time range, then executes the inquiry place according to user terminal input and obtain corresponding road conditions parameter step.
In other embodiments provided by the invention, if parameter sending module 608 is also used to the quantity of the user terminal More than default terminal quantity, if the difference for then executing the road conditions parameter and the last road conditions parameter being sent to the user terminal is super Preset difference value range is crossed, then the road conditions parameter is sent to the user terminal step.
In one embodiment, range setup module 602 can be also used for obtaining the query pattern of user terminal input, and According to the query pattern, preset difference value range is set.
The division of modules is only used for for example, in other embodiments in above-mentioned road condition updating device, can be by road Condition updating device is divided into different modules as required, to complete all or part of function of above-mentioned road condition updating device.
Further include a kind of computer readable storage medium in embodiment provided by the invention, is stored thereon with computer journey Sequence, the program perform the steps of when being executed by processor
Corresponding road conditions parameter is obtained according to the inquiry place of user terminal input;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, The road conditions parameter is then sent to the user terminal, so that the user terminal updates the road conditions letter in the inquiry place Breath.
Further include a kind of computer equipment, including memory in embodiment provided by the invention, processor and is stored in On reservoir and the computer program (instruction) that can run on a processor, the processor realize following step when executing described program It is rapid:
Corresponding road conditions parameter is obtained according to the inquiry place of user terminal input;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, The road conditions parameter is then sent to the user terminal, so that the user terminal updates the road conditions letter in the inquiry place Breath.
As shown in fig. 7, for ease of description, only parts related to embodiments of the present invention are shown, particular technique details It does not disclose, please refers to present invention method part.The computer equipment can be include computer, mobile phone, plate electricity Brain, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), Any terminal device such as vehicle-mounted computer, wearable device.
Fig. 7 is the block diagram of the part-structure of computer equipment provided in an embodiment of the present invention.With reference to Fig. 7, computer equipment It include: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, WiFi) module 770, processor 780 and power supply 790 Equal components.It will be understood by those skilled in the art that computer equipment structure shown in Fig. 7 does not constitute the limit to computer equipment It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, RF circuit 710 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 780;The data of uplink can also be sent to base station.In general, RF circuit include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication.Above-mentioned channel radio Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in letter Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation Software program and module, thereby executing the various function application and data processing of computer equipment.Memory 720 can be led It to include program storage area and data storage area, wherein program storage area can be needed for storage program area, at least one function Application program (such as application program, application program of image player function of sound-playing function etc.) etc.;It data storage area can Storage uses created data (such as audio data, address list etc.) etc. according to computer equipment.In addition, memory 720 May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory, Flush memory device or other volatile solid-state parts.
Input unit 730 can be used for receiving the number or character information of input, and generate the use with computer equipment 700 Family setting and the related key signals input of function control.Specifically, input unit 730 may include touch panel 731 and its His input equipment 732.Touch panel 731, alternatively referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user is using finger, stylus any suitable object or attachment on touch panel 731 or near touch panel 731 Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 731 may include Both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touching Operation bring signal is touched, touch controller is transmitted a signal to;Touch controller receives touch letter from touch detecting apparatus Breath, and is converted into contact coordinate, then give processor 780, and can receive order that processor 780 is sent and be held Row.Furthermore, it is possible to realize touch panel 731 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.It removes Touch panel 731, input unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can be with Including but not limited to one of physical keyboard, function key (such as volume control button, switch key etc.) etc. or a variety of.
Display unit 740 can be used for showing information input by user or the information and computer equipment that are supplied to user Various menus.Display unit 740 may include display panel 741.In one embodiment, liquid crystal display can be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel 741.In one embodiment, touch panel 731 can cover display panel 741, work as touching After control panel 731 detects touch operation on it or nearby, processor 780 is sent to determine the type of touch event, It is followed by subsequent processing device 780 and provides corresponding visual output on display panel 741 according to the type of touch event.Although in Fig. 7, Touch panel 731 and display panel 741 are the input and input function for realizing computer equipment as two independent components, But in some embodiments it is possible to touch panel 731 and display panel 741 is integrated and realize the input of computer equipment and Output function.
Computer equipment 700 may also include at least one sensor 750, for example, optical sensor, motion sensor and its His sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can root Adjust the brightness of display panel 741 according to the light and shade of ambient light, proximity sensor can when computer equipment is moved in one's ear, Close display panel 741 and/or backlight.Motion sensor may include acceleration transducer, detectable by acceleration transducer The size of acceleration in all directions can detect that size and the direction of gravity, can be used to identify computer equipment appearance when static The application (such as horizontal/vertical screen switching) of state, Vibration identification correlation function (such as pedometer, tap) etc.;In addition, computer equipment It can also configure other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 760, loudspeaker 761 and microphone 762 can provide the audio interface between user and computer equipment. Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted by loudspeaker 761 by voicefrequency circuit 760 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is connect by voicefrequency circuit 760 Audio data is converted to after receipts, then by after the processing of audio data output processor 780, can be sent to through RF circuit 710 another Computer equipment, or audio data is exported to memory 720 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and computer equipment can help user to receive and dispatch by WiFi module 770 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 WiFi module 770 is shown, but it is understood that, and it is not belonging to must be configured into for computer equipment 700, it can basis It needs and omits.
Processor 780 is the control centre of computer equipment, utilizes various interfaces and the entire computer equipment of connection Various pieces, by running or execute the software program and/or module that are stored in memory 720, and call and be stored in Data in memory 720 execute the various functions and processing data of computer equipment, to carry out to computer equipment whole Monitoring.In one embodiment, processor 780 may include one or more processing units.In one embodiment, processor 780 can integrate application processor and modem processor, wherein the main processing operation system of application processor, user interface With application program etc.;Modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor It can not be integrated into processor 780.
Computer equipment 700 further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can be with It is logically contiguous by power-supply management system and processor 780, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In one embodiment, computer equipment 700 can also include camera, bluetooth module etc..
In embodiments of the present invention, processor 780 included by the computer equipment is also with the following functions:
Corresponding road conditions parameter is obtained according to the inquiry place of user terminal input;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, The road conditions parameter is then sent to the user terminal, so that the user terminal updates the road conditions letter in the inquiry place Breath.
In other embodiments provided by the invention, processor 780 included by the computer equipment can also realize one One of lower method is a variety of: obtaining the present position of user terminal, and is arranged in advance according to the present position If difference range;The query pattern of user terminal input is obtained, and preset difference value range is arranged according to the query pattern.
In one embodiment, the inquiry place according to user terminal input is gone back before obtaining corresponding road conditions parameter Include:
Current time and the last road conditions parameter that sends are obtained to the interval time between the time of the user terminal;
If the interval time is more than preset time range, executes the inquiry place according to user terminal input and obtain Take corresponding road conditions parameter step.
It is understood that processor 780 can be with the following functions:
Obtain the quantity of the identical user terminal in inquiry place of input;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value The road conditions parameter is then sent to before the user terminal by range further include:
If the quantity of the user terminal is more than default terminal quantity, if executing the road conditions parameter and last time The difference for the road conditions parameter being sent to the user terminal is more than preset difference value range, then the road conditions parameter is sent to the user End step.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage is situated between Matter can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of road condition updating method characterized by comprising
Corresponding road conditions parameter is obtained according to the inquiry place of user terminal input;
Obtain the quantity of the identical user terminal in inquiry place of input;
If the quantity of the user terminal is more than default terminal quantity, judge that the road conditions parameter and last time are sent to user The difference of the road conditions parameter of terminal is more than preset difference value range;
If the difference of the road conditions parameter and the last road conditions parameter being sent to the user terminal is more than preset difference value range, will The road conditions parameter is sent to the user terminal, so that the user terminal updates the traffic information in the inquiry place;
If the quantity of the user terminal is less than default terminal quantity, the road conditions parameter that will acquire was regularly sent to user's end End, so that user terminal timing updates the traffic information in inquiry place.
2. road condition updating method according to claim 1, which is characterized in that the method also includes:
The present position of user terminal is obtained, and preset difference value range is arranged according to the present position.
3. road condition updating method according to claim 1 or claim 2, which is characterized in that the method also includes:
The query pattern of user terminal input is obtained, and preset difference value range is arranged according to the query pattern.
4. road condition updating method according to claim 1, which is characterized in that the inquiry place inputted according to user terminal Before obtaining corresponding road conditions parameter further include:
Current time and the last road conditions parameter that sends are obtained to the interval time between the time of the user terminal;
If the interval time is more than preset time range, the inquiry place acquisition pair according to user terminal input is executed The road conditions parameter step answered.
5. a kind of road condition updating device characterized by comprising
Parameter acquisition module, the inquiry place for being inputted according to user terminal obtain corresponding road conditions parameter;
Quantity obtains module, the quantity of the identical user terminal in inquiry place for obtaining input;
Parameter sending module judges the road conditions parameter if the quantity for the user terminal is more than default terminal quantity The difference for the road conditions parameter being sent to the user terminal with the last time is more than preset difference value range;If the road conditions parameter and last time The difference for the road conditions parameter being sent to the user terminal is more than preset difference value range, then the road conditions parameter is sent to the user Terminal, so that the user terminal updates the traffic information in the inquiry place;If the quantity of the user terminal is less than default Terminal quantity, then the road conditions parameter that will acquire are regularly sent to user terminal, so that user terminal timing updates inquiry place Traffic information.
6. road condition updating device according to claim 5, which is characterized in that described device further include:
Range setup module is arranged in advance for obtaining the present position of user terminal, and according to the present position If difference range.
7. according to the road condition updating device of claim 5 or 6, which is characterized in that described device further include:
Range setup module, for obtaining the query pattern of user terminal input, and it is default poor according to query pattern setting It is worth range.
8. road condition updating device according to claim 5, which is characterized in that described device further include:
Time-obtaining module, for obtaining current time and the last road conditions parameter that sends between the time of the user terminal Interval time;
If the parameter acquisition module is also used to the interval time more than preset time range, execute described according to user's end The inquiry place of end input obtains corresponding road conditions parameter step.
CN201710128928.1A 2017-03-06 2017-03-06 Road condition updating method, device and computer equipment Active CN106980654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710128928.1A CN106980654B (en) 2017-03-06 2017-03-06 Road condition updating method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710128928.1A CN106980654B (en) 2017-03-06 2017-03-06 Road condition updating method, device and computer equipment

Publications (2)

Publication Number Publication Date
CN106980654A CN106980654A (en) 2017-07-25
CN106980654B true CN106980654B (en) 2019-02-12

Family

ID=59338665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710128928.1A Active CN106980654B (en) 2017-03-06 2017-03-06 Road condition updating method, device and computer equipment

Country Status (1)

Country Link
CN (1) CN106980654B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7001024B2 (en) * 2018-08-31 2022-01-19 株式会社デンソー In-vehicle device
CN110135861B (en) * 2019-04-24 2024-03-05 平安科技(深圳)有限公司 Information notification method, device, computer equipment and storage medium
CN113448972B (en) * 2020-03-25 2022-09-06 成都鼎桥通信技术有限公司 Map display method, device, terminal and storage medium
CN114067593B (en) * 2021-11-15 2024-02-13 国汽智控(北京)科技有限公司 Communication method and system of vehicle and cloud server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4736979B2 (en) * 2006-06-30 2011-07-27 日産自動車株式会社 In-vehicle device, traffic information acquisition method, traffic information providing system, and traffic information providing method
CN101957209B (en) * 2009-07-15 2012-07-18 江苏新科软件有限公司 Navigation device map data increment updating method
US20150002539A1 (en) * 2013-06-28 2015-01-01 Tencent Technology (Shenzhen) Company Limited Methods and apparatuses for displaying perspective street view map
CN105466443A (en) * 2015-12-24 2016-04-06 魅族科技(中国)有限公司 Navigation method and terminal

Also Published As

Publication number Publication date
CN106980654A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN109241765B (en) Mobile terminal and method and device for managing authority of application program
CN104135501B (en) Page sharing method, Apparatus and system
CN104253873B (en) Domain name access method, terminal and domain name access system
WO2018014745A1 (en) Network search method and device after roaming ends
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN103400508A (en) Method, device and terminal for outputting guidance information of parking places
CN106980654B (en) Road condition updating method, device and computer equipment
CN109556621A (en) A kind of method and relevant device of route planning
CN103475700A (en) Method, device and terminal for obtaining address information
CN103874018A (en) Access point information sharing method and device
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN104426919A (en) Page sharing method, device and system
CN104375210A (en) Weather prediction method, device and system
CN107818465A (en) Method, equipment, mobile terminal and the computer-readable storage medium of payment
CN106126174A (en) The control method of a kind of scene audio and electronic equipment
CN107436758A (en) The method for information display and mobile terminal of a kind of mobile terminal
CN105992026A (en) Method and device for displaying barrage comment information
CN106408995A (en) Information processing method and related device
CN108769126B (en) Application recommendation method, mobile terminal and computer-readable storage medium
CN108112028A (en) The network search method and equipment of a kind of international roaming
CN109194726A (en) Mobile terminal and information-pushing method, device
CN106705988B (en) Road conditions methods of exhibiting, device and computer equipment
CN107270927B (en) Information display method and device, computer readable storage medium and mobile terminal
CN106569815A (en) Message display method and terminal
CN103561155B (en) Send the method for note, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant