Disclosure of Invention
The embodiment of the invention provides a page jump relation analysis method, device, equipment and storage medium, which can meet the intelligent and automatic requirements of users on determining the page jump relation of all pages of a front-end vue item, avoid omission of page jump scenes and improve the efficiency and accuracy of determining the page jump relation.
In a first aspect, an embodiment of the present invention provides a method for analyzing a page jump relationship, where the method includes:
acquiring a configuration file in a root directory of a current vue item in a front end, configuring address information in the configuration file, and determining one or more vue components of all pages in the current vue item according to the address information in the configuration file;
analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result;
analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component;
a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component.
Further, the analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result includes:
analyzing each vue component in all pages in the current vue item, and determining the page name of the page corresponding to each vue component;
and determining an initial jump record of each Vue component according to the page name of the corresponding page of each Vue component, and determining an initial jump relation of each Vue component according to the initial jump record of each Vue component.
Further, the analyzing each vue component in all pages in the current vue item to determine the page name of the page corresponding to each vue component includes:
analyzing each vue component in all pages in the current vue item to acquire target attribute information in each vue component;
and determining the page name of the page corresponding to each vue component according to the target attribute information in each vue component.
Further, the analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component includes:
determining one or more jump scenarios for each of the vue components based on the initial jump relationships for each of the vue components;
superposing one or more jump scenes of each vue component, and determining a jump page of each vue component after jumping;
and determining the complete jump scene between each vue component according to the jump page of each vue component after the jump.
Further, the determining one or more jump scenarios of each vue component according to the initial jump relation of each vue component includes:
determining a corresponding jump record of each vue component according to the initial jump relation of each vue component;
one or more jump scenes for each vue component are determined from the corresponding jump record for each vue component.
Further, the determining the page jump relation between each vue component according to the configuration file and the complete jump scene between each vue component includes:
acquiring a mapping relation between vue component identifiers and page identifiers configured in the configuration file;
determining pages corresponding to each vue component according to the mapping relation between the vue component identifications and the page identifications;
the page jump relationship between each of the vue components is determined based on the complete jump scenario between each of the vue components and the page corresponding to each of the vue components.
Further, before the acquiring the configuration file in the root directory of the current vue item in the front end, the method further includes:
determining a root directory of the current vue item according to the current vue item of the front end, and writing a configuration file in the determined root directory of the current vue item;
address information of vue components in the current vue item and mapping relation of vue component identifications and page identifications are configured in the configuration file.
In a second aspect, an embodiment of the present invention provides a page skip relation analysis device, including:
an obtaining unit, configured to obtain a configuration file in a root directory of a current vue item in a front end, where address information is configured in the configuration file, and determine one or more vue components of all pages in the current vue item according to the address information in the configuration file;
a first analysis unit, configured to analyze each vue component in all pages of the current vue item, and determine an initial jump relationship of each vue component according to an analysis result;
a second analysis unit, configured to analyze the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determine a complete jump scene between each vue component;
and the determining unit is used for determining the page jump relation between each vue component according to the configuration file and the complete jump scene between each vue component.
In a third aspect, an embodiment of the present invention provides a computer device, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, and the memory is configured to store a computer program supporting the page jump relation analysis device to execute the method described above, where the computer program includes a program, and where the processor is configured to invoke the program to execute the method of the first aspect described above.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing a computer program for execution by a processor to implement the method of the first aspect.
The embodiment of the invention can acquire the configuration file in the root directory of the current vue item in the front end, wherein the configuration file is configured with address information, and one or more vue components of all pages in the current vue item are determined according to the address information in the configuration file; analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result; analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component; a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component. By the implementation mode, the intelligent and automatic requirements of users on determining the page jump relation of all pages of the front-end vue item can be met, omission of page jump scenes is avoided, and the efficiency and accuracy of determining the page jump relation are improved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The page jump relation analysis method provided by the embodiment of the invention can be applied to a page jump relation analysis device, and in some embodiments, the page jump relation analysis device is arranged in a computer device. In certain embodiments, the computer device includes, but is not limited to, one or more of a smart phone, tablet, laptop, etc.
The method for analyzing the page jump relation provided by the embodiment of the invention is schematically illustrated in the following with reference to fig. 1.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for analyzing a page jump relationship according to an embodiment of the present invention, and as shown in fig. 1, the method may be performed by a page jump relationship analysis device, where the page jump relationship analysis device is disposed in a computer device. Specifically, the method of the embodiment of the invention comprises the following steps.
S101: a configuration file in the root directory of the current vue item in the front end is acquired, address information is configured in the configuration file, and one or more vue components of all pages in the current vue item are determined according to the address information in the configuration file.
In the embodiment of the invention, the page jump relation analysis device can acquire the configuration file in the root directory of the current vue item in the front end, wherein the configuration file is configured with address information, and one or more vue components of all pages in the current vue item are determined according to the address information in the configuration file. In some embodiments, the configuration file may be a config. Json file.
In one embodiment, the page jump relation analysis device may determine the root directory of the current vue item according to the current vue item of the front end before acquiring the configuration file in the root directory of the current vue item in the front end, and write the configuration file in the determined root directory of the current vue item; address information of vue components in the current vue item and mapping relation of vue component identifications and page identifications are configured in the configuration file.
In one embodiment, when determining the root directory of the current vue item based on the current vue item of the front end, the current vue item in the front end may be obtained, and the root directory in the current vue item may be determined based on the current vue item in the front end.
In one embodiment, in determining the root directory in the current vue item according to the current vue item in the front end, the root directory of the current vue item may be specifically located in a command line (mac system is a terminal), and a command, such as npm i pa-vue-page-auto-sort-D, is executed.
S102: each vue component in all pages in the current vue item is analyzed, and an initial jump relationship of each vue component is determined according to the analysis result.
In the embodiment of the invention, the page jump relation analysis device can analyze each vue component in all pages in the current vue item and determine the initial jump relation of each vue component according to the analysis result.
In one embodiment, when the page skip relation analysis device analyzes each vue component in all pages in the current vue item and determines the initial skip relation of each vue component according to the analysis result, the page skip relation analysis device may analyze each vue component in all pages in the current vue item and determine the page name of the page corresponding to each vue component; and determining an initial jump record of each Vue component according to the page name of the corresponding page of each Vue component, and determining an initial jump relation of each Vue component according to the initial jump record of each Vue component.
Embodiments of the present invention, by determining the initial jump relationship of each vue component in this manner, facilitate subsequent determination of jump scenes and jump pages within each vue component based on the initial jump relationship of each vue component.
In one embodiment, the page jump relationship analysis device may analyze each vue component in all pages in the current vue item to obtain the target attribute information in each vue component when analyzing each vue component in all pages in the current vue item and determining the page name of the page corresponding to each vue component; and determining the page name of the page corresponding to each vue component according to the target attribute information in each vue component. In some embodiments, the target attribute information may include, but is not limited to, a name attribute.
In one example, the page jump relationship analysis device may analyze each vue component in all pages in the current vue item to obtain name attributes in each vue component; and determining the page name of the page corresponding to each vue component according to the name attribute in each vue component.
In one example, when determining the initial jump record of each Vue component according to the page name of the page corresponding to each Vue component and determining the initial jump relation of each Vue component according to the initial jump record of each Vue component, the page jump relation analysis device assumes that a total of 4 Vue components are found, namely, component a, component B, component C and component D, and if the initial jump record of each Vue component is: the initial skip relationship of each vue component is determined as component A-, component B-, component C-, component D-, component A-, component B-, component C-, component D-.
In one embodiment, the page skip relation analysis device may find a corresponding skip code by matching a keyword such as $router.push or $router.replace, and obtain a skip component name (e.g. component a) from the skip code, and add a skip component to the current skip link.
S103: the jump scene and jump page within each vue component are analyzed according to the initial jump relationship of each vue component, and the complete jump scene between each vue component is determined.
In the embodiment of the present invention, the page skip relation analysis device may analyze the skip scene and the skip page in each vue component according to the initial skip relation of each vue component, and determine the complete skip scene between each vue component.
In one embodiment, the page skip relation analysis means may determine one or more skip scenes of each of the components vue based on the initial skip relation of each of the components vue when analyzing the skip scenes and skip pages within each of the components vue based on the initial skip relation of each of the components vue and determining a complete skip scene between each of the components vue; superposing one or more jump scenes of each vue component, and determining a jump page of each vue component after jumping; and determining the complete jump scene between each vue component according to the jump page of each vue component after the jump.
The embodiment of the invention helps to determine the page jump relation between each vue component further according to the complete jump scene between each vue component by analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component and determining the complete jump scene between each vue component.
In one embodiment, the page skip relation analysis means may determine the skip record corresponding to each vue component according to the initial skip relation of each vue component when determining one or more skip scenes of each vue component according to the initial skip relation of each vue component; one or more jump scenes for each vue component are determined from the corresponding jump record for each vue component.
In one example, assuming there are 4 vue components, namely component a, component B, component C, and component D, if the jump record corresponding to each vue component is determined according to the initial jump relation of each vue component: component A- (component B-) component C- (component D, component A- (component B-) component D, component B- (component C) and component C- (component D), the 2 jump scenes of the component A can be determined according to the jump records corresponding to each vue component: component A-, component B-, component C-, component D-, component A-, component B-, component D; determining 2 jump scene components B-components C, B-components C-components D of the component B, and 1 jump scene of the component C as the component C-components D.
S104: a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component.
In the embodiment of the invention, the page jump relation analysis device can determine the page jump relation between each vue component according to the configuration file and the complete jump scene between each vue component.
In one embodiment, the page jump relationship analysis device may obtain a mapping relationship between vue component identifiers and page identifiers configured in the configuration file when determining a page jump relationship between each vue component according to the configuration file and a complete jump scenario between each vue component; determining pages corresponding to each vue component according to the mapping relation between the vue component identifications and the page identifications; the page jump relationship between each of the vue components is determined based on the complete jump scenario between each of the vue components and the page corresponding to each of the vue components. In certain embodiments, the vue component identification may include, but is not limited to, vue component names. In some embodiments, the page identification may include, but is not limited to, a page name.
In one example, assuming that vue item is a mall application program, determining that the mall application program includes 4 components, namely a component a, a component B, a component C and a component D, if it is determined that a page corresponding to the component a is a product list first page, a page corresponding to the component B is an item detail page, a page corresponding to the component C is a shopping cart page, and a page corresponding to the component D is a settlement page according to a mapping relationship between vue component identifiers configured in a configuration file, a jump record corresponding to each component is: component A- (component B-) component C- (component D, component A- (component B-) component D, component B- (component C), component B- (component D, component C- (component D), then the complete jump scene between each component can be determined as: component A- (component B) -component C- (component D), component A- (component B) -component D, and therefore the page hopping relationship between each vue component can be determined as: list of products first Page commodity product list first page- > commodity details page- > settlement page, item detail page- > shopping cart page, - > settlement page, item detail page- > shopping cart page- > settlement page.
Therefore, the page jump relation of all pages in the current vue project can be automatically determined in the mode, omission of scenes can be avoided, labor investment of a large number of testers in carding the page jump scenes is saved, the problem that service logic is changed due to follow-up iteration of vue projects, a scene is required to be carded again to write test cases is solved, and if vue projects are changed, only the latest page jump scene relation is determined by executing the method again, so that a large amount of labor investment is saved, and scene omission is avoided.
In one embodiment, the page jump relation analysis means may generate list data including page identification and page jump relation according to the determined page jump relation between each of the vue components after determining the page jump relation between each of the vue components according to the configuration file and the complete jump scenario between each of the vue components. In some embodiments, the page identification may be a page name. By generating such list data, it is helpful for subsequent testers to write test cases through the list data.
In the embodiment of the invention, the page jump relation analysis device can acquire a configuration file in the root directory of the current vue item in the front end, wherein address information is configured in the configuration file, and one or more vue components of all pages in the current vue item are determined according to the address information in the configuration file; analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result; analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component; a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component. By the implementation mode, the intelligent and automatic requirements of users on determining the page jump relation of all pages of the front-end vue item can be met, omission of page jump scenes is avoided, and the efficiency and accuracy of determining the page jump relation are improved.
The embodiment of the invention also provides a page jump relation analysis device which is used for executing the unit of the method. Specifically, referring to fig. 2, fig. 2 is a schematic block diagram of a page jump relationship analysis device according to an embodiment of the present invention. The page jump relation analysis device of the present embodiment includes: an acquisition unit 201, a first analysis unit 202, a second analysis unit 203, and a determination unit 204.
An obtaining unit 201, configured to obtain a configuration file in a root directory of a current vue item in a front end, where address information is configured in the configuration file, and determine one or more vue components of all pages in the current vue item according to the address information in the configuration file;
a first analysis unit 202, configured to analyze each vue component in all pages of the current vue item, and determine an initial jump relationship of each vue component according to an analysis result;
a second analyzing unit 203, configured to analyze the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determine a complete jump scene between each vue component;
a determining unit 204, configured to determine a page jump relationship between each vue component according to the configuration file and the complete jump scenario between each vue component.
Further, the first analysis unit 202 is specifically configured to, when analyzing each vue component in all pages of the current vue item and determining the initial jump relationship of each vue component according to the analysis result:
analyzing each vue component in all pages in the current vue item, and determining the page name of the page corresponding to each vue component;
and determining an initial jump record of each Vue component according to the page name of the corresponding page of each Vue component, and determining an initial jump relation of each Vue component according to the initial jump record of each Vue component.
Further, the first analysis unit 202 analyzes each vue component in all pages in the current vue item, and when determining the page name of the page corresponding to each vue component, the first analysis unit is specifically configured to:
analyzing each vue component in all pages in the current vue item to acquire target attribute information in each vue component;
and determining the page name of the page corresponding to each vue component according to the target attribute information in each vue component.
Further, the second analyzing unit 203 is specifically configured to, when analyzing the jump scene and the jump page in each vue component according to the initial jump relationship of each vue component and determining the complete jump scene between each vue component:
determining one or more jump scenarios for each of the vue components based on the initial jump relationships for each of the vue components;
superposing one or more jump scenes of each vue component, and determining a jump page of each vue component after jumping;
and determining the complete jump scene between each vue component according to the jump page of each vue component after the jump.
Further, when the second analysis unit 203 determines one or more jump scenes of each vue component according to the initial jump relationship of each vue component, the second analysis unit is specifically configured to:
determining a corresponding jump record of each vue component according to the initial jump relation of each vue component;
one or more jump scenes for each vue component are determined from the corresponding jump record for each vue component.
Further, when the determining unit 204 determines the page jump relationship between each vue component according to the configuration file and the complete jump scenario between each vue component, the determining unit is specifically configured to:
acquiring a mapping relation between vue component identifiers and page identifiers configured in the configuration file;
determining pages corresponding to each vue component according to the mapping relation between the vue component identifications and the page identifications;
the page jump relationship between each of the vue components is determined based on the complete jump scenario between each of the vue components and the page corresponding to each of the vue components.
Further, before the acquiring unit 201 acquires the configuration file in the root directory of the current vue item in the front end, the acquiring unit is further configured to:
determining a root directory of the current vue item according to the current vue item of the front end, and writing a configuration file in the determined root directory of the current vue item;
address information of vue components in the current vue item and mapping relation of vue component identifications and page identifications are configured in the configuration file.
In the embodiment of the invention, the page jump relation analysis device can acquire a configuration file in the root directory of the current vue item in the front end, wherein address information is configured in the configuration file, and one or more vue components of all pages in the current vue item are determined according to the address information in the configuration file; analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result; analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component; a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component. By the implementation mode, the intelligent and automatic requirements of users on determining the page jump relation of all pages of the front-end vue item can be met, omission of page jump scenes is avoided, and the efficiency and accuracy of determining the page jump relation are improved.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present invention. The apparatus in this embodiment as shown in the figure may include: one or more processors 301; one or more input devices 302, one or more output devices 303, and a memory 304. The processor 301, the input device 302, the output device 303, and the memory 304 are connected via a bus 305. The memory 304 is used for storing a computer program comprising a program, and the processor 301 is used for executing the program stored in the memory 304. Wherein the processor 301 is configured to invoke the program execution:
acquiring a configuration file in a root directory of a current vue item in a front end, configuring address information in the configuration file, and determining one or more vue components of all pages in the current vue item according to the address information in the configuration file;
analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result;
analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component;
a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component.
Further, the processor 301 is specifically configured to, when analyzing each vue component in all pages of the current vue item and determining the initial jump relationship of each vue component according to the analysis result:
analyzing each vue component in all pages in the current vue item, and determining the page name of the page corresponding to each vue component;
and determining an initial jump record of each Vue component according to the page name of the corresponding page of each Vue component, and determining an initial jump relation of each Vue component according to the initial jump record of each Vue component.
Further, the processor 301 analyzes each vue component in all pages in the current vue item, and when determining the page name of the page corresponding to each vue component, is specifically configured to:
analyzing each vue component in all pages in the current vue item to acquire target attribute information in each vue component;
and determining the page name of the page corresponding to each vue component according to the target attribute information in each vue component.
Further, when the processor 301 analyzes the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determines the complete jump scene between each vue component, the processor is specifically configured to:
determining one or more jump scenarios for each of the vue components based on the initial jump relationships for each of the vue components;
superposing one or more jump scenes of each vue component, and determining a jump page of each vue component after jumping;
and determining the complete jump scene between each vue component according to the jump page of each vue component after the jump.
Further, when the processor 301 determines the one or more jump scenes of each vue component according to the initial jump relationship of each vue component, the processor is specifically configured to:
determining a corresponding jump record of each vue component according to the initial jump relation of each vue component;
one or more jump scenes for each vue component are determined from the corresponding jump record for each vue component.
Further, when the processor 301 determines the page jump relationship between each vue component according to the configuration file and the complete jump scenario between each vue component, the processor is specifically configured to:
acquiring a mapping relation between vue component identifiers and page identifiers configured in the configuration file;
determining pages corresponding to each vue component according to the mapping relation between the vue component identifications and the page identifications;
the page jump relationship between each of the vue components is determined based on the complete jump scenario between each of the vue components and the page corresponding to each of the vue components.
Further, before the processor 301 obtains the configuration file in the root directory of the current vue item in the front end, the processor is further configured to:
determining a root directory of the current vue item according to the current vue item of the front end, and writing a configuration file in the determined root directory of the current vue item;
address information of vue components in the current vue item and mapping relation of vue component identifications and page identifications are configured in the configuration file.
In the embodiment of the invention, the computer equipment can acquire a configuration file in the root directory of the current vue item in the front end, address information is configured in the configuration file, and one or more vue components of all pages in the current vue item are determined according to the address information in the configuration file; analyzing each vue component in all pages in the current vue item, and determining the initial jump relation of each vue component according to the analysis result; analyzing the jump scene and the jump page in each vue component according to the initial jump relation of each vue component, and determining the complete jump scene between each vue component; a page jump relationship between each vue component is determined based on the configuration file and the complete jump scenario between each vue component. By the implementation mode, the intelligent and automatic requirements of users on determining the page jump relation of all pages of the front-end vue item can be met, omission of page jump scenes is avoided, and the efficiency and accuracy of determining the page jump relation are improved.
It should be appreciated that in embodiments of the present invention, the processor 301 may be a central processing unit (CenSral Processing UniS, CPU), which may also be other general purpose processors, digital signal processors (DigiSal Signal Processor, DSPs), application Specific Integrated Circuits (ASICs), off-the-shelf programmable gate arrays (Field-Programmable GaSe Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 302 may include a touch pad, a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.
The memory 304 may include read only memory and random access memory and provides instructions and data to the processor 301. A portion of memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store information of device type.
In a specific implementation, the processor 301, the input device 302, and the output device 303 described in the embodiments of the present invention may execute the implementation described in the embodiment of the method described in fig. 1 provided in the embodiments of the present invention, and may also execute the implementation of the page jump relationship analysis device described in fig. 2 in the embodiments of the present invention, which is not described herein again.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for analyzing the page jump relation described in the embodiment corresponding to fig. 1 is implemented, and the device for analyzing the page jump relation in the embodiment corresponding to fig. 2 is also implemented, which is not described herein again.
The computer readable storage medium may be an internal storage unit of the page jump relation analyzing apparatus according to any of the foregoing embodiments, for example, a hard disk or a memory of the page jump relation analyzing apparatus. The computer-readable storage medium may be an external storage device of the page jump relation analysis device, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like provided in the page jump relation analysis device. Further, the computer-readable storage medium may further include both an internal storage unit and an external storage device of the page jump relation analyzing apparatus. The computer-readable storage medium is for storing the computer program and other programs and data required by the page jump relation analyzing apparatus. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a computer-readable storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. The computer readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
It is emphasized that to further guarantee the privacy and security of the data, the data may also be stored in a blockchain node. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention.