Service information processing method and device, electronic equipment and computer storage medium
Patent Information
- Application Number
- CN202411933786.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-15
AI Technical Summary
[0004]本申请实施例提供一种业务信息处理方法,以解决现有技术中如何降低业务信息处理的工作强度,且可提升处理效率的问题
[0062] The embodiment of the present application provides a business information processing method, which is applied to the Pos terminal, including: obtaining the service request information provided by the client, the service request information includes the service request information input by the user; determining the corresponding business scenario based on the service identification in the service request information; determining whether there are specific characters in the service request information. If not, the service information in the service request information is stored, and the service information in the service request information is fed back to the client for display; if there is, the preset specific characters issued by the cloud service platform dynamically configures to form preset target specific characters according to the service scenario, and confirms that the preset specific characters are dynamically configured to form preset target specific characters according to the service scenario. It is determined whether the specific characters in the service request information match the preset target specific characters; if the specific characters in the service request information match the preset target specific characters, the service information in the service request information is processed in the preset way in the service scenario to form preprocessing data; the standard preprocessing data is processed in the preprocessing mode to form standard preprocessing data, and the standard preprocessing data is fed back to the client for display; if the specific characters in the service request information do not match the preset target specific characters, the abnormal service information in the service request information is displayed and alarm information is issued.
Smart Images

Figure CN119829809A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and specifically to a business information processing method. The present application also relates to another business information processing method, two business information processing devices, an electronic device, and a computer storage medium. Background Art
[0002] The current POS (point of sale) database uses Sqlite (a lightweight database management system). However, in each business module, many SQLs are manually spliced, which means that some special characters will be truncated during SQL execution, resulting in SQL execution failure. In this regard, the existing solution is for each business domain to transform all manually spliced SQLs into preprocessing (preprocessing: in SQL, prepared statements (PreparedStatement) is a technology for performing database operations, which can pre-compile SQL statements and execute them by providing parameters when needed) methods, but the workload of R&D, transformation, and test regression of the preprocessing method is very large, which not only increases the processing workload, but also reduces the processing efficiency.
[0003] Therefore, how to reduce the workload of business information processing and improve processing efficiency has become an urgent problem to be solved by technical personnel in this field. Summary of the invention
[0004] The embodiment of the present application provides a business information processing method to solve the problem of how to reduce the workload of business information processing and improve processing efficiency in the prior art. The present application also relates to another business information processing method, two business information processing devices, an electronic device and a computer storage medium.
[0005] The present application embodiment provides a business information processing method, which is applied to a POS terminal, including:
[0006] Obtaining service request information provided by a client, wherein the service request information includes service request information input by a user;
[0007] Determine a corresponding business scenario according to the business identifier in the business request information;
[0008] Determine whether the business request information contains specific characters; if not, store the business information in the business request information, and feed back the business information in the business request information to the client for display; if it contains specific characters, dynamically configure the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determine whether the specific characters in the business request information match the preset target specific characters;
[0009] If the specific characters in the business request information match the preset target specific characters, the business information in the business request information is processed in a preset manner under the business scenario to form preprocessed data; the standard preprocessed data is processed in a preprocessing manner to form standard preprocessed data, and the standard preprocessed data is fed back to the client for display;
[0010] If the specific characters in the service request information do not match the preset target specific characters, the abnormal service information in the service request information is displayed and an alarm message is issued.
[0011] Optionally, determining a corresponding service scenario according to a service identifier in the service request information includes:
[0012] Identify the service request information to obtain text information in the service request information, and extract keywords and / or key words in the text information;
[0013] Acquire preset keywords and / or preset keywords associated with each business scenario, and respectively determine the association value between the preset keywords and / or preset keywords of each business scenario and the keywords and / or keywords;
[0014] The keyword and / or key word with the highest association value is determined as the service identifier, and the corresponding service scenario is determined according to the service identifier.
[0015] Optionally, dynamically configuring the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determining whether the specific characters in the business request information match the preset target specific characters, includes:
[0016] Generate an acquisition instruction according to the specific character in the service request information, and send the acquisition instruction to the cloud service platform to obtain the preset specific character issued by the cloud service platform according to the acquisition instruction; the acquisition instruction is used to obtain the preset specific character;
[0017] Determine business information under the business scenario, and dynamically configure preset target specific characters from the preset specific characters according to the business information;
[0018] The specific characters in the service request information are identified, and it is determined whether the specific characters in the service request information match the preset target specific characters.
[0019] Optionally, the cloud service platform sends a preset specific character according to the acquisition instruction, including:
[0020] Displaying a corresponding business scenario layout in the cloud service platform according to the acquisition instruction; the business scenario layout includes a configuration setting box and a plurality of business scenario directory columns for business scenarios;
[0021] Obtaining a first trigger operation for a first business scenario directory bar, and displaying a plurality of first preset specific characters under the first business scenario directory bar according to the first trigger operation; the first business scenario directory bar is one of the plurality of business scenario directory bars; the preset specific characters include the first preset specific characters;
[0022] A first selection operation for at least one of the first preset specific characters is obtained, and the first preset specific character is configured in the configuration setting box according to the first selection operation, and is sent to the POS terminal.
[0023] Optionally, the cloud service platform sends a preset specific character according to the acquisition instruction, further comprising:
[0024] Obtaining a second trigger operation for at least one second business scenario directory bar, and displaying a plurality of second preset specific characters under the second business scenario directory bar according to the second trigger operation; the second business scenario directory bar is one of the plurality of the business scenario directory bars; the preset specific characters include the second preset specific characters;
[0025] Obtain a second selection operation for at least one of the second preset specific characters, clear the first preset specific character in the configuration setting box according to the second selection operation and configure the second preset specific character, and send the second preset specific character to the POS end; or configure the second preset specific character in the configuration setting box according to the second selection operation, and send it to the POS end.
[0026] Optionally, the cloud service platform sends a preset specific character according to the acquisition instruction, further comprising:
[0027] Obtaining a configuration input operation for the configuration setting box;
[0028] According to the configuration input operation configuration, preset specific characters are configured and sent to the POS terminal.
[0029] Optionally, the configuration setting box includes at least a business scenario configuration code input box, a business requirement scenario input box and a preset specific character input box.
[0030] Optionally, the identifying the specific characters in the service request information and determining whether the specific characters in the service request information match the preset target specific characters includes:
[0031] Parsing the service request information to obtain at least one manually spliced service data;
[0032] Performing text compilation on at least one piece of manually spliced business data to determine specific characters in at least one piece of manually spliced business data;
[0033] Determine the similarity between the specific character and the preset target specific character. If the similarity meets the preset threshold, determine that the specific character in the service request information matches the preset target specific character; if the similarity does not meet the preset threshold, determine that the specific character in the service request information does not match the preset target specific character.
[0034] Optionally, the processing the service information in the service request information in a preset manner under the service scenario to form preprocessed data includes:
[0035] Obtaining an extraction template for the business request information in the business scenario;
[0036] Inserting the parsed business information in the business request information into the extraction template to form forward preprocessing data;
[0037] Recording a first index position corresponding to the specific character in the forward preprocessed data, reversing the forward preprocessed data to form reverse preprocessed data, and recording a second index position corresponding to the reverse specific character in the reverse preprocessed data;
[0038] Compare whether the first index at the first index position is consistent with the second index at the second index position; if they are consistent, process them in a preset manner to form preprocessed data; if they are inconsistent, display the abnormal business information in the business request information and issue an alarm message.
[0039] Optionally, the processing the standard preprocessed data according to a preprocessing method to form standard preprocessed data includes:
[0040] If the standard preprocessed data can be processed according to the preprocessing method, then standard preprocessed data is formed;
[0041] If the standard pre-processed data cannot be processed according to the pre-processing method, the abnormal service information in the service request information is displayed and an alarm message is issued.
[0042] The embodiment of the present application also provides a service information processing method, which is applied to a client, including:
[0043] Generate business request information, and send the business request information to the POS terminal, the business request information includes the business request information input by the user;
[0044] Obtaining standard pre-processing data for the service request information feedback sent by the POS terminal;
[0045] The standard preprocessing data is displayed on a display interface.
[0046] Optionally, the generating the service request information includes:
[0047] Display multiple business information menu bars on the business display page;
[0048] Obtaining a trigger operation for a target business information menu bar, and displaying a business requirement input box corresponding to the target business information menu bar according to the trigger operation;
[0049] The input information of the business requirement input box is obtained to form business request information.
[0050] The present application also provides a business information processing device, including:
[0051] A service request information obtaining unit, used to obtain service request information provided by a client, wherein the service request information includes service request information input by a user;
[0052] A business scenario determination unit, configured to determine a corresponding business scenario according to a business identifier in the business request information;
[0053] A first processing unit is configured to determine whether the business request information contains specific characters; if not, store the business information in the business request information, and feed back the business information in the business request information to the client for display; if it contains specific characters, dynamically configure the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determine whether the specific characters in the business request information match the preset target specific characters;
[0054] The second processing unit is used to process the business information in the business request information in a preset manner under the business scenario to form preprocessed data if the specific characters in the business request information match the preset target specific characters; process the standard preprocessed data in a preprocessing manner to form standard preprocessed data, and feed the standard preprocessed data back to the client for display; if the specific characters in the business request information do not match the preset target specific characters, display the abnormal business information in the business request information and issue an alarm message.
[0055] The present application also provides a business information processing device, including:
[0056] A service request information processing unit generates service request information and sends the service request information to the POS terminal, wherein the service request information includes the service request information input by the user;
[0057] A standard pre-processing data obtaining unit, used to obtain the standard pre-processing data sent by the POS terminal for the service request information feedback;
[0058] The display unit is used to display the standard preprocessing data on a display interface.
[0059] The present application also provides an electronic device, which includes a processor and a memory; a computer program is stored in the memory, and the processor executes the above method after running the computer program.
[0060] The present application also provides a computer storage medium, wherein the computer storage medium stores a computer program, and after the computer program is run by a processor, the above method is executed.
[0061] Compared with the prior art, the embodiments of the present application have the following advantages:
[0062] The embodiment of the present application provides a business information processing method, which is applied to a POS terminal, including: obtaining business request information provided by a client, the business request information including business request information input by a user; determining a corresponding business scenario according to a business identifier in the business request information; determining whether the business request information contains specific characters, and if not, storing the business information in the business request information, and feeding back the business information in the business request information to the client for display; if so, dynamically configuring the preset specific characters issued by a cloud service platform according to the business scenario to form preset target specific characters, and determining whether the specific characters in the business request information match the preset target specific characters; if the specific characters in the business request information match the preset target specific characters, processing the business information in the business request information in a preset manner under the business scenario to form preprocessed data; processing the standard preprocessed data in a preprocessing manner to form standard preprocessed data, and feeding back the standard preprocessed data to the client for display; if the specific characters in the business request information do not match the preset target specific characters, displaying abnormal business information in the business request information and issuing an alarm message.
[0063] The embodiment of the present application determines the corresponding business scenario through the business identifier in the business request information, so that the business request information can be processed in the corresponding business scenario, thereby improving the accuracy of business processing. In addition, it is determined whether the business request information contains specific characters. If so, the preset specific characters issued by the cloud service platform are dynamically configured according to the business scenario to form preset target specific characters, and the preset specific characters are dynamically configured according to the business scenario to form preset target specific characters, so that the specific characters in the business request information processed in the business scenario are more accurate. In addition, if the specific characters in the business request information match the preset target specific characters, the business information in the business request information is processed in a preset manner under the business scenario to form preprocessed data, so that the original manually spliced SQL business information is converted into a preprocessed manner, and then executed again, to ensure the stability and reliability of the business during the transition period, so as to reduce the workload of business information processing and improve processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 It is a schematic diagram of an application scenario of a business information processing method provided in the first embodiment of the present application.
[0065] Figure 2 It is a flowchart of a business information processing method provided in the first embodiment of the present application.
[0066] Figure 3 It is a flowchart of the first embodiment of the present application for dynamically configuring preset target specific characters issued by the cloud service platform according to business scenarios.
[0067] Figure 4 It is a schematic diagram of the corresponding business scenario layout displayed in the cloud service platform provided in the first embodiment of the present application.
[0068] Figure 5 It is a flowchart of a business information processing method provided in the second embodiment of the present application.
[0069] Figure 6 It is a schematic diagram of a business information processing device provided in the third embodiment of the present application.
[0070] Figure 7 It is a schematic diagram of a business information processing certificate device provided in the fourth embodiment of the present application.
[0071] Figure 8 This is a schematic diagram of an electronic device provided in the fifth embodiment of the present application. DETAILED DESCRIPTION
[0072] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0073] First, in order to enable those skilled in the art to better understand the present application, the following describes in detail a specific application scenario of an embodiment of a business information processing method provided by the present application. Figure 1 As shown, it is a schematic diagram of an application scenario of a business information processing method provided in the first embodiment of the present application.
[0074] In the specific implementation process, the business information processing method described in the embodiment of the present application can solve the problem of how to reduce the workload of business information processing in the prior art and improve the processing efficiency.
[0075] In this scenario, the business information processing method is applied to the POS (point of sale) end, which includes a business classification layer and a business common layer. The business classification layer is used to classify the business data provided by the client and organize the business information in the corresponding business module. The business common layer further processes the business information organized by each business module, that is, in this scenario, the original SQL is analyzed according to the grammatical rules, and the original manually spliced SQL is converted into a preprocessing method.
[0076] Specifically, in this scenario, the POS terminal obtains the business request information provided by the client, and the business request information includes the business request information input by the user. Among them, the client includes a mobile phone, a tablet, a computer, etc. Then, the corresponding business scenario is determined according to the business identifier in the business request information, that is, the business request information is analyzed to obtain the business identifier in the business request information. For example, the business identifier in the business request information includes a business A identifier, a business B identifier, and a business C identifier. The business classification layer includes multiple business modules, such as a business A module, a business B module, and a business C module. Correspondingly, each business module processes the business information in the business request information according to the corresponding business identifier. Specifically, each business module can manually splice the business information, including: generating a business type template in the business module according to the business identifier, manually splicing the business information according to the business type template in each business module, and the manually spliced business information may include one or more business information, and then, the business information on the business type template is updated to generate business information that can be processed by the business common layer.
[0077] Specifically, the process of processing business information in the business common layer is as follows: determine whether the business request information contains specific characters. If not, store the business information in the business request information and feed back the business information in the business request information to the client for display; if it does, dynamically configure the preset target specific characters issued by the cloud service platform according to the business scenario, and determine whether the specific characters in the business request information match the preset target specific characters. If the specific characters in the business request information match the preset target specific characters, process the business information in the business request information in a preset manner under the business scenario to form preprocessed data; process the standard preprocessed data in a preprocessing manner to form standard preprocessed data, and feed back the standard preprocessed data to the client for display. If the specific characters in the business request information do not match the preset target specific characters, display the abnormal business information in the business request information and issue an alarm message.
[0078] The above is the full process analysis of the business information processing method. This scenario determines the corresponding business scenario through the business identifier in the business request information, so that the business request information can be processed in the corresponding business scenario, thereby improving the accuracy of business processing. In addition, it is determined whether the business request information contains specific characters, so as to analyze the business information in the business request information according to the preset method, convert the original manually spliced SQL business information into a pre-processing method, and then execute it again to ensure the stability and reliability of the business during the transition period, so as to reduce the workload of business information processing and improve processing efficiency.
[0079] The present application is described in detail below through multiple embodiments and drawings.
[0080] First embodiment
[0081] The first embodiment of the present application provides a method for processing business information. Figure 2 The business information processing method is described in detail. The business information processing method comprises the following steps:
[0082] Step S201: obtaining service request information provided by a client, wherein the service request information includes service request information input by a user.
[0083] In this step, the service request information is provided by the client, and the service request information includes the service request information input by the user, that is, the information of the relevant service corresponding to the operation performed by the user in the application on the client. In one example, the service request information includes new service request information and modified service operation information. New service request information refers to adding a new service on the basis of the original service. For example, there was only service A originally, and now the new service request information sent includes new service B. Modifying service operation information refers to modifying the original service. For example, the A information in the original service is modified to B information. The POS terminal obtains the service request information provided by the client to further process the service request information.
[0084] Step S202: determining a corresponding business scenario according to the business identifier in the business request information;
[0085] After obtaining the service request information, the corresponding service scenario is determined according to the service identifier in the service request information. This step is mainly used to clarify which type of service the service request information belongs to, so that the service request information can be quickly processed by the corresponding service module.
[0086] Specifically, in this embodiment, the POS terminal has a business classification layer, and the business classification layer includes multiple business modules, such as business A module, business B module and business C module. The business request information provided by the client is diverse. In order to clarify which business scenario the business information in the business request information belongs to, it is necessary to determine the business identifier in the business request information. Specifically, the business request information is identified to obtain the text information in the business request information, and the keywords and / or keywords in the text information are extracted. Then, the preset keywords and / or preset keywords associated with each business scenario are obtained, and the association value between the preset keywords and / or preset keywords of each business scenario and the keywords and / or keywords in the text information is determined respectively, and the keywords and / or keywords with the highest association value are determined as the business identifier, and the corresponding business scenario is determined according to the business identifier.
[0087] For example, in one example, business scenario A is ordering dine-in meals at a restaurant, and business scenario B is modifying the name of a dish. The preset keyword or preset keyword of business scenario A is restaurant / ordering / dine-in meals; the preset keyword or preset keyword of business scenario B is modify / dish / name. Correspondingly, if the business information in the clear business request information is to add a dish name, then its corresponding keyword and / or keyword is add / a / dish / name. Based on the fact that the preset keyword or preset keyword of business scenario B is modify / dish / name and the correlation value of the keyword and / or keyword in the business information is high, the keyword and / or keyword with the highest correlation value is determined as the business identifier, and the corresponding business scenario B is determined based on the business identifier.
[0088] Step S203: Determine whether the business request information contains specific characters. If not, store the business information in the business request information and feed back the business information in the business request information to the client for display; if so, dynamically configure the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determine whether the specific characters in the business request information match the preset target specific characters.
[0089] After determining the corresponding business scenario according to the business identifier in the business request information, determine whether the business request information contains specific characters. If not, store the business information in the business request information and feed back the business information in the business request information to the client for display. If so, dynamically configure the preset target specific characters issued by the cloud service platform according to the business scenario, and determine whether the specific characters in the business request information match the preset target specific characters.
[0090] Specifically, in this embodiment, after determining the corresponding business scenario according to the business identifier in the business request information, it is necessary to first determine whether the business request information contains specific characters. In one example, the specific characters include special characters such as English single quotation marks ('), empty characters (\u0000), etc. Determining whether the business request information contains specific characters includes: identifying the business request information to obtain character information in the business request information, identifying whether the character information contains characters that match the specific characters, and if not, storing the business information in the business request information, and feeding back the business information in the business request information to the client for display. If so, the preset target specific characters issued by the cloud service platform are dynamically configured according to the business scenario, and determining whether the specific characters in the business request information match the preset target specific characters.
[0091] In this step, for the business request information with specific characters in the business request information, further processing is required, that is, if the business request information has specific characters, the preset target specific characters issued by the cloud service platform are dynamically configured according to the business scenario, and it is determined whether the specific characters in the business request information match the preset target specific characters. Figure 3 As shown, dynamically configuring the preset target specific characters issued by the cloud service platform according to the business scenario and determining whether the specific characters in the business request information match the preset target specific characters includes the following steps:
[0092] Step S203-1: Generate an acquisition instruction according to the specific characters in the business request information, and send the acquisition instruction to the cloud service platform to obtain the preset specific characters issued by the cloud service platform according to the acquisition instruction; the acquisition instruction is used to acquire the preset specific characters.
[0093] When the business request information contains specific characters, it is necessary to determine whether the specific characters are specific characters that can be matched and processed by the cloud service platform. That is, it is necessary to generate an acquisition instruction based on the specific characters in the business request information and send the acquisition instruction to the cloud service platform to obtain the preset specific characters issued by the cloud service platform according to the acquisition instruction.
[0094] In this step, the cloud service platform issues preset specific characters according to the acquisition instruction, including: first, displaying the corresponding business scenario layout in the cloud service platform according to the acquisition instruction, wherein the business scenario layout includes a configuration setting box and multiple business scenario directory columns for business scenarios. In one example, the multiple business scenario directory columns for business scenarios include at least an application monitoring business scenario directory column, an application scoring business scenario directory column, and a store operation and maintenance business scenario directory column. Then, a first trigger operation for the first business scenario directory column is obtained, and multiple first preset specific characters are displayed under the first business scenario directory column according to the first trigger operation. Among them, the first business scenario directory column is one of the multiple business scenario directory columns, and the preset specific characters include the first preset specific characters. Finally, a first selection operation for at least one first preset specific character is obtained, and the first preset specific character is configured in the configuration setting box according to the first selection operation, and issued to the POS terminal.
[0095] In one example, considering that the specific characters in the business request information may correspond to multiple scenarios, in this regard, the cloud service platform sends the preset specific characters according to the acquisition instruction and also includes: obtaining a second trigger operation for at least one second business scenario directory column, and displaying multiple second preset specific characters under the second business scenario directory column according to the second trigger operation. Wherein, the second business scenario directory column is one of the multiple business scenario directory columns and is different from the first business scenario directory column. The preset specific characters include the second preset specific characters, and the second preset specific characters are different from the first preset specific characters. Then, a second selection operation for at least one second preset specific character is obtained, and according to the second selection operation, the first preset specific character in the configuration setting box is cleared and the second preset specific character is configured, and the second preset specific character is sent to the POS end. Or according to the second selection operation, the second preset specific character is configured in the configuration setting box and sent to the POS end.
[0096] In one example, the staff can also manually configure preset specific characters. Specifically, the cloud service platform issues preset specific characters according to the acquisition instruction, and also includes: obtaining a configuration input operation for the configuration setting box, configuring the preset specific characters according to the configuration input operation and issuing it to the POS terminal. In this example, the configuration input operation can directly input the required preset specific characters in the configuration setting box to directly meet the configuration requirements.
[0097] In this embodiment, the configuration setting box at least includes a business scenario configuration code input box, a business requirement scenario input box, and a preset specific character input box. Among them, the business scenario configuration code input box is used to input the business scenario configuration code in the business scenario configuration code input box, so that the corresponding business scenario directory bar is presented in the business scenario layout in a timely manner. The business requirement scenario input box is used to input the business requirement scenario in the business requirement scenario input box, so that the corresponding business scenario is presented in the business scenario layout in a timely manner. The preset specific character input box is used to input the preset specific characters in the preset specific character input box, so as to directly input the required preset specific characters.
[0098] This step dynamically configures the preset specific characters associated with the business scenario through the cloud service platform, including obtaining the preset specific characters in the business scenario directory bar through selection operations, and directly entering the required preset specific characters in the configuration setting box through manual input operations to meet configuration requirements.
[0099] Step S203 - 2 : determining the business information in the business scenario, and dynamically configuring the preset target specific characters from the preset specific characters according to the business information.
[0100] In this embodiment, based on the fact that the business request information is processed in the corresponding business scenario, after obtaining the preset specific characters issued by the cloud service platform, it is necessary to further reconfigure the preset specific characters issued by the cloud service platform based on the business scenario, that is, dynamically configure the corresponding preset target specific characters from the preset specific characters according to the business information in the business scenario in the corresponding business scenario. In other words, although the preset specific characters of the cloud service platform are set in accordance with the business scenario, they are not necessarily issued according to the business scenario under the business request information during the issuance process. In order to further accurately correspond to the business scenario under the business request information, it is necessary to further reconfigure the preset specific characters issued by the cloud service platform based on the business scenario, thereby improving the accuracy of the specific character configuration.
[0101] Step S203 - 3 : Identify the specific characters in the service request information, and determine whether the specific characters in the service request information match the preset target specific characters.
[0102] After configuring the preset target specific characters, the specific characters in the business request information are identified, and it is determined whether the specific characters in the business request information match the preset target specific characters. Specifically, first, the business request information is parsed to obtain at least one manually spliced business data. Then, the at least one manually spliced business data is text compiled to determine the specific characters in the at least one manually spliced business data. Then, the similarity between the specific characters and the preset target specific characters is determined. If the similarity meets the preset threshold, it is determined that the specific characters in the business request information match the preset target specific characters. If the similarity does not meet the preset threshold, it is determined that the specific characters in the business request information do not match the preset target specific characters.
[0103] Step S204: If the specific characters in the business request information match the preset target specific characters, the business information in the business request information is processed in a preset manner under the business scenario to form preprocessed data; the standard preprocessed data is processed in a preprocessing manner to form standard preprocessed data, and the standard preprocessed data is fed back to the client for display.
[0104] If the specific characters in the business request information match the preset target specific characters, the business information in the business request information needs to be further processed, that is, the business information in the business request information is processed in a preset manner under the business scenario to form preprocessed data; the standard preprocessed data is processed in a preprocessing manner to form standard preprocessed data, and the standard preprocessed data is fed back to the client for display.
[0105] Wherein, the business information in the business request information is processed in a preset manner under the business scenario to form preprocessed data, including: first, obtaining an extraction template for the business request information under the business scenario, and inserting the business information in the parsed business request information into the extraction template to form forward preprocessed data. Then, the first index position corresponding to the specific character is recorded in the forward preprocessed data, and the forward preprocessed data is reversed to form reverse preprocessed data, and the second index position corresponding to the reverse specific character is recorded in the reverse preprocessed data. Then, the first index of the first index position is compared with the second index of the second index position to see if they are consistent. If they are consistent, they are processed in a preset manner to form preprocessed data; if they are inconsistent, the abnormal business information in the business request information is displayed and an alarm message is issued.
[0106] In this embodiment, the standard preprocessed data is processed according to the preprocessing method to form the standard preprocessed data, including: if the standard preprocessed data can be processed according to the preprocessing method, then the standard preprocessed data is formed. Correspondingly, if the standard preprocessed data cannot be processed according to the preprocessing method, then the abnormal business information in the business request information is displayed and an alarm message is issued.
[0107] Step S205: If the specific characters in the service request information do not match the preset target specific characters, the abnormal service information in the service request information is displayed and an alarm message is issued.
[0108] The embodiment of the present application provides a business information processing method, which is applied to a POS terminal, including: obtaining business request information provided by a client, the business request information including business request information input by a user; determining a corresponding business scenario according to a business identifier in the business request information; determining whether the business request information contains specific characters, and if not, storing the business information in the business request information, and feeding back the business information in the business request information to the client for display; if so, dynamically configuring the preset specific characters issued by a cloud service platform according to the business scenario to form preset target specific characters, and determining whether the specific characters in the business request information match the preset target specific characters; if the specific characters in the business request information match the preset target specific characters, processing the business information in the business request information in a preset manner under the business scenario to form preprocessed data; processing the standard preprocessed data in a preprocessing manner to form standard preprocessed data, and feeding back the standard preprocessed data to the client for display; if the specific characters in the business request information do not match the preset target specific characters, displaying abnormal business information in the business request information and issuing an alarm message.
[0109] The embodiment of the present application determines the corresponding business scenario through the business identifier in the business request information, so that the business request information can be processed in the corresponding business scenario, thereby improving the accuracy of business processing. In addition, it is determined whether the business request information contains specific characters. If so, the preset specific characters issued by the cloud service platform are dynamically configured according to the business scenario to form preset target specific characters, and the preset specific characters are dynamically configured according to the business scenario to form preset target specific characters, so that the specific characters in the business request information processed in the business scenario are more accurate. In addition, if the specific characters in the business request information match the preset target specific characters, the business information in the business request information is processed in a preset manner under the business scenario to form preprocessed data, so that the original manually spliced SQL business information is converted into a preprocessed manner, and then executed again, to ensure the stability and reliability of the business during the transition period, so as to reduce the workload of business information processing and improve processing efficiency.
[0110] Second embodiment
[0111] In the above first embodiment, a business information processing method is provided. Correspondingly, the second embodiment of the present application provides a business information processing method, which is applied to a client. The same parts of this embodiment as the first embodiment are not repeated here. Please refer to the corresponding parts in the first embodiment.
[0112] Please refer to Figure 5 , which is a flowchart of a business information processing method provided in the second embodiment of the present application.
[0113] Step S501: Generate business request information and send the business request information to the POS terminal, wherein the business request information includes the business request information input by the user.
[0114] When the client needs to perform relevant business processing, business request information is generated on the client. Specifically, first, multiple business information menu bars are displayed on the business display page. Then, a trigger operation for the target business information menu bar is obtained, and a business demand input box is displayed correspondingly under the target business information menu bar according to the trigger operation. Among them, the target business information menu bar is one of the multiple business information menu bars. Finally, an information input operation is performed in the business demand input box to obtain the input information of the business demand input box to form business request information.
[0115] After the service request information is generated, the service request information is sent to the POS terminal.
[0116] Step S502: obtaining standard pre-processing data for the service request information feedback sent by the POS terminal.
[0117] In this step, the POS terminal obtains the service request information sent by the client, and performs the processing as in the first embodiment described above according to the service request information, thereby obtaining standard pre-processed data, and feeding back the standard pre-processed data to the client. The processing steps of the service request information can refer to the description of the first embodiment described above, and will not be repeated here.
[0118] Step S503: displaying the standard preprocessing data on a display interface.
[0119] Third embodiment
[0120] In the above-mentioned first embodiment, a business information processing method is provided. Correspondingly, the third embodiment of the present application provides a business information processing device. Since the device embodiment is basically similar to the first method embodiment, the description is relatively simple. For relevant parts, please refer to the partial description of the method embodiment. The device embodiment described below is only illustrative.
[0121] Please refer to Figure 6 , which is a schematic diagram of a business information processing device provided in the third embodiment of the present application.
[0122] The business information processing device comprises:
[0123] The service request information obtaining unit 601 is used to obtain the service request information provided by the client, wherein the service request information includes the service request information input by the user;
[0124] A business scenario determining unit 602, configured to determine a corresponding business scenario according to a business identifier in the business request information;
[0125] The first processing unit 603 is used to determine whether the business request information contains specific characters. If not, the business information in the business request information is stored and fed back to the client for display; if the specific characters are present, the preset specific characters issued by the cloud service platform are dynamically configured according to the business scenario to form preset target specific characters, and determine whether the specific characters in the business request information match the preset target specific characters;
[0126] The second processing unit 604 is used to process the business information in the business request information in a preset manner under the business scenario to form preprocessed data if the specific characters in the business request information match the preset target specific characters; process the standard preprocessed data in a preprocessing manner to form standard preprocessed data, and feed back the standard preprocessed data to the client for display; if the specific characters in the business request information do not match the preset target specific characters, display the abnormal business information in the business request information and issue an alarm message.
[0127] Fourth embodiment
[0128] In the above second embodiment, a business information processing method is provided. Correspondingly, the fourth embodiment of the present application provides a business information processing device. Since the device embodiment is basically similar to the second method embodiment, the description is relatively simple. For relevant parts, please refer to the partial description of the method embodiment. The device embodiment described below is only illustrative.
[0129] Please refer to Figure 7 , which is a schematic diagram of a business information processing device provided in the fourth embodiment of the present application.
[0130] The business information processing device comprises:
[0131] The service request information processing unit 701 generates service request information and sends the service request information to the POS terminal, wherein the service request information includes the service request information input by the user;
[0132] The standard pre-processing data obtaining unit 702 is used to obtain the standard pre-processing data sent by the POS terminal for the service request information feedback;
[0133] The display unit 703 is used to display the standard pre-processed data on a display interface.
[0134] Fifth embodiment
[0135] Corresponding to the above method embodiment of the present application, the fifth embodiment of the present application further provides an electronic device. Figure 8 As shown, Figure 8 This is a schematic diagram of an electronic device provided in the fifth embodiment of the present application. The electronic device includes: at least one processor 801, at least one communication interface 802, at least one memory 803 and at least one communication bus 804; optionally, the communication interface 802 can be an interface of a communication module, such as an interface of a GSM module; the processor 801 may be a processor CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement an embodiment of the present invention. The memory 803 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Among them, the memory 803 stores a program, and the processor 801 calls the program stored in the memory 803 to execute the method provided in the above embodiment of the present application.
[0136] Eighth embodiment
[0137] Corresponding to the above method of the present application, the eighth embodiment of the present application further provides a computer storage medium. The computer storage medium stores a computer program, which is executed by a processor to execute the method provided in the above embodiment of the present application.
[0138] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
[0139] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0140] The memory may include non-permanent storage 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.
[0141] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. 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 magnetic 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 non-transitory media such as modulated data signals and carrier waves.
[0142] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0143] It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).
[0144] It should be noted that the 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.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
Claims
1. A business information processing method, applied to POS terminal, characterized in that: include: Obtaining service request information provided by a client, wherein the service request information includes service request information input by a user; Determine a corresponding business scenario according to the business identifier in the business request information; Determine whether the service request information contains specific characters, and if not, store the service information in the service request information, and feed back the service information in the service request information to the client for display; If yes, dynamically configuring the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determining whether the specific characters in the business request information match the preset target specific characters; If the specific character in the service request information matches the preset target specific character, the service information in the service request information is processed in a preset manner under the service scenario to form preprocessed data; Processing the standard preprocessed data according to the preprocessing method to form standard preprocessed data, and feeding back the standard preprocessed data to the client for display; If the specific characters in the service request information do not match the preset target specific characters, the abnormal service information in the service request information is displayed and an alarm message is issued.
2. The business information processing method according to claim 1, characterized in that: The determining the corresponding business scenario according to the business identifier in the business request information includes: Identify the service request information to obtain text information in the service request information, and extract keywords and / or key words in the text information; Acquire preset keywords and / or preset keywords associated with each business scenario, and respectively determine the association value between the preset keywords and / or preset keywords of each business scenario and the keywords and / or keywords; The keyword and / or key word with the highest association value is determined as the service identifier, and the corresponding service scenario is determined according to the service identifier.
3. The business information processing method according to claim 1, characterized in that: The dynamically configuring the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determining whether the specific characters in the business request information match the preset target specific characters, includes: Generate an acquisition instruction according to the specific character in the service request information, and send the acquisition instruction to the cloud service platform to obtain the preset specific character issued by the cloud service platform according to the acquisition instruction; the acquisition instruction is used to obtain the preset specific character; Determine business information under the business scenario, and dynamically configure preset target specific characters from the preset specific characters according to the business information; The specific characters in the service request information are identified, and it is determined whether the specific characters in the service request information match the preset target specific characters.
4. The business information processing method according to claim 3, characterized in that: The cloud service platform sends a preset specific character according to the acquisition instruction, including: Displaying a corresponding business scenario layout in the cloud service platform according to the acquisition instruction; the business scenario layout includes a configuration setting box and a plurality of business scenario directory columns for business scenarios; Obtaining a first trigger operation for a first business scenario directory bar, and displaying a plurality of first preset specific characters under the first business scenario directory bar according to the first trigger operation; the first business scenario directory bar is one of the plurality of business scenario directory bars; the preset specific characters include the first preset specific characters; A first selection operation for at least one of the first preset specific characters is obtained, and the first preset specific character is configured in the configuration setting box according to the first selection operation, and is sent to the POS terminal.
5. A business information processing method, applied to a client, characterized in that: include: Generate business request information, and send the business request information to the POS terminal, the business request information includes the business request information input by the user; Obtaining standard pre-processing data for the service request information feedback sent by the POS terminal; The standard preprocessing data is displayed on a display interface.
6. The business information processing method according to claim 5, characterized in that: The generating of the service request information includes: Display multiple business information menu bars on the business display page; Obtaining a trigger operation for a target business information menu bar, and displaying a business requirement input box corresponding to the target business information menu bar according to the trigger operation; The input information of the business requirement input box is obtained to form business request information.
7. A business information processing device, characterized in that: include: A service request information obtaining unit, used to obtain service request information provided by a client, wherein the service request information includes service request information input by a user; A business scenario determination unit, configured to determine a corresponding business scenario according to a business identifier in the business request information; A first processing unit is configured to determine whether the service request information contains specific characters, and if not, store the service information in the service request information, and feed back the service information in the service request information to the client for display; If yes, dynamically configuring the preset specific characters issued by the cloud service platform according to the business scenario to form preset target specific characters, and determining whether the specific characters in the business request information match the preset target specific characters; A second processing unit, configured to process the business information in the business request information in a preset manner under the business scenario to form preprocessed data if the specific character in the business request information matches the preset target specific character; The standard preprocessed data is processed in a preprocessing manner to form standard preprocessed data, and the standard preprocessed data is fed back to the client for display; if the specific characters in the business request information do not match the preset target specific characters, the abnormal business information in the business request information is displayed and an alarm message is issued.
8. A business information processing device, characterized in that: include: A service request information processing unit generates service request information and sends the service request information to the POS terminal, wherein the service request information includes the service request information input by the user; A standard pre-processing data obtaining unit, used to obtain the standard pre-processing data sent by the POS terminal for the service request information feedback; The display unit is used to display the standard preprocessing data on a display interface.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory; The memory stores a computer program, and after the processor runs the computer program, the method according to any one of claims 1 to 4 and 5 to 6 is executed.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and after the computer program is run by the processor, the method described in any one of claims 1-4 and 5-6 is executed.