Instruction processing method and device and electronic equipment

By receiving and querying the number of data acquisition instructions and historical instructions of the target user, combining threshold comparison and user identification, the data acquisition processing results are determined, and the compatibility problem caused by unified setting of thresholds in the prior art is solved, and personalized data interaction operation restrictions are achieved for different users.

CN119829139APending Publication Date: 2025-04-15TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411929393.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The prior art controls the amount of data acquisition by setting thresholds uniformly, resulting in low compatibility of data acquisition operations for different users and cannot effectively solve this problem.

Method used

By receiving the data acquisition instructions sent by the target user, query the number of historical instructions of the target user in the target time period, and determine whether data acquisition is allowed based on the comparison of the number with the instruction number threshold. If it is less than the threshold, feedback data is generated; if it is equal to the threshold, the processing result is determined based on the user's identification, including whether to perform the traffic limit cancellation operation.

Benefits of technology

It implements the limitation of personalized data interaction operation for different users, improves the compatibility of user data acquisition operations, and ensures that normal users can obtain business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829139A_ABST
    Figure CN119829139A_ABST
Patent Text Reader

Abstract

The invention discloses an instruction processing method and device and electronic equipment. The method comprises the steps that a data acquisition instruction sent by a target user is received, the number of historical instructions sent by the target user in a target time period is inquired, and a first number is obtained; judging whether the first number is smaller than an instruction number threshold; under the condition that the first number is smaller than the instruction number threshold value, feedback data are generated according to the data acquisition instruction, and the feedback data are sent to the target user; and under the condition that the first number is equal to the instruction number threshold value, a first identifier of the target user is acquired, a processing result of the data acquisition instruction is determined according to the first identifier, and the first identifier is used for indicating whether the target user executes a traffic restriction release operation within the target time period. By means of the data processing method and device, the problem that the compatibility of data acquisition operations of different users is low due to the fact that the data acquisition amount of the users is controlled in a unified threshold setting mode in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security, and in particular, to a method, device and electronic device for processing instructions. Background Art

[0002] For the civil aviation passenger service system, some users will use technical means, through a large number of interactive operations with the civil aviation passenger service system, to obtain a large amount of business data without permission through data acquisition programs, thereby causing the leakage of business data in the civil aviation passenger service system.

[0003] The phenomenon of programs reading data in the civil aviation passenger service system can be solved through security control methods for work numbers, that is, limiting the number of instructions for work numbers. When the number of business instructions such as booking, ticketing, check-in, etc. executed by the user under his work number exceeds the specified threshold within a certain statistical period, the user's continued use will be restricted until the next statistical period.

[0004] However, since different users have different business needs, setting thresholds in a unified manner may prevent some users from using the civil aviation passenger service system normally, thereby affecting the users' business processing.

[0005] Currently, no effective solution has been proposed to solve the problem that the amount of data acquisition by users is controlled by setting a threshold in a unified manner in the related art, resulting in low compatibility of data acquisition operations for different users. Summary of the invention

[0006] The present application provides a command processing method, device and electronic device to solve the problem in the related art that the amount of data acquisition of users is controlled by setting a threshold uniformly, resulting in low compatibility of data acquisition operations of different users.

[0007] According to one aspect of the present application, a method for processing instructions is provided. The method includes: receiving a data acquisition instruction sent by a target user, and querying the number of historical instructions sent by the target user within a target time period to obtain a first number; judging whether the first number is less than an instruction number threshold; if the first number is less than the instruction number threshold, generating feedback data according to the data acquisition instruction, and sending the feedback data to the target user; if the first number is equal to the instruction number threshold, obtaining a first identifier of the target user, and determining a processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction release operation within the target time period.

[0008] Optionally, when the first number is less than the instruction number threshold, the method further includes: obtaining the difference rate between the first number and the instruction number threshold to obtain the first difference rate; when the first difference rate is greater than the difference rate threshold, executing the step of generating feedback data according to the data acquisition instruction; when the first difference rate is less than or equal to the difference rate threshold, obtaining the second identifier of the target user, and changing the first number according to the second identifier to obtain an updated first number, and executing the step of determining whether the first number is less than the instruction number threshold according to the updated first number, wherein the second identifier is used to indicate whether the target user performs a traffic reset operation within the target time period.

[0009] Optionally, changing the first quantity according to the second identifier includes: when the second identifier is in a first state position, resetting the first quantity to zero to obtain an updated first quantity, wherein the first state position indicates that the target user has not performed a traffic reset operation within the target time period; when the second identifier is in a second state position, keeping the first quantity unchanged, wherein the second state position indicates that the target user has performed a traffic reset operation within the target time period.

[0010] Optionally, the method also includes: obtaining the number of instructions of the target user in multiple historical time periods to obtain multiple historical instruction numbers; obtaining type information of the future time period, and inputting the type information and multiple historical instruction numbers into an instruction number prediction model to obtain the predicted number of instructions of the target user in the future time period; sending the predicted number of instructions to the target user, and receiving a threshold adjustment instruction of the target user; and expanding the instruction number threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction number threshold.

[0011] Optionally, after receiving the threshold adjustment instruction of the target user, the method also includes: determining whether the threshold adjustment instruction is received within the target time period; if the threshold adjustment instruction is received, keeping the instruction quantity threshold of the target user in the future time period unchanged; if the threshold adjustment instruction is not received, executing an operation to expand the instruction quantity threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction quantity threshold.

[0012] Optionally, determining the processing result of the data acquisition instruction based on the first identifier includes: when the first identifier is in the third state position, resetting the first number to zero, and determining the processing result as generating feedback data according to the data acquisition instruction, and sending the feedback data to the target user, wherein the third state bit indicates that the target user has not performed a traffic restriction lifting operation within the target time period; when the first identifier is in the fourth state position, determining the processing result as sending a prompt message to the target user, wherein the prompt message is used to indicate that obtaining feedback data is prohibited, and the fourth state bit indicates that the target user has performed a traffic restriction lifting operation within the target time period.

[0013] Optionally, before determining the processing result of the data acquisition instruction based on the first identifier, the method also includes: sending identity authentication information to the target user, and receiving the verification result sent by the target user; when there is no abnormality in the verification result, executing the step of determining the processing result of the data acquisition instruction based on the first identifier; when there is an abnormality in the verification result, determining that there is an abnormality in the target user, and sending an alarm message to the operation and maintenance end.

[0014] According to another aspect of the present application, a device for processing instructions is provided. The device includes: a first receiving unit, which is used to receive a data acquisition instruction sent by a target user, and query the number of historical instructions sent by the target user in a target time period to obtain a first number; a first judging unit, which is used to judge whether the first number is less than an instruction number threshold; a generating unit, which is used to generate feedback data according to the data acquisition instruction when the first number is less than the instruction number threshold, and send the feedback data to the target user; a first determining unit, which is used to obtain a first identifier of the target user when the first number is equal to the instruction number threshold, and determine the processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction release operation in the target time period.

[0015] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the instruction processing method provided in the aforementioned embodiment of the present application is implemented.

[0016] According to another aspect of the present invention, an electronic device is provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein when the computer-readable instructions are executed, an instruction processing method provided in the aforementioned embodiment is executed.

[0017] Through the present application, the following steps are adopted: receiving a data acquisition instruction sent by a target user, and querying the number of historical instructions sent by the target user within a target time period to obtain a first number; judging whether the first number is less than the instruction number threshold; generating feedback data according to the data acquisition instruction when the first number is less than the instruction number threshold, and sending the feedback data to the target user; obtaining the first identifier of the target user when the first number is equal to the instruction number threshold, and determining the processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs a flow restriction release operation within the target time period. The problem that the data acquisition amount of the user is controlled by setting a threshold uniformly in the related art, resulting in low compatibility of data acquisition operations for different users, is solved. By comparing the first number with the threshold, and determining whether the flow restriction release operation can be performed on the user according to the first identifier when the first number is equal to the threshold, the user is distinguished according to the first identifier, and the flow restriction release operation is performed on the user who can perform the flow restriction release operation, so that the user can continue to obtain data from the system through the data acquisition instruction, and at the same time, some users can be prohibited from continuing to obtain data, thereby achieving the effect of executing different data interaction operation restriction strategies for different users, and ensuring that normal users can obtain business data. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 is a flowchart of a method for processing instructions provided in an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of a system for processing instructions provided according to an embodiment of the present application;

[0021] Figure 3 is a flowchart of an optional instruction processing method provided according to an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of an instruction processing device provided according to an embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" 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 necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] It should be noted that the instruction processing method, device and electronic device determined in the present disclosure can be used in the field of information security, and can also be used in any field other than the field of information security. The application field of the instruction processing method, device and electronic device determined in the present disclosure is not limited.

[0028] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated. Corresponding operation entrances are provided for users to choose to authorize use or refuse use. If the user chooses to refuse, the expert decision-making process is entered. For example, an interface is set between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution.

[0029] The embodiments or examples of the present disclosure are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment or example can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.

[0030] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0031] Civil aviation passenger service system: The English name is passenger service information system of civil aviation. It is a related information system that needs to collect passenger information or provide services based on passenger information at all stages of the passenger's itinerary planning, ticket booking, flight and arrival.

[0032] Agent number: The English name is agent number. It is the account number of the user using the civil aviation passenger service system. The user can enter the civil aviation passenger service system to complete business tasks, such as flight reservation, ticket issuance and check-in, by using the agent number.

[0033] Work number limit: A security control measure for work numbers that limits abnormal use by users by setting an upper limit on the number of operation instructions that users can execute under their work numbers.

[0034] Instructions for work number operations: The smallest unit for executing business operations using work numbers in the civil aviation passenger service system. One business operation can be completed by one instruction or multiple instructions.

[0035] According to an embodiment of the present application, a method for processing an instruction is provided.

[0036] Figure 1 1 is a flowchart of a method for processing instructions according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0037] Step S101: receiving a data acquisition instruction sent by a target user, and querying the number of historical instructions sent by the target user within a target time period to obtain a first number.

[0038] Specifically, the executor of this embodiment is the civil aviation system, and the target user can be an ordinary user, or a merchant or agency, which is not limited here. When the target user needs to obtain data from the civil aviation system, it is necessary to send a data acquisition instruction to the civil aviation system. After receiving the data acquisition instruction, the civil aviation system will usually directly feedback the data required by the user according to the data acquisition instruction. However, in order to ensure the security of the data, it is necessary to determine the number of historical instructions sent by the user within the target time period, so as to judge whether the user is a data acquisition program according to the number of historical instructions sent by the user within the target time period, thereby avoiding the device from obtaining a large amount of data from the civil aviation system.

[0039] It should be noted that the data acquisition instruction may be any business-related instruction such as querying flight information, booking air tickets, and check-in operations.

[0040] It should be noted that the target time period can be a time period for counting the number of instructions, such as one day or one week. The number of instructions from the target user is continuously counted during this time period. When the next time period is reached, the number of instructions needs to be re-counted to ensure that the user can send data acquisition instructions normally.

[0041] Step S102, determining whether the first quantity is less than an instruction quantity threshold.

[0042] Specifically, after obtaining the first quantity, it is necessary to obtain a preset instruction quantity threshold in the system. The instruction quantity threshold may be an instruction usage upper limit set for the user within a target time period, which is used to prevent the data acquisition program from acquiring data.

[0043] In order to determine whether the target user can obtain the data indicated by the data acquisition instruction, it is necessary to compare the first quantity with the instruction quantity threshold, and then judge whether further security control measures need to be taken on the user based on the comparison result, so as to ensure data security in the civil aviation system.

[0044] It should be noted that when judging whether the first number is less than the instruction threshold, it can be determined by determining the state of the target user. When the user state is the first target state, it indicates that the first number is less than the instruction threshold. When the user state is the second target state, it indicates that the first number is equal to the instruction threshold.

[0045] Step S103: when the first number is less than the instruction number threshold, feedback data is generated according to the data acquisition instruction, and the feedback data is sent to the target user.

[0046] Specifically, when the first number is less than the instruction number threshold, indicating that the number of instructions sent by the user within the target time period does not reach the instruction number threshold, feedback data can be generated according to the data acquisition instruction and sent to the target user, thereby completing the data acquisition instruction of the target user and ensuring that the target user can normally obtain the required feedback data.

[0047] Step S104, when the first number is equal to the instruction number threshold, obtain the first identifier of the target user, and determine the processing result of the data acquisition instruction based on the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction lifting operation within the target time period.

[0048] Specifically, when the first number is equal to the instruction number threshold, it indicates that the target user has reached the upper limit of sending instructions at the current moment, and when the data acquisition instruction sent by the user is received, the corresponding feedback data cannot be sent to the user. At this time, in order to ensure that normal users can obtain feedback data, the first identifier of the target user can be obtained, so as to determine whether the target user has performed a traffic restriction lifting operation based on the first identifier, wherein the traffic restriction lifting operation is to reset the first number of the target user within the target time period to zero.

[0049] In the case where the target user has performed the traffic restriction lifting operation, which indicates that the user has reset the first quantity, the user is determined to be an abnormal user and cannot perform the traffic restriction lifting operation again, that is, feedback data cannot be sent to the user, thereby effectively monitoring and intercepting the data acquisition program.

[0050] In the case that the target user has not performed the traffic restriction lifting operation, it indicates that the user has only reached the threshold for the first time. At this time, the target user can be authenticated. For example, the user's identity can be authenticated by setting up two steps: answering questions and verification code verification. The questions can be industry knowledge, and questions can be randomly selected from a large question bank. The user can pass the test only if all the questions are answered correctly or the number of correct answers exceeds the preset threshold. Verification code verification refers to entering a verification code before answering the questions. The verification code is a verification code sent to the mobile phone number or email address bound to the work number. Through double verification, it is determined that the user sending the data acquisition instruction is a real person, not a data acquisition program, thereby ensuring the security of data in the civil aviation system.

[0051] It should be noted that the method of verifying the target user may also include other methods, such as facial recognition, fingerprint recognition, etc., which are not limited here.

[0052] If the target user has not performed the traffic restriction lifting operation and has passed the verification, it indicates that there is no abnormality with the user. At this time, the traffic restriction lifting operation can be performed on the user, the first number of the user in the target time period can be reset to zero, and the counting can be restarted to meet the normal data acquisition needs of the target user and ensure that the user can handle civil aviation-related business normally.

[0053] The instruction processing method provided in the embodiment of the present application receives the data acquisition instruction sent by the target user, and queries the number of historical instructions sent by the target user within the target time period to obtain a first number; judges whether the first number is less than the instruction number threshold; when the first number is less than the instruction number threshold, generates feedback data according to the data acquisition instruction, and sends the feedback data to the target user; when the first number is equal to the instruction number threshold, obtains the first identifier of the target user, and determines the processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs the flow restriction release operation within the target time period. The problem of low compatibility of different users' data acquisition operations by controlling the data acquisition amount of the user by setting a threshold uniformly in the related art is solved. By comparing the first number with the threshold, and when the first number is equal to the threshold, determining whether the flow restriction release operation can be performed on the user according to the first identifier, the user is distinguished according to the first identifier, and the flow restriction release operation is performed on the user who can perform the flow restriction release operation, so that the user can continue to obtain data from the system through the data acquisition instruction, and at the same time, some users can be prohibited from continuing to obtain data, thereby achieving the effect of executing different data interaction operation restriction strategies for different users, and ensuring that normal users can obtain business data.

[0054] Optionally, in the instruction processing method provided in the embodiment of the present application, when the first number is less than the instruction number threshold, the method further includes: obtaining the difference rate between the first number and the instruction number threshold to obtain the first difference rate; when the first difference rate is greater than the difference rate threshold, executing the step of generating feedback data according to the data acquisition instruction; when the first difference rate is less than or equal to the difference rate threshold, obtaining the second identifier of the target user, and changing the first number according to the second identifier to obtain an updated first number, and executing the step of determining whether the first number is less than the instruction number threshold according to the updated first number, wherein the second identifier is used to indicate whether the target user performs a traffic reset operation within the target time period.

[0055] Specifically, after the system receives the data acquisition instruction sent by the target user, it first queries the number of historical instructions sent by the user within the target time period (for example, within the day when the data acquisition instruction is sent) to obtain a first number, and calculates the difference rate between the first number and the instruction number threshold, that is, (instruction number threshold-first number) / instruction number threshold, to obtain a first difference rate, and then evaluates the proportion of remaining executable instructions of the target user in the current statistical period based on the first difference rate, and then decides whether to allow the data acquisition instruction to continue to be executed or whether additional security control measures need to be taken.

[0056] Furthermore, when the first difference rate is greater than the difference rate threshold, it indicates that the difference between the number of instructions sent by the user and the instruction number threshold is large. At this time, feedback data can be directly generated according to the data acquisition instruction, and the feedback data can be fed back to the target user, thereby completing the data acquisition operation of the target user.

[0057] When the first difference rate is less than or equal to the difference rate threshold, it indicates that the number of instructions sent by the user is close to the instruction number threshold. At this time, it is necessary to determine whether it is necessary to perform an instruction flow reset operation on the user based on the second identifier, wherein the instruction flow reset operation is an operation to reset the first number of the target user in advance when the first number does not reach the instruction number threshold.

[0058] It should be noted that when obtaining the second identification, some users may not have the second identification. In this case, there is a risk that the user is abnormal, so the user is prohibited from performing the instruction traffic reset operation. Only users with the second identification can determine whether to perform the instruction traffic reset operation based on the status of the second identification, thereby increasing the number of instructions sent by normal users and ensuring that normal users can obtain data normally and complete business operations.

[0059] It should be noted that each user can only perform the instruction traffic reset operation once within a time period, so it is necessary to determine whether the instruction traffic reset operation can be performed on the user according to the state of the second identifier.

[0060] This embodiment compares the first difference rate with the difference rate threshold and introduces a second identifier. While ensuring that abnormal users cannot perform instruction traffic reset operations, the first number is reset in advance for the target user according to the second identifier, thereby ensuring that the target user has a sufficient number of instruction sending times and ensuring that the target user's business is handled normally.

[0061] Optionally, in the instruction processing method provided in the embodiment of the present application, changing the first quantity according to the second identifier includes: when the second identifier is in a first state position, resetting the first quantity to zero to obtain an updated first quantity, wherein the first state bit indicates that the target user has not performed a traffic reset operation within the target time period; when the second identifier is in a second state position, keeping the first quantity unchanged, wherein the second state bit indicates that the target user has performed a traffic reset operation within the target time period.

[0062] Specifically, when the second identifier is in the first state position, for example, the second identifier is 1, at this time, it indicates that the target user has not performed a traffic reset operation within the target time period, then an instruction traffic reset operation can be performed on the user, so that the first number of the user is reset to zero, thereby ensuring that the target user has a sufficient number of instruction sending times to ensure that the target user's business is handled normally.

[0063] It should be noted that after the flow reset operation is performed on the user, the second identifier of the user needs to be changed from the first state bit 1 to the second state bit 0, so as to ensure that the user can only perform the instruction flow reset operation once.

[0064] It should be noted that when the second flag is in the second state, it indicates that the user has performed the instruction flow reset operation. At this time, the first number is kept unchanged to avoid performing multiple instruction flow reset operations on one user.

[0065] This embodiment determines whether to execute the instruction flow reset operation for the target user according to the status bit of the second identifier, thereby ensuring the accuracy of executing the instruction flow reset operation.

[0066] Optionally, in the instruction processing method provided in the embodiment of the present application, the method also includes: obtaining the number of instructions of the target user in multiple historical time periods to obtain multiple historical instruction numbers; obtaining type information of the future time period, and inputting the type information and multiple historical instruction numbers into an instruction number prediction model to obtain the predicted number of instructions of the target user in the future time period; sending the predicted number of instructions to the target user, and receiving a threshold adjustment instruction of the target user; and expanding the instruction number threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction number threshold.

[0067] Specifically, the historical period refers to the statistical period of the execution of work number instructions in the past period of time automatically recorded by the system. The number of historical instructions refers to the number of business instructions executed by the target user through his work number in these historical periods. When traffic prediction is required, the number of instructions of the target user in multiple historical periods in the past can be obtained from the traffic statistics module 26, for example, the number of instructions in the first N time periods of the current time period is obtained, thereby obtaining multiple historical instruction numbers.

[0068] Furthermore, in order to ensure the accuracy of data prediction, it is also necessary to consider the type information of the future time period for which instruction quantity prediction is required, wherein the future time period can be any time period after the current time period. For example, the future time period that needs to be predicted is January 1. Since this date is a holiday, the type information of the time period is a holiday. Therefore, in the prediction process, the type information of the time period is taken into consideration to obtain a more accurate prediction result.

[0069] When the type information and multiple historical instruction numbers are obtained, the type information and multiple historical instruction numbers can be input into the instruction number prediction model to obtain the predicted instruction number of the target user in the future time period, wherein the instruction number prediction model can be trained by multiple sample data, each sample data includes the actual instruction number of the target user in the first time period, and the actual instruction number of the first N historical time periods before the first time period, and the type information of the first time period. The neural network model is trained with the sample data, so that the neural network model can accurately predict the actual instruction number of the target user in the first time period based on the actual instruction number of the first N historical time periods in the sample data and the type information of the first time period, thereby ensuring the prediction accuracy of the instruction number prediction model.

[0070] After obtaining the predicted number of instructions, it can be determined whether the predicted number of instructions exceeds the instruction number threshold, and if the predicted number of instructions exceeds the instruction number threshold, the predicted number of instructions will be sent to the target user, thereby receiving the threshold adjustment instruction sent by the user based on the predicted number of instructions, wherein the threshold adjustment instruction is used to indicate an adjustment to the instruction number threshold for a future time period, so that when the target user acquires data in a future time period, the number of instructions can be limited according to the adjusted instruction number threshold, thereby ensuring that the user can acquire data normally during some special time periods.

[0071] This embodiment combines the historical instruction quantity and future time period type information, and uses the prediction model to predict the predicted instruction quantity required by the user in the future time period, and then adjusts the instruction quantity threshold according to the prediction result, thereby realizing dynamic adjustment of the work number instruction quantity threshold, achieving the technical effect of improving the business continuity of users in high-demand periods, and ensuring the normal operation of users' business operations.

[0072] Optionally, in the instruction processing method provided in the embodiment of the present application, after receiving the threshold adjustment instruction of the target user, the method also includes: determining whether the threshold adjustment instruction is received within the target time period; if the threshold adjustment instruction is received, keeping the instruction quantity threshold of the target user in the future time period unchanged; if the threshold adjustment instruction is not received, executing an operation to expand the instruction quantity threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction quantity threshold.

[0073] Specifically, after receiving the threshold adjustment instruction from the target user, it is first possible to determine in the database whether there is a threshold adjustment record for the target time period, thereby determining whether the user has adjusted the instruction quantity threshold for the time period.

[0074] If there is a corresponding threshold adjustment instruction in the target time period, that is, the target user has previously adjusted the instruction quantity threshold according to the prediction results, that is, the instruction quantity threshold has been changed in the target time period, it cannot be changed again. At this time, no further changes are required to avoid unnecessary repeated adjustments.

[0075] If no threshold adjustment instruction is received within the target time period, indicating that this adjustment is the first adjustment, the instruction quantity threshold of the target user in the future time period can be expanded according to the threshold adjustment instruction, thereby ensuring that the user can obtain data normally within some special time periods.

[0076] It should be noted that when a user initiates a threshold adjustment instruction, it is also possible to determine the adjustment time period indicated by the instruction and whether there are historical threshold adjustment instructions that are the same as the time period. If there are historical threshold adjustment instructions, the execution of the threshold adjustment instruction is prohibited, thereby avoiding the phenomenon of repeated threshold adjustment.

[0077] This embodiment avoids the phenomenon of repeated threshold adjustment by limiting the number of threshold adjustment times within the target time period.

[0078] Optionally, in the instruction processing method provided in the embodiment of the present application, determining the processing result of the data acquisition instruction based on the first identifier includes: when the first identifier is in the third state position, resetting the first number to zero, and determining the processing result to generate feedback data according to the data acquisition instruction, and sending the feedback data to the target user, wherein the third state bit indicates that the target user has not performed the traffic restriction lifting operation within the target time period; when the first identifier is in the fourth state position, determining the processing result to send a prompt message to the target user, wherein the prompt message is used to indicate that obtaining feedback data is prohibited, and the fourth state bit indicates that the target user has performed the traffic restriction lifting operation within the target time period.

[0079] Specifically, when the first identifier is in the third state position, for example, the first identifier is 2, at this time, it indicates that the target user has not performed the traffic restriction lifting operation within the target time period, then the traffic restriction lifting operation can be performed on the user, so that the first number of the user is reset to zero, thereby ensuring that the target user has a sufficient number of instruction sending times to ensure that the target user's business is handled normally.

[0080] It should be noted that after the flow restriction lifting operation is performed on the user, the first identification of the user needs to be changed from the third state bit 2 to the fourth state bit 3, so as to ensure that the user can only perform the flow restriction lifting operation once.

[0081] It should be noted that when the first identifier is in the fourth state, it indicates that the user has performed the flow restriction release operation. At this time, the first number is kept unchanged to avoid performing the flow restriction release operation on a user multiple times.

[0082] It should be noted that before performing the traffic restriction lifting operation, the user also needs to be verified to ensure that the user is a real user and not a data acquisition program.

[0083] This embodiment determines whether to perform the traffic restriction release operation on the target user according to the status bit of the first identifier, thereby ensuring the accuracy of performing the traffic restriction release operation.

[0084] Optionally, in the instruction processing method provided in the embodiment of the present application, before determining the processing result of the data acquisition instruction based on the first identifier, the method also includes: sending identity authentication information to the target user, and receiving the verification result sent by the target user; when there is no abnormality in the verification result, executing the step of determining the processing result of the data acquisition instruction based on the first identifier; when there is an abnormality in the verification result, determining that there is an abnormality in the target user, and sending an alarm message to the operation and maintenance end.

[0085] It should be noted that identity verification information refers to data used to confirm the real identity of the target user, including but not limited to SMS verification codes, email verification codes, security questions, etc. The verification result includes the user's response to the identity verification information to confirm the authenticity of his or her identity, thereby determining whether the user is a real user.

[0086] Specifically, when the system detects that the target user's work number instruction volume has reached the flow threshold, the system can automatically send identity authentication information to the target user, requiring the user to provide a verification code or answer security questions. The user receives and responds to the verification information, and the system receives and records the verification result, thereby determining whether the user is a real person or a data acquisition program based on the verification result.

[0087] When there is no abnormality in the verification result, it indicates that the user is a real user. At this time, the processing result of the data acquisition instruction can be determined according to the first identifier, that is, whether the first number of the user can be reset can be determined according to the first identifier.

[0088] In the event of anomalies in the identity authentication results, such as when the user enters an incorrect verification code or is unable to answer security questions, the system will determine that the target user may be a data acquisition program. At this time, the system will immediately execute security control measures, including but not limited to restricting the target user's data acquisition instructions, and at the same time send an alarm message to the operation and maintenance end, indicating that further security review of the target work number is required, thereby ensuring the security of data in the civil aviation system.

[0089] It should be noted that the above identity authentication process can not only be used when the work instruction volume reaches a threshold, but also when traffic reset is required, the same verification process can be used to determine whether the current user is a real user, thereby ensuring the security of data in the system.

[0090] This embodiment verifies the target user, thereby accurately identifying whether the user is an abnormal user, thereby protecting the data security of the civil aviation passenger service system.

[0091] Figure 2 is a schematic diagram of a system for processing instructions according to an embodiment of the present application, such as Figure 2 As shown, the system includes: a pre-limitation safety management and control module 21, a post-limitation safety management and control module 22, a limit control module 25, a threshold setting module 24, a traffic prediction module 23 and a traffic statistics module 26.

[0092] in:

[0093] The pre-limitation safety control module 21 is used to perform safety control tasks before the instruction limit occurs, including two situations before the limit occurs in the current statistical period and before the limit occurs in the future statistical period (from the current time point to the future statistical period, no traffic will be generated). This module consists of two functional modules: real-time traffic reset and traffic threshold temporary adjustment. The real-time traffic reset functional module is used to complete the work of resetting the real-time traffic to zero before the limit occurs in the current statistical period. The functional module obtains the traffic threshold from the threshold setting module 24 and obtains the real-time traffic statistical information from the traffic statistics module 26. When the real-time traffic reaches 80% of the traffic threshold, the user is reminded. The user performs real-time traffic reset as needed. After the real-time traffic reset is completed, the traffic statistics module 26 is called to re-count the traffic from zero, where the traffic is the number of data acquisition instructions sent by the user.

[0094] The flow threshold temporary adjustment function module is used to complete the flow threshold adjustment work before the limit occurs in the future statistical period. The function module obtains the flow prediction information for a certain period of time in the future from the flow prediction module 23, and obtains the flow threshold in the corresponding time from the threshold setting module 24, and compares whether the flow prediction information of the corresponding statistical period exceeds the flow threshold. If it exceeds, it is recommended in advance that the user performs the flow threshold adjustment work for one or several statistical periods. The user performs the flow threshold temporary adjustment as needed. After the flow threshold temporary adjustment is completed, the threshold setting module 24 will be called to update the flow threshold of the adjusted statistical period.

[0095] In order to improve the security of data in the system, the real-time traffic reset function module and the traffic threshold temporary adjustment function module are equipped with two links: answering questions and verification code verification. According to the user's answering results and verification code verification results, it is comprehensively guaranteed that the current operation is manual and is performed by the person himself, thereby preventing the data in the system from being obtained by the data acquisition program.

[0096] The post-limitation safety control module 22 is used to perform safety control tasks after the instruction limit occurs. The post-limitation safety control module 22 obtains the limit status from the limit control module 25. After finding that the limit has been reached, it reminds the user to perform real-time limit release. The user performs real-time limit release as needed. After the real-time limit release is completed, the limit control module 25 and the traffic statistics module 26 will be called to reset the limit status and reset the traffic statistics respectively. Among them, the reset of the limit status is used to record that the user has performed the limit release operation in the current cycle, and the reset of the traffic statistics is used to clear the instruction traffic of the user in the current cycle.

[0097] In order to improve the security of data in the system, the post-limitation security management and control module 22 also sets up two links: answering questions and verification code verification, so as to prevent the data in the system from being obtained by the data acquisition program.

[0098] The traffic prediction module 23 is used to provide a traffic prediction information query function based on historical statistical data. This module provides the traffic threshold temporary adjustment function module with traffic prediction information within a certain period of time in the future.

[0099] The threshold setting module 24 is used to provide flow threshold query and flow threshold setting functions. This module provides flow threshold query function for the pre-limitation safety control module 21 and flow threshold setting function for the flow threshold temporary adjustment function module.

[0100] The limited quantity control module 25 is used to provide limited quantity status query and limited quantity status setting functions. This module provides limited quantity status query and limited quantity status setting functions for the pre-limited quantity safety control module 21 and the post-limited quantity safety control module 22.

[0101] The traffic statistics module 26 is used to provide traffic statistics query and traffic statistics zeroing functions. This module provides traffic statistics query and traffic statistics zeroing functions for the pre-limitation safety control module 21 and provides traffic statistics zeroing functions for the post-limitation safety control module 22.

[0102] Figure 3 is a flowchart of an optional instruction processing method provided according to an embodiment of the present application, such as Figure 3 As shown, when receiving the data acquisition instruction sent by the target user, the target state of the target user can be determined first, so as to judge whether data can be fed back to the target user at the current moment according to the target state.

[0103] When the state of the target user is the first target state, it indicates that the number of instructions sent by the user at this time has not reached the threshold, and the user is allowed to obtain data. At this time, it can be determined whether the number of instructions sent by the user within the target time period is greater than 80% of the instruction threshold. When it is less than 80% of the instruction threshold, the data corresponding to the data acquisition instruction can be directly fed back to the target user, thereby completing the data acquisition process. When it is greater than or equal to 80% of the instruction threshold, it is necessary to determine whether the user can perform a traffic reset operation based on the state bit of the second identifier of the user. When the state bit of the second identifier is the first state bit, it is determined that the user can perform a traffic reset operation. At this time, it is necessary to reset the number of instructions sent by the target user, and feed back the data corresponding to the data acquisition instruction to the target user, and change the state bit of the second identifier from the first state bit to the second state bit, thereby improving the target user's follow-up. The number of instructions that can be sent continues. When the status bit of the second identifier is the second status bit, it is determined that the target user has performed the traffic reset operation and cannot perform the traffic reset operation again. At this time, since the number of instructions sent by the user in the target time period is greater than 80% of the instruction threshold, it is necessary to determine whether the number of instructions sent by the user is equal to the instruction threshold when the current data acquisition instruction is received. When the number of instructions is equal to the instruction threshold, data is fed back and the state of the target user is changed from the first target state to the second target state. Then, when the data acquisition instruction sent by the user is received again, the instruction can be processed according to the process under the second target state. When the number of instructions is less than the instruction threshold, since the number of instructions sent by the user has not reached the threshold, the data corresponding to the data acquisition instruction can still be fed back to the target user, thereby completing the data acquisition process.

[0104] When the target state of the target user is the second target state, it indicates that the target user is not allowed to obtain data from the civil aviation system. At this time, it is necessary to determine whether the user can perform the flow restriction release operation based on the state bit of the first identifier of the user. When the state bit of the first identifier is the third state bit, it is determined that the flow restriction release operation can be performed, and the number of instructions sent by the user within the target time period is reset. At the same time, the first identifier of the target user is changed from the third state bit to the fourth state bit, and the state of the target user is changed from the second target state to the first target state. The data corresponding to the data acquisition instruction is fed back to the target user, thereby increasing the number of instructions that the target user can subsequently send. When the state bit of the first identifier is the fourth state bit, it is determined that the flow restriction release operation cannot be performed, thereby completing the operation of controlling the user's instruction restriction, ensuring that different users can send different numbers of data acquisition instructions according to the instruction restriction, thereby ensuring that the data in the system will not be acquired in large quantities by the data acquisition program, thereby ensuring the security of the data.

[0105] In the case where the traffic reset operation and the traffic restriction lifting operation can be performed, the user's identity needs to be authenticated, and if the authentication is successful, the corresponding operation can be performed on the user, thereby ensuring the security of the data in the system.

[0106] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0107] The embodiment of the present application also provides an instruction processing device. It should be noted that the instruction processing device of the embodiment of the present application can be used to execute the instruction processing method provided by the embodiment of the present application. The instruction processing device provided by the embodiment of the present application is introduced below.

[0108] Figure 4 Schematic diagram of an instruction processing device according to an embodiment of the present application. Figure 4 As shown, the device comprises:

[0109] The first receiving unit 41 is configured to receive a data acquisition instruction sent by a target user, and query the number of historical instructions sent by the target user within a target time period to obtain a first number.

[0110] The first judging unit 42 is configured to judge whether the first quantity is less than an instruction quantity threshold.

[0111] The generating unit 43 is configured to generate feedback data according to the data acquisition instruction when the first number is less than the instruction number threshold, and send the feedback data to the target user.

[0112] The first determination unit 44 is used to obtain the first identifier of the target user when the first number is equal to the instruction number threshold, and determine the processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction lifting operation within a target time period.

[0113] The instruction processing method provided in the embodiment of the present application receives the data acquisition instruction sent by the target user through the first receiving unit 41, and queries the number of historical instructions sent by the target user in the target time period to obtain a first number; the first judging unit 42 judges whether the first number is less than the instruction number threshold; the generating unit 43 generates feedback data according to the data acquisition instruction when the first number is less than the instruction number threshold, and sends the feedback data to the target user; the first determining unit 44 obtains the first identifier of the target user when the first number is equal to the instruction number threshold, and determines the processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs the traffic restriction release operation in the target time period. The problem that the data acquisition amount of the user is controlled by setting a threshold uniformly in the related art is solved, resulting in low compatibility of data acquisition operations of different users. By comparing the first number with the threshold, and when the first number is equal to the threshold, determining whether the traffic restriction lifting operation can be performed on the user based on the first identifier, thereby distinguishing users based on the first identifier, and lifting the traffic restriction operation for users who can perform the traffic restriction lifting operation, so that the user can continue to obtain data from the system through data acquisition instructions, and at the same time, some users can be prohibited from continuing to obtain data, thereby achieving the effect of executing different data interaction operation restriction strategies on different users, ensuring that normal users can obtain business data.

[0114] Optionally, in the instruction processing device provided in the embodiment of the present application, when the first number is less than the instruction number threshold, the device also includes: a first acquisition unit, used to acquire the difference rate between the first number and the instruction number threshold to obtain the first difference rate; a first execution unit, used to execute the step of generating feedback data according to the data acquisition instruction when the first difference rate is greater than the difference rate threshold; a second acquisition unit, used to acquire the second identifier of the target user when the first difference rate is less than or equal to the difference rate threshold, and change the first number according to the second identifier to obtain an updated first number, and execute the step of determining whether the first number is less than the instruction number threshold according to the updated first number, wherein the second identifier is used to indicate whether the target user performs a traffic reset operation within the target time period.

[0115] Optionally, in the instruction processing device provided in the embodiment of the present application, the second acquisition unit includes: an updating module, used to reset the first quantity to zero when the second identifier is in a first state position, to obtain an updated first quantity, wherein the first state bit indicates that the target user has not performed a traffic reset operation within the target time period; and a maintaining module, used to keep the first quantity unchanged when the second identifier is in a second state position, wherein the second state bit indicates that the target user has performed a traffic reset operation within the target time period.

[0116] Optionally, in the instruction processing device provided in the embodiment of the present application, the device also includes: a third acquisition unit, used to acquire the number of instructions of the target user in multiple historical time periods, and obtain multiple historical instruction numbers; a fourth acquisition unit, used to acquire type information of the future time period, and input the type information and multiple historical instruction numbers into an instruction number prediction model to obtain the predicted number of instructions of the target user in the future time period; a second receiving unit, used to send the predicted number of instructions to the target user, and receive a threshold adjustment instruction of the target user; an expansion unit, used to expand the instruction number threshold of the target user in the future time period according to the threshold adjustment instruction, and obtain an updated instruction number threshold.

[0117] Optionally, in the instruction processing device provided in the embodiment of the present application, after receiving the threshold adjustment instruction of the target user, the device also includes: a second judgment unit, used to determine whether the threshold adjustment instruction is received within the target time period; a maintaining unit, used to keep the instruction quantity threshold of the target user in the future time period unchanged when the threshold adjustment instruction is received; and a second execution unit, used to execute an operation to expand the instruction quantity threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction quantity threshold when the threshold adjustment instruction is not received.

[0118] Optionally, in the instruction processing device provided in the embodiment of the present application, the first determination unit 44 includes: a first determination module, used to, when the first identifier is in the third state position, reset the first quantity to zero, and determine that the processing result is to generate feedback data according to the data acquisition instruction, and send the feedback data to the target user, wherein the third state bit indicates that the target user has not performed the traffic restriction lifting operation within the target time period; a second determination module, used to, when the first identifier is in the fourth state position, determine that the processing result is to send a prompt message to the target user, wherein the prompt message is used to indicate that it is prohibited to obtain feedback data, and the fourth state bit indicates that the target user has performed the traffic restriction lifting operation within the target time period.

[0119] Optionally, in the instruction processing device provided in the embodiment of the present application, before determining the processing result of the data acquisition instruction according to the first identifier, the device also includes: a third receiving unit, used to send identity authentication information to the target user and receive the verification result sent by the target user; a third execution unit, used to execute the step of determining the processing result of the data acquisition instruction according to the first identifier when there is no abnormality in the verification result; a second determination unit, used to determine that there is an abnormality in the target user when there is an abnormality in the verification result, and send an alarm message to the operation and maintenance end.

[0120] The processing device of the above instructions includes a processor and a memory. The above first receiving unit 41, first judgment unit 42, generation unit 43, first determination unit 44, etc. are all stored in the memory as program units, and the processor executes the above program units stored in the memory to realize corresponding functions.

[0121] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem in the related art that the amount of data acquisition by users is controlled by setting a threshold uniformly, resulting in low compatibility of data acquisition operations for different users.

[0122] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0123] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the processing method of the instruction is implemented.

[0124] An embodiment of the present invention provides a processor, which is used to run a program, wherein the processing method of executing the instructions when the program is running.

[0125] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 5 As shown, an embodiment of the present invention provides an electronic device, the electronic device 50 includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: receiving a data acquisition instruction sent by a target user, and querying the number of historical instructions sent by the target user within a target time period to obtain a first number; judging whether the first number is less than an instruction number threshold; when the first number is less than the instruction number threshold, generating feedback data according to the data acquisition instruction, and sending the feedback data to the target user; when the first number is equal to the instruction number threshold, obtaining a first identifier of the target user, and determining a processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction release operation within the target time period. The device in this article may be a server, a PC, a PAD, a mobile phone, etc.

[0126] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: receiving a data acquisition instruction sent by a target user, and querying the number of historical instructions sent by the target user within a target time period to obtain a first number; determining whether the first number is less than an instruction number threshold; when the first number is less than the instruction number threshold, generating feedback data according to the data acquisition instruction, and sending the feedback data to the target user; when the first number is equal to the instruction number threshold, obtaining a first identifier of the target user, and determining a processing result of the data acquisition instruction according to the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction release operation within the target time period.

[0127] 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.

[0128] 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 embodiments of 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 generate 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.

[0129] 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.

[0130] 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.

[0131] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0132] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0133] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0134] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0135] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for processing an instruction, characterized in that: include: Receiving a data acquisition instruction sent by a target user, and querying the number of historical instructions sent by the target user within a target time period to obtain a first number; Determining whether the first number is less than an instruction number threshold; When the first number is less than the instruction number threshold, generating feedback data according to the data acquisition instruction, and sending the feedback data to the target user; When the first number is equal to the instruction number threshold, the first identifier of the target user is obtained, and the processing result of the data acquisition instruction is determined based on the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction lifting operation within the target time period.

2. The method according to claim 1, characterized in that When the first number is less than the instruction number threshold, the method further includes: Obtaining a difference rate between the first number and the instruction number threshold to obtain a first difference rate; When the first difference rate is greater than a difference rate threshold, executing the step of generating feedback data according to the data acquisition instruction; When the first difference rate is less than or equal to the difference rate threshold, the second identifier of the target user is obtained, and the first quantity is changed according to the second identifier to obtain an updated first quantity, and the step of determining whether the first quantity is less than the instruction quantity threshold is performed according to the updated first quantity, wherein the second identifier is used to indicate whether the target user performs a traffic reset operation within the target time period.

3. The method according to claim 2, characterized in that Changing the first quantity according to the second identifier includes: When the second identifier is in the first state bit, the first number is reset to zero to obtain the updated first number, wherein the first state bit indicates that the target user has not performed the traffic reset operation within the target time period; When the second identifier is in a second state position, the first number is kept unchanged, wherein the second state position represents that the target user performs the traffic reset operation within the target time period.

4. The method according to claim 2, characterized in that: The method further comprises: Acquire the number of instructions of the target user in multiple historical time periods to obtain multiple historical instruction numbers; Acquire type information of a future time period, and input the type information and the plurality of historical instruction quantities into an instruction quantity prediction model to obtain a predicted instruction quantity of the target user in the future time period; Sending the predicted instruction quantity to a target user, and receiving a threshold adjustment instruction from the target user; An expansion operation is performed on the instruction quantity threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction quantity threshold.

5. The method according to claim 4, characterized in that After receiving the threshold adjustment instruction of the target user, the method further includes: determining whether the threshold adjustment instruction is received within the target time period; When receiving the threshold adjustment instruction, maintaining the instruction quantity threshold of the target user in the future time period unchanged; In the case where the threshold adjustment instruction is not received, the operation of expanding the instruction quantity threshold of the target user in the future time period according to the threshold adjustment instruction to obtain an updated instruction quantity threshold is performed.

6. The method according to claim 1, characterized in that Determining a processing result of the data acquisition instruction according to the first identifier includes: When the first identifier is in the third state bit, the first number is reset to zero, and the processing result is determined to be generating feedback data according to the data acquisition instruction, and sending the feedback data to the target user, wherein the third state bit indicates that the target user has not performed the traffic restriction release operation within the target time period; When the first identifier is in the fourth state position, the processing result is determined to be sending a prompt message to the target user, wherein the prompt message is used to indicate that obtaining the feedback data is prohibited, and the fourth state position represents that the target user performs the traffic restriction lifting operation within the target time period.

7. The method according to claim 1, characterized in that Before determining a processing result of the data acquisition instruction according to the first identifier, the method further includes: Sending identity verification information to the target user, and receiving a verification result sent by the target user; If the verification result is normal, executing the step of determining the processing result of the data acquisition instruction according to the first identifier; When there is an abnormality in the verification result, it is determined that there is an abnormality in the target user, and an alarm message is sent to the operation and maintenance end.

8. An instruction processing device, characterized in that: include: A first receiving unit, configured to receive a data acquisition instruction sent by a target user, and query the number of historical instructions sent by the target user within a target time period to obtain a first number; A first judging unit, configured to judge whether the first number is less than an instruction number threshold; a generating unit, configured to generate feedback data according to the data acquisition instruction and send the feedback data to the target user when the first number is less than the instruction number threshold; A first determination unit is used to obtain a first identifier of the target user when the first number is equal to the instruction number threshold, and determine a processing result of the data acquisition instruction based on the first identifier, wherein the first identifier is used to indicate whether the target user performs a traffic restriction lifting operation within the target time period.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the processing method of the instruction described in any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory storing an executable program; A processor, used to run the program, wherein the program executes the instruction processing method described in any one of claims 1 to 7 when running.