Business processing method and device, electronic equipment and computer readable medium
By monitoring the delivery staff’s location modification behavior, false address modification is prevented, and the problem of delivery staff’s false filing and false arrivals to the destination is solved, and delivery accuracy is improved.
Patent Information
- Application Number
- CN202411165943.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-10
AI Technical Summary
Existing delivery staff use simulated geolocation software to modify location information, resulting in false bidding and false arrivals to the destination, reducing delivery accuracy.
By obtaining the login user ID, determining the user's job type, and adding the work package name to the monitoring method, responding to the callback information received by the target monitoring interface, and returning the call failure information when the target positioning modification method is detected, generating and sending a prompt message Block address modification.
Accurately capture the delivery officer's violations, refuse address modification, avoid false and proper bidding, and improve delivery accuracy.
Smart Images

Figure CN119106996A_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, when a deliveryman delivers goods, in order to verify whether the deliveryman has arrived at the delivery location, the deliveryman app uses the mobile phone positioning to obtain the location information and sends it to the back-end interface. Then, the back-end interface determines whether the deliveryman has arrived at the delivery range. If he is not in the delivery range, the deliveryman is prohibited from delivering the goods. If he is within the delivery range, the deliveryman is allowed to deliver the goods. The existing technology simply verifies the location information of the deliveryman. Nowadays, there is software in Android phones that can modify the location information. The location information of the mobile phone can be modified to any desired location. Therefore, the location information delivered by the deliveryman to the back-end interface can be false. In this way, there will be deliverymen who use software that simulates geographic location information to modify their location information and deliver goods to non-delivery destinations, which has a very bad impact on the user experience, and is prone to false delivery and false arrival at the destination, and the delivery accuracy 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 problems of false delivery, false arrival at the destination and low delivery accuracy of existing delivery personnel.
[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, obtain the corresponding login user identification, and determine the corresponding user job type based on the login user identification;
[0006] Determine the work software package name based on the user's job type, and add the work software package name to the monitoring method;
[0007] In response to the target monitoring interface receiving callback information based on the monitoring method, determining a target positioning modification method based on the callback information;
[0008] In response to detecting that the target positioning modification method is called, returning call failure information;
[0009] Generate prompt information based on the login user ID, user job type and call failure information, and send the prompt information to the preset business processing node.
[0010] Optionally, determining a corresponding user job type based on the login user identifier includes:
[0011] Based on the login user ID, determine the corresponding user role;
[0012] Determine the user's job type based on the user role.
[0013] Optionally, determining a target positioning modification method based on the callback information includes:
[0014] Get the method identifier in the callback information, and determine the target positioning modification method according to the method identifier.
[0015] Optionally, in response to detecting that the target positioning modification method is called, calling failure information is returned, including:
[0016] When it is detected that a program calls the target positioning modification method, a call failure flag is returned to the program.
[0017] Optionally, a prompt message is generated based on the login user ID, user job type and call failure information, including:
[0018] Obtain a receivable notification channel corresponding to the user's job type, and determine a first receivable information format based on the receivable notification channel;
[0019] Based on the login user ID and user job type, obtain the corresponding violation handling policy information;
[0020] The violation handling policy information, the login user identification, the user job type and the call failure information are used to generate corresponding warning information based on the first receivable information form.
[0021] Optionally, a prompt message is generated based on the login user ID, user job type and call failure information, including:
[0022] Determine the management node associated with the user job type, and determine the second receivable information format corresponding to the management node;
[0023] Generate corresponding report information based on the second receivable information format based on the violation handling policy information, login user identification, user job type and call failure information.
[0024] Optionally, sending the prompt information to a preset service processing node includes:
[0025] Send warning information to the user node corresponding to the logged-in user ID;
[0026] Send report information to the management node.
[0027] In addition, the present application also provides a service processing device, including:
[0028] An acquisition unit is configured to acquire a corresponding login user identifier in response to a business processing request, and determine a corresponding user job type based on the login user identifier;
[0029] An adding unit is configured to determine a work software package name based on a user's job type, and add the work software package name to the monitoring method;
[0030] a method determination unit configured to determine a target location modification method based on the callback information in response to the target monitoring interface receiving the callback information based on the monitoring method;
[0031] an information returning unit, configured to return a calling failure message in response to detecting that the target positioning modification method is called;
[0032] The sending unit is configured to generate prompt information based on the login user identification, user job type and call failure information, and send the prompt information to a preset business processing node.
[0033] Optionally, the acquisition unit is further configured to:
[0034] Based on the login user ID, determine the corresponding user role;
[0035] Determine the user's job type based on the user role.
[0036] Optionally, the method determination unit is further configured to:
[0037] Get the method identifier in the callback information, and determine the target positioning modification method according to the method identifier.
[0038] Optionally, the information returning unit is further configured to:
[0039] When it is detected that a program calls the target positioning modification method, a call failure flag is returned to the program.
[0040] Optionally, the sending unit is further configured to:
[0041] Obtain a receivable notification channel corresponding to the user's job type, and determine a first receivable information format based on the receivable notification channel;
[0042] Based on the login user ID and user job type, obtain the corresponding violation handling policy information;
[0043] The violation handling policy information, the login user identification, the user job type and the call failure information are used to generate corresponding warning information based on the first receivable information form.
[0044] Optionally, the sending unit is further configured to:
[0045] Determine the management node associated with the user job type, and determine the second receivable information format corresponding to the management node;
[0046] Generate corresponding report information based on the second receivable information format based on the violation handling policy information, login user identification, user job type and call failure information.
[0047] Optionally, the sending unit is further configured to:
[0048] Send warning information to the user node corresponding to the logged-in user ID;
[0049] Send report information to the management node.
[0050] 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.
[0051] 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.
[0052] To achieve the above objective, according to another aspect of the embodiments of the present application, a computer program product is provided.
[0053] A computer program product according to an embodiment of the present application includes a computer program, and when the program is executed by a processor, the business processing method provided by the embodiment of the present application is implemented.
[0054] One embodiment of the above invention has the following advantages or beneficial effects: the application obtains the corresponding login user ID in response to the business processing request, determines the corresponding user job type based on the login user ID; determines the work software package name based on the user job type, and adds the work software package name to the monitoring method; in response to the target monitoring interface receiving the callback information based on the monitoring method, determines the target positioning modification method based on the callback information; in response to detecting that the target positioning modification method is called, returns the call failure information; generates prompt information based on the login user ID, user job type and call failure information, and sends the prompt information to the preset business processing node. In this way, the behavior of the delivery person illegally modifying the delivery destination address can be accurately captured, and the address modification can be rejected and a prompt can be given to avoid false delivery and improve delivery accuracy.
[0055] 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
[0056] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.
[0057] Figure 1 is a schematic diagram of the main process of a business processing method according to an embodiment of the present application;
[0058] Figure 2is a schematic diagram of the main process of a business processing method according to an embodiment of the present application;
[0059] Figure 3 It is a main flow chart of a business processing method according to an embodiment of the present application;
[0060] Figure 4 is a module diagram of a business processing method according to an embodiment of the present application;
[0061] Figure 5 is a schematic diagram of main units of a service processing device according to an embodiment of the present application;
[0062] Figure 6 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;
[0063] Figure 7 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
[0064] 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 known functions and structures is omitted in the following description. It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of the present application, certain software, components, models, and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or must have used the solution. In the technical solution of the present application, the collection, collection, update, analysis, processing, use, transmission, storage, etc. of the user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, and do not violate public order and good customs, are not shared, leaked or sold outside these legal uses, and are subject to supervision and management by regulatory authorities. Take necessary measures to prevent illegal access to such user personal information data, maintain the security of user personal information, network security and national security, ensure that persons who have access to personal information data comply with relevant laws and regulations, and ensure the security of user personal information. Once such user personal information data is no longer needed, the risk should be minimized by limiting or even prohibiting data collection and / or deleting data.
[0065] When used, including in certain related applications, user privacy is protected by de-identifying data, such as by removing specific identifiers when used, controlling the amount or specificity of data stored, controlling how data is stored, and / or other methods of de-identification.
[0066] Figure 1 is a schematic diagram of the main process of a business processing method according to an embodiment of the present application, such as Figure 1 As shown, the business processing method includes:
[0067] Step S101, in response to a business processing request, obtain a corresponding login user identifier, and determine a corresponding user job type based on the login user identifier.
[0068] In this embodiment, the execution subject of the business processing method (for example, it can be a server) can receive the business processing request through a wired connection or a wireless connection. Specifically, the business processing request can be a request to capture and process the delivery person's illegal modification of the geographical location information to make a false delivery. After receiving the business processing request, the execution subject can obtain the login user identifier carried in the request. Specifically, the login user identifier can be the login user's account, nickname or code, etc. The embodiment of the present application does not specifically limit the login user identifier.
[0069] After obtaining the login user ID corresponding to the business processing request, the execution subject can determine the corresponding user job type according to the obtained login user ID. For example, the user job type may include a driver, a courier, etc., and the embodiment of the present application does not specifically limit the user job type.
[0070] Specifically, determining the corresponding user job type based on the login user identification includes: determining the corresponding user role based on the login user identification; and determining the user job type according to the user role.
[0071] The execution subject matches the login user ID with each key-value pair in the preset ID-role relationship database to obtain a matching key-value pair, and determines the role in the matching key-value pair as the user role corresponding to the login user ID. Each user role has a corresponding user job type, and the execution subject can call the role-job type relationship database to determine the matching user job type according to the user role.
[0072] Step S102: determine the work software package name based on the user's job type, and add the work software package name to the monitoring method.
[0073] Since the work software used by each user type is different, each user type has a unique corresponding work software, and accordingly has a unique corresponding work software package name. After determining the work software package name corresponding to the user type of the logged-in user, the execution subject can add the determined work software package name to the monitoring method. The monitoring method can be used to monitor whether the logged-in user calls the method for modifying the location corresponding to the work software package to modify the location information.
[0074] Step S103: in response to the target monitoring interface receiving callback information based on the monitoring method, determining a target positioning modification method based on the callback information.
[0075] The target monitoring interface may be, for example, an API of an xposed hook. The callback information may be, for example, information about monitoring a method being called to modify the location. The callback information may carry the name or identifier of the method being called to modify the location.
[0076] Specifically, determining the target positioning modification method based on the callback information includes: obtaining a method identifier in the callback information, and determining the target positioning modification method according to the method identifier.
[0077] The method identifier in the callback information may be the name or identifier of the method called for modifying the positioning, etc. The corresponding method for modifying the positioning, ie, the target positioning modification method, may be determined through the method identifier.
[0078] Step S104: in response to detecting that the target positioning modification method is called, returning call failure information.
[0079] After determining the target location modification method, if the target location modification method has not been called for formal execution, the execution subject does not need to process it. If it is detected that the target location modification method has been called for execution, it indicates that the user wants to actually modify the geographic location information. In order to prevent the modification of the geographic location information, the execution subject can return a call failure message to the party that calls the target location modification method to make this method call invalid, thereby avoiding false delivery.
[0080] Step S105: Generate prompt information based on the login user identifier, user job type and call failure information, and send the prompt information to a preset business processing node.
[0081] For example, the prompt information may include warning information or report information, wherein the warning information is used to be sent to the user corresponding to the login user ID, and the report information is used to be sent to the management node, so as to achieve effective warning against false delivery.
[0082] Specifically, the prompt information is generated based on the login user identification, user job type and call failure information, including: obtaining a receivable notification channel corresponding to the user job type, and determining a first receivable information form based on the receivable notification channel; obtaining corresponding violation handling policy information based on the login user identification and user job type; and generating corresponding warning information based on the violation handling policy information, login user identification, user job type and call failure information based on the first receivable information form.
[0083] The first receivable information form can be the user corresponding to the logged-in user ID, such as the driver or delivery boy's handheld terminal that can receive information, such as: text messages, instant messages on communication software, etc. The first receivable information form is not specifically limited in this embodiment of the application. Violation handling policy information may include punishment measures when a user makes a false delivery, such as fines, point deductions, etc. The violation handling policy information is not specifically limited in this embodiment of the application. The violation handling policy information, the logged-in user ID, the user's job type, and the call failure information are combined in a preset manner and based on the first receivable information form to generate corresponding warning information.
[0084] Specifically, prompt information is generated based on the login user identification, user job type and call failure information, including: determining the management node associated with the user job type, and determining the second receivable information format corresponding to the management node; generating corresponding report information based on the violation handling policy information, login user identification, user job type and call failure information based on the second receivable information format.
[0085] The management node, for example, may be a direct leadership node corresponding to the user's job type. The second receivable information form is a form of information that can be received by the terminal corresponding to the management node, such as text messages, emails, instant messages of communication software, etc.
[0086] The violation handling policy information, the login user identification, the user job type and the call failure information are combined in a preset manner and based on the second receivable information form to generate corresponding report information.
[0087] Specifically, sending the prompt information to the preset business processing node includes: sending the warning information to the user node corresponding to the login user identifier; and sending the report information to the management node.
[0088] This embodiment obtains the corresponding login user ID in response to the business processing request, determines the corresponding user job type based on the login user ID; determines the work software package name based on the user job type, and adds the work software package name to the monitoring method; in response to the target monitoring interface receiving the callback information based on the monitoring method, determines the target positioning modification method based on the callback information; in response to detecting that the target positioning modification method is called, returns the call failure information; generates prompt information based on the login user ID, user job type and call failure information, and sends the prompt information to the preset business processing node. In this way, the behavior of the delivery person illegally modifying the delivery destination address can be accurately captured, and the address modification can be rejected and a prompt can be given to avoid false delivery and improve delivery accuracy.
[0089] Figure 2 is a main flow chart of a business processing method according to an embodiment of the present application, such as Figure 2 As shown, the business processing method includes:
[0090] Step S201, in response to a business processing request, obtain a corresponding login user identifier, and determine a corresponding user job type based on the login user identifier.
[0091] The business processing request may be a delivery business processing request. The business processing request may carry the login user's identification, such as the login user's level identification, authority identification, etc. The execution subject may jointly determine the corresponding user job type based on the level identification and authority identification in the login user identification to improve the accuracy of determining the user job type.
[0092] Step S202: determine the work software package name based on the user's job type, and add the work software package name to the monitoring method.
[0093] The execution subject can determine one or more work software corresponding to the user's job type, and add the work software package name corresponding to the one or more work software to the monitoring method. The work software package name can be used as the unique identifier of the application software, that is, the work software package name must be unique, one work software package name represents one application software, and two applications are not allowed to use the same work software package name.
[0094] Step S203: in response to the target monitoring interface receiving callback information based on the monitoring method, determining a target positioning modification method based on the callback information.
[0095] When the target monitoring interface receives callback information based on the monitoring method, it indicates that a method for modifying the positioning monitored by the monitoring method is called. The execution subject can determine which specific method is called to modify the positioning based on the callback information, and thus determine the method determined to modify the positioning as the target positioning modification method.
[0096] Step S204: When it is detected that there is a program calling the target location modification method, a call failure flag is returned to the program.
[0097] When the execution subject determines the method for modifying the positioning (i.e., the target positioning modification method), the method may not actually implement the modification of the positioning. When the execution subject detects that there is a program that actually calls the target positioning modification method to perform positioning modification, it immediately returns a call failure flag. By way of example, the call failure flag can be null or n, which is used to prevent the execution of the target positioning modification method. The embodiment of the present application does not specifically limit the content and form of the call failure flag.
[0098] Step S205: Generate prompt information based on the login user identifier, user job type and call failure information, and send the prompt information to a preset business processing node.
[0099] The prompt information may include warning information and report information. The business processing node may include a user node and a management node corresponding to the login user identity.
[0100] The execution entity can send warning information to the user node to remind the user to stop modifying the location, thereby avoiding false delivery, and send report information to the management node to effectively avoid false delivery through pressure from the management node when the user node cannot be effectively prevented from modifying the location.
[0101] Figure 3 FIG. 1 is a schematic diagram of the main flow of a business processing method according to an embodiment of the present application. Figure 3 As shown, the main process of the business processing method can be as follows:
[0102] Call the login background interface, determine the software that needs to monitor the logged-in user through the corresponding information of the background interface, and configure the software package name to the software package name method to be monitored by xposed;
[0103] After configuring the software package name in the monitoring method, multiple methods for modifying the positioning of the software corresponding to the software package name are monitored;
[0104] If a call operation of one or more of the multiple methods for modifying the location of the software corresponding to the software package name is detected, all of them return information prohibiting location modification;
[0105] Request an interface to the backend and return the corresponding user's intention to tamper with the location information;
[0106] The backend receives the user's intention to modify the location and tamper with the location information, and pushes a warning message to the user;
[0107] The background will push the report information corresponding to the warning information to the direct supervisor via text message to issue a warning.
[0108] For example, the first step is to request the network to use the Android network architecture (retrofit) and the network implementation framework (okhttp) technology to make a request. Since retrofit and okhttp have a good network experience, using this framework as a network request framework can ensure the stability of network requests (other network frameworks can also be tried in this part, such as xutils, etc.). The purpose of using the login request interface in the user login software (app) is to determine the specific type of work of the logged-in employee, so as to determine the package name of the work app that needs to be located and used by the logged-in employee, so as to determine which app to monitor, because the delivery app used by the driver and the courier is different, so it is clear which app to monitor, rather than monitoring all apps, to avoid excessive waste of mobile phone resources.
[0109] The second step is to obtain the package name of the specific work app used by the logged-in employee from the background (this package name can be one or more), and then configure it to the framework xposed hook monitoring package name method, because xposedhook monitoring package name has a specific method, this step must use the API for xposed hook, if the correct monitoring package name API is not used, the monitoring cannot be effective, that is, the change of a certain method of the app cannot be monitored. This step monitors the package name in order to monitor different methods of modifying the location according to the callback (that is, monitoring the app calling a specific method to modify the location), so as to determine which specific method the monitored app uses to change the location. If the specific method name for modifying the location is not known, it is impossible to monitor the app to modify the location. This step can be analyzed by analyzing the location document to understand which specific methods the app will use to change the location. Only by determining which specific methods are called can the purpose of monitoring and modifying the location be achieved. In this way, you can use xposed hook to monitor specific positioning apps. Specifying to monitor specific apps is to save mobile phone resources. If you monitor multiple apps, it also increases the difficulty of logical judgment.
[0110] The third step is to monitor the working location app through the specific app package name returned by the background, and you also need to know the specific method of modifying the location that you really want to monitor in this step, because modifying the location must be done through a specific method. For example, when monitoring the callback method of an app, you can monitor different positioning methods according to different apps, because the positioning used by different apps may be different, some may be the mobile phone's own positioning, and some may be third-party positioning methods, such as aa map positioning method, bb map positioning method, cc map positioning method. Since the positioning methods are different, you need to monitor different positioning method calls according to different apps, so that you can ensure that the xposed hook can handle different positioning methods according to different situations. If a positioning method is found to attempt to tamper with the positioning information, it is prohibited to modify the positioning information in the xposed hook method.
[0111] The fourth step is to monitor the response of the specific app callback method, and then find the specific positioning methods to be monitored in the specific response callback method. The response or call in these positioning methods is the specific implementation of the real tampering positioning. In this specific method, you can do the desired tampering positioning operation, and return a null to make the method caller return in vain, that is, make this call invalid, that is, make the purpose of modifying the positioning information fail. Or you can also use other methods to prevent him from tampering with the positioning information. This step is not specifically limited, as long as it can achieve the purpose of prohibiting him from modifying the positioning information.
[0112] The fifth step is to process the network request in a specific method in the callback method of the specific monitoring app. The network request used in this step can use different network request technologies, which are not specifically limited here. The purpose of using the network request is to notify the relevant nodes (such as drivers, couriers, and direct supervisors) of the behavior of the courier or delivery driver after the modification of the location is prohibited. Then request the background interface to inform the background that the employee is using the app to attempt to tamper with the location information. After receiving the feedback, the background will immediately push information to the employee using the existing relatively stable technology to warn him of his behavior; push messages can be sent in the form of SMS, robot calls, or any push technology (the background push technology uses different methods) without specific limitations.
[0113] Step 6: This step uses push technology to notify and warn the parties (such as drivers, couriers) or other specific personnel who have the right to know about the behavior (such as direct supervisors). While issuing a warning to the parties (such as drivers, couriers), the background will also push the message that the parties (such as drivers, couriers) are trying to modify the location information to their direct supervisors. The push can be in the form of text messages, telephone robots, or various push technologies, which are not specifically limited in this application.
[0114] Figure 4 FIG. 1 is a module diagram of a service processing method according to an embodiment of the present application. Figure 4 As shown, the various modules involved in the business processing method are implemented as follows:
[0115] Install the software that prohibits location modification using xposed hook technology into the phone;
[0116] Use the delivery person account to log in to the xposed hook software;
[0117] After successful login, the xposed hook software obtains the specific work positioning software for monitoring;
[0118] If the delivery person intends to modify the location of the work location software, the location modification is prohibited;
[0119] Use push technology to alert delivery personnel and inform their immediate supervisor.
[0120] For example, 1. Develop an app using xposed hook technology. When developing the app, you need to determine the specific information of the monitoring app, that is, determine the specific package name of the app to be monitored, and then determine the specific method of tampering with the location of the app, so as to effectively prohibit the monitoring app from tampering with the location. First, the user's mobile phone needs to be installed with the app with framework xposedhook technology. Only by installing this app can it be able to monitor which app on the mobile phone wants to modify the location information, and only by installing this app can the xposed hook monitor and modify the location information.
[0121] 2. Use the existing retrofit combined with okhttp to make network requests, because its stability is more suitable as a network framework. Then use the user account (a specific courier or driver) to log in. The purpose of logging in is to obtain more specific information about the monitoring in order to clearly determine which app to monitor.
[0122] 3. Determine which specific work positioning app to monitor by logging in, that is, determine the specific package name of the work app to monitor, because the framework xposed hook monitors a certain app and needs to specify the package name, that is, configure the specific package name to the specific xposed hook monitoring method, and then monitor the specific tampering positioning method in the callback method response of the monitoring method, use a series of prohibition methods in the tampering positioning method, and feed the information back to the background, so that the background can perform related warning notifications and other operations. If the package name is not specified and multiple apps are monitored, it will waste a lot of mobile phone resources, and also cause a lot of useless judgments to be made in the program, which increases the complexity of program logic and reduces the efficiency of monitoring.
[0123] 4. When the courier or driver uses software to try to modify the monitored location work app, the xposedhook technology can immediately prohibit this behavior. The specific prohibition method can be to monitor the specific method to tamper with the location in a callback method of the xposed hook, and use return null and other methods in this method to make the specific tampering method call method invalid, thereby effectively preventing the tampering of the location. The purpose of the xposed hook is to prohibit the modification of the location information for false delivery.
[0124] 5. Use xposed hook to monitor the app callback method, specifically the method of tampering with the location information. When the method of tampering with the location information is called, use the specific method to prohibit it. Use retrofit combined with okhttp to request the background. When the background receives that an employee wants to tamper with the location for delivery and other operations, it can use the existing push technology to use push messages to warn the behavior, and push the corresponding message to the direct supervisor based on the employee's behavior, so that the employee will no longer have such irrational behavior in the future, so as to achieve the purpose of prohibiting false delivery.
[0125] The embodiment of the present application uses an app equipped with xposed hook technology to monitor a specific positioning app to be monitored. In the callback method of the monitoring app, a specific method of modifying the positioning information is monitored. In this method, return null or other prohibition forms are used to prohibit the method from modifying the positioning information, and the background interface is requested by combining retrofit with the okhttp network request framework. The background uses the existing stable push technology (without specific limitation of a certain push technology) to send a push message to the employee to warn the employee, and can also send a text message to his direct leader "The employee attempted to tamper with the positioning information" to prohibit the employee from modifying the positioning information for false delivery and false arrival at the destination, so as to improve the user experience, avoid unnecessary complaints, and improve the brand reputation. The purpose of using xposed hook technology to prohibit the modification of positioning information is to prohibit the courier brother and the delivery driver from using the simulated positioning app to modify the geographical location information for false delivery, false arrival at the destination, etc., thereby improving the user experience, maximizing the service experience satisfaction, avoiding unnecessary complaints, and better improving the brand trust.
[0126] Figure 5 Schematic diagram of the main units of the service processing device according to an embodiment of the present application. Figure 5 As shown, the service processing device 500 includes an acquiring unit 501 , an adding unit 502 , a method determining unit 503 , an information returning unit 504 and a sending unit 505 .
[0127] The acquisition unit 501 is configured to acquire the corresponding login user identifier in response to the business processing request, and determine the corresponding user job type based on the login user identifier;
[0128] An adding unit 502 is configured to determine a work software package name based on the user's job type, and add the work software package name to the monitoring method;
[0129] The method determination unit 503 is configured to determine the target positioning modification method based on the callback information in response to the target monitoring interface receiving the callback information based on the monitoring method;
[0130] The information returning unit 504 is configured to return a calling failure message in response to detecting that the target positioning modification method is called;
[0131] The sending unit 505 is configured to generate prompt information based on the login user identifier, user job type and call failure information, and send the prompt information to a preset business processing node.
[0132] In some embodiments, the acquisition unit 501 is further configured to: determine the corresponding user role based on the login user identification; and determine the user job type according to the user role.
[0133] In some embodiments, the method determination unit 503 is further configured to: obtain a method identifier in the callback information, and determine the target positioning modification method according to the method identifier.
[0134] In some embodiments, the information return unit 504 is further configured to: when it is detected that a program calls the target location modification method, return a call failure indicator to the program.
[0135] In some embodiments, the sending unit 505 is further configured to: obtain a receivable notification channel corresponding to the user's job type, and determine a first receivable information form based on the receivable notification channel; obtain corresponding violation handling policy information based on the logged-in user ID and the user's job type; and generate corresponding warning information based on the violation handling policy information, logged-in user ID, user job type and call failure information based on the first receivable information form.
[0136] In some embodiments, the sending unit 505 is further configured to: determine the management node associated with the user's job type, and determine the second receivable information form corresponding to the management node; generate corresponding report information based on the violation handling policy information, login user identification, user job type and call failure information based on the second receivable information form.
[0137] In some embodiments, the sending unit 505 is further configured to: send warning information to the user node corresponding to the login user identifier; and send report information to the management node.
[0138] 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.
[0139] Figure 6 An exemplary system architecture 600 to which the service processing method or service processing device according to the embodiment of the present application can be applied is shown.
[0140] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0141] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0142] The terminal devices 601, 602, and 603 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.
[0143] Server 605 can be a server that provides various services, such as a background management server that provides support for business processing requests submitted by users using terminal devices 601, 602, and 603 (only as an example). The background management server can respond to the business processing request, obtain the corresponding login user identification, determine the corresponding user job type based on the login user identification; determine the work software package name based on the user job type, and add the work software package name to the monitoring method; respond to the target monitoring interface receiving callback information based on the monitoring method, determine the target positioning modification method based on the callback information; respond to detecting that the target positioning modification method is called, return the call failure information; generate prompt information based on the login user identification, user job type and call failure information, and send the prompt information to the preset business processing node. In this way, the behavior of the delivery person illegally modifying the delivery destination address can be accurately captured, and the address modification can be rejected and a prompt can be given to avoid false delivery and improve delivery accuracy.
[0144] It should be noted that the business processing method provided in the embodiment of the present application is generally executed by the server 605 , and accordingly, the business processing device is generally set in the server 605 .
[0145] It should be understood that Figure 6 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.
[0146] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present application. Figure 7 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.
[0147] like Figure 7As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0148] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.
[0149] 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 contains 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 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.
[0150] 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, which carries a computer-readable program code. 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.
[0151] 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.
[0152] 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 addition unit, a method determination unit, an information return unit, and a sending unit. The names of these units do not constitute limitations on the units themselves in some cases.
[0153] 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 it may exist independently and not be 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 the business processing request, obtains the corresponding login user identification, and determines the corresponding user job type based on the login user identification; determines the work software package name based on the user job type, and adds the work software package name to the monitoring method; responds to the target monitoring interface receiving the callback information based on the monitoring method, determines the target positioning modification method based on the callback information; responds to detecting that the target positioning modification method is called, returns the call failure information; generates prompt information based on the login user identification, the user job type and the call failure information, and sends the prompt information to the preset business processing node.
[0154] The computer program product of the present application includes a computer program, and when the computer program is executed by a processor, the business processing method in the embodiment of the present application is implemented.
[0155] According to the technical solution of the embodiment of the present application, the behavior of the delivery person in illegally modifying the delivery destination address can be accurately captured, and the address modification can be rejected and a prompt can be given, thereby avoiding false deliveries and improving delivery accuracy.
[0156] 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, It is characterized in that include: In response to the business processing request, obtaining a corresponding login user identifier, and determining a corresponding user job type based on the login user identifier; Determine a work software package name based on the user's job type, and add the work software package name to the monitoring method; In response to the target monitoring interface receiving callback information based on the monitoring method, determining a target positioning modification method based on the callback information; In response to detecting that the target positioning modification method is called, returning call failure information; Prompt information is generated based on the login user identifier, the user job type and the call failure information, and the prompt information is sent to a preset business processing node.
2. The method according to claim 1, It is characterized in that The determining of the corresponding user job type based on the login user identifier includes: Based on the login user identifier, determining a corresponding user role; The user's job type is determined according to the user role.
3. The method according to claim 1, It is characterized in that The method for determining target location modification based on the callback information includes: The method identifier in the callback information is obtained, and the target positioning modification method is determined according to the method identifier.
4. The method according to claim 1, It is characterized in that The step of returning call failure information in response to detecting that the target positioning modification method is called includes: When it is detected that there is a program calling the target positioning modification method, a call failure flag is returned to the program.
5. The method according to claim 1, It is characterized in that The generating of prompt information based on the login user identifier, the user job type and the call failure information includes: Acquire a receivable notification channel corresponding to the user's job type, and determine a first receivable information format based on the receivable notification channel; Based on the login user identifier and the user job type, obtain corresponding violation handling policy information; The violation handling policy information, the login user identification, the user job type and the call failure information are used to generate corresponding warning information based on the first receivable information format.
6. The method according to claim 5, It is characterized in that The generating of prompt information based on the login user identifier, the user job type and the call failure information includes: Determine the management node associated with the user job type, and determine a second receivable information format corresponding to the management node; Generate corresponding report information based on the second receivable information format using the violation handling policy information, the login user identifier, the user job type and the call failure information.
7. The method according to claim 6, It is characterized in that The sending the prompt information to a preset service processing node includes: Sending the warning information to the user node corresponding to the login user identifier; Send the report information to the management node.
8. A business processing device, It is characterized in that include: An acquisition unit, configured to acquire a corresponding login user identifier in response to a business processing request, and determine a corresponding user job type based on the login user identifier; An adding unit is configured to determine a work software package name based on the user's job type, and add the work software package name to the monitoring method; a method determination unit, configured to, in response to the target monitoring interface receiving callback information based on the monitoring method, determine a target positioning modification method based on the callback information; an information returning unit, configured to return call failure information in response to detecting that the target positioning modification method is called; The sending unit is configured to generate prompt information based on the login user identifier, the user job type and the call failure information, and send the prompt information to a preset business processing node.
9. The device according to claim 8, It is characterized in that The acquisition unit is further configured to: Based on the login user identifier, determining a corresponding user role; The user's job type is determined according to the user role.
10. A business processing electronic device, It is 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.
11. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
12. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
