Business processing method and device, electronic equipment and computer readable medium
By obtaining the user ID and address ID, and calling the address library to determine the target coordinate points and the fence, it solves the problem that the map platform GIS order-dividing technology cannot identify the control area, achieving accurate order processing and efficiency improvement.
Patent Information
- Application Number
- CN202310664257.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2024-12-06
AI Technical Summary
The existing map platform GIS order-dividing technology cannot identify whether the address area is under control, resulting in some orders being unable to be collected and distributed in a timely manner, reducing processing efficiency.
By obtaining the user ID and address ID, calling the address library to determine the target coordinate point of the entity and matching it with the target fence, it prevents the order generation process and generates prompt information to ensure that the order cannot be collected or distributed in the control area.
It realizes accurate identification and processing of orders, ensures that orders in the control area promptly remind customers, avoid losses, and improves the processing efficiency of collection and delivery services.
Smart Images

Figure CN119090371A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a business processing method, device, electronic device and computer-readable medium. Background Art
[0002] At present, the GIS order splitting technology of the map platform plays a vital role in the collection and delivery of self-operated and external orders in logistics. It handles tens of millions of orders every day, ensuring that each order can be accurately sorted to the target business point and the user. However, during the control period, the existing order splitting technology cannot identify whether the area where the address is located cannot place orders and collect and deliver due to control, and cannot accurately identify which order addresses are under control, resulting in the inability to collect and deliver orders from users in some controlled communities or streets in a timely manner, and the processing efficiency of collection and delivery business is low. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a business processing method, device, electronic device and computer-readable medium, which can solve the problem that orders from users in some existing controlled communities or streets cannot be collected and delivered in a timely manner, and the processing efficiency of collection and delivery services is low.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present application, a service processing method is provided, including:
[0005] In response to the business processing request, obtaining the corresponding user identifier and address identifier;
[0006] Call the address library to determine the corresponding entity according to the address identifier;
[0007] Determine the target coordinate point corresponding to the entity, in response to the target coordinate point matching the target fence, stop the order generation process from running, generate prompt information and output it.
[0008] Optionally, before preventing the order generation process from running, the method further comprises:
[0009] Get the coordinate points corresponding to the permission restricted area;
[0010] Generate target fence based on coordinate points.
[0011] Optionally, based on the coordinate points, a target fence is generated, including:
[0012] Determine the distance value between adjacent coordinate points;
[0013] According to the distance value, the coordinate points are clustered to obtain clusters of each coordinate point;
[0014] For each coordinate point cluster, the corresponding coordinate points are connected in sequence to generate a target fence.
[0015] Optionally, after generating the target fence, the method further includes:
[0016] In response to the presence of a newly added permission restriction area, determining a corresponding newly added coordinate point;
[0017] Update the target fence based on the newly added coordinate points.
[0018] Optionally, update the target fence, including:
[0019] Calculate the sum of the distances between the newly added coordinate point and the two adjacent coordinate points in the target fence;
[0020] Connect the newly added coordinate point with the two coordinate points corresponding to the minimum sum of the distance values, and then update the target fence.
[0021] Optionally, after generating the target fence, the method further includes:
[0022] In response to the existing permission restriction area being removed, determining a corresponding removal coordinate point;
[0023] The subtracted coordinate points are matched with each target fence, and in response to the subtracted coordinate points matching all coordinate points of a target fence, the corresponding target fence is deleted.
[0024] Optionally, before obtaining the corresponding user identifier and address identifier, the method further includes:
[0025] In response to the business processing request carrying a third-party identifier, an authority verification process is executed based on the third-party identifier, and in response to successful verification, a corresponding user identifier and address identifier acquisition process is executed.
[0026] In addition, the present application also provides a service processing device, including:
[0027] An acquisition unit, configured to acquire a corresponding user identifier and an address identifier in response to a service processing request;
[0028] The entity determination unit is configured to call the address library to determine the corresponding entity according to the address identifier;
[0029] The matching unit is configured to determine a target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, block the running order generation process, generate prompt information and output it.
[0030] Optionally, the service processing device further includes a target fence generating unit configured to:
[0031] Get the coordinate points corresponding to the permission restricted area;
[0032] Generate target fence based on coordinate points.
[0033] Optionally, the target fence generation unit is further configured to:
[0034] Determine the distance value between adjacent coordinate points;
[0035] According to the distance value, the coordinate points are clustered to obtain clusters of each coordinate point;
[0036] For each coordinate point cluster, the corresponding coordinate points are connected in sequence to generate a target fence.
[0037] Optionally, the service processing device further includes a target fence updating unit configured to:
[0038] In response to the presence of a newly added permission restriction area, determining a corresponding newly added coordinate point;
[0039] Update the target fence based on the newly added coordinate points.
[0040] Optionally, the target fence updating unit is further configured to:
[0041] Calculate the sum of the distances between the newly added coordinate point and the two adjacent coordinate points in the target fence;
[0042] Connect the newly added coordinate point with the two coordinate points corresponding to the minimum sum of the distance values, and then update the target fence.
[0043] Optionally, the service processing method further includes a fence deletion unit configured to:
[0044] In response to the existing permission restriction area being removed, determining a corresponding removal coordinate point;
[0045] The subtracted coordinate points are matched with each target fence, and in response to the subtracted coordinate points matching all coordinate points of a target fence, the corresponding target fence is deleted.
[0046] Optionally, the service processing device further includes a third-party verification unit configured to:
[0047] In response to the business processing request carrying a third-party identifier, an authority verification process is executed based on the third-party identifier, and in response to successful verification, a corresponding user identifier and address identifier acquisition process is executed.
[0048] In addition, the present application also provides a business processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the business processing method as described above.
[0049] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the business processing method as described above is implemented.
[0050] An embodiment of the above invention has the following advantages or beneficial effects: the application obtains the corresponding user identifier and address identifier by responding to the business processing request; calls the address library to determine the corresponding entity according to the address identifier; determines the target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, stops the running order generation process, generates prompt information and outputs it. By accurately matching the fence, it is possible to accurately determine in real time whether the user's order can be collected and delivered in time, and promptly prompt the customer when it cannot be collected and delivered in time to avoid losses, and can improve the processing efficiency of the collection and delivery business.
[0051] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.
[0053] Figure 1 It is a schematic diagram of the main process of a business processing method provided according to an embodiment of the present application;
[0054] Figure 2 It is a schematic diagram of the main process of a business processing method provided according to an embodiment of the present application;
[0055] Figure 3 This is a schematic diagram of an application scenario of a business processing method provided according to an embodiment of the present application;
[0056] Figure 4 is a schematic diagram of main units of a service processing device according to an embodiment of the present application;
[0057] Figure 5 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;
[0058] Figure 6 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION
[0059] The following is an explanation of the exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. It should be noted that in the technical solution of the present disclosure, the collection, collection, update, analysis, processing, use, transmission, storage and other aspects of user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Take necessary measures for user personal information to prevent illegal access to user personal information data and maintain user personal information security, network security and national security.
[0060] Figure 1 is a schematic diagram of the main process of a business processing method provided according to an embodiment of the present application, such as Figure 1 As shown, the business processing method includes:
[0061] Step S101, in response to a service processing request, obtaining a corresponding user identifier and address identifier.
[0062] A business processing request, for example, may be a request for a user to place an order. When the execution subject (for example, a server) detects that a user has placed an order on a shopping website, it may obtain the corresponding user identifier, such as a user account name or user number or order number, and may also obtain the address identifier carried in the request, such as the address name filled in by the user. The address identifier may also be the longitude and latitude of the address filled in by the user, and the embodiment of the present application does not specifically limit the address identifier.
[0063] Specifically, before obtaining the corresponding user identifier and address identifier, the service processing method further includes:
[0064] In response to the business processing request carrying a third-party identifier, an authority verification process is executed based on the third-party identifier, and in response to successful verification, a corresponding user identifier and address identifier acquisition process is executed.
[0065] The business processing method of the embodiment of the present application can access a third party, but it is necessary to perform permission verification on the third party to be connected. Specifically, appkay association binding can be used to achieve data isolation and system permission verification. When the verification is successful, the user ID and address ID of the connected third party are obtained.
[0066] Step S102, calling the address library to determine the corresponding entity according to the address identifier.
[0067] When the execution subject obtains the address identifier, it can call a preset address library, in which the mapping relationship between the address identifier and the entity can be stored, so as to determine the entity corresponding to the obtained address identifier according to the address library. The entity can include commercial buildings, residential communities, office buildings, etc. The embodiment of the present application does not specifically limit the specific reference to the entity.
[0068] Step S103, determining the target coordinate point corresponding to the entity, in response to the target coordinate point matching the target fence, preventing the order generation process from running, generating prompt information and outputting it.
[0069] After determining the entity corresponding to the address identifier, the corresponding relationship library between the entity and the coordinate point can be called to determine the corresponding coordinate point according to the entity. For example, if the entity is community A, the corresponding coordinate point is Point (116.55504941940309, 39.79632914196111), and then the determined coordinate point is matched with the target fence with control to determine whether the coordinate point is within the target fence. If so, the generation process of the order placed by the user is blocked, and a prompt message is generated, such as "This address cannot be collected or delivered, please verify before placing an order". The embodiment of the present application does not specifically limit the format and content of the prompt message. Finally, the prompt message is output to the user for subsequent decision-making.
[0070] This embodiment obtains the corresponding user identifier and address identifier in response to the business processing request; calls the address library to determine the corresponding entity according to the address identifier; determines the target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, stops the order generation process from running, generates prompt information and outputs it. By accurately matching the fence, it can accurately determine in real time whether the user's order can be collected and delivered in time, and promptly prompt the customer when it cannot be collected and delivered in time to avoid losses, and can improve the processing efficiency of the collection and delivery business.
[0071] Figure 2 is a schematic diagram of the main flow of a business processing method provided according to an embodiment of the present application, such as Figure 2 As shown, the business processing method includes:
[0072] Step S201, obtaining coordinate points corresponding to the permission restriction area.
[0073] Specifically, the authority restricted area may be, for example, an area where a major health accident occurs, or an area where a major traffic safety accident occurs. The embodiment of the present application does not specifically limit the definition of the authority restricted area. The coordinate points corresponding to the authority restricted area may be, for example, coordinate points corresponding to each entity within the authority restricted area. The coordinate points may be longitude and latitude coordinates or two-dimensional coordinates. The embodiment of the present application does not specifically limit the coordinate points.
[0074] Step S202: Generate a target fence based on the coordinate points.
[0075] By connecting the coordinate points in a preset order, a fence can be generated. When the fence is a closed fence, it can be used as a target fence for subsequent business processing.
[0076] Specifically, based on the coordinate points, a target fence is generated, including:
[0077] Determine the distance value between adjacent coordinate points; cluster the coordinate points according to the distance value to obtain each coordinate point cluster; for each coordinate point cluster, sequentially connect the corresponding coordinate points to generate a target fence.
[0078] For example, the coordinate points are clustered based on the distance, that is, when the distance between two adjacent coordinate points is less than a preset threshold, the two adjacent coordinate points can be put into the same cluster, so that one or more clusters can be obtained, and then in each cluster, the adjacent coordinate points are connected to generate a target fence corresponding to each cluster. That is, the number of target fences is the same as the number of clusters.
[0079] Specifically, after generating the target fence, the method further includes: in response to the existence of a newly added permission restriction area, determining a corresponding newly added coordinate point; and updating the target fence based on the newly added coordinate point.
[0080] When a permission-restricted area is added near a target fence, the execution subject can determine the entity corresponding to the newly added permission-restricted area, thereby determining the corresponding newly added coordinate points. The newly added coordinate points are matched with the coordinate points corresponding to each target fence, and the target fence corresponding to the matched coordinate points is updated based on the newly added coordinate points.
[0081] Specifically, updating the target fence includes: calculating the sum of distance values between the newly added coordinate point and two adjacent coordinate points in the target fence; connecting the newly added coordinate point with the two coordinate points corresponding to the minimum sum of the distance values, and then updating the target fence.
[0082] To determine the specific position of the newly added coordinate point in the matching target fence, it is necessary to calculate the sum of the distances between the newly added coordinate point and two adjacent coordinate points in the matching target fence, insert the newly added coordinate point between the two coordinate points with the smallest sum of distances, and update the matching target fence.
[0083] Specifically, after generating the target fence, the method further includes:
[0084] In response to the existing permission restriction area being removed, determining a corresponding removal coordinate point;
[0085] The subtracted coordinate points are matched with each target fence, and in response to the subtracted coordinate points matching all coordinate points of a target fence, the corresponding target fence is deleted.
[0086] When the execution subject detects that a certain permission restriction area is removed, the corresponding coordinate point is determined and used as the removal coordinate point. The coordinate point corresponding to the removal coordinate point in each target fence is deleted to update the target fence. When the execution subject detects that multiple permission restriction areas are removed, that is, the permission restriction is cancelled, the execution subject can determine the corresponding multiple removal coordinate points. When the multiple removal coordinate points happen to be all the coordinate points contained in a certain target fence (for example, target fence 1), the target fence (for example, target fence 1) is deleted.
[0087] Step S203, in response to the service processing request, obtaining the corresponding user identifier and address identifier.
[0088] The target fence can be a five-level address fence to achieve accurate matching fence technology. After generating the target fence and updating the target fence in real time, the execution subject can always detect whether the business processing request is received. After receiving the business processing request, the user identifier and address identifier are obtained, and then the address identifier is matched with the five-level address fence.
[0089] Step S204, calling the address library to determine the corresponding entity according to the address identifier.
[0090] Entities can be, for example, large buildings such as hospitals, schools, and shopping malls.
[0091] Step S205, determining the target coordinate point corresponding to the entity, in response to the target coordinate point matching the target fence, preventing the order generation process from running, generating prompt information and outputting it.
[0092] The target coordinate point corresponding to the entity may be a coordinate point obtained by rounding off a coordinate range. The embodiment of the present application does not specifically limit the target coordinate point. The target coordinate point matches the target fence, which may be that the target coordinate point is within the target fence or at the edge of the target fence. The embodiment of the present application does not specifically limit the determination of the match between the target coordinate point and the target fence.
[0093] The embodiments of the present application can realize real-time and accurate judgment on whether the user's order can be collected and delivered in time by accurately matching the fence, and promptly remind the customer when it cannot be collected and delivered in time to avoid losses, and can improve the processing efficiency of the collection and delivery business.
[0094] Figure 31 is a schematic diagram of an application scenario of a business processing method provided according to an embodiment of the present application. The business processing method of the embodiment of the present application is applied to a scenario of processing user orders under control conditions.
[0095] like Figure 3 As shown, step 1 implements five-level address fence writing. First, it is written into the PGsql database, and multiple data types are supported. The fence is an irregular shape formed by a series of coordinate points. In order to ensure the efficiency of subsequent fence matching, Redis is used to store fence data.
[0096] Step 2: Permission verification: When the five-level address fence is accurately matched, permission management is implemented through the application and binding of appkey to ensure fence data isolation and system call permissions. The process ends when the permission verification is not completed. When the permission verification passes, execute step 3.
[0097] Step 3: Coordinate matching. When a user places an order, the coordinates of the address where the user places the order are first parsed, and then the fence can be matched. The accuracy of the coordinates of the order address directly affects the accuracy of the match, and the efficiency of obtaining the coordinates will also affect the overall performance. Therefore, the existing address library is optimized and the cache of the address library is optimized to improve performance. The process ends when no coordinates are matched, and step 4 is executed when the coordinates are matched.
[0098] Step 4: Fence matching. Fence matching is to obtain the coordinate point according to the address, obtain the fence index corresponding to the coordinate point from the fence information Redis, and match the corresponding fence identifier according to the fence index, and determine whether the fence identifier can be obtained. If so, obtain the corresponding fence information, and determine whether the coordinate point exists in the fence corresponding to the fence information through the point surface. If the coordinate point exists in the fence, return the fence information. The process ends when the fence identifier cannot be obtained.
[0099] Through the precise matching of the five-level address fence, the fence can be accurately matched when the user places an order, especially for the control fence, to achieve precise control and refined operation. Five-level address fence matching: By dividing the fence under the five-level address, when the user places an order, it can be accurately matched to which five-level fence the order belongs to, such as identifying whether the order is in the epidemic control area, etc., so as to make a timely decision.
[0100] During the control period, we were unable to accurately control and predict user orders, which led to problems in fulfillment of some orders, resulting in a very poor user experience and huge operating costs for the company. Through the five-level address fence technology, during the control period, we can accurately match the control fence and then ensure in real time whether the user's order can be collected and delivered in time. At the same time, the company is also the first company in the domestic logistics industry to accurately identify the terminal collection and delivery address.
[0101] Figure 4 Schematic diagram of the main units of the service processing device according to an embodiment of the present application. Figure 4 As shown, the service processing device 400 includes an acquisition unit 401 , an entity determination unit 402 and a matching unit 403 .
[0102] The acquisition unit 401 is configured to acquire the corresponding user identifier and address identifier in response to the service processing request.
[0103] The entity determination unit 402 is configured to call the address library to determine the corresponding entity according to the address identifier.
[0104] The matching unit 403 is configured to determine the target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, block the order generation process from running, generate prompt information and output it.
[0105] In some embodiments, the device further comprises Figure 4 The target fence generation unit not shown in the figure is configured to: obtain the coordinate points corresponding to the permission restriction area; and generate the target fence based on the coordinate points.
[0106] In some embodiments, the target fence generation unit is further configured to: determine the distance value between adjacent coordinate points; cluster the coordinate points according to the distance value to obtain each coordinate point cluster; for each coordinate point cluster, connect the corresponding coordinate points in turn to generate a target fence.
[0107] In some embodiments, the service processing device further includes Figure 4 The target fence updating unit not shown in the figure is configured to: in response to the existence of a newly added permission restriction area, determine the corresponding newly added coordinate points; and update the target fence based on the newly added coordinate points.
[0108] In some embodiments, the target fence update unit is further configured to: calculate the sum of the distance values between the newly added coordinate point and two adjacent coordinate points in the target fence; connect the newly added coordinate point and the two coordinate points corresponding to the minimum sum of the distance values, and then update the target fence.
[0109] In some embodiments, the business processing method further includes Figure 4 The fence deletion unit not shown in the figure is configured to: determine the corresponding subtraction coordinate point in response to the existing permission restriction area being subtracted; match the subtraction coordinate point with each target fence, and in response to the subtraction coordinate point matching all coordinate points of a target fence, delete the corresponding target fence.
[0110] In some embodiments, the service processing device further includes Figure 4The third-party verification unit not shown in the figure is configured to: in response to the business processing request carrying a third-party identifier, execute the authority verification process based on the third-party identifier, and in response to the verification being successful, execute the corresponding user identifier and address identifier acquisition process.
[0111] It should be noted that the business processing method and the business processing device of the present application have a corresponding relationship in terms of specific implementation content, so the repeated content will not be described again.
[0112] Figure 5 An exemplary system architecture 500 is shown to which the service processing method or service processing device according to the embodiment of the present application can be applied.
[0113] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0114] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0115] The terminal devices 501, 502, 503 may be various electronic devices having a service processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0116] Server 505 can be a server that provides various services, such as a background management server that provides support for tasks submitted by users using terminal devices 501, 502, and 503 (only as an example). The background management server can respond to business processing requests, obtain corresponding user identifiers and address identifiers; call the address library to determine the corresponding entity based on the address identifier; determine the target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, stop the running order generation process, generate prompt information and output it. By accurately matching the fence, it is possible to accurately determine in real time whether the user's order can be collected and delivered in time, and promptly remind the customer when it cannot be collected and delivered in time to avoid losses, and the processing efficiency of the collection and delivery business can be improved.
[0117] It should be noted that the business processing method provided in the embodiment of the present application is generally executed by the server 505 , and accordingly, the business processing device is generally set in the server 505 .
[0118] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0119] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present application. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0120] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0121] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0122] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.
[0123] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0124] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0125] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition unit, an entity determination unit, and a matching unit. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0126] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device responds to a business processing request, obtains a corresponding user identifier and an address identifier; calls an address library to determine a corresponding entity according to the address identifier; determines a target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, blocks the order generation process from running, generates prompt information, and outputs it.
[0127] According to the technical solution of the embodiment of the present application, by accurately matching the fence, it is possible to accurately judge in real time whether the user's order can be collected and delivered in time, and promptly remind the customer when it cannot be collected and delivered in time to avoid losses, and the processing efficiency of the collection and delivery business can be improved.
[0128] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A business processing method, characterized in that: include: In response to the business processing request, obtaining the corresponding user identifier and address identifier; Calling the address library to determine the corresponding entity according to the address identifier; Determine the target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, stop the order generation process from running, generate prompt information and output it.
2. The method according to claim 1, characterized in that Before preventing the order generation process from running, the method further includes: Get the coordinate points corresponding to the permission restricted area; Based on the coordinate points, a target fence is generated.
3. The method according to claim 2, characterized in that The step of generating a target fence based on the coordinate points includes: Determine the distance value between adjacent coordinate points; Clustering the coordinate points according to the distance values to obtain clusters of coordinate points; For each coordinate point cluster, the corresponding coordinate points are connected in sequence to generate a target fence.
4. The method according to claim 2, characterized in that: After generating the target fence, the method further includes: In response to the presence of a newly added permission restriction area, determining a corresponding newly added coordinate point; Based on the newly added coordinate points, the target fence is updated.
5. The method according to claim 4, characterized in that The updating of the target fence comprises: Calculating the sum of distances between the newly added coordinate point and two adjacent coordinate points in the target fence; The newly added coordinate point is connected to the two coordinate points corresponding to when the sum of the distance values is the smallest, thereby updating the target fence.
6. The method according to claim 2, characterized in that After generating the target fence, the method further includes: In response to the existing permission restriction area being removed, determining a corresponding removal coordinate point; The subtracted coordinate points are matched with each target fence, and in response to the subtracted coordinate points being matched with all coordinate points of a target fence, the corresponding target fence is deleted.
7. The method according to claim 1, characterized in that Before obtaining the corresponding user identifier and address identifier, the method further includes: In response to the business processing request carrying a third-party identifier, a permission verification process is executed based on the third-party identifier, and in response to successful verification, a corresponding user identifier and address identifier acquisition process is executed.
8. A service processing device, characterized in that: include: An acquisition unit, configured to acquire a corresponding user identifier and an address identifier in response to a service processing request; An entity determination unit is configured to call an address library to determine a corresponding entity according to the address identifier; The matching unit is configured to determine the target coordinate point corresponding to the entity, and in response to the target coordinate point matching the target fence, prevent the order generation process from running, generate prompt information and output it.
9. The device according to claim 8, characterized in that The device also includes a target fence generating unit configured to: Get the coordinate points corresponding to the permission restricted area; Based on the coordinate points, a target fence is generated.
10. The device according to claim 9, characterized in that The target fence generation unit is further configured to: Determine the distance value between adjacent coordinate points; Clustering the coordinate points according to the distance values to obtain clusters of coordinate points; For each coordinate point cluster, the corresponding coordinate points are connected in sequence to generate a target fence.
11. A business processing electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
