Application track recording method, device, equipment and medium based on credit management
By realizing task status update and location information acquisition based on preset time intervals in the credit task management system, the problems of long due diligence task execution cycle and difficult task status recovery are solved, and user experience and system efficiency are improved.
Patent Information
- Application Number
- CN202510056563.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-04-08
AI Technical Summary
In the financial credit management business scenario, the execution cycle of due diligence tasks is long, and users frequently log out, log in or switch interfaces, resulting in the application being unable to restore the previous task status after exiting, reducing user experience and increasing operational costs.
By implementing a task status update mechanism based on preset time intervals in the credit task management system, the current location information of the active credit management trajectory task is obtained, and the latest location information is restored from the local cache after the task is interrupted, ensuring the continuous update and recovery of task status and trajectory data.
It improves the efficiency of solving trajectory recording complexity problems in multi-user and multi-task concurrency scenarios, ensures efficient task management and low resource consumption, improves user experience and reduces operational costs.
Smart Images

Figure CN119784492A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for recording application tracks based on credit management. Background Art
[0002] In the financial credit management business scenario, due diligence is a key task, which aims to ensure the security of loan issuance and capital flow by verifying the actual operation and financial status of enterprises or individuals on site. During the on-site due diligence process, it is of great significance to record the trajectory information of investigators. It is not only a basis for verifying the completion of the task, but also an important reference for supervision and assessment.
[0003] The track records of mobile due diligence applications need to meet the needs of multi-user and multi-task parallelism. However, in the existing technology, the execution cycle of due diligence tasks is usually long, and it is common for users to frequently log out, re-login or switch interfaces. In this case, if the application cannot restore the previous task status after exiting, it will greatly reduce the user experience and increase operating costs. Therefore, the existing technology still has certain deficiencies in resource optimization, task management, data consistency and other aspects. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide an application track recording method, device, equipment and medium based on credit management, which can meet the complexity of track recording in multi-user and multi-task concurrent scenarios and improve the efficiency of due diligence work. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses an application track recording method based on credit management, which is applied to a credit task management system, comprising:
[0006] If a task status update instruction is received, determining the currently active credit management track tasks based on a preset time interval, and obtaining the current position information of the moving target corresponding to each credit management track task in the currently active credit management track tasks;
[0007] Saving the current location information to a local preset cache, and sending the current location information to a local data model, so as to update each credit management track task in the currently active credit management track tasks based on the current location information through the local data model;
[0008] If the currently active credit management track task is interrupted, the latest location information in the local preset cache is used as the target current location information, and after receiving the task recovery instruction, the target current location information is displayed through the front-end page.
[0009] Optionally, if a task status update instruction is received, determining the currently active credit management track tasks based on a preset time interval, and obtaining the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track tasks, includes:
[0010] If a task status update instruction is received, calling a local task scheduler based on the task status update instruction;
[0011] Calling a local task executor based on a preset time interval through the task scheduler to traverse the local credit management track tasks through the task executor and determine a currently active credit management track task among the local credit management track tasks;
[0012] The current position information of the moving target corresponding to each credit management track task in the currently active credit management track task is obtained by calling a preset interface.
[0013] Optionally, the acquiring the current position information of the moving target corresponding to each credit management track task in the currently active credit management track task by calling a preset interface includes:
[0014] The current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task is uniformly collected by calling a preset interface to obtain the position information to be verified;
[0015] Verifying the location information to be verified to determine whether there is missing information and / or abnormal information in the location information to be verified;
[0016] If the missing information and / or the abnormal information exists in the position information to be verified, jump to the step of uniformly collecting the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task by calling the preset interface, so as to re-call the preset interface for information collection;
[0017] If the missing information and / or the abnormal information does not exist in the location information to be verified, the location information to be verified is used as the current location information.
[0018] Optionally, the application track recording method based on credit management further includes:
[0019] The current location information is bound to each credit management track task through the current task account of the credit task management system.
[0020] Optionally, sending the current location information to a local data model, so as to update each credit management track task in the currently active credit management track task based on the current location information through the local data model, includes:
[0021] Sending the current location information to a local task object model, so that the task object model determines the target task state of each credit management track task in the currently active credit management track task based on the current location information, and updates the task state of each credit management track task according to the target task state;
[0022] The current location information is sent to a local trajectory data model so that the trajectory data model determines the target location information corresponding to each credit management trajectory task in the currently active credit management trajectory task based on the current location information, and updates the location information of each credit management trajectory task according to the target location information.
[0023] Optionally, after the current location information is saved to a local preset cache and the current location information is sent to a local data model so as to update each credit management track task in the currently active credit management track task based on the current location information through the local data model, the method further includes:
[0024] The target task status corresponding to each credit management track task is cached through the local front-end browser storage, and the target task status corresponding to each credit management track task is cached based on a preset cache period through the local back-end database.
[0025] Optionally, if the currently active credit management track task is interrupted, the latest location information in the local preset cache is used as the target current location information, and after receiving the task recovery instruction, the target current location information is displayed through the front-end page, including:
[0026] If an interrupted target interrupted task appears in the currently active credit management track task, the latest position information corresponding to the target interrupted task is obtained from the local preset cache, and the latest position information is used as the target current position information corresponding to the target interrupted task;
[0027] If a task recovery instruction corresponding to the target interrupted task is received, the target current position information is pushed to the front-end page so as to display the target current position information through the front-end page.
[0028] In a second aspect, the present application discloses an application track recording device based on credit management, comprising:
[0029] A location information acquisition module, configured to determine the currently active credit management track tasks based on a preset time interval if a task status update instruction is received, and to acquire the current location information of the mobile target corresponding to each credit management track task in the currently active credit management track tasks;
[0030] A task updating module, used for saving the current location information to a local preset cache, and sending the current location information to a local data model, so as to update each credit management track task in the currently active credit management track tasks based on the current location information through the local data model;
[0031] The task recovery module is used to use the latest location information in the local preset cache as the target current location information if the currently active credit management track task is interrupted, and display the target current location information through the front-end page after receiving the task recovery instruction.
[0032] In a third aspect, the present application discloses an electronic device, comprising:
[0033] Memory, used to store computer programs;
[0034] A processor is used to execute the computer program to implement the application track recording method based on credit management as mentioned above.
[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the aforementioned application track recording method based on credit management.
[0036] In the present application, if a task status update instruction is received, the currently active credit management trajectory task is determined based on a preset time interval, and the current position information of the mobile target corresponding to each credit management trajectory task in the currently active credit management trajectory task is obtained; the current position information is saved to a local preset cache, and the current position information is sent to a local data model, so as to update each credit management trajectory task in the currently active credit management trajectory task based on the current position information through the local data model; if the currently active credit management trajectory task is interrupted, the latest position information in the local preset cache is used as the target current position information, and after receiving a task recovery instruction, the target current position information is displayed through the front-end page.
[0037] It can be seen that through the method of the present application, the currently active task can be determined after receiving the task status update instruction, and the current location information of the mobile target corresponding to each credit management trajectory task can be obtained, and then each credit management trajectory task can be updated based on the current location information according to the local data model. If the current active credit management trajectory task is interrupted, the latest location information is obtained from the local preset cache, and the latest location information is used as the target current location information. Then, after receiving the task recovery instruction, the target current location information is displayed through the front-end page. In this way, unified scheduling of all active tasks and batch updates of trajectory data can be achieved, ensuring efficient management and low resource consumption in multi-task concurrent scenarios, effectively improving work efficiency, and batch processing of trajectory collection requests can be performed to avoid resource waste caused by multiple tasks calling corresponding interfaces separately. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0039] Figure 1 A flow chart of an application track recording method based on credit management disclosed in this application;
[0040] Figure 2 A schematic diagram of a trajectory recording interaction disclosed in this application;
[0041] Figure 3 This is a schematic diagram of the structure of an application track recording device based on credit management disclosed in this application;
[0042] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] In the prior art, the execution cycle of due diligence tasks is usually long, and it is common for users to frequently log out, log in again, or switch interfaces. In this case, if the application cannot restore the previous task status after exiting, the user experience will be greatly reduced and the operating cost will increase. Therefore, the prior art still has certain deficiencies in resource optimization, task management, data consistency, etc.
[0045] In order to overcome the above technical problems, the present application discloses an application trajectory recording method, device, equipment and medium based on credit management, which can meet the complexity of trajectory recording in multi-user and multi-task concurrent scenarios and improve the efficiency of due diligence work.
[0046] See also Figure 1 As shown, an embodiment of the present invention discloses an application track recording method based on credit management, which is applied to a credit task management system, including:
[0047] Step S11: If a task status update instruction is received, the currently active credit management trajectory tasks are determined based on a preset time interval, and the current position information of the mobile target corresponding to each credit management trajectory task in the currently active credit management trajectory tasks is obtained.
[0048] In this embodiment, the user can open the task record on the task management page of the credit task management system, and then choose to update the task status. After receiving the task status update instruction, the credit task management system can obtain the current location information of the mobile target corresponding to each credit management track task in the current active credit management track task according to the preset time interval. Specifically, the task scheduler in the credit task management system is responsible for the unified management and scheduling of all active track tasks. If a task status update instruction is received, the local task scheduler can be called based on the task status update instruction, and then the local task executor can be called based on the preset time interval through the task scheduler, and then the local credit management track tasks can be traversed through the task executor. It should be noted that when scheduling tasks, each task needs to be processed independently to avoid conflicts in data or status between tasks.
[0049] After completing the traversal of the local credit management trajectory tasks, it is necessary to determine the previously active credit management trajectory tasks that are currently active in the local credit management trajectory tasks, and then obtain the current location information of the mobile targets corresponding to each credit management trajectory task in the currently active credit management trajectory tasks by calling the preset interface. It should be noted that when obtaining the current location information of the mobile targets corresponding to each credit management trajectory task, it is necessary to obtain the location information by calling a third-party map API (Application Programming Interface) to obtain the location information to be verified, and when obtaining the location information, the trajectory data collection of multiple tasks can be batch processed to reduce the number of API requests by merging calls.
[0050] It should be noted that the current location information can also be bound to each credit management track task through the current task account of the credit task management system. Since the task and track data are associated through the task account, the status and data can be tightly bound, supporting automatic update of the track data storage logic when the task status is updated.
[0051] Furthermore, it is necessary to verify the location information to be verified to determine whether there is missing information and / or abnormal information in the location information to be verified. If not, the currently collected location information to be verified can be used as the current location information; if so, it indicates that there may be abnormal conditions such as acquisition failure or timeout, and it is necessary to jump again to the step of uniformly collecting the current location information of the mobile targets corresponding to each credit management trajectory task in the currently active credit management trajectory task by calling the preset interface, so as to re-call the preset interface for information collection and ensure the accuracy and completeness of the collected trajectory data.
[0052] Step S12: Save the current location information to a local preset cache, and send the current location information to a local data model, so as to update each credit management track task in the currently active credit management track task based on the current location information through the local data model.
[0053] In this embodiment, the storage of location information can be achieved through the designed data storage mechanism. In an unstable network or offline environment, the trajectory data is preferentially saved in the front-end local storage to ensure that the data is not lost. After the network is restored, the system will synchronize the local cached data increments to the back-end database to ensure the integrity and consistency of the back-end storage.
[0054] Furthermore, the current location information needs to be sent to the local task object model so that the task object model can determine the target task status of each credit management track task in the currently active credit management track task based on the current location information, and update the task status of each credit management track task according to the target task status. It should be noted that the task object model is used to manage the status information of each track task and record whether the task is turned on or off. Each user may have multiple tasks at the same time, and the status of each task needs to be managed independently. The task object model provides basic data support for the opening and closing operations of tasks, and provides conditions for the unified scheduling of track tasks.
[0055] The current location information can be sent to the local trajectory data model so that the trajectory data model can determine the target location information corresponding to each credit management trajectory task in the currently active credit management trajectory task based on the current location information, and update the location information of each credit management trajectory task according to the target location information. It should be noted that the trajectory data model is responsible for recording the trajectory information of each task, including multiple location points and the timestamp information of each location point. The model is associated with the task object model, and the trajectory data is stored separately for each task, supporting dynamic updates and incremental storage. The trajectory data model can be cached on the front end and also supports synchronization and persistence with the back-end database.
[0056] Furthermore, the target task status corresponding to each credit management track task can be cached through the local front-end browser storage, and the target task status corresponding to each credit management track task can be cached through the local back-end database based on a preset cache period, and the front-end browser storage and the back-end database are periodically synchronized, the front-end storage is used first for rapid recovery of the task status, and the back-end storage is used for long-term preservation of the task status.
[0057] Step S13: If the currently active credit management track task is interrupted, the latest location information in the local preset cache is used as the target current location information, and after receiving the task recovery instruction, the target current location information is displayed through the front-end page.
[0058] In this embodiment, due to the situation that the task is interrupted due to the user re-logging into the system or temporarily exiting the current page, if the target interruption task is interrupted in the current active credit management track task, the latest location information corresponding to the target interruption task is obtained from the local preset cache, and the latest location information is used as the target current location information corresponding to the target interruption task. When the user logs in again or returns to the task page, a task reply instruction can be generated and issued. After receiving the task reply instruction, the system can push the target current location information to the front-end page to display the target current location information through the front-end page. In this way, when the user logs in again or returns to the task page, the system will preferentially load the task status and track data from the local cache or back-end database to ensure that the task can be seamlessly restored and synchronize the latest data in real time.
[0059] In this embodiment, after receiving the task status update instruction, the currently active task can be determined, and the current location information of the mobile target corresponding to each credit management trajectory task can be obtained. Then, each credit management trajectory task can be updated based on the current location information according to the local data model. If the currently active credit management trajectory task is interrupted, the latest location information is obtained from the local preset cache, and the latest location information is used as the target current location information. Then, after receiving the task recovery instruction, the target current location information is displayed through the front-end page. In this way, unified scheduling of all active tasks and batch update of trajectory data can be achieved, ensuring efficient management and low resource consumption in multi-task concurrent scenarios, effectively improving work efficiency, and batch processing of trajectory collection requests can be performed to avoid resource waste caused by multiple tasks calling corresponding interfaces separately.
[0060] See also Figure 2As shown, it is a schematic diagram of the track record interaction of the present application, wherein the user can open the task record on the task management page of the credit task management system to issue a task status update instruction. After receiving the task update instruction, the system can update the task status, and can call the task scheduler to call the task executor based on a preset time interval, for example, once every five minutes. The task executor can obtain the current location information corresponding to the current active task by calling the interface provided by the third-party map application. It should be noted that the method of batch acquisition is adopted when obtaining the location information through the interface provided by the third-party map application, that is, the location information corresponding to all credit management track tasks corresponding to the current account is obtained at the same time. Through batch acquisition and other methods, the resources required for interface calls can be effectively saved. Further, after obtaining the location information, the location information can be transmitted to the task object model, so as to obtain the task status of each task based on the location information through the task object model, and update the task status of each credit management track task according to the task status, and the task status and corresponding location information corresponding to each credit management track task need to be cached through the local back-end database.
[0061] Furthermore, when the user re-enters the task management page of the system, the task status and location information of the corresponding track task of the account currently logged in by the user can be directly called in the back-end database to ensure that the task can be seamlessly restored and synchronize the latest data in real time. It can be seen that when the user opens or closes the task record, the system can update the task status in real time and trigger the data collection logic to collect the latest location information corresponding to each credit management track task. Further, when the user returns to the task management page, the page automatically loads the status and track data of the corresponding task without additional operation. In this way, since the execution cycle of due diligence tasks is usually long, it is common for users to frequently log out, re-login or switch interfaces. In this case, if the application cannot restore the previous task status after exiting, it will greatly reduce the user experience and increase the operating cost. For example, after the user logs in again, he finds that the track record status of all tasks has been reset and needs to manually reopen the task. Therefore, through the method of the present application, when the user returns to the task management page, the page automatically loads the status and track data of the corresponding task, avoiding the problem that the task needs to be reset or the track data is inaccurate.
[0062] See also Figure 3 As shown, the embodiment of the present invention discloses an application track recording device based on credit management, which is applied to a credit task management system, including:
[0063] A position information acquisition module 11 is used to determine the currently active credit management track tasks based on a preset time interval if a task status update instruction is received, and to acquire the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track tasks;
[0064] A task updating module 12, used for saving the current location information to a local preset cache, and sending the current location information to a local data model, so as to update each credit management track task in the currently active credit management track task based on the current location information through the local data model;
[0065] The task recovery module 13 is used to use the latest location information in the local preset cache as the target current location information if the currently active credit management track task is interrupted, and display the target current location information through the front-end page after receiving the task recovery instruction.
[0066] In this embodiment, if a task status update instruction is received, the current active credit management track task is determined based on a preset time interval, and the current location information of the mobile target corresponding to each credit management track task in the current active credit management track task is obtained; the current location information is saved to a local preset cache, and the current location information is sent to a local data model, so as to update each credit management track task in the current active credit management track task based on the current location information through the local data model; if the current active credit management track task has a task interruption, the latest location information in the local preset cache is used as the target current location information, and after receiving the task recovery instruction, the target current location information is displayed through the front-end page. It can be seen that through the method of the present application, the current active task can be determined after receiving the task status update instruction, and the current location information of the mobile target corresponding to each credit management track task can be obtained, and then each credit management track task can be updated based on the current location information according to the local data model; if the current active credit management track task has a task interruption, the latest location information is obtained from the local preset cache, and the latest location information is used as the target current location information, and then after receiving the task recovery instruction, the target current location information is displayed through the front-end page. In this way, unified scheduling of all active tasks and batch update of trajectory data can be achieved, ensuring efficient management and low resource consumption in multi-task concurrent scenarios, effectively improving work efficiency, and batch processing of trajectory collection requests to avoid resource waste caused by multiple tasks calling corresponding interfaces separately.
[0067] In some embodiments, the location information acquisition module 11 may specifically include:
[0068] A component calling submodule, configured to call a local task scheduler based on a task status update instruction if a task status update instruction is received;
[0069] A task determination submodule, configured to call a local task executor based on a preset time interval through the task scheduler, so as to traverse the local credit management track tasks through the task executor, and determine a currently active credit management track task among the local credit management track tasks;
[0070] The position information acquisition submodule is used to acquire the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task by calling a preset interface.
[0071] In some embodiments, the location information acquisition submodule may specifically include:
[0072] A first position information acquisition unit is used to uniformly collect the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task by calling a preset interface to obtain the position information to be verified;
[0073] An information verification unit, used to verify the location information to be verified to determine whether there is missing information and / or abnormal information in the location information to be verified;
[0074] A step jump unit, for jumping to the step of uniformly collecting the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task by calling a preset interface if the missing information and / or the abnormal information exists in the position information to be verified, so as to re-call the preset interface for information collection;
[0075] An information determining unit is configured to use the location information to be verified as the current location information if the missing information and / or the abnormal information does not exist in the location information to be verified.
[0076] In some embodiments, the application track recording device based on credit management may further include:
[0077] An account binding unit is used to bind the current location information with each credit management track task through the current task account of the credit task management system.
[0078] In some embodiments, the task updating module 12 may specifically include:
[0079] a first task updating unit, configured to send the current location information to a local task object model, so that the task object model determines a target task state of each credit management track task in the currently active credit management track task based on the current location information, and updates the task state of each credit management track task according to the target task state;
[0080] The second task updating unit is used to send the current location information to the local trajectory data model, so that the trajectory data model determines the target location information corresponding to each credit management trajectory task in the currently active credit management trajectory task based on the current location information, and updates the location information of each credit management trajectory task according to the target location information.
[0081] In some embodiments, the application track recording device based on credit management may further include:
[0082] The data cache unit is used to cache the target task status corresponding to each credit management track task through the local front-end browser storage, and cache the target task status corresponding to each credit management track task based on a preset cache period through the local back-end database.
[0083] In some embodiments, the task recovery module 13 may specifically include:
[0084] A second position information acquisition unit is used for acquiring the latest position information corresponding to the target interruption task from a local preset cache if an interrupted target interruption task appears in the currently active credit management track task, and using the latest position information as the target current position information corresponding to the target interruption task;
[0085] The information display unit is used to push the target current position information to the front-end page if a task recovery instruction corresponding to the target interrupted task is received, so as to display the target current position information through the front-end page.
[0086] Furthermore, the present application also discloses an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0087] Figure 4A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the application track recording method based on credit management disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0088] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0089] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.
[0090] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the application track recording method based on credit management performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.
[0091] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed application track recording method based on credit management is implemented. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, and no further description will be given here.
[0092] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0093] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0094] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0095] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0096] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for recording application tracks based on credit management, characterized in that: Applied to credit task management system, including: If a task status update instruction is received, determining the currently active credit management track tasks based on a preset time interval, and obtaining the current position information of the moving target corresponding to each credit management track task in the currently active credit management track tasks; Saving the current location information to a local preset cache, and sending the current location information to a local data model, so as to update each credit management track task in the currently active credit management track tasks based on the current location information through the local data model; If the currently active credit management track task is interrupted, the latest location information in the local preset cache is used as the target current location information, and after receiving the task recovery instruction, the target current location information is displayed through the front-end page.
2. The application track recording method based on credit management according to claim 1, characterized in that: If a task status update instruction is received, the currently active credit management track tasks are determined based on a preset time interval, and the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track tasks is obtained, including: If a task status update instruction is received, calling a local task scheduler based on the task status update instruction; Calling a local task executor based on a preset time interval through the task scheduler to traverse the local credit management track tasks through the task executor and determine a currently active credit management track task among the local credit management track tasks; The current position information of the moving target corresponding to each credit management track task in the currently active credit management track task is obtained by calling a preset interface.
3. The application track recording method based on credit management according to claim 2, characterized in that: The acquiring the current position information of the moving target corresponding to each credit management track task in the currently active credit management track task by calling a preset interface includes: The current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task is uniformly collected by calling a preset interface to obtain the position information to be verified; Verifying the location information to be verified to determine whether there is missing information and / or abnormal information in the location information to be verified; If the missing information and / or the abnormal information exists in the position information to be verified, jump to the step of uniformly collecting the current position information of the mobile target corresponding to each credit management track task in the currently active credit management track task by calling the preset interface, so as to re-call the preset interface for information collection; If the missing information and / or the abnormal information does not exist in the location information to be verified, the location information to be verified is used as the current location information.
4. The application track recording method based on credit management according to claim 1, characterized in that: Also includes: The current location information is bound to each credit management track task through the current task account of the credit task management system.
5. The application track recording method based on credit management according to claim 1, characterized in that: The sending the current location information to the local data model, so as to update each credit management track task in the currently active credit management track tasks based on the current location information through the local data model, comprises: Sending the current location information to a local task object model, so that the task object model determines the target task state of each credit management track task in the currently active credit management track task based on the current location information, and updates the task state of each credit management track task according to the target task state; The current location information is sent to a local trajectory data model so that the trajectory data model determines the target location information corresponding to each credit management trajectory task in the currently active credit management trajectory task based on the current location information, and updates the location information of each credit management trajectory task according to the target location information.
6. The application track recording method based on credit management according to claim 5, characterized in that: After the current location information is saved to a local preset cache and the current location information is sent to a local data model so as to update each credit management track task in the currently active credit management track task based on the current location information through the local data model, the method further includes: The target task status corresponding to each credit management track task is cached through the local front-end browser storage, and the target task status corresponding to each credit management track task is cached based on a preset cache period through the local back-end database.
7. The application track recording method based on credit management according to any one of claims 1 to 6, characterized in that: If the currently active credit management track task is interrupted, the latest location information in the local preset cache is used as the target current location information, and after receiving the task recovery instruction, the target current location information is displayed through the front-end page, including: If an interrupted target interrupted task appears in the currently active credit management track task, the latest position information corresponding to the target interrupted task is obtained from the local preset cache, and the latest position information is used as the target current position information corresponding to the target interrupted task; If a task recovery instruction corresponding to the target interrupted task is received, the target current position information is pushed to the front-end page so as to display the target current position information through the front-end page.
8. An application track recording device based on credit management, characterized in that: include: A location information acquisition module, for determining the currently active credit management track tasks based on a preset time interval if a task status update instruction is received, and acquiring the current location information of the mobile target corresponding to each credit management track task in the currently active credit management track tasks; A task updating module, used for saving the current location information to a local preset cache, and sending the current location information to a local data model, so as to update each credit management track task in the currently active credit management track tasks based on the current location information through the local data model; The task recovery module is used to use the latest location information in the local preset cache as the target current location information if the currently active credit management track task is interrupted, and display the target current location information through the front-end page after receiving the task recovery instruction.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the application track recording method based on credit management as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the application track recording method based on credit management as described in any one of claims 1 to 7 is implemented.