Data processing method and device
By obtaining the number of applicants and important object information in the rural property rights trading system, dynamically adjusting the deadline, the problem that the number of applicants does not meet expectations is solved, the flexibility and reliability of the project are achieved, and the smooth development of the project is ensured.
Patent Information
- Application Number
- CN202411169127.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-26
AI Technical Summary
In the rural property rights trading system, it is difficult for the existing technology to dynamically adjust the registration deadline, resulting in the number of applicants not meeting expectations and affecting the development of the project.
By obtaining project information, such as the number of applicants and important objects, dynamically generate new deadlines based on preset conditions, avoid manually restarting projects, flexibly control the duration of project development, and reduce human factors.
The deadline for dynamic generation based on real-time data is realized, which improves the flexibility and reliability of the project, saves human resources, avoids mistakes in manual subjective judgments, and ensures the smooth development of the project.
Smart Images

Figure CN119027238A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing method and device. Background Art
[0002] The rural property rights trading system is an information platform for the legal transfer of various rural property rights. During the property rights trading stage, users need to be called to sign up for the transfer auction, and the property rights exchange will manually set a fixed registration deadline. However, due to various factors, when the registration deadline comes, the user's registration may not reach the expected result, which will affect the development of the project. Therefore, how to dynamically generate the deadline based on real-time data is an urgent problem to be solved. Summary of the invention
[0003] The present application provides a data processing method and device for dynamically generating a deadline based on real-time data.
[0004] In a first aspect, an embodiment of the present application provides a data processing method, which can be applied to any electronic device with processing capabilities, including:
[0005] Acquire project information of a first project, where the first project is a project reaching a first deadline, and the project information includes at least one of the number of applicants and project key objects; the project key object is used to indicate a user for project priority;
[0006] Determine a second deadline for the first project according to a preset condition satisfied by the project information of the first project; the second deadline is after the first deadline;
[0007] Carry out the first project according to the second deadline.
[0008] In this solution, the project information of the first project that has reached the first deadline is obtained, and the second deadline of the first project is determined according to the preset conditions satisfied by the project information. The deadline of the first project can be regenerated, and there is no need to manually restart the first project after the first project expires. The implementation time of the first project can be dynamically controlled, which is more flexible and saves human resources. Moreover, the new deadline (i.e., the second deadline) is determined according to the project information of the first project, which can reduce human factors and avoid errors in human subjective judgment.
[0009] Optionally, the preset condition includes at least one of the following: the number of applicants for the first project is less than the preset number of applicants; the registered subjects for the first project do not include important subjects of the project.
[0010] In this embodiment, the second deadline is determined based on the fact that the number of applicants for the first project is less than the preset number of applicants and / or that important objects are not included in the registered objects, so as to avoid too few participants or the registered users having little relevance to the activity when subsequent activities are carried out, thereby resulting in poor activity results and affecting user experience; and determining the second deadline based on real-time project information can reduce human factors and avoid errors in human subjective judgment.
[0011] Optionally, the project information also includes: a project turnover amount, where the project turnover amount is used to indicate the total amount of products participating in the turnover auction in the first project; after determining the second deadline of the first project based on preset conditions satisfied by the project information of the first project, the method also includes: if the project turnover amount is greater than the preset project turnover amount, multiplying the coefficient corresponding to the project turnover amount by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtaining a new second deadline based on the new number of days; carrying out the first project according to the second deadline, including: carrying out the first project according to the new second deadline.
[0012] In this embodiment, the project turnover amount of the first project is greater than the preset project turnover amount, which can be understood as the project scale of the first project is larger, that is, the project turnover amount is also important project information of the first project. In order to enable the first project to achieve better results, the second deadline determined according to the preset conditions can be adjusted according to the project turnover amount, so that the generated second deadline is more reasonable.
[0013] Optionally, the project information also includes: project priority; after determining the second deadline of the first project according to the preset conditions satisfied by the project information of the first project, the method also includes: if the project priority is greater than the preset project priority, multiplying the coefficient corresponding to the project priority by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtaining a new second deadline based on the new number of days; carrying out the first project according to the second deadline, including: carrying out the first project according to the new second deadline.
[0014] In this embodiment, the project priority of the first project is greater than the preset project priority, which can be understood as the first project is an important project. In order to ensure the smooth progress of the first project, the second deadline determined according to the preset conditions can also be adjusted according to the project priority, so that the generated second deadline is more reasonable.
[0015] Optionally, before determining the second deadline of the first project based on a preset condition satisfied by project information of the first project, the method further includes: obtaining a record of historical deadlines of the first project, and determining that the number of historical deadlines of the first project does not exceed a threshold.
[0016] In this implementation, before determining the second deadline, it is necessary to ensure that the number of times the first project generates a new deadline does not exceed a threshold, so as to avoid an indefinite extension of the first project, thereby improving the reliability of this application.
[0017] Optionally, after carrying out the first project according to the second deadline, the method further includes: updating the record of the historical deadline of the first project.
[0018] In this implementation, the historical deadline record of the first project is updated so that if the deadline needs to be regenerated again later, the historical deadline record can be accurately obtained, thereby improving the reliability of the application.
[0019] Optionally, the method also includes: obtaining the number of holidays and the number of compensatory days between the first deadline and the second deadline; holidays include working days; compensatory days are used to indicate Saturdays or Sundays that require work; increasing the number of days between the first deadline and the second deadline according to the number of holidays, and decreasing the number of days between the first deadline and the second deadline according to the number of compensatory days to obtain an updated second deadline; carrying out the first project according to the second deadline, including: carrying out the first project according to the updated second deadline.
[0020] In this embodiment, the updated second deadline can accurately skip days when work is not required, eliminating the need to manually calculate holidays and adjusted days, thereby improving the efficiency of generating deadlines and avoiding errors in human subjective judgment.
[0021] Optionally, the method further includes: monitoring project information of the first project within the second deadline; if the project information of the first project does not meet a preset condition, terminating the first project.
[0022] In this embodiment, if the project information of the first project does not meet the preset conditions, the first project can be terminated immediately, thereby reducing the waiting time of the registered users and improving the user experience.
[0023] In a second aspect, an embodiment of the present application provides a data processing device, including:
[0024] An acquisition module is used to: acquire project information of a first project, where the first project is a project reaching a first deadline, and the project information includes at least one of the number of applicants and important objects of the project; the important objects of the project are used to indicate users for project priority;
[0025] A determination module, configured to: determine a second deadline of the first project according to a preset condition satisfied by the project information of the first project; the second deadline is after the first deadline;
[0026] The processing module is used to: carry out the first project according to the second deadline.
[0027] Optionally, the preset condition includes at least one of the following: the number of applicants for the first project is less than the preset number of applicants; the registered subjects for the first project do not include important subjects of the project.
[0028] Optionally, the project information also includes: a project turnover amount, which is used to indicate the total amount of products participating in the turnover auction in the first project; after the determination module determines the second deadline of the first project according to the preset conditions satisfied by the project information of the first project, it is also used to: if the project turnover amount is greater than the preset project turnover amount, multiply the coefficient corresponding to the project turnover amount by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtain a new second deadline based on the new number of days; when the processing module carries out the first project according to the second deadline, it is specifically used to: carry out the first project according to the new second deadline.
[0029] Optionally, the project information also includes: project priority; after the determination module determines the second deadline of the first project according to the preset conditions satisfied by the project information of the first project, it is also used to: if the project priority is greater than the preset project priority, multiply the coefficient corresponding to the project priority by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtain a new second deadline based on the new number of days; when the processing module carries out the first project according to the second deadline, it is specifically used to: carry out the first project according to the new second deadline.
[0030] Optionally, before determining the second deadline of the first project according to a preset condition satisfied by the project information of the first project, the determination module is further used to: obtain a record of historical deadlines of the first project, and determine that the number of historical deadlines of the first project does not exceed a threshold.
[0031] Optionally, after carrying out the first project according to the second deadline, the processing module is further used to: update the record of the historical deadline of the first project.
[0032] Optionally, the determination module is also used to: obtain the number of holidays and the number of compensatory days between the first deadline and the second deadline; holidays include working days; compensatory days are used to indicate Saturdays or Sundays that require work; increase the number of days between the first deadline and the second deadline according to the number of holidays, and reduce the number of days between the first deadline and the second deadline according to the number of compensatory days to obtain an updated second deadline; when the processing module carries out the first project according to the second deadline, it is specifically used to: carry out the first project according to the updated second deadline.
[0033] Optionally, the processing module is further used to: monitor the project information of the first project within the second deadline; if the project information of the first project does not meet a preset condition, terminate the first project.
[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising at least one processor, wherein the at least one processor is used to execute a computer program stored in a memory so that a method as in the first aspect or any optional implementation of the first aspect is implemented.
[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store instructions. When the instructions are executed, the method in the first aspect or any optional implementation of the first aspect is implemented.
[0036] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program code, which, when executed on a computer, enables the method in the first aspect or any optional implementation of the first aspect to be implemented.
[0037] The technical effects or advantages of one or more technical solutions provided in the second, third, fourth and fifth aspects of the embodiments of the present application can be correspondingly explained by the technical effects or advantages of one or more corresponding technical solutions provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A flow chart of a data processing method provided in an embodiment of the present application;
[0039] Figure 2 A flow chart of a method for determining the need to generate a second deadline provided in an embodiment of the present application;
[0040] Figure 3 A flow chart of a method for generating a second deadline provided in an embodiment of the present application;
[0041] Figure 4 A flow chart of a method for terminating a first project provided in an embodiment of the present application;
[0042] Figure 5 A structural diagram of a data processing device provided in an embodiment of the present application;
[0043] Figure 6 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In the technical solution of this application, the collection, dissemination, and use of data are in compliance with the requirements of relevant national laws and regulations.
[0045] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0046] The technical solution of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.
[0047] It should be understood that "multiple" in the description of the embodiment of the present application refers to two or more. "First", "second" etc. in the embodiment of the present application are used to distinguish different objects, rather than to describe a specific order. The term "and / or" in the embodiment of the present application is merely a kind of association relationship describing associated objects, indicating that three relationships may exist, for example, A and / or B, which may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "includes" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. The module in the embodiment of the present application refers to a part with independent functions in a software system.
[0048] The rural property rights trading system is an information platform that provides services for the legal transfer and transaction of various rural property rights, and provides convenience and institutional guarantees for the transfer and transaction of property rights by farmers, farmers' cooperatives, rural collective economic organizations, agricultural enterprises and other entities. Before the start of rural property rights trading activities, users need to be called to sign up to participate in the transfer auction. The property rights exchange staff will set a fixed registration deadline in advance. However, due to various factors, such as publicity strategies, the target of the activities, the attractiveness of the trading products to users and other unpredictable factors, it is usually impossible to accurately set a suitable registration time. When the registration deadline arrives, the number of registered users may not reach the preset number of registrants, or even no one may register.
[0049] Therefore, in response to the above problems, an embodiment of the present application provides a data processing method, which obtains project information of a first project that reaches a first deadline, determines a second deadline based on preset conditions satisfied by the project information of the first project, and can dynamically generate the second deadline based on real-time data of the first project, thereby reducing human factors and avoiding errors in human subjective judgment.
[0050] The embodiments of the present application can be applied to various scenarios where a deadline needs to be generated, including but not limited to the above-mentioned dynamic generation of a registration deadline, dynamic generation of a deadline for an ongoing activity, etc.
[0051] The embodiments of the present application can be applied to any electronic device with processing capabilities, such as computers, tablets, mobile phones, etc.
[0052] See also Figure 1 This is a flow chart of a data processing method provided in an embodiment of the present application. Taking the application for dynamically generating a registration deadline as an example, the method includes steps S101 to S103:
[0053] S101. Obtain project information of a first project.
[0054] The first project is a project that has reached the first deadline, and the project information includes at least one of the number of applicants and important objects of the project; the important objects of the project are used to indicate users for project priority.
[0055] Taking the first project, which is the registration for the above-mentioned rural property rights transaction activity, as an example, the important objects of the project are used to indicate users who have project priority, that is, users who have rural property rights transaction priority, such as VIP users of the rural property rights transaction system, users who have participated in historical rural property rights transactions for a number of times or historical transaction amounts exceeding a threshold, local users at the location of the property rights participating in this transaction, etc. The embodiments of the present application do not impose any restrictions on this.
[0056] The first deadline is the deadline of the current first project. In a possible example, if the first project is a newly started project that has not been extended, the first deadline is the initially generated deadline;
[0057] In this case, the first deadline can be set manually, or the detailed information of the first project stored in the database, such as the preset number of applicants for the first project, the preset important project objects of the first project, the scale of the first project, and the start time of historical projects similar to the first project, can be analyzed and the first deadline can be automatically generated.
[0058] It can be understood that the above is only an example of a possible method of determining the first deadline, and is not limited thereto.
[0059] In another possible example, if the first project is a project that has been postponed, the first deadline is the latest generated deadline.
[0060] S102: Determine a second deadline for the first project according to a preset condition satisfied by the project information of the first project.
[0061] The second deadline is after the first deadline.
[0062] It is understandable that if the project information of the first project does not meet the preset requirements when the first deadline is reached, in order to ensure the normal development of other subsequent activities, it is necessary to regenerate the second deadline, that is, to extend the development time of the first project.
[0063] In a possible embodiment, the preset condition includes at least one of the following:
[0064] The number of applicants for the first project is less than the preset number of applicants;
[0065] The registered subjects of the first project do not include important subjects of the project.
[0066] It is understandable that if the number of registrants is too small, or the users who have participated in the registration have little relevance to rural property rights transactions, that is, there are no important project objects among the registered objects, for example, the first project is a registration project for land property rights transactions for larger enterprises, but the registered objects are ordinary villagers or small merchants, which will lead to the subsequent rural property rights transactions. The activities cannot be carried out smoothly or the effect of the activities is poor. In this case, the second deadline needs to be re-determined.
[0067] In a possible example, the method may further include: determining a publicity strategy according to a preset condition satisfied by the project information of the first project, and determining the second deadline according to the publicity strategy.
[0068] Exemplarily, if the project information of the first project meets the preset conditions, the publicity strategy corresponding to the preset conditions is read from the database, or an alarm message is sent to the staff's device, and the publicity strategy set by the staff is received. For example, if the project information of the first project meets the condition that the number of registered people is less than the number of registered people, the first project is pushed on the homepage of the rural property rights trading platform or the user's mobile application software according to the corresponding publicity strategy; if the registered objects of the first project do not include important objects of the project, a publicity message is sent to the mobile phone of the important objects of the project according to the preset publicity strategy, etc., and the effect of adopting the publicity strategy in the past can be estimated, and the second deadline can be determined in combination with the publicity strategy.
[0069] In a possible design, after the second deadline is determined based on the preset conditions satisfied by the project information of the first project, the second deadline may be adjusted based on other project information to make the determined second deadline more reasonable.
[0070] In an optional implementation, the project information also includes: a project turnover amount, where the project turnover amount is used to indicate the total amount of products participating in the turnover auction in the first project; after S102, the method may further include: if the project turnover amount is greater than a preset project turnover amount, multiplying a coefficient corresponding to the project turnover amount by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtaining a new second deadline based on the new number of days.
[0071] It can be understood that the project transfer amount indicates the total amount of the basic price of the land involved in the transaction in the rural property rights transaction activity, and can also reflect the scale of the rural property rights transaction activity. If the project transfer amount of the rural property rights transaction activity is greater than the preset project transfer amount, it means that the scale of the rural property rights transaction activity is large. In order to avoid wasting resources in subsequent activities and failing to achieve good activity results, the second deadline can be adjusted according to the project transfer amount, that is, the larger the project transfer amount, the more days between the second deadline and the first deadline. For example, the number of days between the second deadline and the first deadline determined according to the preset conditions is multiplied by the coefficient corresponding to the project transfer amount to increase the number of days, and the second deadline is adjusted according to the new number of days; the coefficient corresponding to the project transfer amount can be determined by the preset coefficient corresponding to the project scale level indicated by the project transfer amount. If the number of days between the first deadline and the second deadline multiplied by the coefficient corresponding to the project transfer amount is not an integer, then add one to the integer part to get a new number of days. In this way, the generated second deadline is more reasonable.
[0072] Optionally, the project transfer area can also be used as a factor to adjust the second deadline. The project transfer area is used to indicate the area of land involved in the transfer auction, and can also reflect the scale of the rural property rights transaction activity. If the project transfer area is greater than the preset project transfer area, it can also indicate that the scale of the rural property rights transaction activity is large. Under the premise that the project transfer area is greater than the preset project transfer area, the second deadline can be adjusted according to the project transfer area, that is, the larger the project transfer area, the more days between the second deadline and the first deadline. For example, the number of days between the second deadline and the first deadline determined according to the preset conditions is multiplied by the coefficient corresponding to the project transfer area to increase the number of days, and the second deadline is adjusted according to the new number of days; the coefficient corresponding to the project transfer area can be determined by the preset coefficient corresponding to the project scale level indicated by the project transfer area. If the number of days between the first deadline and the second deadline multiplied by the coefficient corresponding to the project transfer area is not an integer, then add one to the integer part to get a new number of days. In this way, the generated second deadline is more reasonable.
[0073] In an optional implementation, the project information also includes: project priority; after S102, the method may further include: if the project priority is greater than a preset project priority, multiplying a coefficient corresponding to the project priority by the number of days between the first deadline and the second deadline to obtain a new number of days, and generating the second deadline based on the new number of days.
[0074] It can be understood that the project priority can indicate the importance of the project. If the project priority is greater than the preset project priority, it means that the project is an important project. In order to ensure the normal development of the subsequent acquisition, the second deadline can be adjusted according to the project priority on the basis of the second deadline determined according to the above preset conditions. On the premise that the project priority is greater than the preset project priority, the second deadline is adjusted according to the project priority, that is, the greater the project priority, the more days between the second deadline and the first deadline. For example, the number of days between the second deadline and the first deadline determined according to the preset conditions is multiplied by the coefficient corresponding to the project priority to increase the number of days, and the second deadline is adjusted according to the new number of days. If the number of days between the first deadline and the second deadline multiplied by the coefficient corresponding to the project priority is not an integer, then add one to the integer part to get a new number of days. In this way, the generated second deadline is more reasonable.
[0075] In actual applications, the second deadline can be adjusted by arbitrarily combining the above-mentioned project turnover amount, project turnover area and project priority, or by adjusting the second deadline based on one of them alone, or by adjusting the second deadline based on other project information, and the embodiments of the present application do not limit this.
[0076] In a possible example, the project turnover amount, project turnover area and project priority can also be used to determine the preset number of applicants and / or important objects of the project. For example, when the project turnover amount is 1 million, the preset number of applicants is 15. If the number of applicants for the first project is less than 15, it is determined that a second deadline needs to be generated; when the project priority is A, the important objects of the project are users with a VIP level of three or above. If there are no users with a VIP level of three or above among the registered objects of the first project, it is determined that a second deadline needs to be generated; the above is only a possible example. In fact, the project turnover amount, project turnover area, project priority and other project information can be arbitrarily combined to determine the number of applicants and / or important objects of the project.
[0077] In a possible design, before executing S102, in order to avoid the situation where the first project is postponed indefinitely, it is also necessary to confirm that the first project meets the conditions for executing S102. Specifically, the method further includes:
[0078] A record of historical deadlines for the first project is obtained, and it is determined that the number of historical deadlines for the first project does not exceed a threshold.
[0079] It is understandable that before generating the second deadline of the first project, it is necessary to ensure that the number of times the deadline of the first project is generated does not exceed the threshold, that is, the number of times the deadline of the first project is extended does not exceed the threshold. If the number of historical deadlines of the first project exceeds the threshold, that is, the number of times the deadline of the first project is extended exceeds the threshold, it means that the first project is not worth continuing. In this case, there is no need to generate the second deadline, and the first project can be terminated directly to avoid excessive waste of resources, delaying the user's time, and reducing the user experience.
[0080] In addition, the threshold value of the number of historical deadlines can be determined based on the detailed information of the first project. For example, if the scale of the first project is larger (i.e., the project transfer amount or the project transfer area is larger), the project priority is higher, and the number of preset registrants is more, the threshold value will be larger. The threshold value of the number of historical deadlines can also be determined by analyzing the number of historical deadlines set for projects similar to the first project that have been carried out historically. For example, the priority of the first project is A, and the preset number of registrants is N. There is a historical project that is the same as the first project for rural property rights transactions. The priority of the historical project is also A, and the preset number of registrants is M. The number of historical deadlines is 2, and the values of M and N are similar. In this case, the threshold value of the number of historical deadlines for the first project can be set to 2.
[0081] The above is just a possible example and is not limited to this.
[0082] S103. Carry out the first project according to the second deadline.
[0083] In one possible design, after the first project is carried out according to the second deadline, the record of the historical deadline of the first project needs to be updated.
[0084] In this way, when the deadline needs to be regenerated later, the record of the historical deadline can be accurately obtained, thereby improving the reliability of the application.
[0085] In this solution, the project information of the first project that has reached the first deadline is obtained, and the second deadline of the first project is determined according to the preset conditions satisfied by the project information. The deadline of the first project can be automatically regenerated, and there is no need to manually set the second deadline and restart the first project after the first project expires. The implementation time of the first project can be dynamically controlled, which is more flexible and saves human resources. The second deadline is determined according to the project information of the first project, which reduces human factors and avoids errors in human subjective judgment.
[0086] In a possible design, the embodiment of the present application further provides a specific method for determining the second deadline, the method comprising:
[0087] 1. Determine an initial second deadline based on the preset conditions satisfied by the project information of the first project.
[0088] First, the preset conditions satisfied by the project information are determined, and the number of days that the first project needs to be extended is determined in a preset mapping relationship according to the satisfied preset conditions.
[0089] The preset mapping relationship may be manually set in advance and stored in a database, the preset mapping relationship is obtained from the database, and the corresponding extension days are matched in the mapping relationship according to the preset conditions satisfied by the project information of the first project;
[0090] The mapping relationship may also be generated by analyzing detailed information of historical related projects and actual extension days of historical related projects, which is not limited in this embodiment of the present application.
[0091] Optionally, the number of days the first project needs to be extended can be determined by analyzing the project information of the first project within the first deadline and the expectations to be achieved (i.e. the number of applicants is greater than or equal to the preset number of applicants, and / or the registered applicants include important project applicants).
[0092] For example, the first deadline of the first project is April 8, 2024, and the historical deadline only includes the first deadline. The start date of the first project is March 25, 2023, that is, the duration of the first project is 14 days. The project information of the first project includes 20 registrants, and the preset number of registrants is 30. That is, the result of the first project did not meet expectations (that is, the number of registrants is greater than or equal to the preset number of registrants). Based on the analysis of the start date, deadline, number of registrants within the first deadline and the preset number of registrants of the first project, the number of days required for extension can be set to 7 days.
[0093] Secondly, the extended days can include only working days, and Saturdays and Sundays that require holidays can be automatically skipped.
[0094] For example, the number of days that the first project determined above needs to be postponed is 7 days. There is a weekend within 7 days after the first deadline, which means that 2 days need to be automatically skipped. Then the initial second deadline determined should be April 17, 2024.
[0095] 2. If there are special dates in the initial second deadline, the second deadline needs to be updated according to the number of special dates, including holidays and adjusted holidays.
[0096] Obtain the number of holidays and the number of adjusted days between the first deadline and the second deadline; holidays include working days; adjusted days are used to indicate Saturdays or Sundays that require work; increase the number of days between the first deadline and the second deadline according to the number of holidays, and reduce the number of days between the first deadline and the second deadline according to the number of adjusted days, to obtain an updated second deadline;
[0097] S103 specifically includes: carrying out the first project according to the updated second deadline.
[0098] For example, according to the method above, if the first deadline is April 26, 2024, the extension days are 7 days, and April 26, 2024 is Friday, the extension days should be increased by two weekend days, and should be extended by 11 days, and the determined second deadline should be May 7, 2024. Since there are special dates between the first deadline and the second deadline (i.e., the May Day holiday and the adjusted holiday), the number of special dates between April 26, 2024 and May 7, 2024 needs to be obtained from the database, i.e., the adjusted holiday is 1 day and the holiday is 3 days, then the extension days should be increased by 2 days, i.e., the updated second deadline is July 9, 2024.
[0099] It can be understood that the special date can be manually stored in the database, and the structure of the database can be shown in Table 1 below:
[0100] Table 1
[0101] Field Name Field Type length Remark special_date Date Special Dates Date_type String 20 Date Type
[0102] Date types include holidays and compensatory holidays.
[0103] In this embodiment, the updated second deadline can accurately skip the days when work is not required, and there is no need to manually calculate the number of holidays and compensatory days between the first deadline and the second deadline, which can improve the efficiency of generating the deadline and avoid errors in manual subjective judgment.
[0104] In a possible design, in order to improve the efficiency of the subsequent first project and subsequent related activities, the first project can be terminated in advance. Specifically:
[0105] Monitor the project information of the first project within the second deadline; if the project information of the first project does not meet the preset conditions, terminate the first project.
[0106] Exemplarily, the project information of the first project within the second deadline may be periodically acquired and checked to see whether the project information meets the preset condition.
[0107] In this way, if it is detected that the project information of the first project does not meet the above preset conditions during the period from the first deadline to the second deadline, the first project can be terminated immediately, thereby reducing the waiting time of registered users and improving the user experience.
[0108] It is understood that the various embodiments given above can be implemented separately or in combination with each other. The following is an example of a combined implementation provided by the embodiments of the present application.
[0109] The embodiment of the present application provides an example of a method for dynamically generating a deadline. Taking the registration of rural property rights transaction as an example, the method specifically includes:
[0110] First, if Figure 2 As shown, the specific implementation method of determining that the first project needs to generate a second deadline may include the following steps:
[0111] 1. Detect that the first project reaches the first deadline.
[0112] 2. Get project information.
[0113] The project information of the first project includes the number of applicants for the first project and key project objects of the first project.
[0114] In addition, project information may also include project turnover amount and project priority, etc.
[0115] 3. Get the mapping relationship.
[0116] The mapping relationship between the preset conditions and the extension days corresponding to the project information is obtained from the database.
[0117] 4. Determine whether the project information meets the preset conditions.
[0118] According to the above example, the preset condition may include at least one of the following: the number of applicants for the first project is less than the preset number of applicants; the registered objects for the first project do not include important objects of the project.
[0119] In addition, the number of days between the first deadline and the second deadline may be determined based on conditions such as the project turnover amount of the first project is greater than the preset project turnover amount; the project priority of the first project is greater than the preset project priority.
[0120] If the preset conditions are not met, the first project is terminated.
[0121] 5. Determine whether the number of deadlines of the historical records exceeds a threshold.
[0122] If the threshold is exceeded, it means that the first project has reached the allowed number of extensions, and the first project is terminated.
[0123] If the threshold is not exceeded, it means that the first project is allowed to be extended, that is, the deadline is allowed to be regenerated.
[0124] 6. Determine the second deadline.
[0125] For details, see Figure 3 , a specific implementation method of generating the second deadline may include the following steps:
[0126] a. Get the special date between the first deadline and the second deadline.
[0127] For example, special dates are obtained from the database. Special dates include holidays and compensatory days. Holidays refer to working days that require vacations, and compensatory days refer to Saturdays or Sundays that require work. The date type of holidays is holiday, and the date type of compensatory working days is workday. In addition, non-special dates can be marked without setting the date type, and only with the date name such as Monday to Sunday.
[0128] It should be noted that the second deadline here is obtained according to the first deadline and the number of days determined by the above mapping relationship, that is, a special date within the number of days after the first deadline is obtained.
[0129] b. Get the next date of the first deadline, with the number of days added being 0.
[0130] That is, the date after the first deadline is taken as the initial date, the number of days added is 0, and the interval between the first deadline and the second deadline is determined one by one:
[0131] c. Determine whether the number of days added is greater than the number of days to be added.
[0132] The number of days that need to be added is the extension number of days determined according to the mapping relationship.
[0133] If so, the currently obtained deadline is the updated second deadline;
[0134] If not, proceed to step d.
[0135] d. Determine whether the current date is a holiday, that is, whether the date type of the current date is holiday. If so, it means that the current date needs to be skipped, and then return to step c;
[0136] If yes, proceed to step e.
[0137] e. Determine whether the current date is a weekend and not a holiday, that is, whether the date name of the current date is Saturday or Sunday, and the date type is not workday. If so, it means that the current date needs to be skipped, and then return to step c.;
[0138] If not, it means that the current date needs to be included in the calculation of the extension days and does not need to be skipped, so execute step f.
[0139] f. The number of days added is incremented by 1.
[0140] 7. Carry out the project according to the second deadline.
[0141] Then, if Figure 4 As shown, the specific implementation method of terminating the first project includes the following steps:
[0142] 8. Obtain project information and preset conditions.
[0143] Periodically obtain project information of a first project and a preset condition corresponding to the project information.
[0144] 9. Determine whether the project information meets the preset conditions.
[0145] If the conditions are met, it means that the project information of the first project has not yet met expectations (i.e. the number of applicants is greater than or equal to the preset number of applicants, and / or the applicants include important candidates for the project), then continue with the first project;
[0146] If not, it means that the project information of the first project has reached the expectation (ie, the number of applicants is greater than or equal to the preset number of applicants, and / or the registered objects include important objects of the project), and the first project is terminated.
[0147] In this embodiment, the second deadline is determined based on the preset conditions satisfied by the first project, and the second deadline can automatically skip normal weekends and holidays when generated. There is no need to manually reset a new deadline and restart the first project after the first project expires, which can improve the efficiency of generating the second deadline and avoid mistakes in manual subjective judgment. Within the second deadline, if the project information of the first project has met expectations (that is, the number of applicants is greater than or equal to the preset number of applicants, and / or the registered objects include important objects of the project), the first project can be terminated in advance to avoid users waiting for too long, thereby improving the user experience.
[0148] The method provided by the embodiment of the present application is introduced above, and the device provided by the embodiment of the present application is introduced below.
[0149] Based on the same technical concept, an embodiment of the present application provides a data processing device, which includes a module / unit / means for executing the method executed by the electronic device with processing capability in the above method embodiment. The module / unit / means can be implemented by software, or by hardware, or the corresponding software can be implemented by hardware.
[0150] For example, Figure 5 As shown, the device 500 includes:
[0151] The acquisition module 501 is used to: acquire project information of a first project, where the first project is a project reaching a first deadline, and the project information includes at least one of the number of applicants and project key objects; the project key objects are used to indicate users for project priority;
[0152] Determination module 502, used to: determine a second deadline of the first project according to a preset condition satisfied by the project information of the first project; the second deadline is after the first deadline;
[0153] The processing module 503 is used to: carry out the first project according to the second deadline.
[0154] Optionally, the preset condition includes at least one of the following: the number of applicants for the first project is less than the preset number of applicants; the registered subjects for the first project do not include important subjects of the project.
[0155] Optionally, the project information also includes: a project turnover amount, which is used to indicate the total amount of products participating in the turnover auction in the first project; after determining the second deadline of the first project according to the preset conditions satisfied by the project information of the first project, the determination module 502 is also used to: if the project turnover amount is greater than the preset project turnover amount, multiply the coefficient corresponding to the project turnover amount by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtain a new second deadline based on the new number of days; when carrying out the first project according to the second deadline, the processing module 503 is specifically used to: carry out the first project according to the new second deadline.
[0156] Optionally, the project information also includes: project priority; after determining the second deadline of the first project according to the preset conditions satisfied by the project information of the first project, the determination module 502 is also used to: if the project priority is greater than the preset project priority, multiply the coefficient corresponding to the project priority by the number of days between the first deadline and the second deadline to obtain a new number of days, and obtain a new second deadline according to the new number of days; when the first project is carried out according to the second deadline, the processing module 503 is specifically used to: carry out the first project according to the new second deadline.
[0157] Optionally, before determining the second deadline of the first project according to a preset condition satisfied by the project information of the first project, the determination module 502 is further used to: obtain a record of historical deadlines of the first project to determine that the number of historical deadlines of the first project does not exceed a threshold.
[0158] Optionally, after carrying out the first project according to the second deadline, the processing module 503 is further configured to: update the record of the historical deadline of the first project.
[0159] Optionally, the acquisition module 501 is also used to: obtain the number of holidays and the number of compensatory days between the first deadline and the second deadline; holidays include working days for holidays; compensatory days are used to indicate Saturdays or Sundays that require work; the determination module 502 is also used to: increase the number of days between the first deadline and the second deadline according to the number of holidays, and reduce the number of days between the first deadline and the second deadline according to the number of compensatory days, to obtain an updated second deadline; when the first project is carried out according to the second deadline, the processing module 503 is specifically used to: carry out the first project according to the updated second deadline.
[0160] Optionally, the processing module 503 is further configured to: monitor the project information of the first project within the second deadline; and terminate the first project if the project information of the first project does not meet a preset condition.
[0161] It should be understood that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0162] Based on the same technical concept, see Figure 6 The embodiment of the present application further provides an electronic device 600, including:
[0163] At least one processor 601; and a communication interface 603 that is communicatively connected to the at least one processor 601; the at least one processor 601 executes instructions stored in the memory 602, so that the electronic device 600 executes the method steps performed by the billboard in the above method embodiment through the communication interface 603.
[0164] Optionally, the memory 602 is located outside the electronic device 600 .
[0165] Optionally, the electronic device 600 includes the memory 602, the memory 602 is connected to the at least one processor 601, and the memory 602 has instructions that can be executed by the at least one processor 601. Figure 6 The dashed lines indicate that the memory 602 is optional for the electronic device 600 .
[0166] The at least one processor 601 and the memory 602 may be coupled via an interface circuit or may be integrated together, which is not limited here.
[0167] The specific connection medium between the at least one processor 601, the memory 602 and the communication interface 603 is not limited in the embodiment of the present application. Figure 6 In the embodiment, at least one processor 601, a memory 602 and a communication interface 603 are connected via a bus 604. Figure 6 The connection between other components is only for schematic illustration and is not intended to be limiting. The bus part may be an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 It is represented by only one thick line, but it does not mean that there is only one bus or one type of bus.
[0168] It should be understood that the processor mentioned in the embodiments of the present application can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor implemented by reading software code stored in a memory.
[0169] Exemplarily, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0170] It should be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DirectRambus RAM, DR RAM).
[0171] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.
[0172] It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0173] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which is used to store instructions. When the instructions are executed, the computer executes the method steps executed by any device in the above method embodiments.
[0174] Based on the same technical concept, an embodiment of the present application also provides a computer program product, including computer program code. When the computer program code is executed on a computer, the method steps executed by any device in the above method embodiment are implemented.
[0175] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0176] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0177] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0178] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0179] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A data processing method, characterized in that: include: Acquire project information of a first project, where the first project is a project that has reached a first deadline, and the project information includes at least one of the number of applicants and important objects of the project; The project important object is used to indicate the user who has the priority of the project; Determine a second deadline for the first project according to a preset condition satisfied by the project information of the first project; the second deadline is after the first deadline; Carry out the first project according to the second deadline.
2. The method according to claim 1, characterized in that The preset condition includes at least one of the following: The number of applicants for the first project is less than the preset number of applicants; The registered subjects of the first project do not include the important subjects of the project.
3. The method according to claim 2, characterized in that The project information also includes: a project circulation amount, where the project circulation amount is used to indicate the total amount of products participating in the circulation auction in the first project; After determining the second deadline of the first project according to the preset condition satisfied by the project information of the first project, the method further includes: if the project turnover amount is greater than the preset project turnover amount, multiplying the number of days between the first deadline and the second deadline by a coefficient corresponding to the project turnover amount to obtain a new number of days, and obtaining a new second deadline according to the new number of days; Carrying out the first project according to the second deadline includes: carrying out the first project according to the new second deadline.
4. The method according to claim 2, characterized in that The project information also includes: project priority; After determining the second deadline of the first project according to the preset condition satisfied by the project information of the first project, the method further includes: if the project priority is greater than the preset project priority, multiplying the number of days between the first deadline and the second deadline by a coefficient corresponding to the project priority to obtain a new number of days, and obtaining a new second deadline according to the new number of days; Carrying out the first project according to the second deadline includes: carrying out the first project according to the new second deadline.
5. The method according to claim 1, characterized in that Before determining the second deadline of the first project according to the preset condition satisfied by the project information of the first project, the method further includes: Obtain a record of historical deadlines of the first project, and determine that the number of historical deadlines of the first project does not exceed a threshold.
6. The method according to claim 5, characterized in that After carrying out the first project according to the second deadline, the method further comprises: A record of the historical deadline of the first project is updated.
7. The method according to claim 1, characterized in that The method further comprises: Acquire the number of holidays and the number of compensatory days between the first deadline and the second deadline; the holidays include working days; the compensatory days are used to indicate Saturdays or Sundays that require work; Increasing the number of days between the first deadline and the second deadline according to the number of holidays, and decreasing the number of days between the first deadline and the second deadline according to the number of adjusted holidays, to obtain an updated second deadline; The carrying out the first project according to the second deadline includes: carrying out the first project according to the updated second deadline.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: monitoring project information of the first project within the second deadline; If the project information of the first project does not meet the preset condition, the first project is terminated.
9. A data processing device, characterized in that: include: An acquisition module is used to: acquire project information of a first project, the first project being a project reaching a first deadline, the project information including at least one of the number of applicants and important project objects; the project object is used to indicate a user who has priority for the project; A determination module, configured to: determine a second deadline of the first project according to a preset condition satisfied by the project information of the first project; the second deadline is after the first deadline; A processing module is used to: carry out the first project according to the second deadline.
10. An electronic device, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps included in the method according to any one of claims 1 to 8 according to the obtained program instructions.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to have a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the method according to any one of claims 1 to 8 is implemented.
12. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8.
