CN113849864A - Block chain-based mobile terminal shopping APP evidence obtaining method - Google Patents
Block chain-based mobile terminal shopping APP evidence obtaining method Download PDFInfo
- Publication number
- CN113849864A CN113849864A CN202111130968.2A CN202111130968A CN113849864A CN 113849864 A CN113849864 A CN 113849864A CN 202111130968 A CN202111130968 A CN 202111130968A CN 113849864 A CN113849864 A CN 113849864A
- Authority
- CN
- China
- Prior art keywords
- server
- evidence obtaining
- forensics
- commodity
- app
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000001514 detection method Methods 0.000 claims abstract description 30
- 230000006870 function Effects 0.000 claims description 23
- 238000011156 evaluation Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 5
- 230000003749 cleanliness Effects 0.000 claims description 5
- 235000014510 cooky Nutrition 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0609—Buyer or seller confidence or verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0623—Item investigation
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of block chains, in particular to a block chain-based APP evidence obtaining method for mobile-end shopping, which comprises the following steps: configuring mobile terminal real machine equipment: the configured mobile terminal real machine equipment serves as evidence obtaining equipment, is registered to the server and is set to be ready; the server receives and distributes evidence-obtaining tasks; the evidence obtaining device downloads and executes evidence obtaining tasks: downloading a corresponding commodity link to be forensics and updating the state into occupation; generating a new log file; browsing the commodities to be proved in a shopping APP, and periodically screenshot; sending the log file and the screenshot to a server; the server packs the log file, the cleanness detection file and the video file into a certificate storage package and stores the certificate storage package; extracting a hash value of the evidence storage packet, uploading the hash value to a block chain for storage, and obtaining a corresponding block height and a block hash value; and generating the certificate of authenticity according to the template. The substantial effects of the invention are as follows: only the goods to be subjected to evidence obtaining are required to be submitted to be linked to the server, so that the evidence obtaining efficiency is improved.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain-based APP evidence obtaining method for mobile-end shopping.
Background
With the continuous development of scientific technology, electronic evidence continuously appears in litigation and plays a crucial role in identifying case facts. The electronic evidence is an electronic file which is researched as evidence and can prove the fact related to the case. With the development of information technology, the types of electronic information used in production and life tend to be diversified in forms, such as electronic contracts, electronic bills of lading, electronic insurance policies, electronic invoices and the like. The electronic evidence has the characteristics of intangibility, diversity, objective authenticity, easy destructiveness and the like. The electronic evidence can be easily tampered and forged by adopting a computer technology, so that technical means are needed to improve the reliability of the electronic evidence. The blockchain technology is a public shared book and can provide authenticity proofs. In the information age, electronic information can change rapidly, and evidences are easy to lose, so that the electronic evidences need to be collected timely. The current evidence collection mode comprises online evidence collection of a webpage and process evidence collection. The use is forensics and is very wasted time and energy to removing end APP and collecting evidence, has brought difficulty and risk on collecting evidence for the property person.
For example, chinese patent CN110009336A, published 2019, 7, month and 12, discloses a block chain-based forensics method and apparatus, wherein the method includes: acquiring a network forensics request of a user, and acquiring forensics identification information according to the network forensics request; calling an intelligent contract deployed on the block chain, and controlling nodes in the block chain to execute evidence obtaining operation according to evidence obtaining identification information so as to obtain corresponding evidence obtaining data; and signing the evidence obtaining data, and sending the signed evidence obtaining data to a terminal of a user. The method and the device realize automatic acquisition of network forensics and improve forensics efficiency. But still cannot forensics of the mobile end APP.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the technical problem that a convenient mobile terminal APP evidence obtaining method is lacked at present. The method for obtaining the evidence of the mobile terminal shopping APP based on the block chain is provided, and efficient mobile terminal APP evidence obtaining can be provided for the obligee.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: the method for obtaining evidence of the mobile terminal shopping APP based on the block chain comprises the following steps that a user sends a commodity link to be obtained evidence to a server, and the server is connected with mobile terminal real machine equipment: configuring mobile terminal real machine equipment: the configured mobile terminal real machine equipment serves as evidence obtaining equipment, registers to the server and sets the state as ready, and starts an evidence obtaining control program; the server receives and distributes evidence-obtaining tasks: the method comprises the steps that a server receives a forensics request of a user and a to-be-forensics commodity link, generates a forensics task and distributes the forensics task to forensics equipment in a ready state; the evidence obtaining device downloads and executes evidence obtaining tasks: the evidence obtaining control program periodically inquires the task list, if the evidence obtaining task exists in the task list, the corresponding commodity link to be obtained is downloaded, and the state is updated to be occupied; the evidence obtaining control program generates a new log file and writes evidence obtaining operation data into the log file; the evidence obtaining control program controls evidence obtaining equipment to browse the commodities to be proved in the shopping APP, and the commodities are captured periodically; after browsing is finished, sending the log file and the screenshot to a server, and updating the state to be ready; the server generates a certificate of authenticity: the server sorts the screenshots according to time sequence and generates a video file, and the log file, the cleanness detection file and the video file are packaged into a certificate storage package and stored; extracting a hash value of the evidence storage packet, uploading the hash value to a block chain for storage, and obtaining a corresponding block height and a block hash value; and generating a certificate of deposit according to the template, and sending the certificate of deposit and the certificate of deposit package to the user.
Preferably, the method for configuring the mobile terminal real machine device comprises the following steps: placing mobile terminal real machine equipment in a trusted environment, installing a clean environment detection program, a plurality of preset shopping APPs and a forensics control program in the mobile terminal real machine equipment, registering the mobile terminal real machine equipment as forensics equipment to a server after configuration is completed, setting the state of the mobile terminal real machine equipment as ready, and starting the forensics control program; when the evidence obtaining equipment downloads and executes an evidence obtaining task, starting a clean environment detection program to obtain a cleanness detection file, and sending the cleanness detection file to a server; and the server adds the cleanness detection file into the certificate storage package.
Preferably, the method for performing cleanliness detection by the clean environment detection program includes: clearing browser cache and cookies, and restoring browser settings to a factory state; checking a hosts file, detecting whether a preset keyword is contained or not, and if the preset keyword is contained, not passing the cleanness detection; accessing a preset fixed domain name, judging whether the access is successful or not, recording the response time, and if the access is not successful or the response time exceeds a threshold value, failing to pass the cleanliness detection; and recording the keyword detection result, the fixed domain name access result and the response duration in the cleanness detection file.
Preferably, the method for browsing the commodities to be forensics in the shopping APP comprises the following steps: searching standard time in a browser, and storing screenshots; opening a commodity link to be forensics in a browser, triggering a corresponding shopping APP to automatically start and enter a commodity to be forensics; and calling a system interface of the evidence obtaining equipment by the evidence obtaining control program, controlling the shopping APP to display the commodity contents according to a preset sequence, and storing the screenshots periodically.
Preferably, the displaying the commodity contents in the preset sequence comprises the following steps: checking whether the commodity is placed on shelf or not, and stopping evidence obtaining if the commodity is placed on shelf; and browsing the commodity display picture: calling a system interface to input a leftward sliding operation instruction to the upper part of the shopping APP until the displayed picture is not replaced after leftward sliding; and (4) evaluating and browsing the commodities: pulling the page downwards, simultaneously periodically searching and identifying an evaluation word sample, clicking after finding, developing the evaluation, continuously pulling downwards for a preset number of times, and loading commodity evaluation; browsing the details of the commodity: and returning from the commodity evaluation, and continuously pulling the page downwards until the picture does not change after the page is pulled downwards.
Preferably, when browsing the details of the commodity, the rate of pulling down is dynamically adjusted, and the method for dynamically adjusting the rate comprises the following steps: setting a single downward pulling length, and setting an initial pulling waiting interval; when the waiting interval just begins, reading a plurality of screenshots, calculating the color mean value of each screenshot, obtaining the number of the screenshots different from the color mean value of the last screenshot, if the number is smaller than a preset threshold value, reducing the waiting interval, and if the number is larger than the preset threshold value, increasing the waiting interval.
Preferably, the method for calculating the color mean value of each screenshot comprises the following steps: the screenshot is converted to a gray map and the average of all pixel gray values is calculated.
Preferably, the smaller the number of different color mean values of the last shot read, the greater the reduction in the waiting interval.
Preferably, the method for storing the certificate package by the server comprises the following steps: preprocessing a certificate storage bag: the server encrypts the certificate storage packet and divides the encrypted certificate storage packet into a plurality of binary data segments with preset sizes, and zero padding is carried out at the tail of the binary data segments with the sizes less than the preset sizes; establishing a linked list: establishing structured data, wherein the structured data comprises a memory bank and an offset value, the memory bank stores a data segment, the server stores a preset address function, the input of the address function is a number and the offset value, the output of the address function points to the memory address of the next structured data, and after one piece of structured data is read, the number is added by 1; storing a first data segment: the server sets the number as 1, allocates a first storage address, and calculates an initial offset value according to the address function, the number and the first storage address; constructing first structured data, storing the first data segment into a memory bank, then storing the first data segment into an initial offset value, and storing the first structured data into a first memory address; circularly storing the remaining data segments: the number is added by 1, the server searches backward a storage space enough for storing the structured data to obtain a storage address, and an offset value is calculated according to the address function, the number and the storage address; constructing structured data, storing the structured data into a next data segment and an offset value, and storing the structured data into a storage address; executing the step of circularly storing the residual data segments until all the data segments of the storage packet are stored; the server stores the initial offset value and the number-associated identification code.
The substantial effects of the invention are as follows: the server is connected with the mobile terminal genuine machine equipment in the trusted environment, evidence collection can be completed by receiving the commodity link to be proved sent by the user, and a rightful person only needs to submit the commodity link to be proved to be connected with the server; the evidence obtaining content is difficult to be tampered by means of the block chain, so that the reliability is improved; the reliability of evidence obtaining is further improved through clean environment detection; the pulling speed is dynamically adjusted, and the evidence obtaining efficiency is improved.
Drawings
Fig. 1 is a flowchart illustrating an APP forensics method for shopping at a mobile terminal according to an embodiment.
Fig. 2 is a schematic diagram illustrating a method for configuring a mobile terminal emulation apparatus according to an embodiment.
FIG. 3 is a schematic diagram of a cleanliness detection method according to an embodiment.
Fig. 4 is a schematic diagram illustrating a method for browsing a to-be-forensics product according to an embodiment.
Fig. 5 is a schematic diagram illustrating a method for displaying merchandise contents in a predetermined sequence according to an embodiment.
FIG. 6 is a diagram illustrating a method for dynamically adjusting a rate according to an embodiment.
Fig. 7 is a schematic diagram illustrating a method for storing a certificate package by a server according to an embodiment.
Detailed Description
The following provides a more detailed description of the present invention, with reference to the accompanying drawings.
The first embodiment is as follows:
according to the APP evidence obtaining method for mobile-end shopping based on the block chain, a user sends a commodity link to be proved to a server, the server is connected with mobile-end real machine equipment, please refer to the attached figure 1, and the APP evidence obtaining method comprises the following steps:
step A01) configuring mobile terminal real machine equipment: the configured mobile terminal real machine equipment serves as evidence obtaining equipment, registers to the server and sets the state as ready, and starts an evidence obtaining control program;
step a 02) the server receives and distributes the forensic tasks: the method comprises the steps that a server receives a forensics request of a user and a to-be-forensics commodity link, generates a forensics task and distributes the forensics task to forensics equipment in a ready state;
step a 03) the forensics device downloads and performs forensics tasks: the evidence obtaining control program periodically inquires the task list, if the evidence obtaining task exists in the task list, the corresponding commodity link to be obtained is downloaded, and the state is updated to be occupied;
step A04) generating a new log file by the evidence obtaining control program, and writing evidence obtaining operation data into the log file;
step A05), controlling a evidence obtaining control program to control evidence obtaining equipment to browse the commodities to be proved in a shopping APP, and periodically carrying out screenshot;
step A06), after browsing, sending the log file and the screenshot to a server, and updating the state to be ready; the server generates a certificate of authenticity:
step A07), the server sorts the screenshots according to time sequence and generates a video file, and the log file, the cleanness detection file and the video file are packaged into a evidence storage package and stored;
step A08), extracting the hash value of the certificate storage package, uploading the hash value to a block chain for storage, and obtaining the corresponding block height and the block hash value;
step A09) generating a certificate of authenticity according to the template, and sending the certificate of authenticity and the certificate of authenticity package to the user.
Referring to fig. 2, a method for configuring a mobile terminal device includes: step B01) placing the mobile terminal real machine equipment in a trusted environment; step B02) installing a clean environment detection program, a plurality of preset shopping APPs and a forensics control program in the mobile terminal real machine equipment; step B03), after the configuration is finished, the mobile terminal real machine equipment is used as evidence obtaining equipment to register to the server, the state is set to be ready, and an evidence obtaining control program is started; step B04), when the evidence obtaining equipment downloads and executes the evidence obtaining task, starting a clean environment detection program to obtain a cleanness detection file, and sending the cleanness detection file to a server; and the server adds the cleanness detection file into the certificate storage package. The online shopping APP is multiple and can be installed. The evidence obtaining control program is used for receiving the control instruction sent by the server and submitting the control instruction to the system of the evidence obtaining equipment. The mobile phone operating tool disclosed in the prior art can realize the functions of a forensic control program, such as scrcpy and the like. In the embodiment, socket is used for communication between the value taking device and the server, so that higher communication efficiency is achieved.
Referring to fig. 3, the method for performing cleanliness detection by the clean environment detection program includes: step C01), clearing the browser cache and cookies, and restoring the browser setting to a factory state; step C02) checking the hosts file, detecting whether the hosts file contains the preset keywords, and if the hosts file contains the preset keywords, the cleanness detection is not passed; step C03), accessing a preset fixed domain name, judging whether the access is successful, recording the response time length, and if the access is not successful or the response time length exceeds a threshold value, failing to pass the cleanness detection; step C04) records the keyword detection result, the fixed domain name access result and the response duration in the cleanness detection file.
Referring to fig. 4, a method for browsing a commodity to be forensics in a shopping APP includes: step D01) searching standard time in the browser, and storing the screenshot; step D02) opening a commodity link to be forensics in the browser, triggering the corresponding shopping APP to automatically start and enter the commodity to be forensics; and D03), calling a system interface of the evidence obtaining device by the evidence obtaining control program, controlling the shopping APP to display the commodity contents according to a preset sequence, and storing the screenshots periodically. Standard time is searched in the browser, and the screenshot is stored and can be used as evidence of evidence obtaining time. And opening a commodity link to be forensics in the browser, and automatically awakening and opening a corresponding shopping APP by the system.
Referring to fig. 5, the displaying of the merchandise content in the predetermined sequence includes: step E01) checking whether the commodity is placed on shelves or not, and stopping evidence obtaining if the commodity is placed on shelves; step E02) to browse the commodity display pictures: calling a system interface to input a leftward sliding operation instruction to the upper part of the shopping APP until the displayed picture is not replaced after leftward sliding; step E03) evaluation browsing of commodities: pulling the page downwards, simultaneously periodically searching and identifying an evaluation word sample, clicking after finding, developing the evaluation, continuously pulling downwards for a preset number of times, and loading commodity evaluation; step E04) browsing the item details: and returning from the commodity evaluation, and continuously pulling the page downwards until the picture does not change after the page is pulled downwards.
With reference to fig. 6, the method for dynamically adjusting the downward pulling rate when browsing the details of the product includes: step F01) setting a single pull-down length, setting an initial pull wait interval; step F02), when the waiting interval just begins, reading a plurality of screenshots, calculating the color mean value of each screenshot, obtaining the number of the screenshots different from the color mean value of the last screenshot, if the number is smaller than a preset threshold value, reducing the waiting interval, and if the number is larger than the preset threshold value, increasing the waiting interval. The rate of pull down is primarily affected by network conditions. The merchandise details of current shopping platforms are typically composed primarily of pictures. If the network is good, the commodity details are loaded rapidly, the commodity details are displayed after a preset time length is waited for, so that the screenshot of the commodity details can be obtained, and the pull-down can be continued rapidly. If the network state is not good, the user needs to wait for a preset time to display the details of the commodity and additionally wait for the completion of loading the details of the commodity. In order to reduce the length of time taken by evidence obtaining for mobile terminal real machine equipment on the premise of ensuring evidence obtaining quality, the pull-down rate is dynamically adjusted according to the loading condition of commodity details, and the evidence obtaining efficiency is improved. The periodic screenshots are used for generating a forensic video, and the frequency of screenshots is high, and in this embodiment, screenshots are taken 10 times per second. I.e. each screenshot represents 0.1 seconds. In the embodiment, the commodity details are displayed by pulling down the screen 0.8 for a period of time and then pulling down the screen 0.8 for a second time. After the pull-down operation is performed, if the shopping APP has the pre-loading function, the pull-down operation is performed immediately, the screenshot from which the waiting time starts has the same or substantially the same content as the screenshot of the preset waiting time, that is, the number of the screenshots different from the color mean value of the last screenshot read is 0, so that the waiting time is reduced, which is equivalent to the improvement of the pull-down rate. On the contrary, if the shopping APP does not have the preloading function, a short period of time is needed for loading the pictures of the commodity details after pull-down, and before the pictures of the commodity details are displayed, the corresponding region displays background colors, so that the change of the color average value is caused. By identifying the number of the screenshots different from the color mean value of the last screenshot read, the time consumed by loading the commodity detail picture can be judged. In this embodiment, the color mean values are different, which means that the difference between the color mean values exceeds a preset threshold. I.e. the color means within a certain error range are assumed to be equal.
The method for calculating the color mean value of each screenshot comprises the following steps: the screenshot is converted to a gray map and the average of all pixel gray values is calculated. The fewer the number of different color means of the last screenshot read, the greater the reduction in the waiting interval.
The beneficial technical effects of this embodiment are: the server is connected with the mobile terminal genuine machine equipment in the trusted environment, evidence collection can be completed by receiving the commodity link to be proved sent by the user, and a rightful person only needs to submit the commodity link to be proved to be connected with the server; the evidence obtaining content is difficult to be tampered by means of the block chain, so that the reliability is improved; the reliability of evidence obtaining is further improved through clean environment detection; the pulling speed is dynamically adjusted, and the evidence obtaining efficiency is improved.
Example two:
the embodiment provides a scheme for storing evidence storage packages dispersedly on a server on the basis of the first embodiment, so as to improve the storage safety of the evidence storage packages. Referring to fig. 7, the method for storing the certificate package by the server includes: step G01) certificate storage package pretreatment: the server encrypts the certificate storage packet and divides the encrypted certificate storage packet into a plurality of binary data segments with preset sizes, and zero padding is carried out at the tail of the binary data segments with the sizes less than the preset sizes; step G02) creates a linked list: establishing structured data, wherein the structured data comprises a memory bank and an offset value, the memory bank stores a data segment, a server stores a preset address function, the input of the address function is a number and the offset value, the output of the address function points to the memory address of the next structured data, and the number is added by 1 after one piece of structured data is read; step G03) stores the first data segment: the server sets the number as 1, allocates a first storage address, and calculates an initial offset value according to the address function, the number and the first storage address; step G04) constructing first structured data, storing the first data segment into a memory bank, then storing an initial offset value, and storing the first structured data on a first memory address; step G05) stores the remaining data segments cyclically: the number is added by 1, the server searches backward a storage space enough for storing the structured data to obtain a storage address, and an offset value is calculated according to the address function, the number and the storage address; step G06), structured data is constructed and stored into the next data segment and the deviant, and the structured data is stored into the storage address; step G07) executes a loop store remaining data segment step until all data segments of the storage package are stored; step G08) the server stores the initial offset value and the number-associated identification code. In this embodiment, the address function is: next address =2 current number +7 offset value + constant value. The distributed storage method provided by this embodiment can read the data segment of the evidence storing packet only after the address function is acquired. And the correct storage address can be obtained only by reading in sequence, so that the method has higher safety and can avoid data leakage. In this embodiment, the address function is encrypted by using the public key of the server and then stored, and is decrypted by using the private key of the server and stored in the memory for use. And destroying the recovered address function in the memory immediately after the use is finished. The time for exposing the address function is shortest, and the storage safety is improved.
The above embodiment is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and other variations and modifications may be made without departing from the technical scope of the claims.
Claims (9)
1. A block chain-based APP evidence obtaining method for mobile-end shopping, wherein a user sends a commodity link to be proved to a server which is connected with mobile-end real machine equipment, is characterized in that,
the method comprises the following steps:
configuring mobile terminal real machine equipment:
the configured mobile terminal real machine equipment serves as evidence obtaining equipment, registers to the server and sets the state as ready, and starts an evidence obtaining control program;
the server receives and distributes evidence-obtaining tasks:
the method comprises the steps that a server receives a forensics request of a user and a to-be-forensics commodity link, generates a forensics task and distributes the forensics task to forensics equipment in a ready state;
the evidence obtaining device downloads and executes evidence obtaining tasks:
the evidence obtaining control program periodically inquires the task list, if the evidence obtaining task exists in the task list, the corresponding commodity link to be obtained is downloaded, and the state is updated to be occupied;
the evidence obtaining control program generates a new log file and writes evidence obtaining operation data into the log file;
the evidence obtaining control program controls evidence obtaining equipment to browse the commodities to be proved in the shopping APP, and the commodities are captured periodically;
after browsing is finished, sending the log file and the screenshot to a server, and updating the state to be ready;
the server generates a certificate of authenticity:
the server sorts the screenshots according to time sequence and generates a video file, and the log file, the cleanness detection file and the video file are packaged into a certificate storage package and stored;
extracting a hash value of the evidence storage packet, uploading the hash value to a block chain for storage, and obtaining a corresponding block height and a block hash value;
and generating a certificate of deposit according to the template, and sending the certificate of deposit and the certificate of deposit package to the user.
2. The APP forensics method for block chain-based mobile-end shopping according to claim 1,
the method for configuring the mobile terminal real machine equipment comprises the following steps:
placing mobile terminal real machine equipment in a trusted environment, installing a clean environment detection program, a plurality of preset shopping APPs and a forensics control program in the mobile terminal real machine equipment, registering the mobile terminal real machine equipment as forensics equipment to a server after configuration is completed, setting the state of the mobile terminal real machine equipment as ready, and starting the forensics control program;
when the evidence obtaining equipment downloads and executes an evidence obtaining task, starting a clean environment detection program to obtain a cleanness detection file, and sending the cleanness detection file to a server; and the server adds the cleanness detection file into the certificate storage package.
3. The APP forensics method for block chain-based mobile-end shopping according to claim 2, wherein,
the method for detecting the cleanness by the clean environment detection program comprises the following steps:
clearing browser cache and cookies, and restoring browser settings to a factory state;
checking a hosts file, detecting whether a preset keyword is contained or not, and if the preset keyword is contained, not passing the cleanness detection;
accessing a preset fixed domain name, judging whether the access is successful or not, recording the response time, and if the access is not successful or the response time exceeds a threshold value, failing to pass the cleanliness detection;
and recording the keyword detection result, the fixed domain name access result and the response duration in the cleanness detection file.
4. The block chain based mobile end shopping APP forensics method according to any one of claims 1 to 3,
the method for browsing the commodities to be forensics in the shopping APP comprises the following steps:
searching standard time in a browser, and storing screenshots;
opening a commodity link to be forensics in a browser, triggering a corresponding shopping APP to automatically start and enter a commodity to be forensics;
and calling a system interface of the evidence obtaining equipment by the evidence obtaining control program, controlling the shopping APP to display the commodity contents according to a preset sequence, and storing the screenshots periodically.
5. The APP forensics method for block chain-based mobile-end shopping according to claim 4, wherein,
the preset sequence of displaying the commodity contents comprises the following steps:
checking whether the commodity is placed on shelf or not, and stopping evidence obtaining if the commodity is placed on shelf;
and browsing the commodity display picture:
calling a system interface to input a leftward sliding operation instruction to the upper part of the shopping APP until the displayed picture is not replaced after leftward sliding;
and (4) evaluating and browsing the commodities:
pulling the page downwards, simultaneously periodically searching and identifying an evaluation word sample, clicking after finding, developing the evaluation, continuously pulling downwards for a preset number of times, and loading commodity evaluation;
browsing the details of the commodity:
and returning from the commodity evaluation, and continuously pulling the page downwards until the picture does not change after the page is pulled downwards.
6. The APP forensics method for block chain-based mobile-end shopping according to claim 5, wherein,
when browsing commodity details, the rate of pulling downwards is dynamically adjusted, and the method for dynamically adjusting the rate comprises the following steps:
setting a single downward pulling length, and setting an initial pulling waiting interval;
when the waiting interval just begins, reading a plurality of screenshots, calculating the color mean value of each screenshot, obtaining the number of the screenshots different from the color mean value of the last screenshot, if the number is smaller than a preset threshold value, reducing the waiting interval, and if the number is larger than the preset threshold value, increasing the waiting interval.
7. The APP forensics method for block chain-based mobile-end shopping according to claim 6, wherein,
the method for calculating the color mean value of each screenshot comprises the following steps: the screenshot is converted to a gray map and the average of all pixel gray values is calculated.
8. The APP forensics method for block chain-based mobile-end shopping according to claim 6, wherein,
the fewer the number of different color means of the last screenshot read, the greater the reduction in the waiting interval.
9. The block chain based mobile end shopping APP forensics method according to any one of claims 1 to 3,
the method for storing the certificate package by the server comprises the following steps:
preprocessing a certificate storage bag:
the server encrypts the certificate storage packet and divides the encrypted certificate storage packet into a plurality of binary data segments with preset sizes, and zero padding is carried out at the tail of the binary data segments with the sizes less than the preset sizes;
establishing a linked list:
establishing structured data, wherein the structured data comprises a memory bank and an offset value, the memory bank stores a data segment, the server stores a preset address function, the input of the address function is a number and the offset value, the output of the address function points to the memory address of the next structured data, and after one piece of structured data is read, the number is added by 1;
storing a first data segment:
the server sets the number as 1, allocates a first storage address, and calculates an initial offset value according to the address function, the number and the first storage address;
constructing first structured data, storing the first data segment into a memory bank, then storing the first data segment into an initial offset value, and storing the first structured data into a first memory address;
circularly storing the remaining data segments:
the number is added by 1, the server searches backward a storage space enough for storing the structured data to obtain a storage address, and an offset value is calculated according to the address function, the number and the storage address;
constructing structured data, storing the structured data into a next data segment and an offset value, and storing the structured data into a storage address;
executing the step of circularly storing the residual data segments until all the data segments of the storage packet are stored;
the server stores the initial offset value and the number-associated identification code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111130968.2A CN113849864A (en) | 2021-09-26 | 2021-09-26 | Block chain-based mobile terminal shopping APP evidence obtaining method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111130968.2A CN113849864A (en) | 2021-09-26 | 2021-09-26 | Block chain-based mobile terminal shopping APP evidence obtaining method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113849864A true CN113849864A (en) | 2021-12-28 |
Family
ID=78980169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111130968.2A Pending CN113849864A (en) | 2021-09-26 | 2021-09-26 | Block chain-based mobile terminal shopping APP evidence obtaining method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113849864A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023211754A1 (en) * | 2022-04-27 | 2023-11-02 | Ironclad, Inc. | Snapshot capture of computing device user interfaces |
US11836510B2 (en) | 2022-04-27 | 2023-12-05 | Ironclad, Inc. | Snapshot capture of computing device user interfaces |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015506028A (en) * | 2011-12-14 | 2015-02-26 | ドミネーター アイピー カンパニー リミテッド | Digital document evidence storage method and system |
CN106227780A (en) * | 2016-07-18 | 2016-12-14 | 中国科学院信息工程研究所 | Automatization's sectional drawing evidence collecting method of a kind of magnanimity webpage and system |
CN108959416A (en) * | 2018-06-08 | 2018-12-07 | 浙江数秦科技有限公司 | A kind of web data automatic evidence-collecting based on block chain and deposit card method |
CN109819101A (en) * | 2018-12-18 | 2019-05-28 | 法信公证云(厦门)科技有限公司 | A kind of evidence collecting method and Specialised mobile terminal of collecting evidence |
CN112260835A (en) * | 2020-09-14 | 2021-01-22 | 浙江数秦科技有限公司 | Block chain-based online process evidence obtaining and storing method |
-
2021
- 2021-09-26 CN CN202111130968.2A patent/CN113849864A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015506028A (en) * | 2011-12-14 | 2015-02-26 | ドミネーター アイピー カンパニー リミテッド | Digital document evidence storage method and system |
CN106227780A (en) * | 2016-07-18 | 2016-12-14 | 中国科学院信息工程研究所 | Automatization's sectional drawing evidence collecting method of a kind of magnanimity webpage and system |
CN108959416A (en) * | 2018-06-08 | 2018-12-07 | 浙江数秦科技有限公司 | A kind of web data automatic evidence-collecting based on block chain and deposit card method |
CN109819101A (en) * | 2018-12-18 | 2019-05-28 | 法信公证云(厦门)科技有限公司 | A kind of evidence collecting method and Specialised mobile terminal of collecting evidence |
CN112260835A (en) * | 2020-09-14 | 2021-01-22 | 浙江数秦科技有限公司 | Block chain-based online process evidence obtaining and storing method |
Non-Patent Citations (1)
Title |
---|
北京市场监管: ""市场监管‘取证神器’来了!促销中的各种猫腻,别想逃!"", pages 1 - 5, Retrieved from the Internet <URL:https://mp.weixin.qq.com/s/2GW-NFWhBepZvvVTA13XEA> * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023211754A1 (en) * | 2022-04-27 | 2023-11-02 | Ironclad, Inc. | Snapshot capture of computing device user interfaces |
US11836510B2 (en) | 2022-04-27 | 2023-12-05 | Ironclad, Inc. | Snapshot capture of computing device user interfaces |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104641363B (en) | The system and method for assessment application compatibility | |
EP2682863B1 (en) | Installing applications remotely | |
US10496696B2 (en) | Search method and apparatus | |
CN103618774B (en) | A kind of resource recommendation method based on network behavior and device, system | |
WO2014139300A1 (en) | Method and device for loading a plug-in | |
CN113849864A (en) | Block chain-based mobile terminal shopping APP evidence obtaining method | |
CN111898047B (en) | Method and device for conducting blockchain certification on webpage through webpage monitoring | |
CN102272784A (en) | Method, apparatus and computer program product for providing analysis and visualization of content items association | |
CN105488205B (en) | Page generation method and device | |
CN106101256B (en) | Method and apparatus for synchrodata | |
CN106911693A (en) | For detecting method, device and terminal device that web page contents are kidnapped | |
US11194979B1 (en) | Item tracking system | |
US20160328110A1 (en) | Method, system, equipment and device for identifying image based on image | |
CN112085567A (en) | Commodity recommendation method and device, electronic equipment and readable medium | |
CN107357794A (en) | Optimize the method and apparatus of the data store organisation of key value database | |
CN113297287B (en) | Automatic user policy deployment method and device and electronic equipment | |
CN106649299A (en) | Method and device for lazy loading of webpage block | |
CN102375881A (en) | Content signature notification | |
CN113094248B (en) | User behavior data analysis method and device, electronic equipment and medium | |
CN111062736A (en) | Model training and clue sequencing method, device and equipment | |
CN110020297A (en) | A kind of loading method of web page contents, apparatus and system | |
KR101692482B1 (en) | Advertising Method of Mobile Device, the Mobile Device and Program Distributing Server therefor | |
CN113032647B (en) | Data analysis system | |
CN109032924A (en) | Identify method, apparatus, equipment and the storage medium of resource type in the page | |
CN106021501A (en) | Data storing method and device |
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 |