Process control method, device, electronic device and storage medium
By processing instruction information by word segmentation and triggering corresponding business processes, Rom needs to continuously add translation capabilities, reduce learning and hardware costs, and improve user experience.
Patent Information
- Application Number
- CN201911043234.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-30
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2039-10-30
AI Technical Summary
In traditional technology, Rom needs to parse voice commands and translate them into intents to trigger the corresponding process of the app, resulting in the continuous addition of translation capabilities as the app's capabilities upgrade, Rom needs to continuously add translation capabilities, increasing learning costs and hardware costs.
By obtaining instruction information and performing word segmentation processing, after determining the keyword, you will directly contact the corresponding business process to avoid Rom from directly calling the App's internal capabilities and realize uncoupling between Rom and App.
It reduces the learning costs and hardware costs increased due to the upgrade of App capabilities, and improves the user experience.
Smart Images

Figure CN112748960B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to process control technology, and in particular to a process control method, device, electronic equipment and storage medium. Background Art
[0002] In traditional technology, when an application (APP) is installed, it informs the terminal's read-only memory (ROM Read-Only Memory) of its processing capabilities through the corresponding registration process. When it is necessary to open any URL (Uniform Resource Locator) through the application, after the ROM completes voice recognition and determines that it is a corresponding instruction to trigger a certain App, it directly triggers the corresponding App to register with the ROM process, thereby achieving the purpose of the ROM directly calling the internal capabilities of the App. However, in this process, the ROM needs to parse the corresponding voice instructions for the App to complete the task, and needs to translate the instructions into intent (a structured object that can be recognized by both the ROM and the App), and then trigger the App through the intent. In this process, the capabilities of the App are constantly upgraded, and the ROM has to continuously add this translation capability for the upgrade of the App, which greatly increases the learning cost and hardware cost. Summary of the invention
[0003] In view of this, the embodiments of the present invention provide a process control method, device, electronic device and storage medium, which realize the decoupling of Rom and App, and execute internal capabilities by App itself, without Rom directly triggering the internal capabilities of App, thereby avoiding the problem that Rom has to continuously add such translation capabilities for App upgrades due to continuous upgrades of App capabilities, which greatly increases the defects of learning cost and hardware cost, and effectively improves the user experience.
[0004] The technical solution of the embodiment of the present invention is achieved as follows:
[0005] An embodiment of the present invention provides a process control method, the method comprising:
[0006] Obtaining instruction information, and performing word segmentation processing on the instruction information;
[0007] Determining keywords corresponding to the instruction information according to the word segmentation processing result;
[0008] According to the keywords corresponding to the instruction information, a business process matching the instruction information is triggered, so as to complete the designated business matching the instruction information through the business process.
[0009] An embodiment of the present invention further provides a process control device, the device comprising:
[0010] An information transmission module, used for receiving instruction information;
[0011] An information processing module, used for performing word segmentation processing on the instruction information;
[0012] The information processing module is used to determine the keywords corresponding to the instruction information according to the word segmentation processing result;
[0013] The information processing module is used to trigger a business process matching the instruction information according to a keyword corresponding to the instruction information, so as to complete a designated business matching the instruction information through the business process.
[0014] In the above scheme,
[0015] The information processing module is used to determine a dynamic noise threshold that matches the usage environment of the instruction information;
[0016] The information processing module is used to perform denoising on the target text set according to the dynamic noise threshold and trigger a first word segmentation strategy that matches the dynamic noise threshold;
[0017] The information processing module is used to perform word segmentation processing on the instruction information according to a first word segmentation strategy matching the dynamic noise threshold, so as to form keywords matching the instruction information;
[0018] The information processing module is used to determine a fixed noise threshold corresponding to the instruction information;
[0019] The information processing module is used to perform denoising on the target text set according to the fixed noise threshold and trigger a second word segmentation strategy that matches the fixed noise threshold;
[0020] The information processing module is used to perform word segmentation processing on the instruction information according to a second word segmentation strategy that matches the fixed noise threshold, so as to form keywords that match the instruction information.
[0021] In the above scheme,
[0022] The information processing module is used to traverse the corresponding business parameter table according to the keyword corresponding to the instruction information, and determine the business parameter matching the keyword;
[0023] The information processing module is used to trigger a business process matching the business parameter according to the business parameter matching the keyword.
[0024] In the above scheme,
[0025] The information processing module is used to parse the business parameters matching the keyword and determine the real-time process path parameters and access update time parameters matching the business process;
[0026] The information processing module is used to match the real-time process path parameter and the access update time parameter according to the corresponding blocking list to determine the corresponding matching result;
[0027] The information processing module is used to obtain a target webpage matching the business process according to the matching result of the real-time process path parameter and the access update time parameter;
[0028] The information processing module is used to intercept the triggered business process.
[0029] In the above scheme,
[0030] The information processing module is used to determine that the target webpage of the business process is a resource transfer webpage according to the real-time process path parameter, wherein the resource transfer webpage is used to perform online resource transfer;
[0031] The information processing module is used to obtain the malicious web page access record corresponding to the terminal, wherein the malicious web page access record is used to record the terminal's access history information to the malicious web page;
[0032] The information processing module is used to determine the association relationship between the resource transfer webpage and the malicious webpage access record according to the update time parameter, and intercept the business process according to the association relationship between the resource transfer webpage and the malicious webpage access record.
[0033] In the above scheme,
[0034] The information processing module is used to traverse the malicious web page access records and determine the jump time set of the malicious web pages in the malicious web page access records;
[0035] The information processing module is used to match the update time parameter according to the jump time set of the malicious web page;
[0036] The information processing module is used to determine that the resource transfer webpage is a malicious resource transfer webpage when the update time parameter matches the jump time set of the malicious webpage;
[0037] The information processing module is used to intercept the business process when the resource transfer webpage is determined to be a malicious resource transfer webpage.
[0038] In the above scheme,
[0039] The information processing module is used for, when the business process completes the designated business matching the instruction information,
[0040] The information processing module is used to generate a target block based on the instruction information, process triggering information and a target web page matching the business process, and add the target block to the blockchain network.
[0041] An embodiment of the present invention further provides an electronic device, characterized in that the server comprises:
[0042] A memory for storing executable instructions;
[0043] The processor is used to implement the preceding process control method when running the executable instructions stored in the memory.
[0044] An embodiment of the present invention further provides a computer-readable storage medium storing executable instructions, wherein the executable instructions implement the preceding process control method when executed by a processor.
[0045] The embodiments of the present invention have the following beneficial effects:
[0046] By obtaining instruction information and performing word segmentation processing on the instruction information; determining the keywords corresponding to the instruction information according to the word segmentation processing result; triggering the business process matching the instruction information according to the keywords corresponding to the instruction information, so as to complete the designated business matching the instruction information through the business process, thereby realizing the decoupling of Rom and App, and executing internal capabilities by App itself, without Rom directly triggering the internal capabilities of App to trigger the corresponding business process, and completing the designated business matching the instruction information through the business process, reducing the need for Rom to continuously add this translation capability for App upgrades due to the continuous upgrade of App capabilities, and also reducing and increasing learning costs and hardware costs, effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of a use scenario of the process control method provided by an embodiment of the present invention;
[0048] Figure 2 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0049] Figure 3 An optional flowchart of a process control method provided by an embodiment of the present invention;
[0050] Figure 4 An optional flowchart of a process control method provided by an embodiment of the present invention;
[0051] Figure 5 An optional flowchart of a process control method provided by an embodiment of the present invention;
[0052] Figure 6 An optional flowchart of a process control method provided by an embodiment of the present invention;
[0053] Figure 7 A schematic diagram of an optional front-end display interface of the process control method provided in an embodiment of the present invention;
[0054] Figure 8 is a schematic diagram of the architecture of a process control device 100 provided in an embodiment of the present invention;
[0055] Fig. 9 It is a schematic diagram of the structure of a blockchain in a blockchain network 200 provided in an embodiment of the present invention;
[0056] Fig.10 It is a functional architecture diagram of the blockchain network 200 provided in an embodiment of the present invention;
[0057] Fig.11 A schematic diagram of an optional processing flow of the process control method provided by the present invention;
[0058] Fig.12 A schematic diagram of an optional processing flow of the process control method provided by the present invention;
[0059] Fig.13 A schematic diagram of an optional display interface of the process control method provided by the present invention;
[0060] Fig.14 A schematic diagram of an optional display interface of the process control method provided by the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0062] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0063] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of authorization of laws and regulations and the personal information subject.
[0064] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.
[0065] 1) API: The full name is Application Programming Interface, which can be translated into application program interface. It is a set of predefined functions or agreements for connecting different components of a software system. The purpose is to provide application programs and developers with the ability to access a set of routines based on certain software or hardware without having to access the original code or understand the details of the internal working mechanism.
[0066] 2) SDK: The full name is Software Development Kit, which can be translated into software development kit. It is a collection of development tools for building application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. In a broad sense, it includes a collection of related documents, examples and tools to assist in the development of a certain type of software.
[0067] 3) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0068] Figure 1 A schematic diagram of a use scenario of the process control method provided by an embodiment of the present invention, see Figure 1, the terminal (including the terminal 10-1 and the terminal 10-2) is provided with a corresponding client capable of executing different functions, wherein the corresponding client is the terminal (including the terminal 10-1 and the terminal 10-2) obtaining different web pages from the corresponding server 200 through the network 300 using different business processes for browsing, the terminal is connected to the server 200 through the network 300, the network 300 can be a wide area network or a local area network, or a combination of the two, using a wireless link to achieve data transmission, wherein the types of web pages obtained by the terminal (including the terminal 10-1 and the terminal 10-2) from the corresponding server 200 through the network 300 are not the same, for example: the terminal (including the terminal 10-1 and the terminal 10-2) can obtain video web pages (i.e., web pages carrying video information or corresponding video links) from the corresponding server 200 through the network 300, and can also obtain corresponding web pages including only text or images from the corresponding server 200 through the network 300 for browsing. The server 200 can store different types of web pages. In some embodiments of the present invention, different types of web pages stored in the server 200 may be written in software codes of different programming languages, and code objects may be different types of code entities. For example, in software code of C language, a code object may be a function. In software code of JAVA language, a code object may be a class, and in OC language on the iOS side, it may be a section of target code. In software code of C++ language, a code object may be a class or a function. In this application, the compilation environment of different types of web pages is no longer distinguished.
[0069] In the process of server 200 sending different types of web pages to terminals (terminal 10-1 and / or terminal 10-2) through network 300, server 400 needs to identify the target web pages to be accessed by different instruction information. Therefore, as an example, server 400 is used to receive instruction information sent by the terminal; obtain access parameters corresponding to the instruction information; filter the instruction information according to the access parameters to determine whether the corresponding process is in the blocking list; obtain access parameters corresponding to the instruction information; filter the instruction information according to the access parameters to achieve real-time blocking of the corresponding process.
[0070] The structure of the server of the embodiment of the present invention is described in detail below. The server can be implemented in various forms, such as a dedicated terminal with a process control function, such as a gateway, or a server with a process control function, such as the aforementioned Figure 1 Server 400 in. Figure 2 The schematic diagram of the structure of the electronic device provided by the embodiment of the present invention can be understood as follows: Figure 2 Only exemplary structures of electronic devices are shown, not all structures, and may be implemented as needed. Figure 2 Partial or complete structure shown.
[0071] The server provided in the embodiment of the present invention includes: at least one processor 201, a memory 202, a user interface 203 and at least one network interface 204. The various components in the electronic device are coupled together through a bus system 205. It can be understood that the bus system 205 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 205 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 205 is not used in the following examples. Figure 2 Various buses are labeled as bus system 205 .
[0072] The user interface 203 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0073] It is understood that the memory 202 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The memory 202 in the embodiment of the present invention can store data to support the operation of the terminal (such as 10-1). Examples of these data include: any computer program for operating on the terminal (such as 10-1), such as an operating system and an application program. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications.
[0074] In some embodiments, the process control device provided in the embodiment of the present invention can be implemented in a combination of software and hardware. As an example, the process control device provided in the embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the process control method provided in the embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array) or other electronic components.
[0075] As an example of a process control device provided in an embodiment of the present invention being implemented by a combination of software and hardware, the process control device provided in an embodiment of the present invention can be directly embodied as a combination of software modules executed by a processor 201. The software module can be located in a storage medium, and the storage medium is located in a memory 202. The processor 201 reads the executable instructions included in the software module in the memory 202, and completes the process control method provided in an embodiment of the present invention in combination with necessary hardware (for example, including a processor 201 and other components connected to a bus 205).
[0076] As an example, the processor 201 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0077] As an example of a process control device provided in an embodiment of the present invention being implemented by hardware, the device provided in an embodiment of the present invention can be directly executed by a processor 201 in the form of a hardware decoding processor, for example, being executed by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components to implement the process control method provided in an embodiment of the present invention.
[0078] The memory 202 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device. Examples of such data include: any executable instructions for operating on the electronic device, such as executable instructions, and the program for implementing the slave process control method of the embodiment of the present invention can be included in the executable instructions.
[0079] In other embodiments, the process control device provided by the embodiment of the present invention can be implemented in software. Figure 2The process control device 2020 stored in the memory 202 is shown, which may be software in the form of a program and a plug-in, and includes a series of modules. As an example of a program stored in the memory 202, the process control device 2020 may be included, and the process control device 2020 includes the following software modules: an information processing module 2081 and an information processing module 2082. When the software modules in the process control device 2020 are read into the RAM by the processor 201 and executed, the process control method provided by the embodiment of the present invention will be implemented. The functions of each software module in the process control device 2020 are introduced below:
[0080] Information transmission module 2081, used for receiving instruction information;
[0081] An information processing module 2082, used for performing word segmentation processing on the instruction information;
[0082] The information processing module 2082 is used to determine the keywords corresponding to the instruction information according to the word segmentation processing result;
[0083] The information processing module 2082 is used to trigger a business process matching the instruction information according to the keywords corresponding to the instruction information, so as to complete the designated business matching the instruction information through the business process.
[0084] Combination Figure 2 The electronic device shown illustrates the process control method provided by the embodiment of the present invention, see Figure 3 , Figure 3 An optional flow chart of the process control method provided by the embodiment of the present invention is provided. It can be understood that: Figure 3 The steps shown can be executed by various servers running the process control device, such as a dedicated terminal, server or server cluster with process control function. Figure 3 The steps shown are explained.
[0085] Step 301: The process control device obtains instruction information.
[0086] In some embodiments of the present invention, when a user triggers a corresponding process through a terminal to access a target web page, instruction information can be sent to a corresponding network server, wherein the instruction information includes but is not limited to: voice instructions, gesture instructions and text instructions.
[0087] Step 302: The process control device performs word segmentation processing on the instruction information.
[0088] Step 303: The process control device determines the keywords corresponding to the instruction information according to the word segmentation result.
[0089] Step 304: The process control device triggers the business process matching the instruction information according to the keywords corresponding to the instruction information, so as to complete the designated business matching the instruction information through the business process.
[0090] In some embodiments of the present invention, the obtaining of instruction information and the word segmentation processing of the instruction information may be implemented in the following manner:
[0091] Determine a dynamic noise threshold that matches the use environment of the instruction information; perform denoising on the target text set according to the dynamic noise threshold, and trigger a first word segmentation strategy that matches the dynamic noise threshold; perform word segmentation on the instruction information according to the first word segmentation strategy that matches the dynamic noise threshold, and form keywords that match the instruction information. Since the use environment, type, and triggering method of the instruction information are different, the dynamic noise threshold that matches the use environment of the instruction information is also different. For example, in the use environment of academic translation, the dynamic noise threshold that matches the use environment of the instruction information needs to be smaller than the dynamic noise threshold in the article reading environment.
[0092] In some embodiments of the present invention, the obtaining of instruction information and the word segmentation processing of the instruction information may be implemented in the following manner:
[0093] Determine a fixed noise threshold corresponding to the instruction information; perform denoising on the target text set according to the fixed noise threshold, and trigger a second word segmentation strategy that matches the fixed noise threshold; perform word segmentation on the instruction information according to the second word segmentation strategy that matches the fixed noise threshold, and form keywords that match the instruction information. Among them, when the instruction information is solidified in the corresponding hardware mechanism and the use environment is colloquial translation, by fixing the fixed noise threshold corresponding to the instruction information, the training speed of the instruction information can be effectively improved and the waiting time of the user can be reduced.
[0094] Continue to combine Figure 2 The electronic device shown illustrates the process control method provided by the embodiment of the present invention, see Figure 4 , Figure 4 An optional flow chart of the process control method provided by the embodiment of the present invention is provided. It can be understood that: Figure 4 The steps shown can be executed by various servers running the process control device, such as a dedicated terminal, server or server cluster with process control function. Figure 4 The steps shown are explained.
[0095] Step 3041: The process control device traverses the corresponding business parameter table according to the keyword corresponding to the instruction information, and determines the business parameter matching the keyword.
[0096] Step 3042: The process control device triggers the business process matching the business parameters according to the business parameters matching the keywords.
[0097] Among them, in order to facilitate the process control device to trigger the business process matching the business parameters according to the business parameters matching the keywords, the business parameters matching the keywords can be pre-saved in the corresponding business parameter table. For example: the keyword is "weather", the corresponding business parameters can be the web page address of the weather station and / or the voice page parameters with weather broadcast function.
[0098] Continue to combine Figure 2 The electronic device shown illustrates the process control method provided by the embodiment of the present invention, see Figure 5 , Figure 5 An optional flow chart of the process control method provided by the embodiment of the present invention is provided. It can be understood that: Figure 5 The steps shown can be executed by various servers running the process control device, such as a dedicated terminal, server or server cluster with process control function. Figure 5 The steps shown are explained.
[0099] Step 501: the process control device parses the business parameters matching the keyword, and determines the real-time process path parameters and access update time parameters matching the business process;
[0100] Step 502: the process control device matches the real-time process path parameter and the access update time parameter according to the corresponding blocking list to determine the corresponding matching result;
[0101] Step 503: According to the matching result of the real-time process path parameter and the access update time parameter, a target webpage matching the business process is obtained.
[0102] Step 504: The process control device intercepts the triggered business process according to the matching result of the real-time process path parameter and the access update time parameter.
[0103] Among them, the process control device can set a corresponding blocking list according to preset rules or historical interception information. When the real-time process path parameters and access update time parameters are matched according to the blocking list, and it is determined that the real-time process path parameters and / or access update time parameters match the information in the blocking list, it can be determined that the target web page corresponding to the instruction information is a malicious web page and should be intercepted.
[0104] In some embodiments of the present invention, the process control device performs a first matching process on the uniform resource locator of the target webpage to be triggered by the service process according to the target attribution zone, which can be implemented in the following manner:
[0105] The target webpage domain name parameter corresponding to the target webpage uniform resource locator is obtained; the target webpage holder's attribution area information corresponding to the target webpage domain name parameter is obtained; according to the target webpage holder's attribution area information and the target attribution area, the target webpage uniform resource locator is first matched to obtain the uniform resource locator matching the target attribution area. Since it is cumbersome to directly obtain the attribution information of the URL, the domain name of each URL can be extracted, and then the corresponding relationship between the URL and the holder can be indirectly obtained by connecting the corresponding table of the domain name and the holder. Therefore, the holders of the corresponding attribution area can be filtered out, and the domain names corresponding to these holders and the URL links corresponding to their domain names can be found, thereby obtaining the full target URL.
[0106] Continue to combine Figure 2 The electronic device shown illustrates the process control method provided by the embodiment of the present invention, see Figure 6 , Figure 6 An optional flow chart of the process control method provided by the embodiment of the present invention is provided. It can be understood that: Figure 6 The steps shown can be performed by various process control devices running the process control device, such as a dedicated terminal with process control function, a process control device or a process control device cluster. Figure 6 The steps shown are explained.
[0107] Step 601: The process control device determines, based on the real-time process path parameter, that the target webpage of the instruction information is a resource transfer webpage.
[0108] Wherein, the resource transfer webpage is used for online resource transfer.
[0109] In some embodiments of the present invention, when the terminal displays a resource transfer webpage containing a resource transfer graphic code, the URL corresponding to the resource transfer webpage contains a resource transfer link (i.e., the above-mentioned pre-transaction payment link) corresponding to the resource transfer graphic code, and the formats of the resource transfer links adopted by different resource transfer platforms are different. Therefore, in a possible implementation, when the process control device identifies whether the webpage currently accessed by the terminal is a resource transfer webpage, that is, detects whether the URL of the webpage contains a resource transfer link, and when it contains a resource transfer link, it can determine that the webpage is a resource transfer webpage. Since the webpage to which the resource transfer webpage is to jump may be a malicious webpage, it is necessary to verify the security of the resource transfer webpage.
[0110] Step 602: The process control device obtains the malicious web page access record corresponding to the terminal.
[0111] The malicious web page access record is used to record the terminal's access history information to the malicious web page.
[0112] In some embodiments of the present invention, the malicious web page access record includes a business process identifier, a malicious website address, a malicious type, and an access time.
[0113] In some embodiments of the present invention, in order to ensure user privacy, the process control device performs irreversible hash calculation on the network environment parameters of the terminal, such as the Internet Protocol address (IP InternetProtocol), the Media Access Control address MAC (MediaAccess Control), or the user account used when logging into the application, such as by using algorithms such as MD5 or SHA-256 (Secure Hash Algorithm, secure hash algorithm).
[0114] The user account is hashed and the calculated hash value is used as the business process identifier.
[0115] Step 603: The process control device determines the association relationship between the resource transfer webpage and the malicious webpage access record according to the update time parameter.
[0116] In some embodiments of the present invention, determining the association relationship between the resource transfer webpage and the malicious webpage access record according to the update time parameter, and intercepting the instruction information according to the association relationship between the resource transfer webpage and the malicious webpage access record can be achieved in the following manner:
[0117] Traverse the malicious web page access records to determine the jump time set of the malicious web pages in the malicious web page access records; match the update time parameter according to the jump time set of the malicious web page; when the update time parameter matches the jump time set of the malicious web page, determine that the resource transfer web page is a malicious resource transfer web page; when the resource transfer web page is determined to be a malicious resource transfer web page, intercept the instruction information. Among them, since malicious resource transfer web pages usually jump to malicious web pages in a short time (or a fixed time), by matching the update time parameter according to the jump time set of the malicious web page; when the update time parameter matches the jump time set of the malicious web page, determine that the resource transfer web page is a malicious resource transfer web page, it is possible to quickly identify malicious web pages, reduce user waiting time, and improve user experience.
[0118] In some embodiments of the present invention, after the process control device confirms the association relationship between the malicious resource transfer webpage and the malicious webpage, the process control device associates the malicious resource transfer webpage with the malicious webpage and stores them in a malicious resource transfer database.
[0119] Step 604: The process control device intercepts the instruction information according to the association relationship between the resource transfer webpage and the malicious webpage access record.
[0120] Furthermore, the process to be intercepted can be verified again by means of third-party verification to avoid erroneous interception.
[0121] Among them, reference Figure 7 , Figure 7 A schematic diagram of an optional front-end display interface of the process control method provided in an embodiment of the present invention, through Figure 7 In the display interface shown, the terminal can learn which instruction information is intercepted and which business processes are triggered while maintaining normal working status.
[0122] Therefore, when the resource transfer webpage is determined to be a malicious resource transfer webpage, the instruction information is intercepted, which can effectively avoid the attack of the malicious webpage on the process and the terminal and reduce the loss caused by the malicious webpage to the user.
[0123] In some embodiments of the present invention, the method further comprises:
[0124] When the business process completes the designated business that matches the instruction information, a target block is generated based on the instruction information, process trigger information, and the target web page that matches the business process, and the target block is added to the blockchain network. Among them, the instruction information, process trigger information, and the target web page that matches the business process stored in the blockchain network cannot be tampered with, which helps to analyze whether the target web page corresponding to the business process is a malicious web page and improve the security of process control.
[0125] Continue to see Figure 8 , Figure 8 It is a schematic diagram of the architecture of the process control device 100 provided in an embodiment of the present invention, including a blockchain network 200 (consensus nodes 210-1 to consensus nodes 210-3 are shown as an example), an authentication center 300, a business entity 400 and a business entity 500, which are described below respectively.
[0126] The types of blockchain network 200 are flexible and diverse, for example, it can be any one of public chain, private chain or alliance chain. Taking the public chain as an example, any electronic device of any business subject, such as user terminal and server, can access the blockchain network 200 without authorization; taking the alliance chain as an example, after the business subject obtains authorization, its electronic device (such as terminal / server) can access the blockchain network 200, and at this time, it becomes a client node in the blockchain network 200.
[0127] In some embodiments, the client node can only be used as an observer of the blockchain network 200, that is, to provide support for business entities to initiate transactions (for example, for storing data on the chain or querying data on the chain). For the functions of the consensus node 210 of the blockchain network 200, such as sorting function, consensus service and account book function, the client node can implement them by default or selectively (for example, depending on the specific business needs of the business entity). Thus, the data and business processing logic of the business entity can be migrated to the blockchain network 200 to the greatest extent, and the credibility and traceability of the data and business processing process can be achieved through the blockchain network 200.
[0128] The consensus nodes in the blockchain network 200 receive information from different business entities (e.g. Figure 1 The client nodes (eg, Figure 1 The client node 410 belonging to the business entity 400 and the client node 510 belonging to the database operator system 500 shown in the figure) submit transactions, execute transactions to update the ledger or query the ledger, and various intermediate results or final results of the transaction can be returned to the client node of the business entity for display.
[0129] For example, the client node 410 / 510 can subscribe to events of interest in the blockchain network 200, such as transactions occurring in a specific organization / channel in the blockchain network 200, and the consensus node 210 pushes the corresponding transaction notification to the client node 410 / 510, thereby triggering the corresponding business logic in the client node 410 / 510.
[0130] The following uses an example of multiple business entities accessing a blockchain network to implement management of instruction information and business processes matching the instruction information to illustrate an exemplary application of a blockchain network.
[0131] See also Figure 8 , multiple business entities involved in the management link, such as business entity 400 can be an artificial intelligence-based process control device, and business entity 500 can be a display system with process control function, register with the authentication center 300 to obtain their respective digital certificates, which include the public key of the business entity and the digital signature signed by the authentication center 300 on the public key and identity information of the business entity, which is used to attach to the transaction together with the digital signature of the business entity for the transaction, and is sent to the blockchain network, so that the blockchain network can take out the digital certificate and signature from the transaction, verify the reliability of the message (i.e., whether it has not been tampered with) and the identity information of the business entity that sent the message, and the blockchain network will verify according to the identity, such as whether it has the authority to initiate a transaction. The client running on the electronic device (such as a terminal or server) under the jurisdiction of the business entity can request access to the blockchain network 200 and become a client node.
[0132] The client node 410 of the business entity 400 is used to obtain instruction information and perform word segmentation processing on the instruction information; determine the keywords corresponding to the instruction information based on the word segmentation processing results; trigger the business process matching the instruction information based on the keywords corresponding to the instruction information, so as to complete the specified business matching the instruction information through the business process, and send the corresponding instruction information and the business process information matching the instruction information to the blockchain network 200.
[0133] Among them, the corresponding instruction information and the business process information matching the instruction information are sent to the blockchain network 200. The business logic can be set in advance in the client node 410. When the corresponding three-dimensional map is formed, the client node 410 automatically sends the instruction information to be processed and the business process information matching the instruction information to the blockchain network 200. The business personnel of the business subject 400 can also log in to the client node 410, manually package the instruction information and the business process information matching the instruction information and the corresponding conversion process information, and send them to the blockchain network 200. When sending, the client node 410 generates a transaction corresponding to the update operation according to the instruction information and the business process information matching the instruction information and the corresponding conversion business process information. The transaction specifies the smart contract to be called to implement the update operation and the parameters passed to the smart contract. The transaction also carries the digital certificate of the client node 410 and the signed digital signature (for example, the summary of the transaction is encrypted using the private key in the digital certificate of the client node 410), and the transaction is broadcast to the consensus node 210 in the blockchain network 200.
[0134] When the consensus node 210 in the blockchain network 200 receives a transaction, it verifies the digital certificate and digital signature carried in the transaction. After successful verification, it confirms whether the business subject 400 has transaction authority based on the identity of the business subject 400 carried in the transaction. Any verification judgment in the digital signature and authority verification will cause the transaction to fail. After successful verification, the node 210 signs its own digital signature (for example, using the private key of node 210-1 to encrypt the summary of the transaction) and continues to broadcast in the blockchain network 200.
[0135] After receiving the successfully verified transaction, the consensus node 210 in the blockchain network 200 fills the transaction into a new block and broadcasts it. When the consensus node 210 in the blockchain network 200 broadcasts a new block, it will perform a consensus process on the new block. If the consensus is successful, the new block will be appended to the end of the blockchain stored by itself, and the state database will be updated according to the result of the transaction, and the transaction in the new block will be executed: for transactions that submit update instructions to be processed, business process information matching the instruction information, and corresponding process trigger information, a key-value pair including the instruction information, business process information matching the instruction information, and corresponding process trigger information is added to the state database.
[0136] The business personnel of the business entity 500 log in to the client node 510, input the instruction information and the business process information query request matching the instruction information, and the client node 510 generates a transaction corresponding to the update operation / query operation according to the instruction information and the business process information query request matching the instruction information. The transaction specifies the smart contract to be called to implement the update operation / query operation and the parameters to be passed to the smart contract. The transaction also carries the digital certificate of the client node 510, the signed digital signature (for example, the summary of the transaction is encrypted using the private key in the digital certificate of the client node 510), and broadcasts the transaction to the consensus node 210 in the blockchain network 200.
[0137] The consensus node 210 in the blockchain network 200 receives the transaction, verifies the transaction, fills the block and reaches consensus, then appends the filled new block to the end of the blockchain stored in itself, updates the status database according to the transaction result, and executes the transaction in the new block: for the transaction submitted to update the manual recognition result corresponding to a certain three-dimensional map data information, the key-value pair corresponding to the three-dimensional map data information in the status database is updated according to the manual recognition result; for the transaction submitted to query a certain three-dimensional map data information, the instruction information and the key-value pair corresponding to the business process information matching the instruction information are queried from the status database, and the transaction result is returned.
[0138] It is worth noting that in Figure 8 The process of directly uploading instruction information and business process information matching the instruction information and corresponding process trigger information to the chain is exemplarily shown in the figure. However, in other embodiments, for the case where the instruction information and the business process information matching the instruction information have a large amount of data, the client node 410 can upload the instruction information and the hash of the business process information matching the instruction information and the corresponding instruction information and the hash of the business process information matching the instruction information to the chain in pairs, and store the instruction information and the business process information matching the instruction information and the corresponding process trigger information in a distributed file system or database. After the client node 510 obtains the instruction information and the business process information matching the instruction information and the corresponding process trigger information from the distributed file system or database, it can be verified in combination with the corresponding hash in the blockchain network 200, thereby reducing the workload of the uploading operation.
[0139] As an example of blockchain, see Fig. 9 , Fig. 9It is a structural diagram of the blockchain in the blockchain network 200 provided by an embodiment of the present invention. The header of each block can include the hash value of all transactions in the block, and also includes the hash value of all transactions in the previous block. The newly generated transaction records are filled into the block and after the consensus of the nodes in the blockchain network, they will be appended to the end of the blockchain to form a chain growth. The chain structure based on hash values between blocks ensures the anti-tampering and anti-counterfeiting of transactions in the block.
[0140] The following describes an exemplary functional architecture of a blockchain network provided by an embodiment of the present invention. Fig.10 , Fig.10 2 is a functional architecture diagram of a blockchain network 200 provided in an embodiment of the present invention, including an application layer 201, a consensus layer 202, a network layer 203, a data layer 204 and a resource layer 205, which are described below respectively.
[0141] The resource layer 205 encapsulates the computing resources, storage resources, and communication resources of each node 210 in the blockchain network 200.
[0142] The data layer 204 encapsulates various data structures for implementing the ledger, including the blockchain implemented as files in the file system, the key-value state database, and the existence proof (such as the hash tree of transactions in the block).
[0143] The network layer 203 encapsulates the functions of point-to-point (P2P) network protocol, data transmission mechanism and data verification mechanism, access authentication mechanism and business subject identity management.
[0144] Among them, the P2P network protocol realizes the communication between the nodes 210 in the blockchain network 200, the data propagation mechanism ensures the propagation of transactions in the blockchain network 200, and the data verification mechanism is used to realize the reliability of data transmission between the nodes 210 based on cryptographic methods (such as digital certificates, digital signatures, public / private key pairs); the access authentication mechanism is used to authenticate the identity of the business subject joining the blockchain network 200 according to the actual business scenario, and grant the business subject the right to access the blockchain network 200 when the authentication is passed; the business subject identity management is used to store the identity of the business subject allowed to access the blockchain network 200, and the authority (such as the type of transaction that can be initiated).
[0145] The consensus layer 202 encapsulates the mechanism (i.e., consensus mechanism) for the nodes 210 in the blockchain network 200 to reach a consensus on the blocks, transaction management, and account management functions. The consensus mechanism includes consensus algorithms such as POS, POW, and DPOS, and supports pluggable consensus algorithms.
[0146] Transaction management is used to verify the digital signature carried in the transaction received by the verification node 210, verify the identity information of the business subject, and determine whether it has the authority to conduct transactions based on the identity information (read relevant information from the business subject identity management); for business subjects that have obtained authorization to access the blockchain network 200, they all have digital certificates issued by the certification center. The business subject uses the private key in its own digital certificate to sign the submitted transaction, thereby declaring its legal identity.
[0147] Ledger management is used to maintain the blockchain and state database. For the blocks that have reached consensus, they are appended to the end of the blockchain; the transactions in the blocks that have reached consensus are executed, and when the transaction includes an update operation, the key-value pairs in the state database are updated; when the transaction includes a query operation, the key-value pairs in the state database are queried and the query results are returned to the client node of the business subject. Supports query operations on the state database in multiple dimensions, including: querying blocks based on block vector numbers (such as the hash value of transactions); querying blocks based on block hash values; querying blocks based on transaction vector numbers; querying transactions based on transaction vector numbers; querying the account data of business subjects based on the account number (vector number) of the business subject; querying the blockchain in the channel based on the channel name.
[0148] The application layer 201 encapsulates various services that can be implemented in the blockchain network, including transaction traceability, evidence storage and verification.
[0149] Next, we will continue to use the example of using voice commands to trigger the corresponding business process through the read-only memory of an electronic device to illustrate the process control method provided by the present invention. First, the use environment of the process control method provided by the present application is explained. When the traditional application (APP) is installed, it has informed the terminal's read-only memory (ROM Read-Only Memory) of its own processing capabilities through the corresponding registration process. When it is necessary to open any URL (Uniform Resource Locator) through the application, after completing voice recognition, Rom directly triggers the corresponding App to register with Rom when it determines that it is a corresponding instruction to trigger a certain App. Thus, the purpose of Rom directly calling the internal capabilities of App is achieved. However, in this process, Rom needs to parse the tasks that the corresponding voice commands need to be completed by App, and needs to translate the commands into intent (a structured object that both Rom and App can recognize), and then trigger App through intent. However, the capabilities of App are constantly upgraded, and Rom has to continuously add this translation capability for the upgrade of App, which greatly increases the learning cost.
[0150] Continue to refer Fig.11 , Fig.11An optional processing flow diagram of the process control method provided by the present invention includes the following steps:
[0151] Step 1101: Acquire voice command information, and parse and process the voice command information;
[0152] Step 1102: triggering a service process matching the instruction information according to the analysis result;
[0153] Step 1103: completing the designated business matching the instruction information through the business process.
[0154] In some embodiments of the present invention, reference Fig.12 , Fig.12 This is an optional processing flow diagram of the process control method provided by the present invention; the process control method provided by the present invention is further described from Rom voice recognition to the final App execution instruction process, which specifically includes the following steps:
[0155] 1) Rom receives voice commands;
[0156] in, Fig.13 A schematic diagram of an optional display interface of the process control method provided by the present invention; Fig.13 The display interface Rom shown can receive voice commands from different users.
[0157] 2) Rom recognizes voice commands and breaks down the commands. For example, "search "weather" in the browser" will be broken down into browser and search "weather";
[0158] 3) Rom finds the browser in the installed list and opens it, passing in the parameter "voicecommand: search weather" in the intent of opening the browser;
[0159] Wherein, the browser supports the use of qb addresses;
[0160] in, Fig.14 A schematic diagram of an optional display interface of the process control method provided by the present invention; Fig.14 The display interface Rom shown can process voice commands.
[0161] 4) The first Activiy of the browser receives the intent and searches for the parameter voicecommand in the intent. If it is found, it proceeds to the next step, otherwise it goes to the main interface;
[0162] 5) Send voicecommand to the browser speech recognition background, and the background returns the qb address;
[0163] 6) Open the qb address in the browser.
[0164] Among them, qb address introduction: The format of qb address is as follows:
[0165] qb: / / home
[0166] qb: / / search?key=xxx
[0167] The role of the qb address in the browser is to use a unified format such as a url address to trigger the various capabilities of the browser. The specific execution process is to first parse the field before the "?" character in the url, use this field to find the corresponding module in the key-module table (the key-module table is a pre-defined table), and then pass the string after the "?" character to this module. This module will parse the string (because the string is formatted as key=value&key=value), and the corresponding module can perform the corresponding operation. In this way, the Rom and App can be decoupled, allowing the App to execute its internal capabilities on its own, without the need for the Rom to directly trigger the App's internal capabilities. This avoids the need for the Rom to continuously add this translation capability for the App upgrade due to the continuous upgrade of the App's capabilities, which greatly increases the learning cost and hardware cost, and effectively improves the user experience.
[0168] The present invention has the following beneficial technical effects:
[0169] The process control method provided by the present invention obtains instruction information and performs word segmentation processing on the instruction information; determines keywords corresponding to the instruction information according to the word segmentation processing result; triggers a business process matching the instruction information according to the keywords corresponding to the instruction information, so as to complete the designated business matching the instruction information through the business process, thereby realizing the decoupling of Rom and App, and executing internal capabilities by App itself, without Rom directly triggering the internal capabilities of App to trigger the corresponding business process, and completing the designated business matching the instruction information through the business process, which reduces the need for Rom to continuously add such translation capabilities for App upgrades due to the continuous upgrade of App capabilities, and also reduces and improves the learning cost and hardware cost, effectively improving the user experience.
[0170] The above descriptions are merely embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A process control method, characterized in that: Applied to a gateway or a server having a process control device, the method comprises: The process control device acquires instruction information, and performs word segmentation processing on the instruction information to obtain a word segmentation processing result; The process control device determines the keywords corresponding to the instruction information according to the word segmentation processing result; The process control device traverses the corresponding service parameter table according to the keyword corresponding to the instruction information to obtain the service parameter matching the keyword, wherein the service parameter table pre-stores different service parameters matching different keywords; The application program obtains the business parameters matching the keywords from the structured object of the application program, and triggers the business process matching the business parameters according to the business parameters, so as to complete the designated business matching the instruction information through the business process; The process control device parses the business parameters matching the keyword to determine the real-time process path parameters and access update time parameters matching the business process; The process control device performs matching processing on the real-time process path parameter and the access update time parameter according to the corresponding blocking list to determine the corresponding matching result; The process control device acquires a target webpage matching the business process according to a matching result of the real-time process path parameter and the access update time parameter; The process control device intercepts the triggered business process according to the matching result of the real-time process path parameter and the access update time parameter; The process control device determines, according to the real-time process path parameter, that the target webpage of the business process is a resource transfer webpage, wherein the resource transfer webpage is used to perform online resource transfer; The process control device obtains a malicious web page access record corresponding to the terminal, wherein the malicious web page access record is used to record the terminal's access history information to the malicious web page; The process control device determines the association relationship between the resource transfer webpage and the malicious webpage access record according to the access update time parameter, and intercepts the business process according to the association relationship between the resource transfer webpage and the malicious webpage access record.
2. The method according to claim 1, characterized in that The obtaining instruction information and performing word segmentation processing on the instruction information includes: Determining a dynamic noise threshold that matches a usage environment of the instruction information; Performing denoising on the target text set according to the dynamic noise threshold, and triggering a first word segmentation strategy that matches the dynamic noise threshold; performing word segmentation processing on the instruction information according to a first word segmentation strategy matching the dynamic noise threshold; or determining a fixed noise threshold corresponding to the instruction information; Performing denoising processing on the target text set according to the fixed noise threshold, and triggering a second word segmentation strategy matching the fixed noise threshold; The instruction information is word segmented according to a second word segmentation strategy that matches the fixed noise threshold.
3. The method according to claim 1, characterized in that The process control device determines the association relationship between the resource transfer webpage and the malicious webpage access record according to the access update time parameter, and intercepts the business process according to the association relationship between the resource transfer webpage and the malicious webpage access record, including: Traversing the malicious web page access records, and determining a jump time set of malicious web pages in the malicious web page access records; Matching the access update time parameter according to the jump time set of the malicious web page; When the access update time parameter matches the jump time set of the malicious webpage, determining that the resource transfer webpage is a malicious resource transfer webpage; When the resource transfer webpage is determined to be a malicious resource transfer webpage, the business process is intercepted.
4. The method according to claim 1, characterized in that The method further comprises: When the business process completes the specified business matching the instruction information, Based on the instruction information, the process triggering information and the target web page matching the business process, a target block is generated, and the target block is added to the blockchain network.
5. A process control device, used to implement the process control method according to any one of claims 1 to 4, characterized in that: The device comprises: An information transmission module, used for receiving instruction information; An information processing module, used for performing word segmentation processing on the instruction information; The information processing module is used to determine the keywords corresponding to the instruction information according to the word segmentation processing result; The information processing module is used to trigger a business process matching the instruction information according to a keyword corresponding to the instruction information, so as to complete a designated business matching the instruction information through the business process.
6. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the process control method according to any one of claims 1 to 4 when running the executable instructions stored in the memory.
7. A computer-readable storage medium storing executable instructions, characterized in that: When the executable instructions are executed by the processor, the process control method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Data processing method, device and terminal
CN105278970A
Malicious resource transfer webpage identification method and device
CN110020239A
User intention identification method and device
CN110162780A