CN115762115A - Method, device, terminal, server and storage medium for generating electronic fence - Google Patents

Method, device, terminal, server and storage medium for generating electronic fence Download PDF

Info

Publication number
CN115762115A
CN115762115A CN202111022277.0A CN202111022277A CN115762115A CN 115762115 A CN115762115 A CN 115762115A CN 202111022277 A CN202111022277 A CN 202111022277A CN 115762115 A CN115762115 A CN 115762115A
Authority
CN
China
Prior art keywords
positioning
electronic fence
terminal
point
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111022277.0A
Other languages
Chinese (zh)
Inventor
岁立伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng Technology Co 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 Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN202111022277.0A priority Critical patent/CN115762115A/en
Publication of CN115762115A publication Critical patent/CN115762115A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Navigation (AREA)

Abstract

The application relates to a method, a device, a terminal, a server, a storage medium and a program product for generating an electronic fence. The method comprises the following steps: the method comprises the steps of obtaining positioning information of positioning points through a positioning device, determining a target positioning point from the positioning points obtained by the positioning device according to a first user creation instruction, sending the positioning information of the target positioning point to a server, and generating the electronic fence on a map according to the positioning information of the target positioning point under the condition that a creation success instruction sent by the server based on the positioning information of the target positioning point is received. The positioning precision of the positioning device is greater than the preset precision threshold value, so that a target positioning point greater than the preset precision threshold value is obtained, the electronic fence meeting the positioning precision requirement can be generated according to the target positioning point, the position precision of the generated electronic fence is further improved, the electronic fence with high position precision is adopted to limit the parking position and/or the operation area of the shared vehicle, and the standard management effect on collinear vehicles is effectively improved.

Description

Method, device, terminal, server and storage medium for generating electronic fence
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a terminal, a server, a storage medium, and a program product for generating an electronic fence.
Background
Shared vehicles are popular among more and more users as a novel fast trip mode, the putting amount of the shared vehicles is more and more along with the increase of the user demand, and irregular driving phenomena such as random parking, random playing, exiting from an operation area and the like frequently occur.
In order to standardize the parking position and the operation area of the vehicle, the electronic fence technology is produced. However, the electronic fence generated in the conventional technology has low position accuracy, thereby reducing the effect of the specification management on the shared vehicles.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a terminal, a server, a storage medium, and a program product for generating an electronic fence in response to the above technical problems.
In a first aspect, an embodiment of the present disclosure provides a method for generating an electronic fence, including:
acquiring positioning information of a positioning point through a positioning device; the positioning precision of the positioning device is greater than a preset precision threshold value;
determining a target positioning point from positioning points acquired by a positioning device according to a first user establishing instruction, and sending positioning information of the target positioning point to a server;
and if a creation success command sent by the server based on the positioning information of the target positioning point is received, generating the electronic fence on the map according to the positioning information of the target positioning point.
In a second aspect, an embodiment of the present disclosure provides a method for generating an electronic fence, including:
receiving positioning information of a target positioning point sent by a terminal; the positioning information is positioning information of positioning points acquired by the terminal through the positioning device, the target positioning point is a positioning point determined by the terminal from the positioning points acquired by the positioning device according to the first user creation instruction, and the positioning precision of the positioning device is greater than a preset precision threshold;
determining whether to feed back a creation success instruction to the terminal or not based on the positioning information of the target positioning point; and the creation success instruction is used for indicating the terminal to generate the electronic fence on the map according to the positioning information of the target positioning point.
In a third aspect, an embodiment of the present disclosure provides an apparatus for generating an electronic fence, including:
the positioning acquisition module is used for acquiring positioning information of the positioning point through the positioning device; the positioning precision of the positioning device is greater than a preset precision threshold value;
the target sending module is used for determining a target positioning point from the positioning points acquired by the positioning device according to the first user establishing instruction and sending the positioning information of the target positioning point to the server;
and the fence generating module is used for generating the electronic fence on the map according to the positioning information of the target positioning point under the condition of receiving a creation success instruction sent by the server based on the positioning information of the target positioning point.
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for generating an electronic fence, including:
the positioning receiving module is used for receiving positioning information of a target positioning point sent by the terminal; the terminal acquires positioning information of positioning points through a positioning device, a target positioning point is a positioning point determined by the terminal from the positioning points acquired by the positioning device according to a first user creation instruction, and the positioning precision of the positioning device is greater than a preset precision threshold;
and the result feedback module is used for determining whether to feed back a creation success instruction to the terminal or not based on the positioning information of the target positioning point.
In a fifth aspect, an embodiment of the present disclosure provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method according to the first aspect when executing the computer program.
In a sixth aspect, the present disclosure provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method of the second aspect when executing the computer program.
In a seventh aspect, the disclosed embodiments provide a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of the first aspect or the second aspect.
In an eighth aspect, the present disclosure provides a program product including a computer program, which when executed by a processor, implements the method of the first or second aspect.
According to the method, the device, the terminal, the server, the storage medium and the program product for generating the electronic fence, the positioning information of the positioning points is obtained through the positioning device, the target positioning point is determined from the positioning points obtained through the positioning device according to the first user creation instruction, the positioning information of the target positioning point is sent to the server, and the electronic fence is generated on the map according to the positioning information of the target positioning point under the condition that a creation success instruction sent by the server based on the positioning information of the target positioning point is received. The positioning precision of the positioning device is greater than the preset precision threshold value, so that a target positioning point greater than the preset precision threshold value is obtained, the electronic fence meeting the positioning precision requirement can be generated according to the target positioning point, the position precision of the generated electronic fence is further improved, the electronic fence with high position precision is adopted to limit the parking position and/or the operation area of the shared vehicle, and the standard management effect on collinear vehicles is effectively improved.
Drawings
FIG. 1 is a diagram of an embodiment of a method for creating an electronic fence;
FIG. 2 is a flow diagram illustrating a method for generating an electronic fence, according to one embodiment;
fig. 3 is a flow chart illustrating a method for generating an electronic fence according to another embodiment;
FIG. 4 is a flowchart illustrating the determination of a target anchor point in one embodiment;
fig. 5 is a flowchart illustrating a method of generating an electronic fence according to another embodiment;
fig. 6 is a flowchart illustrating a method of generating an electronic fence according to another embodiment;
FIG. 7 is a block diagram of an apparatus for creating an electronic fence in one embodiment;
fig. 8 is a block diagram showing the structure of an apparatus for generating an electronic fence according to another embodiment;
fig. 9 is an internal structural diagram of a terminal in one embodiment;
fig. 10 is an internal configuration diagram of a server in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
First, before specifically describing the technical solution of the embodiment of the present disclosure, a technical background or a technical evolution context on which the embodiment of the present disclosure is based is described. In general, in the field of shared vehicles, the current technical background of generating electronic fences is: and acquiring the position information of the positioning points by using third-party acquisition equipment, and further generating the electronic fence according to a certain generation rule based on the acquired position information of the positioning points. Since the third-party collecting device is not specially used for planning and designing the electronic fence limiting the parking position and/or the operation area of the vehicle, the position information collected by the third-party collecting device does not meet the precision requirement required for generating the electronic fence, and meanwhile, further processing is required to obtain the positioning information required for generating the electronic fence. Based on this background, the applicant finds that the position accuracy of the electronic fence generated by the third acquisition device is low through long-term experimental simulation and statistics and verification of experimental data for generating and using the electronic fence, and further reduces the effect of standard management on shared vehicles. How to improve the position accuracy of the generated electronic fence and improve the standard management effect on collinear vehicles becomes a difficult problem to be solved urgently at present. In addition, it should be noted that the technical solutions introduced in the following embodiments all pay a lot of creative efforts.
The method for generating the electronic fence provided by the application can be applied to the application environment as shown in fig. 1. Where the terminal 102 communicates with a positioning device 104 and with a server 106 via a network. The terminal 102 sends a positioning acquisition instruction to the positioning device 104 in response to an operation of acquiring positioning information by a user, and the positioning accuracy of the positioning device 104 is greater than a preset accuracy threshold. The terminal 102 obtains the positioning information of the positioning point through the positioning device 104, and the terminal 102 determines a target positioning point from the positioning points obtained by the positioning device 104 according to the first user creation instruction and sends the positioning information of the target positioning point to the server 106. The server 106 determines whether the target positioning point can successfully create the same electronic fence based on the received positioning information of the target positioning point, and returns a creation success instruction to the terminal 102 when it is determined that the target positioning point can successfully create the same electronic fence, and the terminal 102 generates the electronic fence on the map according to the positioning information of the target positioning point.
The terminal 102 may be, but is not limited to, various electronic devices with a display function, such as a personal computer, a notebook computer, a smart phone, a tablet computer, and a portable wearable device. The Positioning device 104 may be, but not limited to, various Positioning devices based on a Global Positioning System (GPS) and a beidou System. The server 106 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, a method for generating an electronic fence is provided, which is described by taking the method as an example for being applied to the terminal in fig. 1, and includes the following steps:
s210, acquiring positioning information of a positioning point through a positioning device; the positioning precision of the positioning device is larger than a preset precision threshold value.
The positioning device is used for acquiring the positioning information of the current position of the positioning device. The user can obtain the positioning information of a plurality of positioning points by moving the positioning device. The preset precision threshold value is the minimum precision meeting the requirement of the position precision of the electronic fence.
Alternatively, the terminal and the positioning apparatus may be independent terminal devices, and may communicate by wireless communication, such as bluetooth, wiFi, or other wireless communication. The positioning device can also be integrated in the terminal as a functional module, and communication is carried out through a bus inside the terminal.
Optionally, the user triggers an acquisition button on the terminal for acquiring the positioning information, the terminal responds to the acquisition triggering operation of the user, sends a positioning acquisition instruction to the positioning device, and the positioning device takes the current position as a positioning point and acquires the positioning information of the positioning point. And the user moves the positioning device again and triggers the acquisition button again, and the positioning device acquires the positioning information of the moved positioning point. Therefore, the terminal obtains the positioning information of the positioning point with the positioning precision larger than the preset precision threshold value through the positioning device.
Optionally, the obtaining button on the terminal may be an entity button, and is triggered by pressing, rotating, pushing, or the like, or may be a virtual button in a display area of a display interface on the terminal, and is triggered by touching, clicking, sliding, or the like.
S220, determining a target positioning point from the positioning points acquired by the positioning device according to the first user creating instruction, and sending positioning information of the target positioning point to a server.
The first user creating instruction is used for instructing the server to determine whether the target positioning point selected by the user can successfully create the same electronic fence or not.
Optionally, the user selects a positioning point from positioning points acquired by a positioning device displayed on the terminal, and triggers a creation button for creating the electronic fence on the terminal, and the terminal generates a first user creation instruction carrying an identifier of a target positioning point selected by the user in response to a creation triggering operation of the user. And the terminal determines a target positioning point from the positioning points acquired by the positioning device according to the first user creation instruction, and sends the positioning information of the target positioning point to the server so that the server can determine whether the target positioning point can successfully create the same electronic fence.
Optionally, the creation button on the terminal may be an entity button, which is triggered by pressing, rotating, pushing, or the like, as well as the above-mentioned acquisition button, or may be a virtual button in a display area of a display interface on the terminal, which is triggered by touching, clicking, sliding, or the like.
And S230, if a creation success instruction sent by the server based on the positioning information of the target positioning point is received, generating the electronic fence on the map according to the positioning information of the target positioning point.
Optionally, after receiving the positioning information of the target positioning point, the server determines whether the target positioning point can successfully create the same electronic fence based on the constraint condition. If yes, returning a creation success command to the terminal; if not, returning a creation failure instruction to the terminal. And if the terminal receives a creation success command sent by the server based on the positioning information of the target positioning point, generating the electronic fence on the map according to the positioning information of the target positioning point and a preset generation rule.
Optionally, the preset generation rule includes a generation rule determined according to the number of the target positioning points, for example, if there is one target positioning point, an electronic fence with a regular shape such as a circle, a rectangle, etc. with the target positioning point as a central point is generated; if the number of the target positioning points is two, generating a circular electronic fence with the two target positioning points as the diameter, or generating a rectangular electronic fence with the two target positioning points as the diagonal line; if the number of the target positioning points is larger than two, a polygonal electronic fence which is circumferentially connected with all the positioning points or a minimum circular or minimum rectangular electronic fence which covers all the positioning points is generated. The preset generation rules may further include a generation rule determined according to the shape of the electronic fence to be generated, such as generating a minimum rectangular electronic fence connecting all the target positioning points, or generating a minimum circular electronic fence connecting all the positioning points, for example. In this embodiment, the specific shape and rule of the electronic fence are not particularly limited.
Optionally, the terminal displays a map of the area to be planned on a display interface, displays the generated electronic fence on the map, and generates positioning information of each target positioning point of the electronic fence.
Optionally, the display area includes an editable area, and a user may input attribute information of the corresponding electronic fence through the editable area, such as information of type, number, size, and the like. And the terminal acquires the attribute information input by the user based on the editable area and displays the attribute information in the editable area.
In this embodiment, the terminal acquires the positioning information of the positioning point through the positioning device, determines the target positioning point from the positioning points acquired by the positioning device according to the first user creation instruction, and sends the positioning information of the target positioning point to the server, so as to generate the electronic fence on the map according to the positioning information of the target positioning point when receiving the creation success instruction sent by the server based on the positioning information of the target positioning point. The positioning precision of the positioning device is greater than the preset precision threshold value, so that a target positioning point greater than the preset precision threshold value is obtained, the electronic fence meeting the positioning precision requirement can be generated according to the target positioning point, the position precision of the generated electronic fence is further improved, the electronic fence with high position precision is adopted to limit the parking position and/or the operation area of the shared vehicle, and the standard management effect on collinear vehicles is effectively improved.
In one embodiment, to increase the flexibility of generating the electronic fence, as shown in fig. 3, the method further includes:
s310, determining the corresponding relation between each positioning point and the electronic fence according to the second user creating instruction.
Wherein the second user creation instruction is used for indicating positioning points for constructing the same electronic fence. The corresponding relationship between each positioning point and the electronic fence refers to the corresponding relationship between each positioning point and the electronic fence constructed correspondingly.
Optionally, the user selects a positioning point from positioning points obtained by a positioning device displayed on the terminal, and triggers a return button for returning positioning information on the terminal, and the terminal generates a second user creation instruction carrying the positioning point selected by the user in response to a return triggering operation of the user. And triggering a second user creation instruction by one return triggering operation, wherein the second user creation instruction is used for indicating that the selected positioning points in the corresponding return triggering operation belong to the same electronic fence, namely, the same electronic fence is constructed.
For example, ten positioning points of numbers 1 to 10 acquired by the positioning device are displayed on the terminal, the user triggers the return triggering operation after selecting the positioning point of numbers 1 to 4, the terminal generates a second user creation instruction carrying the positioning point of numbers 1 to 4 selected by the user, and the positioning point of numbers 1 to 4 is determined to generate the same electronic fence. The user can also continue to select the number 5-10 positioning points to trigger the return triggering operation again, the terminal correspondingly generates a second user creating instruction carrying the number 5-10 positioning points selected by the user, and determines that the number 5-10 positioning points generate the same electronic fence. The terminal can determine the corresponding relation between each positioning point and the electronic fence according to the second user establishing instruction, the positioning points 1-4 generate the electronic fence A, the positioning points 5-10 generate the electronic fence B, the terminal can determine the positioning points 1-4 correspond to the electronic fence A, and the positioning points 5-10 correspond to the electronic fence B.
S320, sending creation information to a server, wherein the creation information comprises positioning information and corresponding relations of positioning points; the creation information is used for indicating the server to feed back a creation success instruction when the target positioning point is determined to belong to the same electronic fence according to the corresponding relation.
Specifically, after determining the corresponding relationship between the positioning point and the electronic fence, the terminal sends the positioning information of each positioning point and the corresponding relationship between each positioning point and the electronic fence as creation information to the server. Continuing the above example, after determining that the number 1-4 positioning points correspond to the electronic fence a and the number 5-10 positioning points correspond to the electronic fence B, the terminal sends the positioning information of the number 1-10 positioning points and the corresponding relationship between the number 1-4 positioning points and the electronic fence a as creation information to the server. And the server determines whether the target positioning points belong to the same electronic fence or not according to the corresponding relation between each positioning point and the electronic fence in the received creation information, and feeds back a creation success instruction to the terminal under the condition that the target positioning points belong to the same electronic fence. Otherwise, the server determines that the target positioning points do not belong to the same electronic fence, and feeds back a creation failure instruction to the terminal.
In this embodiment, the terminal determines the corresponding relationship between each positioning point and the electronic fence according to the second user creation instruction, and sends the positioning information including each positioning point and the creation information of the corresponding relationship to the server, so as to instruct the server to feed back a creation success instruction when determining that the target positioning point belongs to the same electronic fence according to the corresponding relationship through the creation information. The corresponding relation between each positioning point and the electronic fence is used for determining whether the target positioning point can successfully generate the electronic fence or not, the corresponding relation is determined by a second user creation instruction, and the second user creation instruction can be generated based on the autonomous selection of the user, so that the subjective selectivity of the user for generating the electronic fence can be improved based on the corresponding relation between each positioning point and the electronic fence obtained by the second user creation instruction, and the flexibility of generating the electronic fence is further improved.
In one embodiment, to improve the interactivity with the user, the S210 includes:
and when detecting that the acquisition control on the display interface is triggered, acquiring positioning information of the positioning point through the positioning device.
The terminal comprises a terminal body, a display interface and a positioning device, wherein a virtual button serving as an acquisition control is displayed on the display interface of the terminal body, and the acquisition control is used for triggering the positioning device to acquire positioning information.
Optionally, the user clicks the acquisition control on the display interface of the terminal to trigger the acquisition control, and when the terminal detects that the acquisition control on the display interface is triggered, the terminal acquires the positioning information of the positioning point through the positioning device.
In this embodiment, the positioning device is a Real-time kinematic (RTK) carrier phase differential antenna independent of the terminal, which may be a high-precision RTK dual-frequency bluetooth antenna, and the positioning information includes longitude and latitude coordinates of the positioning point. The terminal communicates with the high-precision RTK dual-frequency Bluetooth antenna through Bluetooth, and when the situation that the acquisition control on the display interface is triggered is detected, the longitude and latitude coordinates of the positioning point are acquired through the high-precision RTK dual-frequency Bluetooth antenna.
In an alternative embodiment, to facilitate the user to select the anchor point, as shown in fig. 4, the step S220 includes:
and S410, displaying the mark of the positioning point acquired by the positioning device in a display area of the display interface.
Optionally, the identifier of the positioning point may be positioning information of the positioning point directly, or may be a character given to the positioning point, such as a, B, C, 001, 002 \8230, where the identifier of the positioning point is used to uniquely characterize the positioning point, and a specific representation form of the identifier is not specifically limited in this embodiment.
Optionally, the terminal displays the positioning information of the positioning point acquired by the positioning device in a display area of the display interface in a form of a list. The sequence of each position information in the list can be determined according to the acquisition time of the positioning point, and if the acquisition time is earlier, the position of the positioning information of the positioning point in the list is more front/back.
S420, acquiring a first user creating instruction based on the mark of the positioning point displayed in the display area, wherein the first user creating instruction comprises the mark of the positioning point selected by the user.
Specifically, the terminal determines the identification of the positioning point selected by the user in the displayed identifications of the positioning points based on the identifications of the positioning points acquired by the positioning device displayed in the display area to obtain a first user creation instruction including the identification of the positioning point selected by the user.
S430, determining a target positioning point from the positioning points acquired by the positioning device according to the mark of the positioning point selected by the user.
Specifically, the terminal determines that the positioning point corresponding to the marked positioning point selected by the user is the target positioning point determined from the positioning points acquired by the user from the positioning device. For example, the terminal displays identifiers of 5 positioning points, which are A1 to A5, in a display area of a display interface, and a user selects the positioning point identifiers A1 and A3, so that the terminal can determine that the positioning points corresponding to the positioning points A1 and A3 are target positioning points among the 5 positioning points.
In this embodiment, the terminal displays the identifier of the positioning point obtained by the positioning device in the display area where the display interface is detected, obtains a first user creation instruction including the identifier of the positioning point selected by the user based on the positioning information of the positioning point displayed in the display area, and determines the target positioning point from the positioning points obtained by the positioning device according to the identifier of the positioning point selected by the user, so that the interactivity between the terminal and the user is improved, and the convenience of the user in selecting the positioning point is improved.
In one embodiment, as shown in fig. 5, a method for generating an electronic fence is provided, which is described by taking the method as an example for being applied to the server in fig. 1, and includes the following steps:
s510, receiving positioning information of a target positioning point sent by a terminal; the positioning information is positioning information of positioning points acquired by the terminal through the positioning device, the target positioning point is a positioning point determined by the terminal according to the first user creation instruction from the positioning points acquired by the positioning device, and the positioning accuracy of the positioning device is greater than a preset accuracy threshold.
Alternatively, the terminal and the positioning apparatus may be independent terminal devices, and may communicate by wireless communication, such as bluetooth, wiFi, or other wireless communication. The positioning device can also be integrated in the terminal as a functional module, and communication is carried out through a bus inside the terminal.
In this embodiment, the positioning device is a Real-time kinematic (RTK) carrier-phase differential antenna independent of the terminal, which may specifically be a high-precision RTK dual-frequency bluetooth antenna, and the positioning information includes longitude and latitude coordinates of the positioning point. The terminal communicates with the high-precision RTK dual-frequency Bluetooth antenna through Bluetooth, and when the fact that the acquisition control on the display interface is triggered is detected, the longitude and latitude coordinates of the locating point are obtained through the high-precision RTK dual-frequency Bluetooth antenna.
Specifically, the terminal responds to an acquisition trigger operation of a user, acquires positioning information of a positioning point through a positioning device, and generates a first user creation instruction carrying a target positioning point selected by the user according to a selection trigger operation of the user on the positioning point acquired by the positioning device, so as to send the positioning information of the target positioning point to a server based on the first user creation instruction, and the server receives the positioning information of the target positioning point which is sent by the terminal and is greater than a preset precision threshold.
S520, determining whether to feed back a successful creation instruction to the terminal based on the positioning information of the target positioning point; and the creation success instruction is used for indicating the terminal to generate the electronic fence on the map according to the positioning information of the target positioning point.
Optionally, the server determines whether the target calibration sites can successfully create the same electronic fence based on the positioning information of the target positioning points and preset constraint conditions. If yes, returning a creation success instruction to the terminal; if not, returning a creation failure instruction to the terminal.
Optionally, the preset constraint condition includes a constraint condition determined according to a distance between any two target positioning points, for example, the distance between any two target positioning points is calculated according to positioning information of the two target positioning points, and if the distance is not greater than a distance threshold, it is determined that the target positioning points can successfully create the same electronic fence; and if the distance is greater than the distance threshold, determining that the target positioning points cannot successfully create the same electronic fence. The preset constraint conditions may also include constraint conditions determined according to the location area to which each target positioning point belongs, for example, the area to which each positioning point belongs is determined according to the positioning information of each target positioning point and the area range of each preset location area, and if all target positioning points belong to the same location area, it is determined that the target positioning points can successfully create the same electronic fence; and if all the target positioning points do not belong to the same position area, determining that the target positioning points cannot successfully create the same electronic fence.
After receiving a creation success instruction fed back by the server, the terminal generates the electronic fence on the map according to the positioning information of the target positioning point and a preset generation rule.
In this embodiment, the server determines whether to feed back a creation success instruction to the terminal by receiving the positioning information of the target positioning point sent by the terminal and based on the positioning information of the target positioning point. The positioning information is positioning information of positioning points acquired by the terminal through the positioning device, the target positioning point is a positioning point determined by the terminal from the positioning points acquired by the positioning device according to the first user creating instruction, and the creating success instruction is used for indicating the terminal to generate the electronic fence on the map according to the positioning information of the target positioning point. The positioning precision of the positioning device is greater than the preset precision threshold value, so that a target positioning point greater than the preset precision threshold value is obtained, the electronic fence meeting the positioning precision requirement can be generated according to the target positioning point, the position precision of the generated electronic fence is further improved, the electronic fence with high position precision is adopted to limit the parking position and/or the operation area of the shared vehicle, and the standard management effect on collinear vehicles is effectively improved.
In one embodiment, to increase the flexibility of generating the electronic fence, as shown in fig. 6, the method further includes:
s610, receiving creation information sent by a terminal; the creation information includes positioning information of each positioning point and a corresponding relationship between each positioning point and the electronic fence.
Specifically, the terminal responds to the return triggering operation of the positioning point acquired by the positioning device of the user, and generates a second user creation instruction carrying the positioning point for indicating the construction of the same electronic fence. The terminal determines the corresponding relation between each positioning point and the electronic fence based on the second user creating instruction, creates creating information comprising the positioning information of each positioning point and the corresponding relation between each positioning point and the electronic fence, sends the creating information to the server, and the server receives the creating information sent by the terminal.
Optionally, after the server successfully receives the creation instruction, a successful reception notification is returned to the terminal to inform that the server has successfully received the creation instruction.
And S620, determining whether the target positioning points belong to the same electronic fence or not according to the corresponding relation.
Optionally, the server may determine whether the target location point is matched with the same electronic fence according to the correspondence. If the target positioning points are matched with the electronic fences, determining that the target positioning points belong to the same electronic fence; and if not, determining that the target positioning points do not belong to the same electronic fence.
Specifically, the server may specifically determine the electronic fence corresponding to each target positioning point according to the correspondence, determine whether the target positioning point matches with the same electronic fence if the electronic fence corresponding to each target positioning point is the same electronic fence, and determine that the target positioning point does not match with the same electronic fence if the electronic fence corresponding to each target positioning point is not the same electronic fence. For example, the target positioning points include A1-A5, the server determines that the target positioning points A1-A5 all correspond to the electronic fence a according to the corresponding relationship, that is, it can be determined that the target positioning points A1-A5 are matched with the electronic fence a, and the target positioning points A1-A5 belong to the same electronic fence a; on the contrary, if the server determines that the target positioning points A1 to A3 correspond to the electronic fence a and the target positioning points A4 and A5 correspond to the electronic fence B according to the corresponding relationship, it can be determined that the target positioning points A1 to A5 are not matched with the electronic fence a/B and the target positioning points A1 to A5 do not belong to the same electronic fence.
And S630, if the target positioning points belong to the same electronic fence, feeding back a successful creation instruction to the terminal.
Specifically, the server feeds back a creation success instruction to the terminal to instruct the terminal to generate the electronic fence in the case that the target positioning point is determined to belong to the same electronic fence.
In this embodiment, the server receives positioning information including positioning points and creation information of correspondence between the positioning points and the electronic fence, which are sent by the terminal, determines whether the target positioning point belongs to the same electronic fence according to the correspondence, and feeds back a creation success instruction to the terminal to instruct the terminal to generate the electronic fence when the target positioning point belongs to the same electronic fence. The corresponding relation between each positioning point and the electronic fence is used for determining whether the target positioning point can successfully generate the electronic fence, the creating information comprises the corresponding relation, and the creating information is generated by the terminal based on the user's independent selection, so that the subjective selectivity of the user on the generation of the electronic fence is improved, and the flexibility of the generation of the electronic fence is improved.
It should be understood that although the various steps in the flow diagrams of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 7, there is provided an apparatus for generating an electronic fence, including: a positioning acquisition module 701, a target sending module 702, and a fence generation module 703, wherein:
the positioning obtaining module 701 is configured to obtain positioning information of a positioning point through a positioning device; the positioning precision of the positioning device is greater than a preset precision threshold value;
the target sending module 702 is configured to determine a target positioning point from positioning points obtained by the positioning device according to the first user creation instruction, and send positioning information of the target positioning point to the server;
the fence generating module 703 is configured to generate an electronic fence on the map according to the positioning information of the target positioning point, when receiving a creation success instruction sent by the server based on the positioning information of the target positioning point.
In one embodiment, the apparatus further comprises a relationship sending module;
the relation sending module is used for determining the corresponding relation between each positioning point and the electronic fence according to the second user establishing instruction; sending creation information to a server, wherein the creation information comprises positioning information and corresponding relations of positioning points; the creation information is used for indicating the server to feed back a creation success instruction when the target positioning point is determined to belong to the same electronic fence according to the corresponding relation.
In one embodiment, the positioning obtaining module 701 is specifically configured to:
and when detecting that the acquisition control on the display interface is triggered, acquiring positioning information of the positioning point through the positioning device.
In one embodiment, the positioning obtaining module 701 is specifically configured to:
displaying the mark of the positioning point acquired by the positioning device in a display area of a display interface; acquiring a first user creating instruction based on the identifier of the positioning point displayed in the display area, wherein the first user creating instruction comprises the identifier of the positioning point selected by the user; and determining a target positioning point from the positioning points acquired by the positioning device according to the mark of the positioning point selected by the user.
In one embodiment, the method for generating the electronic fence is applied to a terminal, and the positioning device is integrated with the terminal.
In one embodiment, the positioning device is a real-time dynamic carrier phase differential antenna, and the positioning information includes longitude and latitude coordinates of the positioning point.
For the specific definition of the device for generating an electronic fence, reference may be made to the above definition of the method for generating an electronic fence applied to a terminal, and details are not repeated here. The modules in the device for generating the electronic fence can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 8, there is provided an apparatus for generating an electronic fence, including: a positioning receiving module 801 and a result feedback module 802, wherein:
the positioning receiving module 801 is configured to receive positioning information of a target positioning point sent by a terminal; the terminal acquires positioning information of positioning points through a positioning device, a target positioning point is a positioning point determined by the terminal from the positioning points acquired by the positioning device according to a first user creation instruction, and the positioning precision of the positioning device is greater than a preset precision threshold;
the result feedback module 802 is configured to determine whether to feed back a creation success instruction to the terminal based on the positioning information of the target positioning point.
In one embodiment, the apparatus for generating an electronic fence further includes: a corresponding receiving module;
the corresponding receiving module is used for receiving the creation information sent by the terminal; the creating information comprises positioning information of each positioning point and corresponding relations between each positioning point and the electronic fence; determining whether the target positioning points belong to the same electronic fence or not according to the corresponding relation; and if the target positioning points belong to the same electronic fence, feeding back a successful creation instruction to the terminal.
In one embodiment, the positioning device is integrated in the terminal.
In one embodiment, the positioning device is a real-time dynamic carrier phase differential antenna, and the positioning information includes longitude and latitude coordinates of the positioning point.
For the specific definition of the device for generating an electronic fence, reference may be made to the above definition of the method for generating an electronic fence applied to the server, and details are not described here. The modules in the device for generating the electronic fence can be wholly or partially realized by software, hardware and a combination thereof. The modules may be embedded in a hardware form or may be independent of a processor in the electronic device, or may be stored in a memory in the electronic device in a software form, so that the processor calls and executes operations corresponding to the modules.
Fig. 9 is a block diagram illustrating a terminal 1300 according to an example embodiment. For example, terminal 1300 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, terminal 1300 can include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316. Wherein the memory has stored thereon a computer program or instructions for execution on the processor.
Processing component 1302 generally controls overall operation of terminal 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the method described above. Further, processing component 1302 can include one or more modules that facilitate interaction between processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
Memory 1304 is configured to store various types of data to support operation at terminal 1300. Examples of such data include instructions for any application or method operating on terminal 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 1306 provides power to the various components of terminal 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 1300.
The multimedia component 1308 includes a touch-sensitive display screen between the terminal 1300 and the user that provides an output interface. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 1300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when terminal 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for terminal 1300. For example, sensor assembly 1314 can detect an open/closed state of terminal 1300, a relative positioning of components, such as a display and keypad of terminal 1300, sensor assembly 1314 can also detect a change in position of terminal 1300 or a component of terminal 1300, the presence or absence of user contact with terminal 1300, orientation or acceleration/deceleration of terminal 1300, and a change in temperature of terminal 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the terminal 1300 and other devices in a wired or wireless manner. The terminal 1300 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, terminal 1300 can be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing a method of generating an electronic fence.
In an exemplary embodiment, a server is provided, an internal structure diagram of which may be as shown in fig. 10. The server includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the server is configured to provide computing and control capabilities. The memory of the server comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the server is used for storing data used for generating the electronic fence. The network interface of the server is used for communicating with an external terminal through network connection. The computer program when executed by a processor implements a method of generating an electronic fence.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the terminal 1300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a program product is also provided, which computer program, when being executed by a processor, is adapted to carry out the above-mentioned method. The program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, some or all of the methods described above may be implemented, in whole or in part, according to the procedures or functions described in the embodiments of the disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (15)

1. A method of generating an electronic fence, the method comprising:
acquiring positioning information of a positioning point through a positioning device; the positioning precision of the positioning device is greater than a preset precision threshold value;
determining a target positioning point from the positioning points acquired by the positioning device according to the first user establishing instruction, and sending positioning information of the target positioning point to a server;
and if a creation success instruction sent by the server based on the positioning information of the target positioning point is received, generating the electronic fence on the map according to the positioning information of the target positioning point.
2. The method of claim 1, further comprising:
determining the corresponding relation between each positioning point and the electronic fence according to the second user establishing instruction;
sending creation information to the server, wherein the creation information comprises positioning information of each positioning point and the corresponding relation; the creation information is used for indicating the server to feed back the creation success instruction when the target positioning point is determined to belong to the same electronic fence according to the corresponding relation.
3. The method according to claim 1, wherein the obtaining of the positioning information of the positioning point by the positioning device comprises:
and when detecting that the acquisition control on the display interface is triggered, acquiring positioning information of the positioning point through the positioning device.
4. The method according to claim 3, wherein said determining a target positioning point from positioning points obtained by said positioning device according to a first user creation instruction comprises:
displaying the mark of the positioning point acquired by the positioning device in a display area of the display interface;
acquiring the first user establishing instruction based on the mark of the positioning point displayed in the display area, wherein the first user establishing instruction comprises the mark of the positioning point selected by the user;
and determining the target positioning point from the positioning points acquired by the positioning device according to the mark of the positioning point selected by the user.
5. The method according to any one of claims 1-4, wherein the method for generating an electronic fence is applied to a terminal, and the positioning device is integrated with the terminal.
6. The method according to any of claims 1-4, wherein the positioning device is a real-time dynamic carrier-phase differential antenna, and the positioning information comprises longitude and latitude coordinates of the positioning point.
7. A method of generating an electronic fence, the method comprising:
receiving positioning information of a target positioning point sent by a terminal; the positioning information is positioning information of positioning points acquired by the terminal through a positioning device, the target positioning point is a positioning point determined by the terminal from the positioning points acquired by the positioning device according to a first user creating instruction, and the positioning precision of the positioning device is greater than a preset precision threshold;
determining whether to feed back a creation success instruction to the terminal based on the positioning information of the target positioning point; and the creation success instruction is used for indicating the terminal to generate the electronic fence on a map according to the positioning information of the target positioning point.
8. The method of claim 7, further comprising:
receiving creation information sent by the terminal; the creation information comprises positioning information of each positioning point and corresponding relation between each positioning point and the electronic fence;
determining whether the target positioning points belong to the same electronic fence or not according to the corresponding relation;
and if the target positioning point belongs to the same electronic fence, feeding back the creation success instruction to the terminal.
9. The method according to claim 7 or 8, wherein the positioning device is a real-time dynamic carrier phase differential antenna, and the positioning information comprises longitude and latitude coordinates of the positioning point.
10. An apparatus for generating an electronic fence, the apparatus comprising:
the positioning acquisition module is used for acquiring positioning information of the positioning point through the positioning device; the positioning precision of the positioning device is greater than a preset precision threshold value;
the target sending module is used for determining a target positioning point from the positioning points acquired by the positioning device according to the first user establishing instruction and sending the positioning information of the target positioning point to the server;
and the fence generation module is used for generating the electronic fence on the map according to the positioning information of the target positioning point under the condition of receiving a successful creation instruction sent by the server based on the positioning information of the target positioning point.
11. An apparatus for generating an electronic fence, the apparatus comprising:
the positioning receiving module is used for receiving positioning information of a target positioning point sent by the terminal; the terminal acquires positioning information of positioning points through a positioning device, the target positioning point is a positioning point determined by the terminal from the positioning points acquired by the positioning device according to a first user creation instruction, and the positioning precision of the positioning device is greater than a preset precision threshold;
and the result feedback module is used for determining whether to feed back a creation success instruction to the terminal based on the positioning information of the target positioning point.
12. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor realizes the steps of the method of any one of claims 1 to 6 when executing the computer program.
13. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 7 to 9 are implemented by the processor when executing the computer program.
14. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 9.
15. A program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 9 when executed by a processor.
CN202111022277.0A 2021-09-01 2021-09-01 Method, device, terminal, server and storage medium for generating electronic fence Pending CN115762115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111022277.0A CN115762115A (en) 2021-09-01 2021-09-01 Method, device, terminal, server and storage medium for generating electronic fence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111022277.0A CN115762115A (en) 2021-09-01 2021-09-01 Method, device, terminal, server and storage medium for generating electronic fence

Publications (1)

Publication Number Publication Date
CN115762115A true CN115762115A (en) 2023-03-07

Family

ID=85332305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111022277.0A Pending CN115762115A (en) 2021-09-01 2021-09-01 Method, device, terminal, server and storage medium for generating electronic fence

Country Status (1)

Country Link
CN (1) CN115762115A (en)

Similar Documents

Publication Publication Date Title
CN109479180B (en) Method and terminal for displaying current geographic position on emergency call interface
CN104834559B (en) Notification message display method and device
EP3316527A1 (en) Method and device for managing notification messages
US10194273B2 (en) Positioning information processing method and apparatus
EP3448068B1 (en) Method, terminal and computer-readable storage medium for displaying updated entry
EP3958110B1 (en) Speech control method and apparatus, terminal device, and storage medium
CN106157602A (en) The method and apparatus of calling vehicle
CN105509735A (en) Method, apparatus and terminal for prompting information
CN105242837B (en) Five application page acquisition methods and terminal
CN105511739A (en) Message prompting method and device
CN104951522B (en) Method and device for searching
US20150350824A1 (en) Method and device for determining position
CN113031837B (en) Content sharing method and device, storage medium, terminal and server
EP3667453A1 (en) Drone control method and device, drone and core network device
CN106506808B (en) Method and device for prompting communication message
CN114025047B (en) Message processing method, device, system, electronic equipment and storage medium
CN108009676B (en) Pet route planning method and device
CN113580987B (en) Charging control method and device of charging pile and electronic equipment
CN115762115A (en) Method, device, terminal, server and storage medium for generating electronic fence
CN114296587A (en) Cursor control method and device, electronic equipment and storage medium
CN109813295B (en) Orientation determination method and device and electronic equipment
CN113259995A (en) Information processing method, device and storage medium
CN108365645B (en) Charging control method and device and storage medium
CN109120499B (en) Information processing method and device
CN104317480A (en) Character key display method, 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