Movatterモバイル変換


[0]ホーム

URL:


CN112800130A - Data uplink method, system, device, equipment and storage medium - Google Patents

Data uplink method, system, device, equipment and storage medium
Download PDF

Info

Publication number
CN112800130A
CN112800130ACN202011627452.4ACN202011627452ACN112800130ACN 112800130 ACN112800130 ACN 112800130ACN 202011627452 ACN202011627452 ACN 202011627452ACN 112800130 ACN112800130 ACN 112800130A
Authority
CN
China
Prior art keywords
user operation
block chain
data
operation data
event
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
CN202011627452.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.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian Technology 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 Hangzhou Qulian Technology Co LtdfiledCriticalHangzhou Qulian Technology Co Ltd
Priority to CN202011627452.4ApriorityCriticalpatent/CN112800130A/en
Publication of CN112800130ApublicationCriticalpatent/CN112800130A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The application discloses a data chaining method, a system, a device, equipment and a storage medium, belonging to the technical field of block chains. The method comprises the following steps: the terminal displays a service page; the terminal acquires user operation data in the service page and sends the user operation data to a block chain service module; after receiving the user operation data, the block chain service module generates uplink data according to the user operation data; the block chain service module stores the uplink data to a block chain system. According to the method and the system, the terminal directly stores the user operation data in the service page to the block chain system through the block chain service module, the block chain service module can be adapted to more service pages, and the block chain service module does not need to invade the existing service system when being accessed into the block chain system, so that the risk is reduced, time and labor are saved, and the cost is reduced.

Description

Data uplink method, system, device, equipment and storage medium
Technical Field
The present application relates to the field of block chaining technologies, and in particular, to a data chaining method, system, apparatus, device, and storage medium.
Background
The block chain system is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace retaining in the whole process, traceability, collective maintenance, openness and transparency and the like. The characteristics ensure that the block chain is shared openly, real and complete, safe and reliable.
At present, if the service data of the service system is to be stored in the blockchain system, i.e. if the service data is to be uplink, the service system needs to be firstly accessed into the blockchain system. However, the business system is accessed to the blockchain system, which not only has large invasion to the business system and higher risk, but also is time-consuming, labor-consuming and higher in cost.
Disclosure of Invention
The embodiment of the application provides a data uplink method, a data uplink system, a data uplink device, a data uplink equipment and a data uplink storage medium, which can reduce the cost of accessing a block chain system. The technical scheme is as follows:
in a first aspect, a method for uplink data is provided, the method comprising:
the terminal displays a service page;
the terminal acquires user operation data in the service page and sends the user operation data to a block chain service module;
after receiving the user operation data, the block chain service module generates uplink data according to the user operation data;
the block chain service module stores the uplink data to a block chain system.
In the application, the terminal directly stores the user operation data in the front-end page (i.e. the service page) of the service system to the block chain system through the block chain service module. In this case, on the one hand, the user operation data stored in the blockchain system is directly obtained from the service page displayed by the terminal, i.e. the data source is directly the front-end data source, and thus the method is relatively true. On the other hand, the block chain service module can be adapted to more service pages, and the block chain system is accessed without invading the existing service system, so that the risk is reduced, time and labor are saved, and the cost is reduced.
Optionally, an event listener is embedded in the service page, and the event listener is configured to monitor a user operation event in the service page; the terminal acquires the user operation data in the service page and sends the user operation data to the block chain service module, and the method comprises the following steps:
and if the event listener monitors a user operation event in the service page, acquiring the user operation data according to the user operation event, and sending an uplink request carrying the user operation data to the block chain service module.
Optionally, the acquiring, by the event listener, the user operation data according to the user operation event includes:
and the event monitor acquires user information and time information associated with the user operation event, and takes the user operation event, the user information and the event information as the user operation data.
In the application, by developing a universal event listener, only the event listener needs to be introduced into a service page, and an event to be monitored is configured in a configuration file of the event listener, so that user operation data related to the event can be stored in a block chain system, and the problem of uplink difficulty can be effectively solved. In addition, in this case, if the blockchain system is upgraded, only the relevant event listener and blockchain service module need to be upgraded, and the existing service system does not need to be modified, so that the cost can be reduced.
Optionally, before the uplink request further carries an identity of the event listener, and the block chain service module generates uplink data according to the user operation data, the method further includes:
and the block chain service module performs identity verification on the event monitor according to the identity identifier, and if the identity verification of the event monitor passes, the block chain service module executes the operation of generating uplink data according to the user operation data.
Optionally, the block chain service module generates uplink data according to the user operation data, including:
and the block chain service module acquires service logic information corresponding to the user operation event, and generates the uplink data according with a block chain data format according to the service logic information, the user information and the time information.
In a second aspect, a data uplink method is provided, which is applied to a terminal, and the method includes:
displaying a business page;
acquiring user operation data in the service page;
and sending the user operation data to a block chain service module to instruct the block chain service module to store the user operation data to a block chain system.
Optionally, an event listener is embedded in the service page, and the event listener is configured to monitor a user operation event in the service page; the acquiring the user operation data in the service page includes:
if the user operation event in the service page is monitored through the event listener, acquiring the user operation data according to the user operation event;
the sending the user operation data to a block chain service module includes:
and sending an uplink request carrying the user operation data to the block chain service module through the event listener.
Optionally, the obtaining the user operation data according to the user operation event includes:
and acquiring user information and time information associated with the user operation event through the event monitor, and taking the user operation event, the user information and the event information as the user operation data.
In a third aspect, a data uplink system is provided, the system comprising: a terminal and a block chain service module;
the terminal is used for displaying a service page, acquiring user operation data in the service page and sending the user operation data to the block chain service module;
and the block chain service module is used for generating uplink data according to the user operation data after receiving the user operation data, and storing the uplink data to a block chain system.
Optionally, an event listener is embedded in the service page, and the event listener is configured to monitor a user operation event in the service page; the event listener is configured to:
and under the condition that a user operation event in the service page is monitored, acquiring the user operation data according to the user operation event, and sending an uplink request carrying the user operation data to the block chain service module.
Optionally, the event listener is configured to:
and acquiring user information and time information associated with the user operation event, and taking the user operation event, the user information and the event information as the user operation data.
Optionally, the uplink request further carries an identity of the event listener, and the block chain service module is further configured to:
and performing identity verification on the event monitor according to the identity identifier, and if the identity verification of the event monitor passes, executing the operation of generating uplink data according to the user operation data.
Optionally, the blockchain service is configured to:
and acquiring service logic information corresponding to the user operation event, and generating the uplink data according with a block chain data format according to the service logic information, the user information and the time information.
In a fourth aspect, an apparatus for uplink data is provided, which is applied to a terminal, and the apparatus includes:
the display module is used for displaying the service page;
the acquisition module is used for acquiring user operation data in the service page;
and the sending module is used for sending the user operation data to a block chain service module so as to instruct the block chain service module to store the user operation data to a block chain system.
Optionally, an event listener is embedded in the service page, and the event listener is configured to monitor a user operation event in the service page; the acquisition module is configured to:
if the user operation event in the service page is monitored through the event listener, acquiring the user operation data according to the user operation event;
the sending module is used for:
and sending an uplink request carrying the user operation data to the block chain service module through the event listener.
Optionally, the obtaining module is configured to:
and acquiring user information and time information associated with the user operation event through the event monitor, and taking the user operation event, the user information and the event information as the user operation data.
In a fifth aspect, a computer device is provided, the computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing the data uplink method of the second aspect.
In a sixth aspect, a computer readable storage medium is provided, which stores a computer program, which when executed by a processor implements the data uplink method of the second aspect.
In a seventh aspect, a computer program product is provided comprising instructions which, when run on a computer, cause the computer to perform the steps of the data uplink method of the second aspect.
It is to be understood that, for the beneficial effects of the second aspect, the third aspect, the fourth aspect, the fifth aspect, the sixth aspect and the seventh aspect, reference may be made to the description of the first aspect, and details are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a blockchain system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a block chain according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a data upload system provided by an embodiment of the present application;
FIG. 4 is a flowchart of a data uplink method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a service page provided in an embodiment of the present application
FIG. 6 is a flowchart of another method for uplink data according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data uplink apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference to "a plurality" in this application means two or more. In addition, for the convenience of clearly describing the technical solutions of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
Before explaining the embodiments of the present application, the related contents of the block chain will be described.
Fig. 1 is a schematic structural diagram of a blockchain system according to an embodiment of the present disclosure.
Referring to fig. 1, a blockchain system 100 refers to a system for performing data sharing between nodes, a plurality ofnodes 101 may be included in the blockchain system 100, and the plurality ofnodes 101 may refer to respective clients in the blockchain system 100. Eachnode 101 may receive input information and maintain shared data within the blockchain system 100 based on the received input information while operating normally. In order to ensure information intercommunication in the blockchain system 100, there may be an information connection between eachnode 101 in the blockchain system 100, and information transmission between thenodes 101 may be performed through the information connection. For example, when an input message is received by anynode 101 in the blockchain system 100,other nodes 101 in the blockchain system 100 acquire the input message according to the consensus algorithm, and store the input message as data in the shared data, so that the data stored in allnodes 101 in the blockchain system 100 are consistent.
Eachnode 101 in the blockchain system 100 stores one identical blockchain. Referring to fig. 2, a block chain is composed of a plurality of blocks, a starting block includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
The blockchain system 100 has computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, etc. The blockchain system 100 is a distributed shared ledger and database, and has the characteristics of decentralization, non-tampering, whole-course trace-keeping, traceability, collective maintenance, public transparency and the like. The characteristics ensure that the block chain is shared openly, real and complete, safe and reliable.
The system architecture according to the embodiments of the present application is described below.
Fig. 3 is a schematic diagram of a data uploading system according to an embodiment of the present application. Referring to fig. 3, the data uplink system includes: a terminal 301 and a blockchain service module 302.
The terminal 301 may be a desktop computer, a laptop computer, a palmtop computer, a mobile phone, a tablet computer, and the like, and the embodiment of the present application does not limit the type of the terminal 301.Terminal 301 may be used to perform a service. The terminal 301 may display a business page 3011, the business page 3011 being a front-end page of thebusiness system 304. The terminal 301 and theservice system 304 may communicate through a wired network or a wireless network. The terminal 101 and theblockchain service module 302 may communicate through a wired network or a wireless network.
Theblockchain service module 302 is a pre-service of theblockchain system 303. Theblockchain service module 302 and theblockchain system 303 can communicate through a wired network or a wireless network. Theblockchain system 303 may be the blockchain system 300 described above in the embodiments of fig. 1-2. Theblockchain service module 302 may be disposed in the terminal 301, or may be disposed in another terminal or server, which is not limited in this embodiment of the present application.
Theblockchain service module 302 may obtain the user operation data in the service page 3011 displayed by the terminal 301, convert the user operation data into uplink data conforming to the blockchain data format, and store the uplink data in theblockchain system 303.
Alternatively, the service page 3011 displayed by the terminal 301 may be embedded with an event listener 3012. The event listener 3012 can listen to the user operation data in the business page 3011 and send the listened user operation data to the blockchain service module 302.
The terminal 301 and the blockchain service module 302 can perform the data uplink method described in the embodiment of fig. 4 below to realize uplink of the user operation data.
The data uplink method provided in the embodiments of the present application is explained in detail below.
Fig. 4 is a flowchart of a data uplink method according to an embodiment of the present application. Referring to fig. 4, the method includes the following steps.
Step 401: and the terminal displays the service page.
The service page is a front-end page of the service system and is a page for a user to execute the service. That is, the user may operate in the service page to perform the service. For example, the service system may be a web server, the service page displayed by the terminal may be a web page, and the user may perform a series of operations on the web page to execute a certain service.
Optionally, one or more controls may be displayed in the service page, and the user may operate any one of the controls displayed in the service page to implement some service processing. For example, a user may perform operations such as a click operation, a slide operation, a voice operation, a gesture operation, and a motion sensing operation on a certain control displayed in the service page, so as to implement corresponding service processing such as data query, data addition, data modification, and data deletion.
For example, a query control and an add control are displayed in the business page as shown in fig. 5. The user can input the identification number in the input box corresponding to the query control, and then click the query control to realize the query of the relevant information of the input identification number. Or, the user may input the basic information in the input box corresponding to the addition control, and then click the addition control to add the basic information.
Step 402: and the terminal acquires the user operation data in the service page.
The user operation data is used for indicating the operation performed by the user in the service page. The user operation data may include a user operation event, user information, time information, and the like, which is not limited in this embodiment of the application.
The user operation event is an event triggered by the operation performed by the user in the service page. For example, the user operation event may be an event triggered by an operation performed by a user on a certain control in the service page, in this case, the user operation event may include an identification of the control and an identification of an operation performed by the user on the control, and the user operation event may indicate which operation is performed on which control by the user. For example, in the business page shown in fig. 5, if the user clicks the query control, a user operation event for indicating a click operation of the query control is triggered on the business page.
The user information is related information of the user currently operating the service page. For example, the user information may be a user account, a user certificate number, a user name, and the like currently logging in the service page, which is not limited in this embodiment of the application. For example, in the service page shown in fig. 5, if the user logs in the service page by using the user name of zhang san, the user information is zhang san.
The time information is a time when the user operation event is triggered. For example, in the service page shown in fig. 5, the user clicks the query control at 9:16 and then triggers the user operation event, and the time information is 9: 16.
Therefore, by combining the user operation event, the user information, the time information and other user operation data, it is possible to know which user performs which operation on which control in the service page at which time.
Optionally, an event listener is embedded in the business page, and the event listener is used for listening to user operation events in the business page. The event listener may be a JavaScript SDK (Software Development Kit) or the like. The identifier of the event to be monitored can be set in the configuration file of the event monitor according to the service requirement, so as to monitor the user operation event.
In this case, the operation of the terminal acquiring the user operation data in the service page may be: and if the event monitor monitors the user operation event in the service page, acquiring user operation data according to the user operation event.
When the event listener acquires user operation data according to the user operation event, the event listener can acquire user information and time information associated with the user operation event, and the user operation event, the user information and the event information are used as the user operation data.
Step 403: and the terminal sends the user operation data to the block chain service module.
Specifically, the event listener can send an uplink request carrying the user operation data to the blockchain service module.
Optionally, the event listener may also have an identity, which is used to identify the event listener. The identity of the event listener may be distributed by the blockchain service module, or may be distributed by another authentication server, which is not limited in this embodiment of the present application. The identity of the event listener can be used for identity verification to prevent illegal access. For example, the identity of the event listener can be the name of the event listener, etc.
In this case, the uplink request sent by the event listener to the blockchain service module may not only carry the user operation data, but also carry the identity of the event listener.
Step 404: and after receiving the user operation data, the block chain service module generates uplink data according to the user operation data.
Further, when the uplink request sent by the event listener to the blockchain service module also carries the identity of the event listener, the blockchain service module may perform identity verification on the event listener according to the identity of the event listener, and if the identity verification of the event listener passes, then perform an operation of generating uplink data according to the user operation data.
The block chain service module can store a plurality of legal identity identifiers in advance, and can determine that the identity verification of the event listener passes when the identity identifier of the event listener exists in the plurality of legal identity identifiers; and when the identity of the event listener does not exist in the plurality of legal identities, determining that the identity verification of the event listener fails.
In the embodiment of the present application, the block chain service module generates uplink data according to the user operation data after determining that the identity verification of the event listener passes according to the identity of the event listener. Therefore, illegal equipment can be prevented from accessing the block chain service module, and further illegal data chaining can be avoided.
The uplink data includes the user operation data, and the uplink data is data conforming to a block chain data format. Thus, the uplink data can be stored to the blockchain system.
In this case, the operation of the block chain service module to generate uplink data according to the user operation data may be: the block chain service module acquires the business logic information corresponding to the user operation event, and generates uplink data conforming to the block chain data format according to the business logic information, the user information and the time information.
The blockchain service module generates uplink data conforming to a blockchain data format according to the business logic information, the user information and the time information, namely, the business logic information, the user information and the time information are assembled into the uplink data conforming to the blockchain data format.
Optionally, the blockchain service module may store a correspondence between the user operation event and the service logic information in advance, and the correspondence may correspond the user operation event in the service page to the executable service logic. The block chain service module can acquire corresponding business logic information from the corresponding relation according to the received user operation data.
For example, in the service page shown in fig. 5, the input box corresponding to the query control is used to input the identification number, and the query control is used to query the relevant information of the identification number input in the corresponding input box. In this case, the user inputs the identification number in the input box corresponding to the query control displayed in the service page, and then clicks the query control to trigger a user operation event on the service page, where the user operation event is used to indicate that the user has performed a click operation on the query control in the service page. The event listener in the service page can monitor the triggered user operation event and send the user operation event to the block chain service module. After receiving the user operation event, the block chain service module may obtain, according to the user operation event, corresponding service logic information from a correspondence between the user operation event and the service logic information shown in table 1 below: and inquiring the relevant information of the identity card number input in the corresponding input box.
TABLE 1
Figure BDA0002873343390000101
In the embodiment of the present application, the correspondence between the user operation event and the service logic information is described only by taking the above table 1 as an example, and the above table 1 does not limit the embodiment of the present application.
Step 405: the block chain service module stores the uplink data to a block chain system.
After the blockchain service module stores the uplink data into the blockchain system, the uplink data cannot be tampered. Thus, the user operation indicated by the uplink data is permanently recorded in the blockchain system. According to the related uplink data stored in the block chain system, the operation executed by the user in the service page can be accurately known, so that the phenomenon of repudiation can be prevented.
After the blockchain service module stores the uplink data in the blockchain system, the user can also acquire the uplink data from the blockchain system to view.
In one possible approach, the ue may send an uplink data query request to the blockchain system, where the uplink data query request may carry one or more of user information, an identifier of a service page, an operation time, and the like. After receiving the uplink data query request sent by the ue, the block chain system queries corresponding uplink data and returns the queried uplink data to the ue. The user equipment can display the uplink data after receiving the uplink data returned by the block chain system, so that the user can check the uplink data and accurately know the operation executed by the user in the service page.
It should be noted that, after receiving the uplink data query request sent by the ue, the blockchain system may also fail to uplink data query due to the node being in a busy state or other reasons. The user equipment can display the query failure reason after receiving the query failure reason returned by the blockchain system, so that the user can know the query failure reason in time.
In the embodiment of the application, the terminal directly stores the user operation data in the front-end page (namely, the service page) of the service system to the block chain system through the block chain service module. In this case, on the one hand, the user operation data stored in the blockchain system is directly obtained from the service page displayed by the terminal, i.e. the data source is directly the front-end data source, and thus the method is relatively true. On the other hand, the block chain service module can be adapted to more service pages, and the block chain system is accessed without invading the existing service system, so that the risk is reduced, time and labor are saved, and the cost is reduced.
In addition, by developing a universal event listener, only the event listener needs to be introduced into a service page, and an event needing to be monitored is configured in a configuration file of the event listener, so that user operation data related to the event can be stored in a block chain system, and the problem of uplink difficulty can be effectively solved. In addition, in this case, if the blockchain system is upgraded, only the relevant event listener and blockchain service module need to be upgraded, and the existing service system does not need to be modified, so that the cost can be reduced.
Fig. 6 is a flowchart of a data uplink method according to an embodiment of the present application. The method is applied to a terminal, which may be the terminal 101 described above in the embodiment of fig. 3. Referring to fig. 6, the method may include the steps of:
step 601: and displaying the service page.
The related content ofstep 601 has already been described in detail in step 401 in the embodiment of fig. 4, and this is not described again in this embodiment of the present application.
Step 602: and acquiring user operation data in the service page.
The related content ofstep 602 has already been described in detail in step 402 in the embodiment of fig. 4, and is not described again in this embodiment of the present application.
Step 603: and sending the user operation data to a block chain service module to instruct the block chain service module to store the user operation data to a block chain system.
The relevant content ofstep 603 has already been described in detail in step 403 to step 405 in the embodiment of fig. 4, and this is not described again in this embodiment of the present application.
In the embodiment of the application, the terminal directly stores the user operation data in the front-end page (i.e. the service page) of the service system to the blockchain system through the blockchain service module. In this case, on the one hand, the user operation data stored in the blockchain system is directly obtained from the service page displayed by the terminal, i.e. the data source is directly the front-end data source, and thus the method is relatively true. On the other hand, the block chain service module can be adapted to more service pages, and the block chain system is accessed without invading the existing service system, so that the risk is reduced, time and labor are saved, and the cost is reduced.
Fig. 7 is a schematic structural diagram of an apparatus for data uplink according to an embodiment of the present application, where the apparatus may be applied to a terminal, which may be the terminal 101 described in the embodiment of fig. 3. Referring to fig. 7, the apparatus includes: adisplay module 701, anacquisition module 702, and a sendingmodule 703.
Adisplay module 701, configured to display a service page;
an obtainingmodule 702, configured to obtain user operation data in a service page;
the sendingmodule 703 is configured to send the user operation data to the blockchain service module, so as to instruct the blockchain service module to store the user operation data in the blockchain system.
Optionally, an event listener is embedded in the service page, and the event listener is used for monitoring user operation events in the service page; the obtainingmodule 702 is configured to:
if a user operation event in the service page is monitored through the event monitor, user operation data are obtained according to the user operation event;
the sendingmodule 703 is configured to:
and sending an uplink request carrying user operation data to the block chain service module through the event listener.
Optionally, the obtainingmodule 702 is configured to:
and acquiring user information and time information associated with the user operation event through the event listener, and taking the user operation event, the user information and the event information as user operation data.
In the embodiment of the application, the terminal directly stores the user operation data in the front-end page (i.e. the service page) of the service system to the blockchain system through the blockchain service module. In this case, on the one hand, the user operation data stored in the blockchain system is directly obtained from the service page displayed by the terminal, i.e. the data source is directly the front-end data source, and thus the method is relatively true. On the other hand, the block chain service module can be adapted to more service pages, and the block chain system is accessed without invading the existing service system, so that the risk is reduced, time and labor are saved, and the cost is reduced.
It should be noted that: in the data uplink device provided in the above embodiment, only the division of the functional modules is illustrated in the data uplink process, and in practical applications, the function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
Each functional unit and module in the above embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present application.
The data uplink device and the data uplink method provided by the above embodiments belong to the same concept, and the specific working processes and technical effects brought by the units and modules in the above embodiments can be referred to the method embodiments, and are not described herein again.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 8, thecomputer device 8 includes: aprocessor 80, amemory 81 and acomputer program 82 stored in thememory 81 and operable on theprocessor 80, theprocessor 80 implementing the steps of the data uplink method in the embodiment of fig. 6 above when executing thecomputer program 82.
Thecomputer device 8 may be a general purpose computer device or a special purpose computer device. In a specific implementation, thecomputer device 8 may be a desktop computer, a laptop computer, a palmtop computer, a mobile phone, a tablet computer, a wireless terminal device, and the like, and the embodiment of the present application does not limit the type of thecomputer device 8. Those skilled in the art will appreciate that fig. 8 is merely an example of thecomputer device 8 and does not constitute a limitation of thecomputer device 8, and may include more or less components than those shown, or combine certain components, or different components, such as input output devices, network access devices, etc.
TheProcessor 80 may be a Central Processing Unit (CPU), and theProcessor 80 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor.
Thestorage 81 may in some embodiments be an internal storage unit of thecomputer device 8, such as a hard disk or a memory of thecomputer device 8. Thememory 81 may also be an external storage device of thecomputer device 8 in other embodiments, such as a plug-in hard disk provided on thecomputer device 8, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, thememory 81 may also include both an internal storage unit of thecomputer device 8 and an external storage device. Thememory 81 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of a computer program. Thememory 81 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present application further provides a computer device, where the computer device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
The embodiments of the present application provide a computer program product, which when run on a computer causes the computer to perform the steps of the above-described method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above method embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the above method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to a photographing apparatus/terminal device, a recording medium, computer Memory, ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, etc. The computer-readable storage medium referred to herein may be a non-volatile storage medium, in other words, a non-transitory storage medium.
It should be understood that all or part of the steps for implementing the above embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions may be stored in the computer-readable storage medium described above.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the above-described apparatus/computer device embodiments are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for data uplink, the method comprising:
the terminal displays a service page;
the terminal acquires user operation data in the service page and sends the user operation data to a block chain service module;
after receiving the user operation data, the block chain service module generates uplink data according to the user operation data;
the block chain service module stores the uplink data to a block chain system.
2. The method of claim 1, wherein an event listener is embedded in the business page, the event listener being configured to listen for user operation events in the business page; the terminal acquires the user operation data in the service page and sends the user operation data to the block chain service module, and the method comprises the following steps:
and if the event listener monitors a user operation event in the service page, acquiring the user operation data according to the user operation event, and sending an uplink request carrying the user operation data to the block chain service module.
3. The method of claim 2, wherein the event listener obtaining the user operation data from the user operation event comprises:
and the event monitor acquires user information and time information associated with the user operation event, and takes the user operation event, the user information and the event information as the user operation data.
4. The method according to claim 2 or 3, wherein the uplink request further carries an identity of the event listener, and wherein before the block chain service module generates uplink data according to the user operation data, the method further comprises:
and the block chain service module performs identity verification on the event monitor according to the identity identifier, and if the identity verification of the event monitor passes, the block chain service module executes the operation of generating uplink data according to the user operation data.
5. The method of claim 3, wherein the block chain service module generates uplink data according to the user operation data, comprising:
and the block chain service module acquires service logic information corresponding to the user operation event, and generates the uplink data according with a block chain data format according to the service logic information, the user information and the time information.
6. A data uplink method applied to a terminal, the method comprising:
displaying a business page;
acquiring user operation data in the service page;
and sending the user operation data to a block chain service module to instruct the block chain service module to store the user operation data to a block chain system.
7. A data upload system, characterized in that the system comprises: a terminal and a block chain service module;
the terminal is used for displaying a service page, acquiring user operation data in the service page and sending the user operation data to the block chain service module;
and the block chain service module is used for generating uplink data according to the user operation data after receiving the user operation data, and storing the uplink data to a block chain system.
8. An apparatus for uplink data, applied to a terminal, the apparatus comprising:
the display module is used for displaying the service page;
the acquisition module is used for acquiring user operation data in the service page;
and the sending module is used for sending the user operation data to a block chain service module so as to instruct the block chain service module to store the user operation data to a block chain system.
9. A computer device, characterized in that the computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, which computer program, when executed by the processor, implements the method of claim 6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of claim 6.
CN202011627452.4A2020-12-302020-12-30Data uplink method, system, device, equipment and storage mediumPendingCN112800130A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011627452.4ACN112800130A (en)2020-12-302020-12-30Data uplink method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011627452.4ACN112800130A (en)2020-12-302020-12-30Data uplink method, system, device, equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN112800130Atrue CN112800130A (en)2021-05-14

Family

ID=75807889

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011627452.4APendingCN112800130A (en)2020-12-302020-12-30Data uplink method, system, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN112800130A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114666098A (en)*2022-02-282022-06-24重庆趣链数字科技有限公司Mobile terminal non-intrusive event monitoring universal uplink mechanism

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109033316A (en)*2018-07-182018-12-18上海源啟信息科技有限公司Data processing method, device, system, equipment and storage medium
CN110519062A (en)*2019-09-192019-11-29腾讯科技(深圳)有限公司Identity identifying method, Verification System and storage medium based on block chain
CN111488344A (en)*2020-04-082020-08-04北京瑞策科技有限公司User operation data uplink method and system based on service data block chain
CN111680305A (en)*2020-07-312020-09-18支付宝(杭州)信息技术有限公司 A block chain-based data processing method, device and equipment
CN112000563A (en)*2020-08-262020-11-27支付宝(杭州)信息技术有限公司User behavior recording method, device and equipment
CN112100460A (en)*2020-11-062020-12-18腾讯科技(深圳)有限公司Block chain-based network page evidence storing method, device, medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109033316A (en)*2018-07-182018-12-18上海源啟信息科技有限公司Data processing method, device, system, equipment and storage medium
CN110519062A (en)*2019-09-192019-11-29腾讯科技(深圳)有限公司Identity identifying method, Verification System and storage medium based on block chain
CN111488344A (en)*2020-04-082020-08-04北京瑞策科技有限公司User operation data uplink method and system based on service data block chain
CN111680305A (en)*2020-07-312020-09-18支付宝(杭州)信息技术有限公司 A block chain-based data processing method, device and equipment
CN112000563A (en)*2020-08-262020-11-27支付宝(杭州)信息技术有限公司User behavior recording method, device and equipment
CN112100460A (en)*2020-11-062020-12-18腾讯科技(深圳)有限公司Block chain-based network page evidence storing method, device, medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114666098A (en)*2022-02-282022-06-24重庆趣链数字科技有限公司Mobile terminal non-intrusive event monitoring universal uplink mechanism

Similar Documents

PublicationPublication DateTitle
CN112148674A (en)Log data processing method and device, computer equipment and storage medium
CN109600441B (en)Alliance link information publishing control method and terminal equipment
CN110266872B (en)Address book data management and control method and device, cloud address book system, computer equipment and computer readable storage medium
CN112035471B (en)Transaction processing method and computer equipment
CN112291321B (en)Service processing method, device and system
CN112163412A (en)Data verification method and device, electronic equipment and storage medium
CN113704790A (en)Abnormal log information summarizing method and computer equipment
CN114143308A (en)File uploading information processing method and device, computer equipment and storage medium
CN112052267A (en)Data query method, equipment, server and storage medium
CN112286881A (en)Document authentication and tracing method and device
CN114036002B (en) Blockchain data backup method, device, storage medium and electronic device
CN108833500B (en)Service calling method, service providing method, data transmission method and server
CN112800130A (en)Data uplink method, system, device, equipment and storage medium
CN114172978A (en)Multi-protocol equipment access method and related device
CN118215037A (en)Secondary number identification method, device, equipment, medium and program product
CN111722994A (en) A method and device for responding to a task request
CN112163036A (en)Block chain information construction and query method and related device
CN117439873A (en)Unified alarm method, system, equipment and medium under multi-cloud service
CN114936249B (en) A file parsing and conversion method, device, equipment and readable storage medium
CN111045723A (en)Method and device for notifying code change between associated systems
CN108243180B (en)Bank policy data docking method and policy data server
CN112416875B (en)Log management method, device, computer equipment and storage medium
CN110119337B (en)Data analysis method and device and server
CN111125593B (en)Family tree information processing method, equipment and storage medium based on block chain
CN112788077B (en)Data acquisition method and device, computer equipment and computer-readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20210514

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp