CN109636942A - Recording method, device, computer equipment and the storage medium of the river river Chang Xun information - Google Patents
Recording method, device, computer equipment and the storage medium of the river river Chang Xun information Download PDFInfo
- Publication number
- CN109636942A CN109636942A CN201811285700.4A CN201811285700A CN109636942A CN 109636942 A CN109636942 A CN 109636942A CN 201811285700 A CN201811285700 A CN 201811285700A CN 109636942 A CN109636942 A CN 109636942A
- Authority
- CN
- China
- Prior art keywords
- river
- information
- mobile terminal
- chang
- track
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/20—Checking timed patrols, e.g. of watchman
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
Abstract
The present invention relates to recording method, device, computer equipment and the storage mediums of the river river Chang Xun information.The described method includes: receiving the action event for patrolling river and starting for acting on the long client in river, the location information that mobile terminal is currently located is obtained;Obtain the river channel information near the mobile terminal in setting range;The river channel information is shown by the display interface of the long client in the river;Obtain the electronic map for the river affiliated area that the selection operation event is chosen;The electronic map is shown by the display interface of the long client in the river;The position zinformation of the mobile terminal is obtained, the track river Chang Xunhe is generated;On the electronic map, the track the river Chang Xunhe is shown.Above-mentioned technical proposal the automatic collection river river Chang Xun information and can record in time, show the river river Chang Xun information more intuitively.
Description
Technical field
The present invention relates to waterworks and field of environment engineering technology, more particularly to the record side of the river river Chang Xun information
Method, device, computer equipment and storage medium.
Background technique
With the development of society, people start increasingly to pay attention to the environment that the mankind are depended on for existence, river and lake is further strengthened
Administrative protection work is one of them major tasks, i.e., serves as " river is long " by China party and government chief leading cadres at different levels, be responsible for tissue
Lead the management and protection work of corresponding river and lake.The long daily work in river includes patrolling river, to find the pollution in river in time
Problem and by problem escalation.
Currently, after the river Chang Xun of river, the long manual record in river is needed to patrol river information, it is described when patrolling river information and for example patrolling river
Between, the information such as the section Xun He and the event that encounters;But this mode of operation the problem is that: river it is long patrol river information without
Method records in time, causes the record of the river river Chang Xun information to lag and even lacks.
Summary of the invention
Based on this, it is necessary to aiming at the problem that record lag of the existing way river river Chang Xun information even lacks, provide one
Recording method, device, computer equipment and the storage medium of the kind river river Chang Xun information.
On the one hand, the embodiment of the present invention provides a kind of recording method of the river river Chang Xun information, comprising:
The action event for patrolling river and starting for acting on the long client in river is received, the position letter that mobile terminal is currently located is obtained
Breath;The long client in river is mounted in the mobile terminal system;
According to the positional information, the river channel information near the mobile terminal in setting range is obtained;Pass through the river
The display interface of long client shows the river channel information;
The selection operation event to river in the river channel information is received, the river that the selection operation event is chosen is obtained
The electronic map of affiliated area;The electronic map is shown by the display interface of the long client in the river;
The position zinformation for obtaining the mobile terminal generates the track river Chang Xunhe according to the position zinformation;
On the electronic map, the track the river Chang Xunhe is shown.
In one of the embodiments, it is described according to the positional information, obtain the mobile terminal nearby setting range
Interior river channel information, comprising:
The location information is sent to server, the location information is fed back for trigger the server to be believed apart from the position
Cease the river channel information in setting range;
The river channel information for receiving server feedback obtains the river channel information near the mobile terminal in setting range.
The position zinformation for obtaining the mobile terminal in one of the embodiments, is moved according to the position
Dynamic information, generates the track river Chang Xunhe, comprising:
According to the position coordinates of setting time interval acquiring mobile terminal, by each position coordinates be recorded as respectively one it is right
The tracing point answered;
The system time for recording mobile terminal when each tracing point, as the corresponding temporal information of each tracing point;
According to the sequencing of the temporal information, multiple tracing points are sequentially connected, generate the track river Chang Xunhe.
The sequencing according to the temporal information in one of the embodiments, is sequentially connected multiple tracing points,
Before the generation track river Chang Xunhe, further includes:
Optimize the tracing point, by the tracing point after optimization to obtain the smooth track Xun He.
The optimization tracing point in one of the embodiments, comprising:
Current trace points are obtained at a distance from the river that the selection operation event is chosen, as first distance;
The previous tracing point of current trace points is obtained at a distance from the river that the selection operation event is chosen, as second
Distance;
If the first distance is greater than the second distance, the current trace points are deleted;
And/or
The spacing distance of current trace points and its previous tracing point is calculated, if the spacing distance is less than set distance,
Delete the current trace points.
The location information for obtaining mobile terminal and being currently located in one of the embodiments, comprising: obtain the shifting
The newest collected location information of GPS module of dynamic terminal, the location information being currently located as mobile terminal;
The position zinformation for obtaining the mobile terminal, comprising: acquired according to the GPS module of the mobile terminal
The multiple location informations arrived, obtain the position zinformation of the mobile terminal.
In one of the embodiments, further include:
The action event for patrolling river and terminating for acting on the long client in the river is received, this is obtained and patrols the river beginning and ending time,
It obtains this and patrols river duration;
Described this of judgement patrols whether river duration is less than setting duration;
If so, exporting this by mobile terminal patrols the invalid prompt information in river;
If it is not, detecting the Network status of the mobile terminal, if network connection state, then this river is reported to server
Length patrols river information, if Network Abnormal state, then this river river Chang Xun information preservation is local to the mobile terminal, to described
When the Network status of mobile terminal is switched to network connection state, this river river Chang Xun information is reported to server;
Wherein, this river river Chang Xun information includes: to patrol river river channel information, patrol river beginning and ending time information, the river river Chang Xun
At least one of in trace information.
Another aspect provides a kind of recording device of the river river Chang Xun information, comprising:
Initial position obtains module, for receiving the action event for patrolling river and starting for acting on the long client in river, obtains and moves
The location information that dynamic terminal is currently located;The long client in river is mounted in the mobile terminal system;
River obtains module, for according to the positional information, obtaining the river near the mobile terminal in setting range
Road information;The river channel information is shown by the display interface of the long client in the river;
Map obtains module and obtains the selection for receiving the selection operation event to river in the river channel information
The electronic map for the river affiliated area that action event is chosen;The electronics is shown by the display interface of the long client in the river
Map;
Track generation module, for obtaining the position zinformation of the mobile terminal, according to the position zinformation,
Generate the track river Chang Xunhe;
Track display module, for showing the track the river Chang Xunhe on the electronic map.
In another aspect, the embodiment of the present invention provides a kind of computer equipment, including memory and processor, the memory
It is stored with computer program, the processor realizes the record side such as the river above-mentioned river Chang Xun information when executing the computer program
The step of method.
In another aspect, the embodiment of the present invention provides a kind of computer storage medium, it is stored thereon with computer program, the journey
The recording method such as the river above-mentioned river Chang Xun information is realized when sequence is executed by processor.
A technical solution in above-mentioned technical proposal has the following advantages that or the utility model has the advantages that when the river Chang Xun of river, opens and move
The operational order that river starts is patrolled in the long client in river installed in dynamic terminal, sending, and then obtains the position that mobile terminal is currently located
Confidence breath;The river channel information in the long setting range nearby in river can be obtained based on confidence breath;River is long select river therein as
To the river Xun He, the electronic map to the river Xun He affiliated area is obtained, display circle of the long client in the river of mobile terminal is passed through
Face shows the electronic map;Later, the position zinformation for obtaining mobile terminal can be with according to the position zinformation
Obtain the river track Chang Xunhe;Finally on the electronic map, the river track Chang Xunhe is shown;Thus can automatic collection river it is long
The technical issues of patrolling river information and record in time, efficiently solving the record lag of the river river Chang Xun information or even lack;In addition, logical
The mode in the displaying river track Chang Xunhe of electronic map is crossed, shows the river river Chang Xun information more intuitively.
Detailed description of the invention
Fig. 1 is the applied environment figure of the recording method of the river river Chang Xun information in one embodiment;
Fig. 2 is the schematic flow chart of the recording method of the river river the Chang Xun information of an embodiment;
Fig. 3 is the schematic diagram of the river river the Chang Xun information bandwagon effect of an embodiment;
Fig. 4 is the schematic diagram of the recording device of the river river the Chang Xun information of an embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
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.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The recording method of the river river Chang Xun provided by the present application information is suitable for hardware environment shown in fig. 1, including mobile whole
End 110 and server 120;Dynamic terminal 110 can be connect by access points 130 with server 120.Wherein, mobile terminal
Corresponding client (hereinafter also referred to river long APP or APP) is installed in 110, river can be acquired by the client in real time
It is long generate when patrolling river patrol river information and event information, and river information will be patrolled in time and event information reports to server 120;
The server 120 is used for river information is patrolled and event information is managed concentratedly, including but not limited to the long fulfilling letter in generation river
Breath and event circulation processing information etc..
Wherein, mobile terminal 110 is the electronic equipment with the Internet access function.The electronic equipment can be intelligent hand
Machine, tablet computer or portable personal computer etc..In the embodiment of the present invention, it is also equipped in mobile terminal 110
His client, other clients can be client that application program is downloaded for user, such as social category client, video playing
Client, news client or shopping class client etc., the present embodiment is to this and without limitation.Mobile terminal 110 can be supported
APK and IPA format can normally connect network, the mobile device with GPS function.It is long by installing river on mobile terminal 110
APP, and according to guide normal operating.
In embodiments of the present invention, server 120 is the background server of client in mobile terminal 110.Server 120
It can be a server, or the server cluster or cloud computing center that consist of several servers.Server 120 is also
The access request that can be used for being sent according to mobile terminal 110 distributes access points for it, so as to mobile terminal 110 and distribution
Access points carry out data communication.
Wherein, different regions is arranged in 130 distribution of access points, can access the net of different operators offer
Network.
In a kind of possible embodiment, as shown in Figure 1, server 120 respectively with each 130 phase of access points
Even.Wherein, server 120 is also used to receive the access request of the transmission of mobile terminal 110, detects terminal according to the access request
Whether 110 position changes, and when detecting that the position of mobile terminal 110 changes, and is again mobile terminal 110
Distribute access points;Server 120 is used for according to the communication time-consuming of each access points 130, request amount, load, processing
The parameters such as device utilization rate and memory usage are the access points 130 of 110 optimal scheme of mobile terminal, so as to mobile whole
End 110 is communicated with the access points 130 of distribution.
Optionally, above-mentioned network is usually internet but it is also possible to be other networks, including but not limited to local area network
(Local Area Network, LAN), Metropolitan Area Network (MAN) (Metropolitan Area Network, MAN), wide area network (Wide
Area Network, WAN), the combination of one or more of dedicated network or Virtual Private Network.In some embodiments
In, using including hypertext markup language (Hyper Text Mark-up Language, HTML), extensible markup language
The technology of (Extensible Markup Language, XML) etc. and/or format represent the data by network exchange.This
Such as security socket layer (Secure Socket Layer, SSL), Transport Layer Security (Transport can also be used outside
Layer Security, TLS), Virtual Private Network (Virtual Private Network, VPN), Internet Protocol Security
Conventional encryption techniques such as (Internet Protocol Security, IPsec) encrypt all or some links.Another
In a little embodiments, customization and/or the exclusive data communication technology can also be used to replace or supplement above-mentioned data communication technology.
In one embodiment, it as shown in Fig. 2, providing a kind of recording method of the river river Chang Xun information, answers in this way
For being illustrated for the mobile terminal 110 in Fig. 1, the recording method of the river river Chang Xun information the following steps are included:
S110 receives the action event for patrolling river and starting for acting on the long client in river, obtains what mobile terminal was currently located
Location information;The long client in river is mounted in the mobile terminal system;
In some scenes, the mobile terminal can be smart phone, plate etc., and the above-mentioned long client in river can be intelligence
The long APP in river installed in energy mobile phone or plate.
In one embodiment, the location information that is currently located of mobile terminal that obtains can be with are as follows: obtain it is described it is mobile eventually
The newest collected location information of the GPS module at end, the location information being currently located as mobile terminal.
S120 obtains the river channel information near the mobile terminal in setting range according to the positional information;Pass through institute
The display interface for stating the long client in river shows the river channel information.
In some embodiments, it can show that (i.e. river is long current for mobile terminal present position by the long client in river
Position) the neighbouring river channel information in 1 kilometer or 2 kilometers.Certainly, the range can also be set according to actual conditions for
Other numerical value.
S130 receives the selection operation event to river in the river channel information, obtains the selection operation event and choose
River affiliated area electronic map;The electronic map is shown by the display interface of the long client in the river.
In some embodiments, river is long is based on the long client in river, can choose one or more of rivers, waits for as this
The river Xun He.
In addition, in the electronic map that shows of display interface of the long client in river, it can be by one of the long selection in river
Or a plurality of river is identified, for example, the one or more of rivers of the long selection in river can be identified with red, is convenient for
River is grown checks corresponding river in electronic map.
In one scenario, the relevant user interface of the long client in river can be refering to what is shown in Fig. 3, in the river of the long client in river
Length is patrolled in river-track record interface, is clicked " starting to patrol river ", and the long client in river can be detected and patrol the operational order that river starts,
And then the long present position information of corresponding electronic map and river will be shown in the long client in river.
S140 obtains the position zinformation of the mobile terminal, according to the position zinformation, generates the river river Chang Xun
Track.
The long mobile terminal that carries in river carries out patrolling river, the position zinformation of mobile terminal, that is, the position shifting that river is long
Dynamic information, thus can automatically record the river track Chang Xunhe.
In one embodiment, the position zinformation for obtaining the mobile terminal can be with are as follows: according to it is described it is mobile eventually
The collected multiple location informations of the GPS module at end, obtain the position zinformation of the mobile terminal.
S150 shows the track the river Chang Xunhe on the electronic map.
It should be noted that the executing subject of above step S110~S150 can be the long client in river of mobile terminal.
The recording method of the river river Chang Xun information based on the above embodiment when the river Chang Xun of river, is opened and is pacified in mobile terminal
The operational order that river starts is patrolled in the long client in the river of dress, sending, and then obtains the location information that mobile terminal is currently located;It is based on
Confidence breath can obtain the river channel information in the long setting range nearby in river;River is long to select river therein as to the river Xun He,
The electronic map to the river Xun He affiliated area is obtained, the electricity is shown by the display interface of the long client in the river of mobile terminal
Sub- map;Later, the position zinformation for obtaining mobile terminal, according to the position zinformation, the river available river Chang Xun
Track;Finally on the electronic map, the river track Chang Xunhe is shown;Thus can the automatic collection river river Chang Xun information, and
Record in time, the technical issues of efficiently solving the record lag of the river river Chang Xun information or even lack;In addition, by electronically
The mode of the displaying track river Chang Xunhe of figure, shows the river river Chang Xun information more intuitively.
Further, in one embodiment, according to the positional information, obtain near the mobile terminal in setting range
The implementation of river channel information may include: that the long user end to server in river sends the location information, the location information
The river channel information in the location information setting range is fed back for trigger the server;Hereafter, the long client's termination in river is conquered
The river channel information for device feedback of being engaged in, obtains the river channel information near the mobile terminal in setting range.
The present embodiment, mobile terminal client terminal are not necessarily to the related information of save location information and river, are conducive to save and move
The memory space of dynamic terminal.
In one embodiment, the position zinformation for obtaining the mobile terminal, it is raw according to the position zinformation
The specific implementation of the track Cheng Hechang Xun He may include:
It, will be each according to the position coordinates (such as being obtained every 5 minutes primary) of setting time interval acquiring mobile terminal
Position coordinates are recorded as a corresponding tracing point respectively;The system time of mobile terminal when each tracing point is recorded, is made
For the corresponding temporal information of each tracing point;According to the sequencing of the temporal information, multiple tracing points are sequentially connected, are generated
The river track Chang Xunhe.
Wherein, tracing point can record in real time, and the river track Chang Xunhe can be with real-time update, the i.e. long client in the river of mobile terminal
The long track Xun He instantly in river can be reflected in time with real-time update by holding the river track Chang Xunhe of display, when the track Xun He with to
When the river Xun He deviates, convenient for the long adjustment track Xun He in time in river.
In one embodiment, according to the sequencing of the temporal information, multiple tracing points are sequentially connected, it is long to generate river
Before the track Xun He, further includes: optimize the tracing point, by the tracing point after optimization to obtain the smooth track Xun He.It is excellent
One of mode of change may include: to obtain current trace points at a distance from the river that the selection operation event is chosen, as the
One distance;The previous tracing point of current trace points is obtained at a distance from the river that the selection operation event is chosen, as second
Distance;If the first distance is greater than the second distance, the current trace points are deleted.
Such as: one new tracing point of every generation then recalculates the corresponding position of current trace points according to new tracing point
Coordinate is set at a distance to the river Xun He, when monitoring that the distance becomes larger, then river to be patrolled is deviateed by mobile terminal output
The prompting message in river, to remind the river track Chang Xunhe that deviation has occurred;Further, it is also possible to which new tracing point is considered as invalid rail
Mark point is simultaneously deleted, and is based ultimately upon remaining tracing point and is generated the track Xun He, to guarantee to finally obtain the smooth track Xun He.
In one embodiment, the two of the mode of optimization can also include: to calculate current trace points and its previous tracing point
Spacing distance, if the spacing distance be less than set distance, delete the current trace points.
Such as: after tracing point is recorded to, according to the position coordinates and temporal information of the tracing point recorded, it is calculated
River length patrols river speed, patrols river speed further according to this to set a threshold value or threshold range;According to two adjacent track points
Position coordinates, calculate the spacing distance between them, at the same by the spacing distance and the threshold value or threshold range into
Row compares, and when the tracing point of new record and its previous tracing point are away from being isolated not in the threshold range, can determine whether
It there is a problem for the GPS positioning due to mobile terminal, and the spacing distance between two tracing points caused deviation occur, this
New record is confirmed as invalid tracing point by Shi Ze.It repeats the above steps, by all invalid track point deletions, is based on remaining track
Point generates the track Xun He, to guarantee to finally obtain the smooth track Xun He.
In one embodiment, on the electronic map, the track the river Chang Xunhe is shown, specific implementation can be with
It include: one transparent figure layer of Overlapping display on the electronic map;The smooth track Xun He is plotted to described
In bright figure layer, the track Xun He is shown on the electronic map.In addition, patrolling river in display in some scenes
It while track, can also will patrol the river time started, the end time, it is real-time to patrol the information such as river distance, duration, GPS information intensity
In display to the user interface of the long client in river, oneself checks and proofread for river length.
Further, further includes: if receiving the action event for patrolling river and terminating for acting on the long client in the river, river
Long client patrols the river beginning and ending time by obtaining this, obtains this and patrols river duration;Whether described this of judgement patrols river duration small
In setting duration;If so, exporting this by mobile terminal patrols the invalid prompt information in river;If it is not, and the mobile terminal
For network connection state, then this river river Chang Xun information is reported to server;Wherein, this river river Chang Xun information includes:
Patrol river river channel information, patrol river beginning and ending time information, in the trace information of the river river Chang Xun at least one of.
Specifically for example: get river it is long issue patrol the instruction of river end operation after, the long client in river first detects this and patrols river
Effectively whether (i.e. detection patrols whether river duration reaches 10 minutes) pass through the mobile terminal if do not reached 10 minutes
This, which is exported, to user patrols the invalid reminder message in river;If patrolling river duration to reach 10 minutes, the net of the mobile terminal is first detected
This river river Chang Xun information is first saved in the mobile terminal sheet if currently bad without network or network condition by network situation
Ground, it is to be checked when measuring mobile terminal network and restoring to guarantee to patrol river information and do not lose, then export prompting message and remind river length that will patrol
River information is reported;If present network conditions are good, this river river Chang Xun information is reported to server in time.
It should be understood that for the various method embodiments described above, although each step in flow chart is according to arrow
Instruction is successively shown, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless having herein bright
True explanation, there is no stringent sequences to limit for the execution of these steps, these steps can execute in other order.And
And at least part step in the flow chart of embodiment of the method may include multiple sub-steps or multiple stages, this is a little
Step or stage are not necessarily to execute completion in synchronization, but can execute at different times, these sub-steps
Perhaps the execution sequence in stage be also not necessarily successively carry out but can with the sub-step of other steps or other steps or
At least part in person's stage executes in turn or alternately.
Based on thought identical with the recording method of the river river Chang Xun information in above-described embodiment, river length is also provided herein and patrols
The recording device of river information.
In one embodiment, as shown in figure 4, the recording device of the river river the Chang Xun information of the present embodiment includes:
Initial position obtains module 401, for receiving the action event for patrolling river and starting for acting on the long client in river, obtains
The location information that mobile terminal is currently located;The long client in river is mounted in the mobile terminal system;
River obtains module 402, for according to the positional information, obtaining near the mobile terminal in setting range
River channel information;The river channel information is shown by the display interface of the long client in the river;
Map obtains module 403 and obtains the choosing for receiving the selection operation event to river in the river channel information
Select the electronic map for the river affiliated area that action event is chosen;The electricity is shown by the display interface of the long client in the river
Sub- map;
Track generation module 404 is believed for obtaining the position zinformation of the mobile terminal according to the position is mobile
Breath generates the track river Chang Xunhe;
Track display module 405, for showing the track the river Chang Xunhe on the electronic map.
The specific restriction of recording device about the river river Chang Xun information may refer to above for the river river Chang Xun information
The restriction of recording method, details are not described herein.
Modules in the recording device of the river above-mentioned river Chang Xun information can be fully or partially through software, hardware and its group
It closes to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
Software form is stored in the memory in computer equipment, executes the corresponding behaviour of the above modules in order to which processor calls
Make.
In addition, the logic of each program module is drawn in the embodiment of the recording device of the river river the Chang Xun information of above-mentioned example
Divide and be merely illustrative of, can according to need in practical application, such as the configuration requirement of corresponding hardware or the reality of software
Above-mentioned function distribution is completed by different program modules, i.e., filled the record of the river river Chang Xun information by existing convenient consideration
The internal structure set is divided into different program modules, to complete all or part of the functions described above.
In one embodiment, a kind of computer equipment is provided, which can be mobile terminal, inside
Structure chart can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface,
Display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment
Memory include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and calculating
Machine program.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.It should
The network interface of computer equipment is used to communicate with external terminal by network connection.The computer program is executed by processor
When to realize the recording method of the river river Chang Xun information a kind of.The display screen of the computer equipment can be liquid crystal display or electricity
Sub- ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer
Key, trace ball or the Trackpad being arranged on device housings can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of when executing computer program
The action event for patrolling river and starting for acting on the long client in river is received, the position letter that mobile terminal is currently located is obtained
Breath;The long client in river is mounted in the mobile terminal system;
According to the positional information, the river channel information near the mobile terminal in setting range is obtained;Pass through the river
The display interface of long client shows the river channel information;
The selection operation event to river in the river channel information is received, the river that the selection operation event is chosen is obtained
The electronic map of affiliated area;The electronic map is shown by the display interface of the long client in the river;
The position zinformation for obtaining the mobile terminal generates the track river Chang Xunhe according to the position zinformation;
On the electronic map, the track the river Chang Xunhe is shown.
In one embodiment, the river river the Chang Xun letter of above-mentioned other embodiments is also realized when processor executes computer program
The recording method step of breath.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
The action event for patrolling river and starting for acting on the long client in river is received, the position letter that mobile terminal is currently located is obtained
Breath;The long client in river is mounted in the mobile terminal system;
According to the positional information, the river channel information near the mobile terminal in setting range is obtained;Pass through the river
The display interface of long client shows the river channel information;
The selection operation event to river in the river channel information is received, the river that the selection operation event is chosen is obtained
The electronic map of affiliated area;The electronic map is shown by the display interface of the long client in the river;
The position zinformation for obtaining the mobile terminal generates the track river Chang Xunhe according to the position zinformation;
On the electronic map, the track the river Chang Xunhe is shown.
In one embodiment, the river river Chang Xun of above-mentioned other embodiments is also realized when computer program is executed by processor
The recording method step of information.
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 computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The term " includes " of embodiment hereof and " having " and their any deformations, it is intended that cover non-exclusive packet
Contain.Such as contain series of steps or the process, method, system, product or equipment of (module) unit are not limited to arrange
Out the step of or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these mistakes
The intrinsic other step or units of journey, method, product or equipment.
Referenced herein " multiple " refer to two or more."and/or", the association for describing affiliated partner are closed
System indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism
These three situations of B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Referenced herein " first second " be only be the similar object of difference, do not represent for the specific of object
Sequence, it is possible to understand that specific sequence or precedence can be interchanged in ground, " first second " in the case where permission.It should manage
The object that solution " first second " is distinguished is interchangeable under appropriate circumstances so that the embodiments described herein can in addition to
Here the sequence other than those of diagram or description is implemented.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of recording method of the river river Chang Xun information characterized by comprising
The action event for patrolling river and starting for acting on the long client in river is received, the location information that mobile terminal is currently located is obtained;
The long client in river is mounted in the mobile terminal system;
According to the positional information, the river channel information near the mobile terminal in setting range is obtained;Pass through the river long-traveller
The display interface at family end shows the river channel information;
The selection operation event to river in the river channel information is received, is obtained belonging to the river that the selection operation event is chosen
The electronic map in region;The electronic map is shown by the display interface of the long client in the river;
The position zinformation for obtaining the mobile terminal generates the track river Chang Xunhe according to the position zinformation;
On the electronic map, the track the river Chang Xunhe is shown.
2. the method according to claim 1, wherein it is described according to the positional information, obtain it is described it is mobile eventually
Hold the river channel information in setting range nearby, comprising:
The location information is sent to server, the location information is set for trigger the server feedback apart from the location information
Determine the river channel information in range;
The river channel information for receiving server feedback obtains the river channel information near the mobile terminal in setting range.
3. the method according to claim 1, wherein the position zinformation for obtaining the mobile terminal,
According to the position zinformation, the track river Chang Xunhe is generated, comprising:
According to the position coordinates of setting time interval acquiring mobile terminal, by each position coordinates be recorded as respectively one it is corresponding
Tracing point;
The system time for recording mobile terminal when each tracing point, as the corresponding temporal information of each tracing point;
According to the sequencing of the temporal information, multiple tracing points are sequentially connected, generate the track river Chang Xunhe.
4. according to the method described in claim 3, it is characterized in that, the sequencing according to the temporal information, successively
Multiple tracing points are connected, before generating the track river Chang Xunhe, further includes:
Optimize the tracing point, by the tracing point after optimization to obtain the smooth track Xun He.
5. according to the method described in claim 4, it is characterized in that, the optimization tracing point, comprising:
Current trace points are obtained at a distance from the river that the selection operation event is chosen, as first distance;
Obtain current trace points previous tracing point at a distance from the river that the selection operation event is chosen, as second away from
From;
If the first distance is greater than the second distance, the current trace points are deleted;
And/or
The spacing distance of current trace points and its previous tracing point is calculated, if the spacing distance is less than set distance threshold value,
Delete the current trace points.
6. method according to any one of claims 1 to 5, which is characterized in that
The location information for obtaining mobile terminal and being currently located, comprising: obtain the newest acquisition of GPS module of the mobile terminal
The location information arrived, the location information being currently located as mobile terminal;
The position zinformation for obtaining the mobile terminal, comprising: the GPS module according to the mobile terminal is collected
Multiple location informations obtain the position zinformation of the mobile terminal.
7. according to the method described in claim 6, it is characterized by further comprising:
The action event for patrolling river and terminating for acting on the long client in the river is received, this is obtained and patrols the river beginning and ending time, obtain
This patrols river duration;
Described this of judgement patrols whether river duration is less than setting duration;
If so, exporting this by mobile terminal patrols the invalid prompt information in river;
If it is not, detecting the Network status of the mobile terminal, if network connection state, then this river length is reported to patrol to server
River information, it is if Network Abnormal state, then this river river Chang Xun information preservation is local to the mobile terminal, to the movement
When the Network status of terminal is switched to network connection state, this river river Chang Xun information is reported to server;
Wherein, this river river Chang Xun information includes: to patrol river river channel information, patrol river beginning and ending time information, the river track Chang Xunhe
At least one of in information.
8. a kind of recording device of the river river Chang Xun information characterized by comprising
Initial position obtains module, for receiving the action event for patrolling river and starting for acting on the long client in river, obtains mobile whole
Hold the location information being currently located;The long client in river is mounted in the mobile terminal system;
River obtains module, for according to the positional information, obtaining the river letter near the mobile terminal in setting range
Breath;The river channel information is shown by the display interface of the long client in the river;
Map obtains module and obtains the selection operation for receiving the selection operation event to river in the river channel information
The electronic map for the river affiliated area that event is chosen;By the display interface of the long client in the river show it is described electronically
Figure;
Track generation module, according to the position zinformation, is generated for obtaining the position zinformation of the mobile terminal
The river track Chang Xunhe;
Track display module, for showing the track the river Chang Xunhe on the electronic map.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In, the processor realizes claim 1 to 7 any the method when executing described program the step of.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The step of claim 1 to 7 any the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811285700.4A CN109636942A (en) | 2018-10-31 | 2018-10-31 | Recording method, device, computer equipment and the storage medium of the river river Chang Xun information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811285700.4A CN109636942A (en) | 2018-10-31 | 2018-10-31 | Recording method, device, computer equipment and the storage medium of the river river Chang Xun information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109636942A true CN109636942A (en) | 2019-04-16 |
Family
ID=66067026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811285700.4A Pending CN109636942A (en) | 2018-10-31 | 2018-10-31 | Recording method, device, computer equipment and the storage medium of the river river Chang Xun information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109636942A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111523008A (en) * | 2020-04-13 | 2020-08-11 | 深圳市水务技术服务有限公司 | River channel environment management method and device, computer equipment and storage medium |
CN111598463A (en) * | 2020-05-19 | 2020-08-28 | 浙江职信通信科技有限公司 | River growth system integral statistics and assessment system |
CN112507057A (en) * | 2020-12-23 | 2021-03-16 | 四创科技有限公司 | Grid space distribution-based nearby river recommendation method and system |
CN115689129A (en) * | 2023-01-03 | 2023-02-03 | 长江信达软件技术(武汉)有限责任公司 | Method and device for realizing river patrol effectiveness judgment and calculation based on time-space analysis |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798484A (en) * | 2017-11-17 | 2018-03-13 | 浙江元亨通信技术股份有限公司 | A kind of long supervisory service system in river |
CN107993304A (en) * | 2017-11-17 | 2018-05-04 | 浙江元亨通信技术股份有限公司 | A kind of data processing method, device, equipment and computer-readable recording medium |
CN108632136A (en) * | 2018-03-08 | 2018-10-09 | 北京元心科技有限公司 | Patrol river data processing method and device |
CN108682058A (en) * | 2018-03-30 | 2018-10-19 | 柳德明 | A kind of river-lake environment information management system |
-
2018
- 2018-10-31 CN CN201811285700.4A patent/CN109636942A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798484A (en) * | 2017-11-17 | 2018-03-13 | 浙江元亨通信技术股份有限公司 | A kind of long supervisory service system in river |
CN107993304A (en) * | 2017-11-17 | 2018-05-04 | 浙江元亨通信技术股份有限公司 | A kind of data processing method, device, equipment and computer-readable recording medium |
CN108632136A (en) * | 2018-03-08 | 2018-10-09 | 北京元心科技有限公司 | Patrol river data processing method and device |
CN108682058A (en) * | 2018-03-30 | 2018-10-19 | 柳德明 | A kind of river-lake environment information management system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111523008A (en) * | 2020-04-13 | 2020-08-11 | 深圳市水务技术服务有限公司 | River channel environment management method and device, computer equipment and storage medium |
CN111598463A (en) * | 2020-05-19 | 2020-08-28 | 浙江职信通信科技有限公司 | River growth system integral statistics and assessment system |
CN112507057A (en) * | 2020-12-23 | 2021-03-16 | 四创科技有限公司 | Grid space distribution-based nearby river recommendation method and system |
CN112507057B (en) * | 2020-12-23 | 2022-07-08 | 四创科技有限公司 | Grid space distribution-based nearby river recommendation method and system |
CN115689129A (en) * | 2023-01-03 | 2023-02-03 | 长江信达软件技术(武汉)有限责任公司 | Method and device for realizing river patrol effectiveness judgment and calculation based on time-space analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109636942A (en) | Recording method, device, computer equipment and the storage medium of the river river Chang Xun information | |
US9715668B1 (en) | Patrol presence management system | |
CN109274672B (en) | Mobile operation and maintenance management and data interaction system for information communication equipment | |
CN111355780A (en) | Block chain-based Internet of things monitoring management method and system | |
CN111914269A (en) | Data security sharing method and system under block chain and cloud storage environment | |
CN106572439B (en) | Terminal tracing method, device and mobile terminal | |
US20160307284A1 (en) | Methods and systems relating to contextual information aggregation and dissemination | |
CN106060176A (en) | Cloud computing application architecture and cloud computing service method based on mixed cloud | |
CN103095829A (en) | Network contact list system achieving version management and authority management | |
CN103517405B (en) | A kind of method and system of network positions, mobile terminal and network side equipment | |
CN112598368A (en) | Sewage treatment online supervision platform | |
CN109636307B (en) | River chang APP system | |
CN109936621A (en) | Multi-page information push method, device, equipment and the storage medium of information security | |
CN107491371A (en) | A kind of method and device for monitoring deployment | |
CN110166529A (en) | It keeps logging in state method, apparatus, equipment and storage medium | |
CN111258466A (en) | Data visualization method and device, computer equipment and storage medium | |
CN112365634A (en) | Method and device for pushing abnormal alarm based on intelligent door lock | |
US20240126986A1 (en) | Method and apparatus for processing document, device and medium | |
CN205862387U (en) | Password smart lock long-distance management system based on cellular network Yu Bluetooth technology | |
CN104992273A (en) | Automatic assessment method and system for service post | |
CN110458445A (en) | A kind of Customer information release management system | |
CN105139323A (en) | Urban management communication information system | |
CN109803305B (en) | Remote monitoring method and system for radio station | |
CN115085794A (en) | Block chain credible evidence storing method and system for Beidou short message | |
CN112995342B (en) | Report monitoring method and system based on public security intranet and intranet transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |