Program running method and device, electronic equipment and storage medium

By storing user data on user terminals and recording user data operations using blockchain, the problem that users cannot control data in traditional methods is solved, the risk of data leakage and abuse is reduced, and user autonomy and data security are improved.

CN118963794APending Publication Date: 2024-11-15北京远舢智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410956308.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In traditional program operation methods, user data is stored on the software vendor server, which causes users to be unable to fully control the data, and there is a risk of data leakage and abuse. Moreover, due to the immutability of blockchain, users cannot fully control the data.

Method used

The user data is stored in the user terminal, and the software data is stored in the software merchant terminal. The data is obtained and updated in real time through the communication center, and the blockchain is used to record user data operation records to ensure the user's autonomy and security of the data.

Benefits of technology

It realizes complete control of data by users, reduces the risk of data leakage and abuse, improves user autonomy, and ensures data security and traceability through dynamic key encryption and blockchain recording.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963794A_ABST
    Figure CN118963794A_ABST
Patent Text Reader

Abstract

The invention provides a program running method and device, electronic equipment and a storage medium, the method is applied to a communication center end of a program running system, the program running system further comprises a user terminal and a software provider terminal, and the communication center end keeps real-time heartbeat connection with the user terminal and the software provider terminal; the method comprises the steps that in response to a program running request sent by a user client, a target source code corresponding to the program running request is determined in at least one program source code, and a program is remotely stored on a block chain; and acquiring user data stored in a user terminal corresponding to the user client, acquiring program data stored in a software provider terminal corresponding to the target source code, and running the target source code based on the user data and the program data. According to the method, the user data is stored in the user terminal, the problem that a user cannot completely control the user data in a traditional method is solved, the risk of data leakage and abuse is reduced, and the autonomy of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a program running method and device, an electronic device, and a storage medium. Background Art

[0002] In the traditional program running method, user data storage has the problem of centralization and centralized control. The user's data is actually stored in the hands of the software vendor. When running the program, the software vendor directly calls the user data stored on the software vendor's server. This method causes the user data to be controlled by the software vendor, which poses the risk of data leakage and abuse, and the user cannot fully control the user data, and has low autonomy. To address this problem, blockchain decentralization can currently be used. After the user data is written into the block, the software vendor can no longer delete or modify it. However, although this method ensures that the software vendor cannot modify the user data at will, due to the immutability of the blockchain, the user also cannot fully control the user data. Summary of the invention

[0003] In view of this, the purpose of this application is to provide a program running method and device, an electronic device, and a storage medium to store user data in a user terminal, thereby solving the problem in traditional methods that users cannot fully control user data, reducing the risk of data leakage and abuse, and improving user autonomy.

[0004] The embodiment of the present application provides a program running method, which is applied to a communication center end of a program running system, wherein the program running system further includes a user terminal and a software vendor terminal, and the communication center end respectively maintains a real-time heartbeat connection with the user terminal and the software vendor terminal, and the method includes:

[0005] In response to a program execution request issued by a user client, determining a target source code corresponding to the program execution request in at least one program source code, wherein the program source code is stored on a blockchain;

[0006] Acquire user data stored in a user terminal corresponding to the user client, and acquire program data stored in a software vendor terminal corresponding to the target source code;

[0007] The target source code is executed based on the application data.

[0008] Furthermore, the step of acquiring user data stored in a user terminal corresponding to the user client and acquiring program data stored in a software vendor terminal corresponding to the target source code includes:

[0009] Determine, according to the user information and access context information included in the program execution request, at least one user terminal and at least one software vendor terminal that the program execution request requires to access;

[0010] Sending a first data access request to the user terminal, and receiving user data fed back by the user terminal;

[0011] A second data access request is sent to the software vendor terminal, and program data fed back by the software vendor terminal is received.

[0012] Further, the sending the first data access request to the user terminal and receiving the user data fed back by the user terminal includes:

[0013] The first data access request is sent to the user terminal so that the user terminal responds to the data access request, determines whether the communication center has access rights according to a preset configuration file, and sends user data encrypted by a dynamic key to the communication center if the communication center has access rights.

[0014] Furthermore, the method further comprises:

[0015] When the target source code is running, if new program data is generated, the new program data is sent to the software vendor terminal, so that the software vendor terminal uses the new program data to update the program data stored in the software vendor terminal.

[0016] Furthermore, the method further comprises:

[0017] When the target source code is running, an operation request is sent to the user terminal, and after receiving an operation permission instruction fed back by the user terminal, the user data stored in the user terminal is modified or deleted according to the operation request.

[0018] Further, after modifying or deleting the user data stored in the user terminal, the method further includes:

[0019] Generate a user data operation record, and upload the user data operation record to the blockchain.

[0020] Furthermore, the acquiring of user data stored in a user terminal corresponding to the user client further includes:

[0021] After the user modifies the user data through the user terminal, the modified user data is obtained.

[0022] The embodiment of the present application further provides a program running device, which is applied to a program running system, wherein the program running system includes a communication center end, a user terminal and a software vendor terminal, wherein the communication center end respectively stores a real-time heartbeat connection with the user terminal and the software vendor terminal, and the device includes:

[0023] A user data component, deployed in the user terminal, for storing user data;

[0024] A program data component, deployed in the program vendor terminal, for storing program data;

[0025] A network communication component is deployed at the communication center end, and is used to respond to a program running request issued by a user client, determine a target source code corresponding to the program running request in at least one program source code; and obtain user data stored in a user data component corresponding to the user client, and program data stored in a program data component corresponding to the target source code, and run the target source code based on the user data and the program data.

[0026] Furthermore, the network communication component is used to:

[0027] Determine, according to the user information and access context information included in the program execution request, at least one user terminal and at least one software vendor terminal that the program execution request requires to access;

[0028] Sending a first data access request to the user data component, and receiving user data fed back by the user data component;

[0029] A second data access request is sent to the program data component, and program data fed back by the program data component is received.

[0030] Furthermore, the network communication component is used to:

[0031] The first data access request is sent to the user data component, so that the user data component responds to the data access request, determines whether the network communication component has access rights according to a preset configuration file, and sends the user data encrypted by the dynamic key to the network communication component if the network communication component has access rights.

[0032] Furthermore, the network communication component is used to:

[0033] When the target source code is running, if new program data is generated, the new program data is sent to the program data component, so that the program data component updates the program data stored in the program data component by using the new program data.

[0034] Furthermore, the network communication component is used to:

[0035] When the target source code is running, an operation request is sent to the user data component, and after receiving an operation permission instruction fed back by the user data component, the user data stored in the user data component is modified or deleted according to the operation request.

[0036] Furthermore, the network communication component is used to:

[0037] Generate a user data operation record, and upload the user data operation record to the blockchain.

[0038] Furthermore, the network communication component is used to:

[0039] After the user modifies the user data through the user data component, the modified user data is obtained.

[0040] An embodiment of the present application also provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the program running method as described above are performed.

[0041] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the program execution method described above are executed.

[0042] The embodiment of the present application provides a program running method and device, electronic device, and storage medium, which stores user data in a user terminal, program data in a software vendor terminal, and software source code in a unified platform. After receiving a software running request, the target source code, user data, and program data are obtained respectively to realize the running of the software.

[0043] Compared with the software operation method in the prior art, the present application achieves decentralization by storing user data in the user terminal, which is fully controlled by the user, thereby improving the security of user data and reducing the risk of data leakage and abuse; at the same time, since the user data in the present application is stored in the user terminal, the user can freely decide the access rights and usage of the data, which also improves the user's autonomy.

[0044] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A flowchart of a software operation method provided in an embodiment of the present application is shown;

[0047] Figure 2 A system architecture diagram of a program running method provided in an embodiment of the present application is shown;

[0048] Figure 3 A flowchart showing another software running method provided in an embodiment of the present application is shown;

[0049] Figure 4 A business processing logic diagram of a program running method provided in an embodiment of the present application is shown;

[0050] Figure 5 A schematic diagram showing the structure of a software running device provided in an embodiment of the present application is shown;

[0051] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.

[0052] In the figure:

[0053] 500 software running device, 510 user data component, 520 program data component, 530 network communication component, 600 electronic device, 610 processor, 620 memory, 630 bus. DETAILED DESCRIPTION

[0054] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0055] First, the application scenarios to which this application is applicable are introduced. This application can be applied to a variety of software program running scenarios, such as online shopping software, social software, etc.

[0056] Research has found that existing software programs usually store user data on the software vendor's server. For example, in online shopping software, the product information uploaded by the seller is usually stored on the shopping software's server; in social software, the avatars and photos uploaded by users are usually stored on the social software's server. This method results in the user's personal data being completely controlled by the software vendor, and users usually have concerns about privacy leakage and data abuse. In addition, when users want to modify or delete data, software vendors usually do not delete the original data, but only set the original data to invisible. In other words, users cannot completely delete the user data stored on the server, so users have less autonomy over their own data.

[0057] Based on this, the embodiment of the present application provides a program running method to solve the problem that users cannot fully control user data in traditional program running methods, reduce the risk of data leakage and abuse, and improve user autonomy.

[0058] The program running method provided in the embodiment of the present application is applied to the communication center end of the program running system, wherein the program running system includes the communication center end, the user terminal and the software vendor terminal.

[0059] Since the software needs to obtain user data and program data from the user terminal and the software vendor terminal respectively when it is running, the heartbeat connection between the communication center and the user terminal and the software vendor terminal can be maintained in real time to ensure that the user terminal and the software vendor terminal are always online, and can make corresponding feedback in time when the communication center needs to obtain data. In addition, it can also monitor the network fluctuations of the user terminal and the software vendor terminal, the terminal online / offline actions, the terminal being forced to exit, etc. in real time; in order to ensure smooth data transmission, the compression amount of user data can also be increased to cope with the upload restrictions of the user terminal network.

[0060] See also Figure 1 , Figure 1 A flowchart of a program running method provided in an embodiment of the present application. Figure 1 As shown in , the program running method provided in the embodiment of the present application includes:

[0061] S101. In response to a program execution request issued by a user client, a target source code corresponding to the program execution request is determined in at least one program source code, wherein the program source code is stored on a blockchain.

[0062] In this step, at least one software vendor uploads the program source code to the blockchain. The communication center acts as a medium between the user and the software vendor. After receiving the program running request sent by the user client, it must first determine the target source code corresponding to the request.

[0063] The program running request in the embodiment of the present application can be a startup request for a certain software. For example, the online shopping software vendor and the social software vendor upload the source code of the online shopping software and the source code of the social software to the unified platform vendor respectively. If the communication center receives a request from the seller to run the online shopping software through a browser, the source code of the online shopping software is determined to be the target source code; if the communication center receives a request from the user to run the social software through a social software app, the social software is determined to be the target source code.

[0064] The program execution request in the embodiment of the present application may also be a request to start a specific business logic in a certain software. For example, if the communication center receives a request from a seller through a browser to browse a product list of an online shopping software, the source code related to browsing the product list in the online shopping software is determined to be the target source code.

[0065] In addition, unlike the traditional method of storing the program source code on the software vendor's server, in this embodiment, the software vendor's server uploads the program source code to the blockchain to ensure the integrity and non-tamperability of the source code.

[0066] Furthermore, before uploading the program source code, a third-party auditing agency and the developer can jointly participate in the code audit to verify the integrity of the source code's business logic and ensure that there is no unauthorized data operation logic in the source code. After passing the audit, the source code is uploaded to the blockchain to prevent the software vendor from modifying the source code, ensuring that the source code is safe and will not operate user data without authorization.

[0067] S102, obtaining user data stored in a user terminal corresponding to the user client, obtaining program data stored in a software vendor terminal corresponding to the target source code, and running the target source code based on the user data and the program data.

[0068] In this step, since the software operation requires corresponding data in addition to the source code, after determining the target source code, the communication center must also obtain user data and program data, and then run the target source code based on the obtained data.

[0069] For example, in the above steps, the seller's request to run the online shopping software through the browser can obtain the seller's user data, such as the name of the product sold by the seller, the product price, the product description information, etc., and the program data of the online shopping software can also be obtained, such as the recommendation information of the product list, etc. In the above steps, the user's request to run the social software can obtain user data, such as the user's avatar picture, the status information posted by the user, etc., and the program data of the social software can also be obtained, such as the user's friend list, etc.

[0070] Among them, this embodiment stores user data in a user terminal, which can be an electronic device with a program execution function such as a mobile phone or a computer. The user terminal can be the same as the user client or different from the user client. For example, a user can issue a program running request through his or her mobile phone. At this time, the user's mobile phone is both a user client and a user terminal, and the communication center can obtain user data from the user's mobile phone; a user can issue a program running request through a browser of an Internet cafe computer. At this time, the user client is an Internet cafe computer. If user data is stored on the user's mobile phone, the user's mobile phone can also be used as a user terminal, and the communication center can obtain user data from the user's mobile phone. Correspondingly, the program data is stored in the software vendor terminal, which can be an electronic device with a program execution function such as a server or a workstation. Through such a design, the separation of user personal data and program data is achieved, which can ensure that user data is controlled by the user himself or herself, while program data unrelated to user privacy is controlled by the software vendor, and users do not need to worry about the leakage or abuse of personal data.

[0071] See also Figure 2 , Figure 2 This is a system architecture diagram of a program running method provided in an embodiment of the present application. Figure 2 As shown in , there are multiple software program source codes in the platform, and the network communication center can communicate with multiple common users and program users, where common users refer to software users in a narrow sense, and program users refer to software vendors. After receiving the browser request, the communication center obtains the target source code from multiple software program source codes, obtains user data from user terminals of multiple common users, and obtains program data from software vendor terminals of multiple program users, and then runs the target source code based on the user data and program data to achieve a response to the browser request.

[0072] The software running method provided in the embodiment of the present application stores user data in the user terminal, program data in the software vendor terminal, and software source code in a unified platform. After receiving a software running request, the target source code, user data, and program data are obtained respectively to realize the running of the software.

[0073] Compared with the software operation method in the prior art, the present application achieves decentralization by storing user data in the user terminal, which is fully controlled by the user, thereby improving the security of user data and reducing the risk of data leakage and abuse; at the same time, since the user data in the present application is stored in the user terminal, the user can freely decide the access rights and usage of the data, which also improves the user's autonomy.

[0074] See also Figure 3 , Figure 3 This is a flowchart of a program running method provided by another embodiment of the present application. Figure 3 As shown in , the program running method provided in the embodiment of the present application includes:

[0075] S301. In response to a program execution request issued by a user, determine a target source code corresponding to the program execution request in at least one program source code, wherein the program source code is stored on a blockchain.

[0076] S302: Determine, according to the user information and access context information included in the program execution request, at least one user terminal and at least one software vendor terminal that the program execution request requires to access.

[0077] In this step, since the communication center is connected to multiple user terminals and software vendor terminals at the same time, after receiving the program running request, it first determines which user terminals and software vendor terminals need to obtain data from, and then can send a data access request to them to request data. Specifically, the user terminal and software vendor terminal (hereinafter collectively referred to as the target terminal) to be accessed can be determined based on the user information and access context information contained in the program running request. For example, if the user who initiates the program running request is a seller on an online shopping platform, whose user information includes user account 001 and requests to view the products in his own store, it can be determined that the user terminal corresponding to user account 001 is to be accessed, that is, the terminal is the target terminal; if in the context information contained in the program running request, the host field in the request header specifies that the domain name requested to be accessed is www.example.com, it can be determined that the software vendor terminal corresponding to the domain name is to be accessed, that is, the terminal is the target terminal.

[0078] S303. Send a first data access request to the user terminal so that the user terminal responds to the data access request, determines whether the communication center has access rights according to a preset configuration file, and sends user data encrypted by a dynamic key to the communication center if the communication center has access rights; and receives user data fed back by the user terminal.

[0079] In this step, after the communication center sends a data access request to the user terminal, the user terminal responds to the data access request. Specifically, a pre-set configuration file is stored in the user terminal, and the configuration file includes permission configuration information, and the permission configuration information can be freely modified by the user. In this step, it can be determined whether the communication center has access rights based on the permission configuration information. For example, if a user places an order to purchase goods on an online shopping software, the communication center needs to obtain the user's phone number and delivery address. At this time, if the user sets the permission configuration information to allow the acquisition of the phone number and delivery address, the phone number and delivery address can be sent to the communication center. This design can avoid sending data that the user does not authorize and reduce the risk of data exposure.

[0080] In addition, data transmission between user terminals and the communication center can be encrypted end-to-end to ensure that user data is encrypted and protected during transmission and storage. Specifically, in the process of sending data to the communication center, dynamic key encryption can be used to improve the security of data transmission. For example, each time the communication center issues a data access request, it generates a new public key and private key, and sends the public key to the user terminal. The user terminal uses the public key to encrypt the user data and sends it to the communication center. Finally, the communication center uses the private key to decrypt the user data. Since a new key is used for each data transmission, the risk of the key being cracked is reduced.

[0081] S304: Send a second data access request to the software vendor terminal, and receive program data fed back by the software vendor terminal.

[0082] In this step, authentication and end-to-end dynamic key encryption can also be used to improve the security of data acquisition and transmission. The specific steps are similar to step S303 and will not be repeated here.

[0083] S305: The communication center runs the target source code based on the user data and the program data.

[0084] The description of step S305 may refer to the description of step S102 and can achieve the same technical effect, which will not be described in detail.

[0085] S306. When the target source code is running, if new program data is generated, the new program data is sent to the software vendor terminal, so that the software vendor terminal uses the new program data to update the program data stored in the software vendor terminal.

[0086] In this step, as the target source code runs, new program data will be generated during the use of the software. At this time, the new program data can be sent to the software vendor terminal to update the program data originally stored in the software vendor terminal to ensure the integrity of the program data. For example, during the operation of social software, a user may add a new friend. At this time, the friend data can be sent to the software vendor terminal, and the software vendor terminal uses the friend data to update the user's friend list.

[0087] S307: When the target source code is running, an operation request is sent to the user terminal, and after receiving the operation permission instruction fed back by the user terminal, the user data stored in the user terminal is modified or deleted according to the operation request; a user data operation record is generated, and the user data operation record is uploaded to the blockchain.

[0088] In this step, as the target source code runs, during the use of the software, if the communication center needs to operate user data, it needs to send an operation request to the user terminal. Only with the authorization of the user terminal can the user data be operated, and corresponding operation records are generated for all operations on the user data. For example, if a user places an order to purchase goods in the online shopping software during operation, and wants to use a new delivery address. At this time, the communication center sends an operation request to the user terminal. If the user terminal receives a permission instruction for operation feedback, the delivery address in the user data can be modified.

[0089] In addition, this embodiment also uploads the operation records of user data to the blockchain, and uses the blockchain to record the operations on user data. When verifying the legitimacy of data operations, a complete user data operation record can be provided to ensure the integrity and traceability of the user data operation record.

[0090] Optionally, the use of user data by the software can be restricted through metadata tags in the target source code to ensure that user data is only used for authorized business logic processing. For example, when the target source code is running, if the code segment running in the target source code carries metadata tags, the purpose of the code segment operating user data is determined, and if the purpose is not for authorized business, the code segment is prohibited from running.

[0091] Specifically, during the development of the target source code, metadata tags can be added for sensitive operations involving user data. When the target source code is running, if a code segment carrying the metadata tag is run, the purpose of the code segment is determined. If the purpose is unauthorized business logic processing, the code segment is prohibited from running. This design can improve the security and privacy of user data.

[0092] Furthermore, the software operation method also includes:

[0093] After the user modifies the user data through the user terminal, the modified user data is obtained.

[0094] Specifically, the user terminal can provide a user data management interface, through which the user can add, delete, modify and check user data on the user terminal. Specifically, the user performs identity authentication on the user terminal, and after passing the authentication, can log in to the database storing user data, in which data can be accessed, modified or deleted, and the user data can be accessed and used. The history record can also be checked. If the user modifies the user data through the user terminal, the communication terminal can obtain the modified data to ensure the timeliness of the data.

[0095] See also Figure 4 , Figure 4 This is a business processing logic diagram of a program running method provided by another embodiment of the present application. Figure 4 As shown in, in the application scenario of online shopping software, in step 1, the user sends a request message to the communication center through the browser, requesting to access the product list of the XX seller; in step 2, the communication center responds to the request, searches for multiple program source codes on a unified platform, and finds the target source code corresponding to the request; in step 3, the communication center obtains the target source code of the online shopping software; in step 4, the communication center obtains the authorized user data from the user terminal of the XX seller, such as the product list of the XX seller; in step 5, the communication center runs the target source code based on the obtained product list to execute and process the corresponding business logic, and displays the XX seller's product list to the user, which contains all the products in the product list, and the products in the product recommendation list are displayed at the top of the list.

[0096] In other steps, the program data that needs to be accessed can be obtained, for example, the product recommendation list for XX seller of the online shopping software can be obtained at the software vendor terminal. At this time, in step 5, the communication center can integrate the obtained data, such as integrating the product recommendation list and the product details list to obtain the XX seller product list displayed to the user, which includes all the products in the product details list, and the products in the product recommendation list are displayed at the top of the list.

[0097] In addition, in other steps, if other program data needs to be operated, a data access request can be sent to the software vendor terminal to obtain the program data that needs to be operated. For example, if a user can post a product review after purchasing a product, the product review information is added to the program data to complete the update of the program data to ensure the integrity of the software vendor's data.

[0098] In addition, in other steps, if user data needs to be operated, the user needs to confirm before continuing. For example, if a user purchases a product, the communication center can send a deduction request to the user. Only after the user confirms can the deduction operation be performed on the user data. If the user does not confirm, the deduction operation will not be performed.

[0099] The software operation method provided in the embodiment of the present application stores user data in the user terminal and does not provide the user with a data management interface. The user can effectively view and process the user data, while the software vendor cannot access the user data. Even if the user data needs to be accessed or operated during the program operation, it is completed by a unified communication center. Such a design ensures the ownership of the user data. On this basis, the embodiment of the present application designs permission authentication and dynamic encryption transmission for application scenarios that require operation of user data during the software operation process. Only after authorization by the user terminal, the communication center receives the user data sent by the user terminal through end-to-end dynamic encryption, further improving the security of user data and avoiding data leakage and data abuse. Furthermore, the present application also stores the audited program source code in the blockchain, obtains the source code from the blockchain each time it is run, and ensures that the running source code is a safe code. In addition, the present application also uploads the user data operation record to the blockchain to ensure the traceability of the user operation record.

[0100] See also Figure 5 , Figure 6 , Figure 5 A schematic diagram of the structure of a software running device provided in an embodiment of the present application is shown in FIG. Figure 6 This is a structural diagram of another software running device provided in an embodiment of the present application. The software running device is applied to a program running system, which includes a communication center end, a user terminal and a software vendor terminal. The communication center end respectively maintains a real-time heartbeat connection with the user terminal and the software vendor terminal. Figure 5 As shown in , the software running device 500 includes:

[0101] User data component 510, deployed in the user terminal, for storing user data;

[0102] A program data component 520 is deployed in the program provider terminal and is used to store program data;

[0103] The network communication component 530 is deployed at the communication center end, and is used to respond to a program running request issued by a user client, determine a target source code corresponding to the program running request in at least one program source code; and obtain user data stored in a user data component corresponding to the user client, and program data stored in a program data component corresponding to the target source code, and run the target source code based on the user data and the program data.

[0104] Furthermore, the network communication component 530 is used to:

[0105] Determine, based on the user information and access context information included in the program execution request, at least one user terminal and at least one software vendor terminal that the program execution request requires to access;

[0106] Send a first data access request to the user data component 510, and receive user data fed back by the user data component 510;

[0107] A second data access request is sent to the program data component 520 , and program data fed back by the program data component 520 is received.

[0108] Furthermore, the network communication component 530 is used to:

[0109] The first data access request is sent to the user data component 510, so that the user data component 510 responds to the data access request, determines whether the network communication component 530 has access rights according to a preset configuration file, and sends the application data encrypted by the dynamic key to the network communication component 530 if the network communication component 530 has access rights.

[0110] Furthermore, the network communication component 530 is used to:

[0111] When the target source code is running, if new program data is generated, the new program data is sent to the program data component 520, so that the program data component 520 updates the program data stored in the program data component 520 using the new program data.

[0112] Furthermore, the network communication component 530 is used to:

[0113] When the target source code is running, an operation request is sent to the user data component 510, and after receiving the operation permission instruction fed back by the user data component 510, the user data stored in the user data component 510 is modified or deleted according to the operation request.

[0114] Furthermore, the network communication component 530 is used to:

[0115] Generate user data operation records and upload them to the blockchain.

[0116] Furthermore, the network communication component 530 is used to:

[0117] After the user modifies the user data through the user data component 510, the modified user data is obtained.

[0118] It should be noted that for other corresponding descriptions of the various functional modules involved in the software running device provided in the embodiment of the present application, reference can be made to the corresponding descriptions in the above method and will not be repeated here.

[0119] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown in , the electronic device 600 includes a processor 610 , a memory 620 and a bus 630 .

[0120] The memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 is running, the processor 610 communicates with the memory 620 via the bus 630. When the machine-readable instructions are executed by the processor 610, the above-mentioned Figures 1 to 4 The steps of the software running method in the method embodiment shown, the specific implementation method can be found in the method embodiment, and will not be repeated here.

[0121] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figures 1 to 4 The steps of the software running method in the method embodiment shown, the specific implementation method can be found in the method embodiment, and will not be repeated here.

[0122] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0123] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0124] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0126] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0127] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A program running method, characterized in that: The method is applied to a communication center end of a program running system, wherein the program running system further includes a user terminal and a software vendor terminal, and the communication center end respectively maintains a real-time heartbeat connection with the user terminal and the software vendor terminal, and the method includes: In response to a program execution request issued by a user client, determining a target source code corresponding to the program execution request in at least one program source code, wherein the program source code is stored on a blockchain; Acquire user data stored in a user terminal corresponding to the user client, and acquire program data stored in a software vendor terminal corresponding to the target source code; The target source code is executed based on the user data and the program data.

2. The method according to claim 1, characterized in that: The acquiring of user data stored in a user terminal corresponding to the user client and the acquiring of program data stored in a software vendor terminal corresponding to the target source code include: Determine, according to the user information and access context information included in the program execution request, at least one user terminal and at least one software vendor terminal that the program execution request requires to access; Sending a first data access request to the user terminal, and receiving user data fed back by the user terminal; A second data access request is sent to the software vendor terminal, and program data fed back by the software vendor terminal is received.

3. The method according to claim 2, characterized in that The sending a first data access request to the user terminal and receiving user data fed back by the user terminal includes: The first data access request is sent to the user terminal so that the user terminal responds to the data access request, determines whether the communication center has access rights according to a preset configuration file, and sends user data encrypted by a dynamic key to the communication center if the communication center has access rights.

4. The method according to claim 1, characterized in that: The method further comprises: When the target source code is running, if new program data is generated, the new program data is sent to the software vendor terminal, so that the software vendor terminal uses the new program data to update the program data stored in the software vendor terminal.

5. The method according to claim 1, characterized in that The method further comprises: When the target source code is running, an operation request is sent to the user terminal, and after receiving an operation permission instruction fed back by the user terminal, the user data stored in the user terminal is modified or deleted according to the operation request.

6. The method according to claim 5, characterized in that After modifying or deleting the user data stored in the user terminal, the method further includes: Generate a user data operation record, and upload the user data operation record to the blockchain.

7. The method according to claim 1, characterized in that The acquiring of user data stored in a user terminal corresponding to the user client further includes: After the user modifies the user data through the user terminal, the modified user data is obtained.

8. A program running device, characterized in that: The device is applied to a program running system, the program running system includes a communication center end, a user terminal and a software vendor terminal, the communication center end respectively stores a real-time heartbeat connection with the user terminal and the software vendor terminal, and the device includes: A user data component, deployed in the user terminal, for storing user data; A program data component, deployed in the program vendor terminal, for storing program data; A network communication component is deployed at the communication center end, and is used to respond to a program running request issued by a user client, determine a target source code corresponding to the program running request in at least one program source code; and obtain user data stored in a user data component corresponding to the user client, and program data stored in a program data component corresponding to the target source code, and run the target source code based on the user data and the program data.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the program running method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the program execution method according to any one of claims 1 to 7 are executed.