CN113505284A - Resource data tracing method and device, storage medium and electronic equipment - Google Patents

Resource data tracing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113505284A
CN113505284A CN202110704185.4A CN202110704185A CN113505284A CN 113505284 A CN113505284 A CN 113505284A CN 202110704185 A CN202110704185 A CN 202110704185A CN 113505284 A CN113505284 A CN 113505284A
Authority
CN
China
Prior art keywords
resource
newly added
target
generating
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110704185.4A
Other languages
Chinese (zh)
Inventor
徐孝敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tianjiuyun E Commerce Co ltd
Original Assignee
Beijing Tianjiuyun E Commerce Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tianjiuyun E Commerce Co ltd filed Critical Beijing Tianjiuyun E Commerce Co ltd
Priority to CN202110704185.4A priority Critical patent/CN113505284A/en
Publication of CN113505284A publication Critical patent/CN113505284A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Strategic Management (AREA)
  • Computational Linguistics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a resource data tracing method, a resource data tracing device, a storage medium and electronic equipment, wherein the method comprises the steps of obtaining target batch identification information of resources to be traced; acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information; and visualizing the target detail record data to display the going details of the resource to be traced. Therefore, the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, the overall efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively guaranteed, the tracing result can be effectively visualized, and the user experience is greatly improved.

Description

Resource data tracing method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of data processing, and in particular, to a resource data tracing method, device, storage medium, and electronic device.
Background
Generally, some online platforms (for example, online shopping platforms, delivery platforms, taxi taking platforms, music playing platforms, etc.) distribute resources such as points, virtual coins, etc. to users, the resources can be generally used by the users to exchange commodities, transfer friends, or purchase services, etc., after the users have the resources, the flow direction after the resources are deducted from the account of the current user is determined for the resources, and generally neither the users nor the platforms can know, in the related art, the users can generally only see the source of the resources on the app and the processing operation record of the users themselves, however, the flow direction of the resources after the users operate cannot be determined. The platform can only see the current resource condition of each user, but the source and the destination of the circulation of the resource condition of each user are not easily known, and a series of complicated operations such as calculation analysis and the like are usually required to roughly determine the source and the destination of the circulation of the resource condition of each user.
Disclosure of Invention
The purpose of the present disclosure is to provide a resource data tracing method, device, storage medium and electronic device.
In order to achieve the above object, a first aspect of the present disclosure provides a resource data tracing method, where the method includes:
acquiring target batch identification information of resources to be traced;
acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, wherein the preset resource data set comprises detail record data of a plurality of resources, the detail record data comprises batch identification information of at least one resource, and the batch identification information comprises a service type for generating the resource, a service processing port identification for generating the resource, and generation time and a unique identification sequence of the resource;
and visualizing the target detail record data to display the going details of the resource to be traced.
Optionally, the obtaining target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information includes:
acquiring detail record data including the target batch identification information from the preset resource data set;
and taking the detail record data comprising the target batch identification information as the target detail record data of the resource to be traced.
Optionally, before the obtaining the target batch identification information of the resource to be traced back, the method further includes:
under the condition that a newly added resource appears in a resource pool corresponding to a user account is determined, acquiring a service type for generating the newly added resource, generating a service processing port identifier of the newly added resource, and generating time of the newly added resource;
and generating a service processing port identifier of the newly added resource and batch identifier information of the newly added resource according to the service type of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set.
Optionally, the generating, according to the service type of the newly added resource, a service processing port identifier of the newly added resource and the generation time of the newly added resource, generating batch identifier information of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set includes:
sending the service type for generating the newly added resource, the service processing port identification for generating the newly added resource and the generation time of the newly added resource to a target server, so that the target server generates the service processing port identification for generating the newly added resource and the generation time of the newly added resource in response to receiving the service type for generating the newly added resource, and generates a unique identification sequence of the newly added resource; and generating the service type of the newly added resource according to the unique identification sequence of the newly added resource, generating the service processing port identification of the newly added resource and generating the batch identification information of the newly added resource according to the generation time of the newly added resource.
Optionally, the method further comprises:
and under the condition that the newly added resource is determined to be operated, sending a target operation instruction to a target server, wherein the target operation instruction comprises batch identification information, an operation type, the number of operation resources and operation time of the newly added resource, so that the target server generates detailed record data of the newly added resource according to the batch identification information, the operation type, the number of operation resources and the operation time, and stores the detailed record data of the newly added resource in the preset resource data set.
A second aspect of the present disclosure provides a resource data tracing apparatus, including:
the first acquisition module is used for acquiring target batch identification information of the resource to be traced;
a second obtaining module, configured to obtain target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, where the preset resource data set includes detail record data of multiple resources, the detail record data includes batch identification information of at least one resource, and the batch identification information includes a service type for generating the resource, a service processing port identifier for generating the resource, and a generation time and a unique identification sequence for generating the resource;
and the display module is used for visualizing the target detail record data so as to display the going details of the resource to be traced.
Optionally, the second obtaining module is configured to:
acquiring detail record data including the target batch identification information from the preset resource data set;
and taking the detail record data comprising the target batch identification information as the target detail record data of the resource to be traced.
Optionally, the apparatus further comprises:
a third obtaining module, configured to, when it is determined that a newly added resource occurs in a resource pool corresponding to a user account, obtain a service type for generating the newly added resource, generate a service processing port identifier of the newly added resource, and generate time for generating the newly added resource;
and the generating module is used for generating a service processing port identifier of the newly added resource and batch identifier information of the newly added resource according to the service type of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set.
Optionally, the generating module is configured to:
sending the service type for generating the newly added resource, the service processing port identification for generating the newly added resource and the generation time of the newly added resource to a target server, so that the target server generates the service processing port identification for generating the newly added resource and the generation time of the newly added resource in response to receiving the service type for generating the newly added resource, and generates a unique identification sequence of the newly added resource; and generating the service type of the newly added resource according to the unique identification sequence of the newly added resource, generating the service processing port identification of the newly added resource and generating the batch identification information of the newly added resource according to the generation time of the newly added resource.
Optionally, the generating module is further configured to:
and under the condition that the newly added resource is determined to be operated, sending a target operation instruction to a target server, wherein the target operation instruction comprises batch identification information, an operation type, the number of operation resources and operation time of the newly added resource, so that the target server generates detailed record data of the newly added resource according to the batch identification information, the operation type, the number of operation resources and the operation time, and stores the detailed record data of the newly added resource in the preset resource data set.
A third aspect of the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect above.
A fourth aspect of the present disclosure provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of the first aspect above.
According to the technical scheme, target batch identification information of the resource to be traced is obtained; acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, wherein the preset resource data set comprises detail record data of a plurality of resources, the detail record data comprises batch identification information of at least one resource, and the batch identification information comprises a service type for generating the resource, a service processing port identification for generating the resource, and generation time and a unique identification sequence of the resource; and visualizing the target detail record data to display the going details of the resource to be traced. Therefore, the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, the overall efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively guaranteed, the tracing result can be effectively visualized, and the user experience can be greatly improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flowchart illustrating a resource data tracing method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a resource data tracing method according to another exemplary embodiment of the present disclosure;
FIG. 3 is a block diagram illustrating a resource data tracing apparatus according to an exemplary embodiment of the disclosure;
FIG. 4 is a block diagram illustrating a resource data tracing apparatus according to the embodiment shown in FIG. 3 of the present disclosure;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating another electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Before describing the embodiments of the present disclosure in detail, the following description will first be made on an application scenario of the present disclosure, and the present disclosure may be applied to a tracking process of forwarding a flow of resources such as credits and virtual coins. Generally, some online platforms (for example, online shopping platforms, delivery platforms, taxi-taking platforms, music playing platforms, etc.) distribute resources such as points, virtual coins, etc. to users, the resources can be generally used by the users to exchange commodities, transfer friends, or purchase services, etc., and when the users dominate the resources, the flow after deducting the resources from the account of the current user is diverted, and generally neither the users nor the platforms can know the resources; for example, a user transfers a current credit to an account of a friend, the user only knows that the user transfers the credit to the friend, but how subsequent friends utilize the credit, the user cannot know the credit, and the platform only knows that a part of the credit on the account corresponding to the friend of the user is transferred from the user, but specifically that part of the credit, and how the friends of the subsequent users deal with the given part of credit, the platform usually has no direct data, and can only calculate the source and destination of the part of credit, the calculation process usually takes a lot of time, and the accuracy and reliability of the calculated result are usually not guaranteed. That is to say, in the related art, the method for tracing the resource data has the problems of low tracing efficiency and poor reliability of the tracing result.
In order to solve the technical problems, the present disclosure provides a resource data tracing method, device, storage medium and electronic device, the method obtains target batch identification information of a resource to be traced; acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, wherein the preset resource data set comprises detail record data of a plurality of resources, the detail record data comprises batch identification information of at least one resource, and the batch identification information comprises a service type for generating the resource, a service processing port identification for generating the resource, and generation time and a unique identification sequence of the resource; and visualizing the target detail record data to display the going details of the resource to be traced. Therefore, the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, the overall efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively guaranteed, the tracing result can be effectively visualized, and the user experience is greatly improved.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
FIG. 1 is a flowchart illustrating a resource data tracing method according to an exemplary embodiment of the present disclosure; referring to fig. 1, the method may include the steps of:
step 101, obtaining target batch identification information of resources to be traced.
The resources to be traced can be scores, virtual coins, virtual reward funds, prizes and the like in preset quantity. The target batch identification information is batch identification information corresponding to the resource to be traced, the batch identification information is a resource identification generated when the resource to be traced enters the resource pool, and the batch identification information may include a service type for generating the resource, a service processing port identification for generating the resource, a generation time for generating the resource, and a unique identification sequence.
Illustratively, the type of business for generating the resource may be store consumption donation, member welfare donation, operation donation, etc.; the service processing port identification of the resource is generated, which may be the number or physical address of the server that processes the service of the resource, and the unique identification sequence may be a self-increment sequence generated according to the generation time, such as a hash value automatically generated by the system, or any sequence freely combined by letters and numbers.
And 102, acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information.
The preset resource data set comprises detail record data of a plurality of resources, the detail record data comprises batch identification information of at least one resource, and the batch identification information comprises a service type for generating the resource, a service processing port identification for generating the resource, generation time for generating the resource and a unique identification sequence.
One possible implementation manner in this step is: acquiring detail record data including the target batch identification information from the preset resource data set; and taking the detail record data comprising the target batch identification information as the target detail record data of the resource to be traced.
For example, when the user a joins a member of a shopping platform, the shopping platform presents 10 ten thousand virtual coins at a time, the code corresponding to the platform presenting service type is 01, the server handling the 10 ten thousand virtual coin service is server No. 0035, the generation time is 2021 year, 6 month, 1 day, 13 hours and 14 minutes, 56 seconds, and the generated unique identification sequence is 258B, so that the batch identification information of the 10 ten thousand virtual coins can be 01003520210601131456258B. When 5 tens of thousands of virtual coins among the 10 thousands of virtual coins are used to exchange the merchandise, the detail record data including the batch identification information is generated, for example, the detail record data may be-5 thousands (merchant name, exchange time, exchange article number, batch identification of the virtual coin used), when 500 virtual coins among the 5 thousands of virtual coins consumed to the merchant are presented to the user B, the detail record-500 (merchant presentation, presentation time, batch identification of the virtual coin used) is generated, so that, no matter how many times the 10 thousands of virtual coins make a circulation, the circulation is carried with the batch identification information, that is, each circulation generates the detail record including the batch identification information, thereby, when the platform or the user wants to acquire the going direction of the 10 thousands of coins, by searching the batch identification information, all the detail record data including the batch identification information can be acquired, so that the destination of each gold coin in the 10 ten thousand virtual gold coins can be known through the detail record data.
And 103, visualizing the target detail record data to display the going details of the resource to be traced.
In this step, one possible implementation may be: and directly displaying the target detail recording data to a user in the form of characters or patterns so that the user can directly read the going details of the resource to be traced.
In this step, another possible implementation may be: and drawing a resource forward-flow topological graph according to the target detail record data, wherein the resource forward-flow topological graph comprises nodes, arrows and the number of the coins, the nodes represent objects of each flow, the arrows represent the direction of the flow, the number of the flows is marked around the arrows, for example, if the arrows point to the node 2 from the node 1 and are marked with 500 around the arrows, the number of the virtual coins which represent the flow of the node 1 to the node 2 is 500. Therefore, readability of the tracing result can be effectively improved through visualization of the target detail record data, and user experience can be effectively improved.
According to the technical scheme, target batch identification information of the resource to be traced is obtained; and acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, and visualizing the target detail record data to display the going details of the resource to be traced. Therefore, the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, the overall efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively guaranteed, the tracing result can be effectively visualized, and the user experience is greatly improved.
FIG. 2 is a flowchart illustrating a resource data tracing method according to another exemplary embodiment of the present disclosure; referring to fig. 2, the method may include the steps of:
step 201, under the condition that it is determined that a newly added resource appears in a resource pool corresponding to a user account, acquiring a service type for generating the newly added resource, a service processing port identifier for generating the newly added resource, and a generation time of the newly added resource.
In this step, the new resource is determined to be added under the condition that the resource in the user account is determined to be increased. The service type may be a shop consumption presentation, a member welfare presentation, an operation presentation, or the like, the service processing port identifier may be a number or a physical address of a server that processes the resource service, and the unique identifier sequence may be an incremental sequence generated according to the generation time.
Step 202, according to the service type of the newly added resource, generating a service processing port identifier of the newly added resource and the generation time of the newly added resource to generate batch identifier information of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set.
In this step, the service type for generating the newly added resource, the service processing port identifier for generating the newly added resource, and the generation time of the newly added resource may be sent to a target server, so that the target server generates the service processing port identifier for generating the newly added resource and the generation time of the newly added resource in response to receiving the service type for generating the newly added resource, and generates a unique identifier sequence of the newly added resource; and generating the service type of the newly added resource according to the unique identification sequence of the newly added resource, generating the service processing port identification of the newly added resource and generating the batch identification information of the newly added resource according to the generation time of the newly added resource.
In step 202, the service type of the newly added resource is generated, the service processing port identifier of the newly added resource is generated, and the generation time of the newly added resource is sent to the target server, so that the target server generates the batch identifier of the newly added resource, which can ensure that the generation of the batch identifier is not performed locally, and can realize asynchronous execution of resource operation and generation of the batch identifier, thereby being beneficial to reducing the coupling with service data and improving the stability of the whole system.
Step 203, sending a target operation instruction to the target server under the condition that the newly added resource is determined to be operated, wherein the target operation instruction comprises the batch identification information, the operation type, the operation resource quantity and the operation time of the newly added resource, so that the target server generates the detail record data of the newly added resource according to the batch identification information, the operation type, the operation resource quantity and the operation time, and stores the detail record data of the newly added resource in the preset resource data set.
Wherein the operation type can be forwarding, exchanging, purchasing or aging, and in one embodiment, a code can be configured for a plurality of operation types, and the operation type is characterized by the code in the trusted record data.
For example, when the user a joins a member of a shopping platform, the shopping platform presents 10 ten thousand virtual coins at a time, the code corresponding to the platform presenting service type is 01, the server handling the 10 ten thousand virtual coin service is server No. 0035, the generation time is 2021 year, 6 month, 1 day, 13 hours and 14 minutes, 56 seconds, and the generated unique identification sequence is 258B, so that the batch identification information of the 10 ten thousand virtual coins can be 01003520210601131456258B. When 5 tens of thousands of virtual coins among the 10 thousands of virtual coins are used to exchange the merchandise, the detail record data including the batch identification information is generated, for example, the detail record data may be-5 thousands (merchant name, exchange time, exchange article number, batch identification of the virtual coin used), when 500 virtual coins among the 5 thousands of virtual coins consumed to the merchant are presented to the user B, the detail record-500 (merchant presentation, presentation time, batch identification of the virtual coin used) is generated, so that the batch identification information is carried regardless of where the 10 thousands of virtual coins make a turn, i.e., the detailed record including the batch identification information is generated for each turn, so that when the platform or the user wants to acquire the heading of the 10 thousands of coins, by searching the batch identification information, all the detail record data including the batch identification information can be acquired, so that the destination of each gold coin in the 10 ten thousand virtual gold coins can be known through the detail record data.
Thus, a preset resource data set including detail record data of a plurality of resource data is generated through the above steps 201 to 203, and when a user needs to query a flow forwarding direction of a certain resource, the flow forwarding direction of the resource to be traced can be obtained through the following steps 204 to 206.
And step 204, acquiring target batch identification information of the resource to be traced.
The target batch identification information is batch identification information corresponding to the resource to be traced.
Step 205, obtaining target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information.
The preset resource data set comprises detail record data of a plurality of resources, and the detail record data comprises batch identification information of at least one resource.
Step 206, visualizing the target detail record data to display the going details of the resource to be traced.
In this step, one possible implementation may be: and directly displaying the target detail recording data to a user in the form of characters or patterns so that the user can directly read the going details of the resource to be traced.
In this step, another possible implementation may be: and drawing a resource forward-flow topological graph according to the target detail record data, wherein the resource forward-flow topological graph comprises nodes, arrows and the number of the coins, the nodes represent objects of each flow, the arrows represent the direction of the flow, the number of the flows is marked around the arrows, for example, if the arrows point to the node 2 from the node 1 and are marked with 500 around the arrows, the number of the virtual coins which represent the flow of the node 1 to the node 2 is 500. Therefore, readability of the tracing result can be effectively improved through visualization of the target detail record data, and user experience can be effectively improved.
According to the technical scheme, the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, the overall efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively guaranteed, the tracing result can be effectively visualized, and the user experience is greatly improved.
Fig. 3 is a block diagram illustrating a resource data tracing apparatus according to an exemplary embodiment of the disclosure, where the apparatus may include:
a first obtaining module 301, configured to obtain target batch identification information of a resource to be traced;
a second obtaining module 302, configured to obtain target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, where the preset resource data set includes detail record data of multiple resources, the detail record data includes batch identification information of at least one resource, the batch identification information includes a service type for generating the resource, a service processing port identifier for generating the resource, and a generation time and a unique identification sequence for generating the resource;
the display module 303 is configured to visualize the target detail record data to display the going details of the resource to be traced.
According to the technical scheme, target batch identification information of the resource to be traced is obtained; and acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, and visualizing the target detail record data to display the going details of the resource to be traced. Therefore, the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, the overall efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively guaranteed, the tracing result can be effectively visualized, and the user experience is greatly improved.
Optionally, the second obtaining module 302 is configured to:
acquiring detail record data including the target batch identification information from the preset resource data set;
and taking the detail record data comprising the target batch identification information as the target detail record data of the resource to be traced.
Fig. 4 is a block diagram illustrating a resource data tracing apparatus according to the embodiment shown in fig. 3 of the present disclosure, where the apparatus may further include:
a third obtaining module 304, configured to, in a case that it is determined that a newly added resource occurs in a resource pool corresponding to a user account, obtain a service type for generating the newly added resource, generate a service processing port identifier of the newly added resource, and obtain generation time of the newly added resource;
a generating module 305, configured to generate a service processing port identifier of the newly added resource and batch identifier information of the newly added resource according to the service type of the newly added resource, and add the newly added resource and the batch identifier information of the newly added resource to the preset resource data set.
Optionally, the generating module 305 is configured to:
sending the service type for generating the newly added resource, the service processing port identification for generating the newly added resource and the generation time of the newly added resource to a target server, so that the target server generates the service processing port identification for generating the newly added resource and the generation time of the newly added resource in response to receiving the service type for generating the newly added resource, and generates a unique identification sequence of the newly added resource; and generating the service type of the newly added resource according to the unique identification sequence of the newly added resource, generating the service processing port identification of the newly added resource and generating the batch identification information of the newly added resource according to the generation time of the newly added resource.
Optionally, the generating module 305 is further configured to:
and under the condition that the newly added resource is determined to be operated, sending a target operation instruction to a target server, wherein the target operation instruction comprises batch identification information, an operation type, the number of the operation resources and operation time of the newly added resource, so that the target server generates detailed record data of the newly added resource according to the batch identification information, the operation type, the number of the operation resources and the operation time, and stores the detailed record data of the newly added resource in the preset resource data set.
According to the technical scheme, the service type for generating the newly added resource, the service processing port identification for generating the newly added resource and the generation time of the newly added resource are sent to the target server, so that the target server generates batch identification information of the newly added resource, the generation of the batch identification information can be guaranteed not to be locally performed, the asynchronous performance of resource operation and generation of the batch identification information can be realized, the coupling with service data is reduced, and the stability of the whole system is improved; and the source and the evolution process of the resource to be traced are traced according to the target detail record data with the target batch identification information, so that the whole efficiency of tracing the resource data can be effectively improved, the reliability of the tracing result can be effectively ensured, the tracing result can be effectively visualized, and the user experience can be greatly improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment. As shown in fig. 5, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to control the overall operation of the electronic device 500, so as to complete all or part of the steps in the resource data tracing method. The memory 502 is used to store various types of data to support operation at the electronic device 500, such as instructions for any application or method operating on the electronic device 500 and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 502 or transmitted through the communication component 505. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 505 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-mentioned resource data sourcing method.
In another exemplary embodiment, a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the resource data tracing method described above is also provided. For example, the computer readable storage medium may be the memory 502 described above comprising program instructions that are executable by the processor 501 of the electronic device 500 to perform the resource data tracing method described above.
FIG. 6 is a block diagram illustrating another electronic device in accordance with an example embodiment. For example, the electronic device 600 may be provided as a server. Referring to fig. 6, the electronic device 600 includes a processor 622, which may be one or more in number, and a memory 632 for storing computer programs executable by the processor 622. The computer program stored in memory 632 may include one or more modules that each correspond to a set of instructions. Further, the processor 622 can be configured to execute the computer program to perform the resource data tracing method described above.
Additionally, electronic device 600 may also include a power component 626 that may be configured to perform power management of electronic device 600 and a communication component 650 that may be configured to enable communication, e.g., wired or wireless communication, of electronic device 600. The electronic device 600 may also include input/output (I/O) interfaces 658. The electronic device 600 may operate based on an operating system, such as Windows Server, stored in the memory 632TM,Mac OS XTM,UnixTM,LinuxTMAnd so on.
In another exemplary embodiment, a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the resource data tracing method described above is also provided. For example, the computer readable storage medium can be the memory 632 described above that includes program instructions that can be executed by the processor 622 of the electronic device 600 to perform the resource data tracing method described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A resource data tracing method is characterized by comprising the following steps:
acquiring target batch identification information of resources to be traced;
acquiring target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, wherein the preset resource data set comprises detail record data of a plurality of resources, the detail record data comprises batch identification information of at least one resource, and the batch identification information comprises a service type for generating the resource, a service processing port identification for generating the resource, and generation time and a unique identification sequence of the resource;
and visualizing the target detail record data to display the going details of the resource to be traced.
2. The method according to claim 1, wherein the obtaining target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information includes:
acquiring detail record data including the target batch identification information from the preset resource data set;
and taking the detail record data comprising the target batch identification information as the target detail record data of the resource to be traced.
3. The method according to claim 1, wherein before said obtaining target lot identification information of the resource to be traced, the method further comprises:
under the condition that a newly added resource appears in a resource pool corresponding to a user account is determined, acquiring a service type for generating the newly added resource, generating a service processing port identifier of the newly added resource, and generating time of the newly added resource;
and generating a service processing port identifier of the newly added resource and batch identifier information of the newly added resource according to the service type of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set.
4. The method according to claim 3, wherein the generating, according to the service type of the newly added resource, the service processing port identifier of the newly added resource and the generation time of the newly added resource, the batch identifier information of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set includes:
sending the service type for generating the newly added resource, the service processing port identification for generating the newly added resource and the generation time of the newly added resource to a target server, so that the target server generates the service processing port identification for generating the newly added resource and the generation time of the newly added resource in response to receiving the service type for generating the newly added resource, and generates a unique identification sequence of the newly added resource; and generating the service type of the newly added resource according to the unique identification sequence of the newly added resource, generating the service processing port identification of the newly added resource and generating the batch identification information of the newly added resource according to the generation time of the newly added resource.
5. The method of claim 3, further comprising:
and under the condition that the newly added resource is determined to be operated, sending a target operation instruction to a target server, wherein the target operation instruction comprises batch identification information, an operation type, the number of operation resources and operation time of the newly added resource, so that the target server generates detailed record data of the newly added resource according to the batch identification information, the operation type, the number of operation resources and the operation time, and stores the detailed record data of the newly added resource in the preset resource data set.
6. A resource data tracing apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring target batch identification information of the resource to be traced;
a second obtaining module, configured to obtain target detail record data of the resource to be traced from a preset resource data set according to the target batch identification information, where the preset resource data set includes detail record data of multiple resources, the detail record data includes batch identification information of at least one resource, and the batch identification information includes a service type for generating the resource, a service processing port identifier for generating the resource, and a generation time and a unique identification sequence for generating the resource;
and the display module is used for visualizing the target detail record data so as to display the going details of the resource to be traced.
7. The apparatus of claim 6, wherein the second obtaining module is configured to:
acquiring detail record data including the target batch identification information from the preset resource data set;
and taking the detail record data comprising the target batch identification information as the target detail record data of the resource to be traced.
8. The apparatus of claim 6, further comprising:
a third obtaining module, configured to, when it is determined that a newly added resource occurs in a resource pool corresponding to a user account, obtain a service type for generating the newly added resource, generate a service processing port identifier of the newly added resource, and generate time for generating the newly added resource;
and the generating module is used for generating a service processing port identifier of the newly added resource and batch identifier information of the newly added resource according to the service type of the newly added resource, and adding the newly added resource and the batch identifier information of the newly added resource to the preset resource data set.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 5.
CN202110704185.4A 2021-06-24 2021-06-24 Resource data tracing method and device, storage medium and electronic equipment Pending CN113505284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110704185.4A CN113505284A (en) 2021-06-24 2021-06-24 Resource data tracing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110704185.4A CN113505284A (en) 2021-06-24 2021-06-24 Resource data tracing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113505284A true CN113505284A (en) 2021-10-15

Family

ID=78010482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110704185.4A Pending CN113505284A (en) 2021-06-24 2021-06-24 Resource data tracing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113505284A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115936736A (en) * 2023-02-22 2023-04-07 北京新之科技有限公司 Renewable resource recycling tracing and storing system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338124A (en) * 2014-06-09 2016-02-17 深圳市志友企业发展促进中心 Resource propagating tracking method and apparatus, and resource propagating system
CN111626744A (en) * 2020-04-17 2020-09-04 广州中国科学院计算机网络信息中心 Configurable and identification interconnection tracing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338124A (en) * 2014-06-09 2016-02-17 深圳市志友企业发展促进中心 Resource propagating tracking method and apparatus, and resource propagating system
CN111626744A (en) * 2020-04-17 2020-09-04 广州中国科学院计算机网络信息中心 Configurable and identification interconnection tracing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115936736A (en) * 2023-02-22 2023-04-07 北京新之科技有限公司 Renewable resource recycling tracing and storing system and method

Similar Documents

Publication Publication Date Title
Antonopoulos Mastering Bitcoin: unlocking digital cryptocurrencies
CN108228175A (en) Movable backstage development approach, device, server and medium
US8639555B1 (en) Workflow discovery through user action monitoring
WO2021129379A1 (en) Information sharing chain generation method and apparatus, electronic device, and storage medium
CN109803008B (en) Method and apparatus for displaying information
WO2022022245A1 (en) Method, apparatus and device for generating digital document of title
CN111756779B (en) Data serialization processing method, device and computer system
CN110941488A (en) Task processing method, device, equipment and storage medium
CN113505284A (en) Resource data tracing method and device, storage medium and electronic equipment
CN111192080A (en) Page display method and device and electronic equipment
CN110796518A (en) E-commerce interaction activity processing method and system
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN113778878A (en) Interface testing method and device, electronic equipment and storage medium
US9921871B2 (en) Event processing systems and methods
US20190058687A1 (en) Personal web address management system
CN110807652A (en) Marketing information management method and system based on gift
CN110070383B (en) Abnormal user identification method and device based on big data analysis
TW202027000A (en) Instant messenger-based account transaction history providing method, system and computer readable recording medium
CN107562461B (en) Feature calculation system, feature calculation method, storage medium, and electronic device
CN111626802A (en) Method and apparatus for processing information
EP3374860B1 (en) Communicating information about an update of an application
CN111552715B (en) User query method and device
CN110327626B (en) Virtual server creation method and device
CN113298650A (en) Information processing method and device and electronic equipment
KR102622354B1 (en) Method and system for payment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 403, 4th Floor, Building 7, Xiujuyuan, Beiyuan Jiayuan, Chaoyang District, Beijing, 100012

Applicant after: Beijing Tianjiuyun e-commerce Group Co.,Ltd.

Address before: 100012 Building 8, Yangshan Park, 30 Anli Road, Chaoyang District, Beijing

Applicant before: Beijing tianjiuyun e-commerce Group Co.,Ltd.

Address after: 100012 Building 8, Yangshan Park, 30 Anli Road, Chaoyang District, Beijing

Applicant after: Beijing tianjiuyun e-commerce Group Co.,Ltd.

Address before: 100012 Building 8, Yangshan Park, 30 Anli Road, Chaoyang District, Beijing

Applicant before: Beijing tianjiuyun e-commerce Co.,Ltd.

CB02 Change of applicant information