Online course contract signing method and device
By generating digital signatures to limit access rights to course versions, the problem of inflexible access rights management in the online education industry is solved, allowing users to only access the purchased course versions, reducing economic losses.
Patent Information
- Application Number
- CN202410834201.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-18
AI Technical Summary
In the online education industry, users gain access to all historical and updated versions after signing a course contract, which results in inflexible access rights management and can easily cause economic losses.
By generating a digital signature to limit access to the course version, determine the custom field content in the contract template based on the course version purchased by the user and whether to select a specific service, and fill it into the corresponding fields to generate the user's contract and number Sign to ensure that users can only access the purchased course version.
It improves the flexibility of user access rights, prevents users from accessing unpurchased course versions, and reduces economic losses.
Smart Images

Figure CN118797722A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of educational technology, and in particular to a method and device for signing an online course contract. Background Art
[0002] In the online education industry in the field of educational technology, there are a large number of courses in the course library. Sales personnel sell course access rights to users by signing contracts. Users obtain access rights to the purchased courses by signing contracts and view the corresponding courses online through the access rights.
[0003] Currently, after signing a contract with a user regarding a course, the user can obtain access rights to all historical versions of the course and all subsequently updated versions, resulting in inflexible management of user access rights and easily causing economic losses. Summary of the invention
[0004] The present application provides an online course contract signing method and device, which can improve the management flexibility of user access rights and reduce economic losses.
[0005] In a first aspect, the present application provides a method for signing an online course contract, comprising:
[0006] Determine a contract template, user information and user requirements, wherein the contract template includes at least one custom field, and the user requirements include the first version of the purchased first course and whether to allow a specific service, wherein the specific service indicates that the user automatically purchases an updated version of the first course;
[0007] Based on user information and user needs, determine the content corresponding to each custom field in the contract template, and fill the content corresponding to each custom field into each custom field to generate a contract and digital signature corresponding to the user. The digital signature represents the user's access rights to various versions of the first course.
[0008] In one example, the method further includes:
[0009] Check whether the version of the first course is updated. If the version of the first course is updated and the user receives a specific service, update the corresponding contract and digital signature of the user.
[0010] In one example, filling the content corresponding to each custom field into each custom field includes:
[0011] Add the same identifier to each custom field and the corresponding content;
[0012] Encode each custom field and the corresponding content to obtain a data string, which carries the identifier before encoding;
[0013] Run a pre-written script to fill the data string into the custom field consistent with the identifier carried.
[0014] In one example, the method further includes:
[0015] Determine whether the data string is accurately filled into the corresponding custom field;
[0016] If at least one data string is not accurately filled into the corresponding custom field, the step of running the pre-written script program to fill the data string into the custom field consistent with the carried identifier is re-executed until each data string is accurately filled into the corresponding custom field.
[0017] In one example, the user information includes an access subject of the user, and the method further includes:
[0018] Encrypt the generated contract corresponding to the user to obtain an encrypted contract;
[0019] Add a corresponding ID to the encrypted contract and bind the ID to the user's access subject.
[0020] In one example, the method further includes:
[0021] Obtaining the user's access request, where the access request includes the user's access subject and the second course being accessed;
[0022] Based on the user's access subject, verify whether the user has the access rights to the second course. If the user has the access rights to the second course, provide the user with access to the second course. If the user does not have the access rights to the second course, reject the user's access request.
[0023] In one example, verifying whether the user has access rights to the second course based on the user's access principal includes:
[0024] Determine the bound ID through the access subject, and determine the corresponding encryption contract through the bound ID;
[0025] Decrypt the encrypted contract and obtain the user's digital signature;
[0026] If the second course is a course for which the user represented by the digital signature has access rights, it is determined that the user has access rights to the second course;
[0027] If the second course is not a course for which the user represented by the digital signature has access rights, it is determined that the user does not have access rights to the second course.
[0028] In one example, the method further includes:
[0029] Monitor the contract in real time for any anomalies and repair them if any.
[0030] In one example, the method further includes:
[0031] Determine the contract management authority of each relevant role for each contract;
[0032] If a contract is updated, each relevant role of the contract is notified.
[0033] In a second aspect, the present application provides an online course contract signing method and device, the device comprising:
[0034] 10. A method and device for signing an online course contract, comprising:
[0035] A determination module, used to determine a contract template, user information and user requirements, wherein the contract template includes at least one custom field, and the user requirements include the first version of the purchased first course and whether a specific service is allowed, wherein the specific service indicates that the user automatically purchases an updated version of the first course;
[0036] The processing module is used to determine the content corresponding to each custom field in the contract template based on user information and user needs, and fill the content corresponding to each custom field into each custom field, generate a contract and digital signature corresponding to the user, and the digital signature represents the user's access rights to various versions of the first course.
[0037] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0038] Memory stores computer-executable instructions;
[0039] The processor executes the computer-executable instructions stored in the memory to implement any of the above methods.
[0040] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any of the methods described above.
[0041] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements any of the methods described above when executed by a processor.
[0042] The online course contract signing method and device provided by the present application determines the content corresponding to each custom field in the contract template based on user information, the first version of the first course purchased by the user, and whether specific services are allowed, and fills the content corresponding to each custom field into each custom field, generates a contract and a digital signature corresponding to the user, and the digital signature represents the user's access rights to each version of the first course. The present application limits the access rights to the version of the course by generating a digital signature, so that the user can only access the purchased version of the course, which can improve the flexibility of the user's access front, thereby preventing the user from accessing the unpurchased version of the course and reducing economic losses. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0044] Figure 1 An application scenario diagram of an example of the prior art;
[0045] Figure 2 A flowchart of a method for signing an online course contract provided in Example 1 of the present application;
[0046] Figure 3 A flowchart of another online course contract signing method provided in Example 1 of the present application;
[0047] Figure 4 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application;
[0048] Figure 5 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application;
[0049] Figure 6 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application;
[0050] Figure 7 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application;
[0051] Figure 8 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application;
[0052] Fig. 9 A schematic diagram of the structure of an online course contract signing method and device provided in Example 2 of the present application;
[0053] Fig.10 This is a schematic diagram of the structure of an electronic device provided in Example 3 of the present application.
[0054] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0056] Figure 1 This is an application scenario diagram of an existing technology example, such as Figure 1 As shown, in the online education industry in the field of educational technology, there are a large number of courses in the course library. The same course includes at least one version. The salesperson sells the access rights of the course to the user by signing a contract. The user obtains the access rights of the purchased course by signing the contract, and accesses the course library through the access rights to view the corresponding course online.
[0057] Currently, after signing a contract with a user about a course, the user can obtain access rights to all historical versions of the course and all subsequently updated versions. For example, the signed contract shows that the purchased course is Course A. Different versions of Course A may include different numbers of lessons. For example, Course A currently includes two versions, Version 1 and Version 2. Version 1 includes ten lessons of Course A, and Version 2 includes fifteen lessons of Course A. Course A is still being updated. As Course A is updated, more versions may appear. So, for example, the contract currently signed by the user shows that the course purchased is Course A, and the user has access rights to all versions of Course A. This results in inflexible management of user access rights. If the seller of the course prices different versions differently, it is easy to cause economic losses.
[0058] The online course contract signing method and device provided by the present application determines the content corresponding to each custom field in the contract template based on user information, the first version of the first course purchased by the user, and whether specific services are allowed, and fills the content corresponding to each custom field into each custom field, generates a contract and a digital signature corresponding to the user, and the digital signature represents the user's access rights to each version of the first course. The present application limits the access rights to the version of the course by generating a digital signature, so that the user can only access the purchased version of the course, which can improve the flexibility of the user's access front, thereby preventing the user from accessing the unpurchased version of the course and reducing economic losses.
[0059] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0060] Embodiment 1
[0061] Figure 2 A flowchart of a method for signing an online course contract provided in Example 1 of the present application is shown in FIG. Figure 2 As shown, the method includes:
[0062] Step 201: determine a contract template, user information, and user requirements, wherein the contract template includes at least one custom field, and the user requirements include the first version of the purchased first course and whether to allow a specific service, wherein the specific service indicates that the user automatically purchases an updated version of the first course;
[0063] Step 202: Based on user information and user needs, determine the content corresponding to each custom field in the contract template, and fill the content corresponding to each custom field into each custom field, generate a contract and digital signature corresponding to the user, and the digital signature represents the user's access rights to various versions of the first course.
[0064] Combined with the scenario example, a contract template can be created from the template editor in the contract management system. The contract template includes static fields and dynamic fields. Static fields are the default contents of the contract, such as contract numbers and other fields that cannot be changed. Dynamic fields are custom fields of the contract and need to be determined based on customer information and customer needs. For example, course titles, course scope, pricing strategies and payment terms can all be customized according to customer needs. User needs can be determined through customer communication, face-to-face meetings, emails, online questionnaires or demand collection tools, and recorded using the Customer Relationship Management (CRM) system. Online forms are used to collect and organize customer demand data to ensure the completeness and accuracy of the needs. The course title can be based on the course purchased by the user. If the first course purchased by the user is Course A, the course title can be: "Purchase Agreement for Course A". The specific title can be determined according to the actual situation; the course scope represents the courses purchased in the user's needs. The user's needs include specific services. Specific services are optional services, that is, the updated version of the purchased course is automatically purchased. For example, if the first course purchased by the user is Course A, and the first version of Course A purchased is the current latest version - Version 2, then the course scope should be Version 2 of Course A purchased by the user. If the user still wants to view the course content in the subsequent updated version, then the user can select a specific service; conversely, if the user only wants to view Version 2 of Course A, the user does not need to select a specific service. The price strategy field can be determined according to the user's needs. If the user selects a specific service, the price at the price strategy should be the sum of the prices of Version 2 and subsequent updated versions. If the user does not select a specific service, the price at the price strategy should be the price of Version 2 of Course A. When all custom fields are filled in, the contract and digital signature of the course purchased by the user can be generated. The representation form of the digital signature can be a key pair. The digital signature represents the user's access rights to the course. The digital signature can be based on the scope of the course purchased by the user. If the scope of the course purchased by the user is version 2 of course A, then the access rights corresponding to the user's digital signature are version 2 of course A. This example limits the access rights to the version of the course by generating a digital signature, so that the user can only access the purchased version of the course, which can improve the flexibility of the user's access front, thereby preventing the user from accessing the unpurchased version of the course and reducing economic losses.
[0065] Optionally, the method further includes:
[0066] Check whether the version of the first course is updated. If the version of the first course is updated and the user receives a specific service, update the corresponding contract and digital signature of the user.
[0067] Combined with the scenario example, the digital signature generated according to the contract can only access version 2 purchased at that time. For users who choose specific services, users need to have access to the new version, so after the version of course A is updated, the user's digital signature needs to be updated so that the user's digital signature has access to the new version. For example, if the version of course A purchased when signing the contract with the user is version 2, and the user has selected a specific service, if course A has now been updated to version 3, the course scope in the contract of the user receiving the specific service can be updated to version 2 and version 3 of course A, and then the digital signature can be updated so that the digital signature has access to both version 2 and version 3 of course A. Based on the method provided in this example, after the version of the first course purchased by the user is updated, the accessible course scope and digital signature can be updated to allow the user to have access to the updated version.
[0068] Optional, Figure 3 A flowchart of another online course contract signing method provided in Example 1 of the present application is shown as follows: Figure 3 As shown, in step 202, filling the content corresponding to each custom field into each custom field includes:
[0069] Step 301: Add the same identifier to each custom field and the corresponding content;
[0070] Step 302: Encode each custom field and the corresponding content to obtain a data string, where the data string carries the identifier before encoding;
[0071] Step 303: Run a pre-written script program to fill the data string into a custom field consistent with the carried identifier.
[0072] Combined with the scenario example, each dynamic field in the contract template, that is, the custom field, can be numbered, such as the course title is numbered 1, the course scope is numbered 2, the price strategy is numbered 3, and the payment terms are numbered 4, etc. After determining the content that needs to be filled in each custom field, the content that needs to be filled in each custom field can be added with the same content as the corresponding custom field. For example, if the course title is: "Purchase Agreement of Course A", the number of "Purchase Agreement of Course A" can be set to number 1. Similarly, if the course scope is: "Version 2 of Course A", the number of "Version 2 of Course A" can be set to number 2. In this way, the content of each custom field is numbered. Since the content of the custom field is mostly in text form, in order to automatically fill the content of each custom field into the corresponding custom field, the content of each custom field can be encoded first, and the number after encoding remains unchanged. According to the pre-written script program, each encoded data string is filled into the custom field with the same encoding to improve the efficiency of automatic filling.
[0073] Optional, Figure 4 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application is shown as follows: Figure 4 As shown, the method also includes:
[0074] Step 401: Determine whether the data string is accurately filled into the corresponding custom field;
[0075] Step 401: If there is at least one data string that is not accurately filled into the corresponding custom field, re-execute the step of running the pre-written script program to fill the data string into the custom field consistent with the carried identifier until each data string is accurately filled into the corresponding custom field.
[0076] Combined with the scenario example, check whether each custom field is empty, if there is at least one custom field that is empty. If there is no empty custom field, check whether the number of each custom field is consistent with the number of the filled content. If there is at least one custom field whose number is inconsistent with the number of the filled content, it is determined that at least one data string is not accurately filled into the corresponding custom field. At this time, the filling of each custom field should be revoked, and the pre-written script program should be re-executed, and then the data string should be re-determined whether it is accurately filled into the corresponding custom field until each data string is accurately filled into the corresponding custom field. Specifically, if there is no empty custom field, and the number of each custom field is consistent with the number of the filled content, it is determined that each data string is accurately filled into the corresponding custom field, and the execution of the pre-written script program can be stopped at this time. Based on the method provided in this example, it can be guaranteed that each data transmission is correctly filled into the corresponding custom field.
[0077] Optionally, user information includes the user's access subject, Figure 5 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application is shown as follows: Figure 5 As shown, the method also includes:
[0078] Step 501: Encrypt the generated contract corresponding to the user to obtain an encrypted contract;
[0079] Step 502: Add a corresponding ID to the encryption contract and bind the ID to the user's access subject.
[0080] Combined with the scenario example, the encryption method for the contract can be symmetric encryption or asymmetric encryption. The access subject can be represented by a login account and a login password. The encrypted contract is added with a unique ID of the contract. The unique ID of the contract can be selected as the default code of the contract, and the user's access subject is bound to his or her own contract number.
[0081] Optional, Figure 6 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application is shown as follows: Figure 6 As shown, the method also includes:
[0082] Step 601: Obtain the user's access request, where the access request includes the user's access subject and the second course being accessed;
[0083] Step 602: Verify whether the user has access rights to the second course based on the user's access subject. If the user has access rights to the second course, provide the user with access to the second course. If the user does not have access rights to the second course, reject the user's access request.
[0084] Combined with the scenario example, if the user wants to access the second course in the course library, he can first initiate an access request to the second course. Specifically, he can first log in through his own access subject, and then select in the course library. If he chooses to access the second course, he can generate an access request to the second course. Based on the user's access subject, verify whether the user has the scope authority to the second course. If the second course is the course purchased by the user, such as Course A in version 2, it can be determined that the user has access rights to the second course, and then establish an access channel between the user and the second course to enable the user to access the second course. On the contrary, if the second course is not a course purchased by the user, it can be determined that the user does not have access rights to the second course, and the user's access request is rejected. This example ensures that users can only access courses with access rights by performing authority determination on the user's access request.
[0085] Optional, Figure 7 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application is shown as follows: Figure 7 As shown, in step 602, verifying whether the user has access rights to the second course based on the user's access subject includes:
[0086] Step 701: Determine the bound ID through the access subject, and determine the corresponding encryption contract through the bound ID;
[0087] Step 702: decrypt the encrypted contract to obtain the user's digital signature;
[0088] Step 703: If the second course is a course for which the user has access rights as represented by the digital signature, it is determined that the user has access rights to the second course;
[0089] Step 704: If the second course is not a course for which the user represented by the digital signature has access rights, it is determined that the user does not have access rights to the second course.
[0090] Combined with the scenario example, according to the binding between the access subject and the ID of the encrypted contract, the user's access subject can be determined through the access request of the user who initiated the access request, and then the ID of the encrypted contract bound to it can be determined based on the user's access subject. After decrypting the encrypted contract with the key used when encrypting the contract, the relevant content of the contract can be viewed, including the user's corresponding digital signature, and whether the user has access rights to the second course can be determined based on the digital signature. For example, if the course access rights represented by the digital signature include the second course, such as the second course is version 2 of course A purchased by the user, then it can be determined that the user has access rights to the second course. Conversely, if the course access rights represented by the digital signature do not include the second course, then it is determined that the user does not have access rights to the second course. Based on the method provided in this example, it can be determined through the digital signature whether the user has access rights to the courses involved in the access request.
[0091] Optionally, the method further includes:
[0092] Monitor the contract in real time for any anomalies and repair them if any.
[0093] Combined with scenario examples, monitor the contract status, including the signing, performance, renewal and termination of the contract, and monitor whether the contract is performed normally at each stage. For example, monitor the user's digital signature authority. For example, if the user selects a specific service when signing the contract, it is necessary to monitor whether the course scope and digital signature in the user's contract are updated with the update of the course version. Monitoring of each stage of the contract can ensure that if there is an anomaly in the contract at any stage, such as an anomaly in the digital signature, the anomaly of the contract can be repaired immediately.
[0094] Optional, Figure 8 A flowchart of another online course contract signing method provided in Embodiment 1 of the present application is shown as follows: Figure 8 As shown, the method also includes:
[0095] Step 801: Determine the management authority of each relevant role of each contract over the contract;
[0096] Step 802: If the contract is updated, each relevant role of the contract is notified.
[0097] Combined with the scenario example, the relevant roles of the contract mainly include users, contract makers and managers, among which users only have the right to view the contract, and do not have the right to modify the contract after the contract is officially generated. The maker of the contract can update the scope of the courses involved in the contract and the user's digital signature according to the special service signed by the user after the version of the course purchased by the user is updated, thereby generating an updated contract. The manager of the contract has all the rights to modify the contract. After the contract is updated, the updated contract can be sent to each corresponding role via SMS or email, so that each relevant role can immediately know the update of the contract, which is more convenient for the manager to manage the updated contract in a timely manner.
[0098] This embodiment limits access rights to course versions by generating digital signatures, so that users can only access purchased course versions, which can improve the flexibility of user access, thereby preventing users from accessing unpurchased course versions and reducing economic losses.
[0099] Embodiment 2
[0100] Fig. 9 This is a structural diagram of an online course contract signing method device provided in Example 2 of the present application, such as Fig. 9 As shown, the device comprises:
[0101] A determination module 91 is used to determine a contract template, user information and user requirements, wherein the contract template includes at least one custom field, and the user requirements include the first version of the purchased first course and whether a specific service is allowed, wherein the specific service indicates that the user automatically purchases an updated version of the first course;
[0102] Processing module 92 is used to determine the content corresponding to each custom field in the contract template based on user information and user needs, and fill the content corresponding to each custom field into each custom field, generate a contract and digital signature corresponding to the user, and the digital signature represents the user's access rights to various versions of the first course.
[0103] Combined with the scenario example, the determination module 91 can create a contract template from the template editor in the contract management system. The contract template includes static fields and dynamic fields, wherein the static fields are the default contents of the contract, such as the contract number and other fields that cannot be changed. The dynamic fields are custom fields of the contract, which need to be determined based on customer information and customer needs. For example, the course title, course scope, price strategy and payment terms can all be customized and filled in according to customer needs. User needs can be determined through customer communication, face-to-face meetings, emails, online questionnaires or demand collection tools, and recorded using the Customer Relationship Management (CRM) system. Online forms are used to collect and organize customer demand data to ensure the completeness and accuracy of the needs. The course title can be based on the course purchased by the user. If the first course purchased by the user is Course A, the course title can be: "Purchase Agreement for Course A". The specific title can be determined according to the actual situation; the course scope represents the courses purchased in the user's needs. The user's needs include specific services. Specific services are optional services, that is, the updated version of the purchased course is automatically purchased. For example, if the first course purchased by the user is Course A, and the first version of Course A purchased is the current latest version - Version 2, then the course scope should be Version 2 of Course A purchased by the user. If the user still wants to view the course content in the subsequent updated version, then the user can select a specific service; conversely, if the user only wants to view Version 2 of Course A, the user does not need to select a specific service. The price strategy field can be determined according to the user's needs. If the user selects a specific service, the price at the price strategy should be the sum of the prices of Version 2 and subsequent updated versions. If the user does not select a specific service, the price at the price strategy should be the price of Version 2 of Course A. When each custom field is filled in, the processing module 92 can generate a contract and a digital signature for the course purchased by the user. The representation form of the digital signature can be a key pair. The digital signature represents the user's access rights to the course. The digital signature can be based on the scope of the course purchased by the user. If the scope of the course purchased by the user is version 2 of course A, then the access rights corresponding to the user's digital signature are version 2 of course A. This example limits the access rights to the version of the course by generating a digital signature, so that the user can only access the purchased version of the course, which can improve the flexibility of the user's access front, thereby preventing the user from accessing the unpurchased version of the course and reducing economic losses.
[0104] Optionally, for users who choose specific services, the users still have the right to access subsequent versions of Course A, but the digital signature generated according to the contract can only access Version 2 purchased at that time. Therefore, after the version of Course A is updated, the processing module 92 needs to update the contract of the user receiving the specific service. For example, if Course A has been updated to Version 3, the course scope in the contract of the user receiving the specific service can be updated to Version 2 and Version 3 of Course A, and then the digital signature can be updated so that the digital signature has access rights to Version 2 and Version 3 of Course A. Based on the method provided in this example, after the version of the first course purchased by the user is updated, the accessible course scope and digital signature can be updated to allow the user to have access rights to the updated version.
[0105] Optionally, the processing module 92 can number each dynamic field in the contract template, that is, the custom field, such as the course title is numbered as number 1, the course scope is numbered as number 2, the price strategy is numbered as number 3, and the payment terms are numbered as number 4, etc. After determining the content to be filled in each custom field, the content to be filled in each custom field can be added with the same content as the corresponding custom field. For example, if the course title is: "Purchase Agreement of Course A", the processing module 92 can set the number of "Purchase Agreement of Course A" as number 1. Similarly, if the course scope is: "Version 2 of Course A", the number of "Version 2 of Course A" can be set as number 2. In this way, the content of each custom field is numbered. Since the content of the custom field is mostly in text form, in order to automatically fill the content of each custom field into the corresponding custom field, the processing module 92 can first encode the content of each custom field, and the number after encoding remains unchanged. According to the pre-written script program, each encoded data string is filled into the custom field with the same code to improve the efficiency of automatic filling.
[0106] Optionally, the processing module 92 checks whether each custom field is empty. If at least one custom field is empty, it is determined that at least one data string is not accurately filled into the corresponding custom field. If there is no custom field that is empty, then the number of each custom field is detected to be consistent with the number of the content filled in. If there is at least one custom field whose number is inconsistent with the number of the content filled in, the processing module 92 determines that at least one data string is not accurately filled into the corresponding custom field. At this time, the filling of each custom field should be revoked, the pre-written script program should be re-executed, and then the data string should be re-determined whether it is accurately filled into the corresponding custom field until each data string is accurately filled into the corresponding custom field. Specifically, if there is no custom field that is empty, and the number of each custom field is consistent with the number of the content filled in, the processing module 92 determines that each data string is accurately filled into the corresponding custom field, and the execution of the pre-written script program can be stopped at this time. Based on the method provided in this example, it can be guaranteed that each data transmission is correctly filled into the corresponding custom field.
[0107] Optionally, the encryption method for the contract can be symmetric encryption or asymmetric encryption. The access subject can be represented by a login account and a login password. The encrypted contract is added with a unique ID of the contract. The unique ID of the contract can be selected as the default code of the contract, and the user's access subject is bound to his own contract number.
[0108] Optionally, if the user wants to access the second course in the course library, the processing module 92 may first initiate an access request to the second course. Specifically, the user may first log in through his own access subject, and then select in the course library. If the user chooses to access the second course, an access request to the second course may be generated. Based on the user's access subject, it is verified whether the user has the scope authority to the second course. If the second course is the course purchased by the user, such as Course A in version 2, it can be determined that the user has access rights to the second course, and an access channel between the user and the second course is established to enable the user to access the second course. Conversely, if the second course is not the course purchased by the user, it can be determined that the user does not have access rights to the second course, and the user's access request is rejected. This example ensures that the user can only access courses for which he has access rights by performing authority determination on the user's access request.
[0109] Based on the binding between the access subject and the ID of the encrypted contract, the processing module 92 can determine the user's access subject through the access request of the user who initiated the access request, and then determine the ID of the encrypted contract bound to it based on the user's access subject. After decrypting the encrypted contract with the key used when encrypting the contract, the relevant content of the contract can be viewed, including the digital signature corresponding to the user, and whether the user has access rights to the second course can be determined based on the digital signature. For example, if the course access rights represented by the digital signature include the second course, such as the second course is version 2 of course A purchased by the user, then it can be determined that the user has access rights to the second course. Conversely, if the course access rights represented by the digital signature do not include the second course, then it is determined that the user does not have access rights to the second course. Based on the method provided in this example, it can be determined through the digital signature whether the user has access rights to the course involved in the access request.
[0110] Optionally, processing module 92 monitors the contract status, including the signing, performance, renewal and termination of the contract, and monitors whether the contract is performed normally at each stage. Monitoring of each stage of the contract can ensure that when there are abnormalities in the contract at any stage, the abnormalities can be repaired immediately.
[0111] Optionally, the relevant roles of the contract mainly include users, contract makers and managers, among which users only have the right to view the contract, and do not have the right to modify the contract after the contract is formally generated. The contract maker can update the scope of the courses involved in the contract and the user's digital signature according to the special service signed by the user after the version of the course purchased by the user is updated, thereby generating an updated contract. The manager of the contract has all the rights to modify the contract. After the contract is updated, the processing module 92 can send the updated contract to each corresponding role via SMS or email, so that each relevant role can immediately know the update of the contract, which is more convenient for the manager to manage the updated contract in time.
[0112] This embodiment limits access rights to course versions by generating digital signatures, so that users can only access purchased course versions, which can improve the flexibility of user access, thereby preventing users from accessing unpurchased course versions and reducing economic losses.
[0113] Embodiment 3
[0114] Fig.10 This is a schematic diagram of the structure of the electronic device provided in the third embodiment of the present application. Fig.10 As shown, the electronic device may include: a transceiver 121 , a processor 122 , and a memory 123 .
[0115] The processor 122 executes the computer execution instructions stored in the memory, so that the processor 122 executes the scheme in the above embodiment. The processor 122 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0116] The memory 123 is connected to the processor 122 via a system bus and completes communication between them. The memory 123 is used to store computer program instructions.
[0117] The transceiver 121 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.
[0118] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.
[0119] The electronic device provided in the embodiment of the present application may be the terminal device of the above embodiment.
[0120] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the file encryption and delivery method in the above embodiment.
[0121] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the file encryption and delivery method of the above embodiment.
[0122] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the file encryption delivery method in the above embodiment.
[0123] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules 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 an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0124] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to implement the solution of this embodiment.
[0125] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0126] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0127] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0128] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0129] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0130] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0131] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Therefore, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Therefore, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.
[0132] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0133] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0134] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0135] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0136] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for signing an online course contract, characterized in that: include: Determine a contract template, user information and user requirements, wherein the contract template includes at least one custom field, and the user requirements include the first version of the purchased first course and whether to allow a specific service, wherein the specific service indicates that the user automatically purchases an updated version of the first course; Based on user information and user needs, the content corresponding to each custom field in the contract template is determined, and the content corresponding to each custom field is filled into each custom field to generate a contract and digital signature corresponding to the user. The digital signature represents the user's access rights to various versions of the first course.
2. The method according to claim 1, characterized in that The method further comprises: Check whether the version of the first course is updated. If the version of the first course is updated and the user receives a specific service, update the contract and digital signature corresponding to the user.
3. The method according to claim 1, characterized in that: Filling the content corresponding to each custom field into each custom field includes: Add the same identifier to each custom field and the corresponding content; Encode each custom field and the corresponding content to obtain a data string, wherein the data string carries the identifier before encoding; Run a pre-written script to fill the data string into the custom field consistent with the identifier carried.
4. The method according to claim 3, characterized in that The method further comprises: Determine whether the data string is accurately filled into the corresponding custom field; If at least one data string is not accurately filled into the corresponding custom field, the step of running the pre-written script program to fill the data string into the custom field consistent with the carried identifier is re-executed until each data string is accurately filled into the corresponding custom field.
5. The method according to claim 1, characterized in that The user information includes the user's access subject, and the method further includes: Encrypt the generated contract corresponding to the user to obtain an encrypted contract; A corresponding ID is added to the encryption contract, and the ID is bound to the user's access subject.
6. The method according to claim 5, characterized in that The method further comprises: Obtaining an access request from a user, wherein the access request includes an access subject of the user and a second course to be accessed; Based on the user's access subject, verify whether the user has access rights to the second course. If the user has access rights to the second course, provide the user with access to the second course; if the user does not have access rights to the second course, reject the user's access request.
7. The method according to claim 6, characterized in that The verifying whether the user has access rights to the second course based on the user's access subject includes: Determine the bound ID through the access subject, and determine the corresponding encryption contract through the bound ID; Decrypting the encrypted contract to obtain the digital signature of the user; If the second course is a course for which the user represented by the digital signature has access rights, then determining that the user has access rights to the second course; If the second course is not a course for which the user represented by the digital signature has access rights, it is determined that the user does not have access rights to the second course.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Monitor the contract in real time for any anomalies and repair them if any.
9. The method according to claim 8, characterized in that The method further comprises: Determine the management authority of each relevant role for each contract over said contract; If a contract is updated, each relevant role of the contract is notified.
10. A method and device for signing an online course contract, characterized in that: include: A determination module, used to determine a contract template, user information and user requirements, wherein the contract template includes at least one custom field, and the user requirements include the first version of the purchased first course and whether to allow a specific service, wherein the specific service indicates that the user automatically purchases an updated version of the first course; A processing module is used to determine the content corresponding to each custom field in the contract template based on user information and user needs, and fill the content corresponding to each custom field into each custom field, generate a contract and digital signature corresponding to the user, and the digital signature represents the user's access rights to each version of the first course.
Citation Information
Cited By
Method and system for generating online signed contract based on CRM internal system
CN121235861A
