User terminal-based message data processing method, apparatus and device
Patent Information
- Application Number
- CN202111444908.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2041-11-30
AI Technical Summary
[0005]本申请提供一种基于用户终端的消息数据处理方法、装置及设备,用以解决用户终端的应用效率较低的技术问题
[0046] This application provides a message data processing method, apparatus, and device based on a user terminal. The method involves acquiring various types of business messages about the user terminal; performing syntactic analysis on these messages to obtain syntactic analysis result information; and matching this result information with preset strong rule matching information to obtain a matched standard business instruction. The strong rule matching information includes first-level matching information and second-level matching information, where the first-level and/or second-level matching information includes the standard business instruction corresponding to the syntactic analysis result information. The method then controls the operation of the corresponding user terminal based on the standard business instruction. In this solution, syntactic analysis can be performed on various types of business messages to obtain syntactic analysis result information. This result information is then matched with preset first-level and/or second-level matching information. Since the first-level and/or second-level matching information includes the standard business instruction corresponding to the syntactic analysis result information, the matched standard business instruction can be obtained from the first-level and/or second-level matching information, and the corresponding user terminal can be controlled based on the standard business instruction. Therefore, after performing syntactic analysis on various types of business messages and obtaining the syntactic analysis results, the standard business instructions corresponding to the syntactic analysis results can be determined by matching the information with preset strong rules. Then, the corresponding user terminal can be controlled to run according to the standard business instructions, which greatly improves the accuracy and time consumption when identifying and processing business messages and solves the technical problem of low application efficiency of user terminals.
Smart Images

Figure CN116205213B_ABST
Abstract
Description
Technical Field
[0001] This application relates to data processing technology, and more particularly to a message data processing method, apparatus, and device based on a user terminal. Background Technology
[0002] Currently, with the development of Internet technology, the types and functions of user terminals are also increasing. In order to use various types of user terminals, it is necessary to control the user terminals.
[0003] In existing technologies, when controlling a user terminal, it is usually done by sending instructions to the corresponding user terminal through a remote control, and then controlling the operation of the user terminal according to the sent instructions.
[0004] However, in the existing technology, since the user terminal can only be controlled by sending commands to the user terminal via a remote control, the types of commands for controlling the user terminal are relatively limited, resulting in low application efficiency of the user terminal. Summary of the Invention
[0005] This application provides a message data processing method, apparatus, and device based on a user terminal to solve the technical problem of low application efficiency of user terminals.
[0006] Firstly, this application provides a message data processing method based on a user terminal, including:
[0007] Obtain various types of business messages about the user terminal;
[0008] Syntactic analysis is performed on various types of business messages to obtain syntactic analysis result information. The syntactic analysis result information is then matched with preset strong rule matching information to obtain a matched standard business instruction. The strong rule matching information includes first-level matching information and second-level matching information. The first-level matching information and / or the second-level matching information includes the standard business instruction corresponding to the syntactic analysis result information.
[0009] The corresponding user terminal is controlled to operate according to the standard service instructions.
[0010] Further, the syntactic analysis results are matched with preset strong rule matching information to obtain the matched standard business instructions, including:
[0011] The syntactic analysis results are then matched sequentially with the first-level matching information and the second-level matching information to obtain the matched standard business instructions.
[0012] Further, the syntactic analysis result information is sequentially matched with the first-level matching information and the second-level matching information to obtain the matched standard business instructions, including:
[0013] Determine whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information;
[0014] If the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information, then a standard business instruction that matches the syntactic analysis result information is determined from the first-level instruction set of the first-level matching information.
[0015] If the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information, then determine whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information;
[0016] If the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information, then a standard business instruction that matches the syntactic analysis result information is determined from the second-level instruction set of the second-level matching information.
[0017] Furthermore, the types of business messages include text messages, voice messages, and irregular messages.
[0018] Furthermore, syntactic analysis is performed on various types of business messages to obtain syntactic analysis results, including:
[0019] Syntactic analysis is performed on various types of business messages to obtain sentence components, sentence structure, and syntactic classification in the business messages. The sentence components, sentence structure, and syntactic classification are then identified as the syntactic analysis result information.
[0020] Furthermore, controlling the operation of the corresponding user terminal according to the standard service instructions includes:
[0021] The standard service instructions are sent to the corresponding user terminals, and the user terminals are controlled to operate.
[0022] Furthermore, after obtaining various types of business messages about the user terminal, it also includes:
[0023] The business message is preprocessed to obtain a preprocessed business message.
[0024] Secondly, this application provides a message data processing apparatus based on a user terminal, comprising:
[0025] The acquisition unit is used to acquire various types of business messages about the user terminal;
[0026] The syntactic analysis unit is used to perform syntactic analysis on various types of business messages to obtain syntactic analysis results.
[0027] A matching unit is used to match the syntactic analysis result information with preset strong rule matching information to obtain a matched standard business instruction; wherein, the strong rule matching information includes first-level matching information and second-level matching information, and the first-level matching information and / or the second-level matching information includes a standard business instruction corresponding to the syntactic analysis result information;
[0028] The operation unit is used to control the operation of the corresponding user terminal according to the standard service instructions.
[0029] Further, the matching unit includes:
[0030] The matching module is used to match the syntactic analysis result information with the first-level matching information and the second-level matching information in sequence to obtain the matched standard business instructions.
[0031] Furthermore, the matching module includes:
[0032] The first judgment submodule is used to determine whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information;
[0033] The first determining submodule is used to determine, in the first-level instruction set of the first-level matching information, a standard business instruction that matches the syntactic analysis result information if the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information;
[0034] The second judgment submodule is used to determine whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information if the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information.
[0035] The second determining submodule is used to determine, in the set of secondary instructions of the secondary matching information, a standard business instruction that matches the syntactic analysis result information if the syntactic analysis result information meets the preset second syntactic requirements of the secondary matching information.
[0036] Furthermore, the types of business messages include text messages, voice messages, and irregular messages.
[0037] Furthermore, the syntactic analysis unit is specifically used for:
[0038] Syntactic analysis is performed on various types of business messages to obtain sentence components, sentence structure, and syntactic classification in the business messages. The sentence components, sentence structure, and syntactic classification are then identified as the syntactic analysis result information.
[0039] Furthermore, the operating unit is specifically used for:
[0040] The standard service instructions are sent to the corresponding user terminals, and the user terminals are controlled to operate.
[0041] Furthermore, the device also includes:
[0042] The preprocessing unit is used to preprocess the service messages after obtaining various types of service messages about the user terminal to obtain preprocessed service messages.
[0043] Thirdly, this application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described in the first aspect.
[0044] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect.
[0045] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0046] This application provides a message data processing method, apparatus, and device based on a user terminal. The method involves acquiring various types of business messages about the user terminal; performing syntactic analysis on these messages to obtain syntactic analysis result information; and matching this result information with preset strong rule matching information to obtain a matched standard business instruction. The strong rule matching information includes first-level matching information and second-level matching information, where the first-level and / or second-level matching information includes the standard business instruction corresponding to the syntactic analysis result information. The method then controls the operation of the corresponding user terminal based on the standard business instruction. In this solution, syntactic analysis can be performed on various types of business messages to obtain syntactic analysis result information. This result information is then matched with preset first-level and / or second-level matching information. Since the first-level and / or second-level matching information includes the standard business instruction corresponding to the syntactic analysis result information, the matched standard business instruction can be obtained from the first-level and / or second-level matching information, and the corresponding user terminal can be controlled based on the standard business instruction. Therefore, after performing syntactic analysis on various types of business messages and obtaining the syntactic analysis results, the standard business instructions corresponding to the syntactic analysis results can be determined by matching the information with preset strong rules. Then, the corresponding user terminal can be controlled to run according to the standard business instructions, which greatly improves the accuracy and time consumption when identifying and processing business messages and solves the technical problem of low application efficiency of user terminals. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0048] Figure 1 A flowchart illustrating a message data processing method based on a user terminal, provided as an embodiment of this application;
[0049] Figure 2 A flowchart illustrating another message data processing method based on a user terminal provided in an embodiment of this application;
[0050] Figure 3 This application provides a schematic diagram of the structure of a message data processing device based on a user terminal.
[0051] Figure 4 A schematic diagram of another message data processing device based on a user terminal provided in this application embodiment;
[0052] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0053] Figure 6 This is a block diagram of an electronic device provided in an embodiment of this application.
[0054] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0055] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.
[0056] In one example, with the development of internet technology, the types and functions of user terminals have also increased. To use various types of user terminals, control of these terminals is necessary. In existing technologies, user terminal control typically involves sending commands to the corresponding user terminal via a remote control, which then controls the terminal's operation. However, because existing technologies can only send commands to the user terminal via a remote control, the types of commands available for controlling the terminal are relatively limited, leading to low application efficiency.
[0057] This application provides a message data processing method, apparatus, and device based on a user terminal, which aims to solve the above-mentioned technical problems in the prior art.
[0058] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0059] Figure 1 This application provides a flowchart illustrating a message data processing method based on a user terminal, as shown in the embodiments below. Figure 1 As shown, it includes:
[0060] 101. Obtain various types of business messages about user terminals.
[0061] For example, the executing entity of this embodiment can be an electronic device, a terminal device, a message data processing device or device based on a user terminal, or other device or device capable of executing this embodiment, and there is no limitation thereto. In this embodiment, the executing entity is described as an electronic device.
[0062] First, it is necessary to obtain various types of service messages about the user terminal. For example, user terminals include home devices such as smart TVs, air conditioners, and humidifiers. The types of service messages include text messages, voice messages, and irregular messages, where irregular messages include binary data, English letters, etc. When a user needs to operate a particular user terminal, the user can send the corresponding service message to the electronic device. The electronic device receives the service message according to the standardized interface corresponding to different service definitions and converts it into corresponding standard service instructions. Then, it can control the corresponding user terminal to operate according to the standard service instructions. The electronic device can receive service messages through methods such as voice input and text input.
[0063] For example, a smart TV corresponds to a smart TV interface. When a user needs to turn on the smart TV, the user can send a corresponding voice message to the electronic device. The electronic device receives the voice message according to the voice module and converts the voice message into a corresponding standard service command, which can then be used to control the smart TV.
[0064] 102. Perform syntactic analysis on various types of business messages to obtain syntactic analysis results.
[0065] For example, electronic devices can perform syntactic analysis on various types of business messages to obtain syntactic analysis results. For instance, when an electronic device receives a business message about IPTV, it can perform syntactic analysis on various types of such business messages to obtain syntactic analysis results.
[0066] 103. Match the syntactic analysis result information with the preset strong rule matching information to obtain the matched standard business instructions; wherein, the strong rule matching information includes first-level matching information and second-level matching information, and the first-level matching information and / or second-level matching information includes the standard business instructions corresponding to the syntactic analysis result information.
[0067] For example, the strong rule matching information includes first-level matching information and second-level matching information. The first-level matching information and / or the second-level matching information includes standard business instructions corresponding to the syntactic analysis result information. Matching the syntactic analysis result information with the preset strong rule matching information is equivalent to matching the syntactic analysis result information with the first-level matching information. If the syntactic analysis result information matches the first-level matching information, the matched standard business instruction can be obtained. If the syntactic analysis result information does not match the first-level matching information, then the syntactic analysis result information is matched with the second-level matching information to obtain the matched standard business instruction.
[0068] 104. Control the operation of the corresponding user terminal according to standard business instructions.
[0069] For example, an electronic device can send standard service instructions to the corresponding user terminal and control the operation of the user terminal according to the standard service instructions.
[0070] In this embodiment, various types of business messages about a user terminal are acquired. Syntactic analysis is performed on these messages to obtain syntactic analysis results. These results are then matched with preset strong rule matching information to obtain a matched standard business instruction. The strong rule matching information includes first-level and second-level matching information, and the first-level and / or second-level matching information includes the standard business instruction corresponding to the syntactic analysis results. The user terminal is then controlled to operate according to the standard business instruction. In this solution, syntactic analysis is performed on various types of business messages to obtain syntactic analysis results. These results are then matched with preset first-level and / or second-level matching information. Since the first-level and / or second-level matching information includes the standard business instruction corresponding to the syntactic analysis results, the matched standard business instruction can be obtained from the first-level and / or second-level matching information, and the user terminal can then be controlled to operate according to the standard business instruction. Therefore, after performing syntactic analysis on various types of business messages and obtaining the syntactic analysis results, the standard business instructions corresponding to the syntactic analysis results can be determined by matching the information with preset strong rules. Then, the corresponding user terminal can be controlled to run according to the standard business instructions, which greatly improves the accuracy and time consumption when identifying and processing business messages and solves the technical problem of low application efficiency of user terminals.
[0071] Figure 2 A flowchart illustrating another message data processing method based on a user terminal provided in this application embodiment is shown below. Figure 2 As shown, the method includes:
[0072] 201. Obtain various types of business messages about user terminals.
[0073] In one example, the types of business messages include text messages, voice messages, and irregular messages.
[0074] For example, this step can be referred to Figure 1 Step 101 in the text will not be repeated here.
[0075] 202. Preprocess the business messages to obtain preprocessed business messages.
[0076] For example, when an electronic device receives a voice message, it needs to preprocess the voice message to obtain a converted text message. During the conversion process, features of the voice information are extracted and input into a pre-trained acoustic model. This acoustic model is a pre-trained model based on features of multiple voice information and a supervised learning machine learning algorithm. The acoustic model includes several voice templates of characters or words. The acoustic model compares the voice templates stored in the computer with the features of the input voice information to determine the voice template corresponding to each feature in the voice information. Then, based on a pre-set dictionary, it determines a series of optimal characters or words corresponding to each voice template. For example, the same sound may correspond to multiple different characters or words. Finally, in a pre-set language model, based on a certain search and matching strategy, it determines a unique character or word corresponding to each voice template. Then, based on the unique character or word corresponding to each voice template, it determines a unique text message that matches the input voice, thus converting the voice message into a unique text message.
[0077] When an electronic device receives an irregular message, it still needs to preprocess the irregular message. For example, when the irregular message is a binary number, each number in the binary number represents a conversion rule information. Each number in the binary number can be converted according to the conversion rule information to obtain a text message. Alternatively, each group of binary numbers represents a conversion rule information. Each group of binary numbers can be converted according to the conversion rule information to obtain a text message. This invention does not limit this.
[0078] 203. Perform syntactic analysis on various types of business messages to obtain sentence components, sentence structure, and syntactic classification in the business messages, and determine the sentence components, sentence structure, and syntactic classification as the syntactic analysis result information.
[0079] For example, after receiving a business message, the electronic device performs syntactic analysis on the business information to identify the sentence components, sentence structure, and syntactic classification in the business information. The sentence components, sentence structure, and syntactic classification are the syntactic analysis result information.
[0080] 204. Match the syntactic analysis results with the first-level matching information and the second-level matching information in sequence to obtain the matched standard business instructions; wherein, the strong rule matching information includes the first-level matching information and the second-level matching information, and the first-level matching information and / or the second-level matching information includes the standard business instructions corresponding to the syntactic analysis results information.
[0081] In one example, it is determined whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information; if the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information, then the standard business instruction matching the syntactic analysis result information is determined from the first-level instruction set of the first-level matching information; if the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information, it is determined whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information; if the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information, then the standard business instruction matching the syntactic analysis result information is determined from the second-level instruction set of the second-level matching information.
[0082] For example, the electronic device first determines whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information. If the syntactic analysis result information meets the preset syntactic requirements of the first-level matching information, then a standard business instruction matching the syntactic analysis result information is determined from the first-level instruction set of the first-level matching information. If the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information, then it determines whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information. If the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information, then a standard business instruction matching the syntactic analysis result information is determined from the second-level instruction set of the second-level matching information.
[0083] For example, the first-level matching information is implemented by process.py. The first-level matching information includes several simple intents, such as: play xx (TV program channel number), switch xx (TV program channel number), turn on xx (user terminal name or its unique identifier), turn off xx (user terminal name or its unique identifier), and volume xx (increase, decrease, increase to a specific volume value, or decrease to a specific volume value). Each simple intent corresponds to several standard business instructions. For example, the standard business instructions corresponding to turn on xx (user terminal name or its unique identifier) include: turn on internet TV, turn on air conditioning, etc. The second-level matching information is summarized by the function judge_intend_slot in template.py, which aggregates various complex intents. The diagram includes: "Close + Location + User Terminal Name or its Unique Identifier", "Open + Location + User Terminal Name or its Unique Identifier", "Location + User Terminal Name or its Unique Identifier + Person Name + Work Name", etc. Each complex intent corresponds to several standard business instructions. For example, the standard business instructions corresponding to "Close + Location + User Terminal Name or its Unique Identifier" include: "Turn off the air conditioner in the bedroom", "Turn off the air conditioner in the living room", "Turn off the internet TV in the living room", etc. When the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information, when determining the standard business instructions that match the syntactic analysis result information in the second-level instruction set of the second-level matching information, the complex intent is judged according to the logical judgment order of each complex intent. The logical judgment order is the order of the components of the complex intent.
[0084] For example, the business information is "Turn on Internet TV". Syntactic analysis of "Turn on Internet TV" yields the following result: "Turn on, Internet TV" (which is the name of the user terminal). The electronic device first determines whether the result "Turn on, Internet TV" meets the preset first syntactic requirements of the first-level matching information. Since the preset first syntactic requirements include "Turn on xx" (the name of the user terminal or its unique identifier), "Turn on, Internet TV" meets the preset syntactic requirements of the first-level matching information. Then, based on "Turn on, Internet TV" (which is the name of the user terminal), the standard business instruction "Turn on Internet TV" that matches "Turn on, Internet TV" (which is the name of the user terminal) is determined from the first-level instruction set of the first-level matching information.
[0085] When the business information is "Turn on the internet TV in the bedroom," syntactic analysis is performed on "Turn on the internet TV in the bedroom." The resulting syntactic analysis information is: "Turn on," "Bedroom (i.e., location), Internet TV (i.e., the name of the user terminal)." The electronic device first determines whether the syntactic analysis result "Turn on," "Bedroom (i.e., location), Internet TV (i.e., the name of the user terminal)" meets the preset first syntactic requirements for first-level matching information. Since the preset first syntactic requirements do not include "Turn on" + "Location" + "User Terminal Name" or its corresponding unique identifier, "Turn on," "Bedroom (i.e., location), Internet TV (i.e., the name of the user terminal)" does not meet the preset first syntactic requirements for first-level matching information. Then, it is necessary to further determine whether the syntactic analysis result information "Open, Bedroom (i.e., location), Internet TV (i.e., the name of the user terminal)" meets the preset second syntactic requirements of the second-level matching information. Since the preset second syntactic requirements of the second-level matching information include Open + Location + Name of the user terminal or the unique identifier corresponding to the name, it indicates that the syntactic analysis result information "Open, Bedroom (i.e., location), Internet TV (i.e., the name of the user terminal)" meets the preset second syntactic requirements of the second-level matching information. Therefore, in the second-level instruction set of the second-level matching information, the standard business instruction that matches the syntactic analysis result information "Open, Bedroom (i.e., location), Internet TV (i.e., the name of the user terminal)" is determined.
[0086] 205. Send standard service instructions to the corresponding user terminals and control the operation of the user terminals.
[0087] For example, an electronic device can send standard service instructions to the corresponding user terminal and control the operation of the user terminal according to the standard service instructions.
[0088] In this embodiment, various types of business messages about a user terminal are acquired. These business messages are preprocessed to obtain preprocessed business messages. Syntactic analysis is performed on these various types of business messages to obtain sentence components, sentence structure, and syntactic classification. These three elements are then identified as syntactic analysis result information. The syntactic analysis result information is sequentially matched with first-level and second-level matching information to obtain matched standard business instructions. The strong rule matching information includes first-level and second-level matching information, and the first-level and / or second-level matching information includes the standard business instructions corresponding to the syntactic analysis result information. The standard business instructions are sent to the corresponding user terminal, controlling the user terminal's operation. Therefore, after performing syntactic analysis on various types of business messages and obtaining syntactic analysis result information, the standard business instructions corresponding to the syntactic analysis result information can be determined through preset strong rule matching information. This allows for the control of the corresponding user terminal based on the standard business instructions, greatly improving the accuracy and time efficiency in identifying and processing business messages, and solving the technical problem of low application efficiency of user terminals.
[0089] Figure 3 This application provides a schematic diagram of the structure of a message data processing device based on a user terminal, as shown in the embodiment of the present application. Figure 3 As shown, the device includes:
[0090] The acquisition unit 31 is used to acquire various types of business messages about the user terminal.
[0091] Syntactic analysis unit 32 is used to perform syntactic analysis on various types of business messages to obtain syntactic analysis results.
[0092] The matching unit 33 is used to match the syntactic analysis result information with the preset strong rule matching information to obtain the matched standard business instruction; wherein, the strong rule matching information includes first-level matching information and second-level matching information, and the first-level matching information and / or the second-level matching information includes the standard business instruction corresponding to the syntactic analysis result information.
[0093] The operation unit 34 is used to control the operation of the corresponding user terminal according to standard business instructions.
[0094] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0095] Figure 4 This is a schematic diagram of another message data processing device based on a user terminal provided in an embodiment of this application. Figure 3 Based on the illustrated embodiments, as Figure 4 As shown, the matching unit 33 includes:
[0096] The matching module 331 is used to match the syntactic analysis results with the first-level matching information and the second-level matching information in sequence to obtain the matched standard business instructions.
[0097] In one example, matching module 331 includes:
[0098] The first judgment submodule 3311 is used to determine whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information.
[0099] The first determining submodule 3312 is used to determine the standard business instruction that matches the syntactic analysis result information in the first-level instruction set of the first-level matching information if the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information.
[0100] The second judgment submodule 3313 is used to determine whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information if the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information.
[0101] The second determining submodule 3314 is used to determine the standard business instruction that matches the syntactic analysis result information in the set of secondary instructions of the secondary matching information if the syntactic analysis result information meets the preset second syntactic requirements of the secondary matching information.
[0102] In one example, the types of business messages include text messages, voice messages, and irregular messages.
[0103] In one example, the syntactic analysis unit is specifically used for:
[0104] Syntactic analysis is performed on various types of business messages to obtain sentence components, sentence structure, and syntactic classification. These three elements are then identified as the syntactic analysis results.
[0105] In one example, the running unit is specifically used for:
[0106] Standard service commands are sent to the corresponding user terminals, and the operation of the user terminals is controlled.
[0107] In one example, the device also includes:
[0108] The preprocessing unit 41 is used to preprocess the service messages after obtaining various types of service messages about the user terminal to obtain preprocessed service messages.
[0109] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0110] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 5 As shown, the electronic device includes: a memory 51 and a processor 52.
[0111] The memory 51 stores a computer program that can run on the processor 52.
[0112] Processor 52 is configured to perform the methods provided in the embodiments described above.
[0113] The electronic device also includes a receiver 53 and a transmitter 54. The receiver 53 is used to receive instructions and data sent by external devices, and the transmitter 54 is used to send instructions and data to external devices.
[0114] Figure 6 This is a block diagram of an electronic device provided in an embodiment of this application. The electronic device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0115] The device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0116] Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0117] Memory 604 is configured to store various types of data to support the operation of device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0118] Power supply component 606 provides power to the various components of device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 600.
[0119] Multimedia component 608 includes a screen that provides an output interface between device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0120] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0121] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0122] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of device 600. For example, sensor assembly 614 may detect the on / off state of device 600, the relative positioning of components such as the display and keypad of device 600, changes in the position of device 600 or a component of device 600, the presence or absence of user contact with device 600, the orientation or acceleration / deceleration of device 600, and temperature changes of device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0123] Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices. Device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0124] In an exemplary embodiment, the apparatus 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of the device 600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0126] This application also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform the methods provided in the above embodiments.
[0127] This application also provides a computer program product, which includes: a computer program stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the solution provided in any of the above embodiments.
[0128] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0129] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A message data processing method based on a user terminal, characterized in that, include: Obtain various types of business messages about the user terminal; Syntactic analysis is performed on various types of business messages to obtain sentence components, sentence structure, and syntactic classification. These three elements are identified as syntactic analysis results. The syntactic analysis results are then matched with preset strong rule matching information to obtain a matched standard business instruction. The strong rule matching information includes first-level matching information and second-level matching information, where the first-level matching information and / or the second-level matching information includes the standard business instruction corresponding to the syntactic analysis results. Control the operation of the corresponding user terminal according to the standard service instructions; The syntactic analysis results are matched with preset strong rule matching information to obtain the matched standard business instructions, including: Determine whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information; If the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information, then a standard business instruction that matches the syntactic analysis result information is determined from the first-level instruction set of the first-level matching information. If the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information, then determine whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information; If the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information, then a standard business instruction that matches the syntactic analysis result information is determined from the second-level instruction set of the second-level matching information. Specifically, when determining the matching standard business instruction from the secondary instruction set of the secondary matching information, the complex intent is judged according to the logical judgment order of each complex intent, and the logical judgment order is the order of the components of the complex intent.
2. The method according to claim 1, characterized in that, The types of business messages include text messages, voice messages, and irregular messages.
3. The method according to claim 1, characterized in that, Controlling the operation of the corresponding user terminal according to the standard service instructions includes: The standard service instructions are sent to the corresponding user terminals, and the user terminals are controlled to operate.
4. The method according to claim 1, characterized in that, After obtaining various types of business messages about the user terminal, it also includes: The business message is preprocessed to obtain a preprocessed business message.
5. A message data processing device based on a user terminal, characterized in that, include: The acquisition unit is used to acquire various types of business messages about the user terminal; The syntactic analysis unit is used to perform syntactic analysis on various types of business messages to obtain sentence components, sentence structure, and syntactic classification in the business messages, and to determine the sentence components, sentence structure, and syntactic classification as syntactic analysis result information. A matching unit is used to match the syntactic analysis result information with preset strong rule matching information to obtain a matched standard business instruction; wherein, the strong rule matching information includes first-level matching information and second-level matching information, and the first-level matching information and / or the second-level matching information includes a standard business instruction corresponding to the syntactic analysis result information; The operation unit is used to control the operation of the corresponding user terminal according to the standard service instructions; The matching unit includes a matching module, and the matching module includes: The first judgment submodule is used to determine whether the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information; The first determining submodule is used to determine, in the first-level instruction set of the first-level matching information, a standard business instruction that matches the syntactic analysis result information if the syntactic analysis result information meets the preset first syntactic requirements of the first-level matching information; The second judgment submodule is used to determine whether the syntactic analysis result information meets the preset second syntactic requirements of the second-level matching information if the syntactic analysis result information does not meet the preset first syntactic requirements of the first-level matching information. The second determining submodule is used to determine a standard business instruction that matches the syntactic analysis result information in the secondary instruction set of the secondary matching information if the syntactic analysis result information meets the preset second syntactic requirements of the secondary matching information; wherein, when determining the matching standard business instruction in the secondary instruction set of the secondary matching information, the complex intent is judged according to the logical judgment order of each complex intent, and the logical judgment order is the order of the components of the complex intent.
6. The apparatus according to claim 5, characterized in that, The types of business messages include text messages, voice messages, and irregular messages.
7. The apparatus according to claim 5, characterized in that, The operating unit is specifically used for: The standard service instructions are sent to the corresponding user terminals, and the user terminals are controlled to operate.
8. The apparatus according to claim 5, characterized in that, The device further includes: The preprocessing unit is used to preprocess the service messages after obtaining various types of service messages about the user terminal to obtain preprocessed service messages.
9. An electronic device, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-4.
11. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-4.
Citation Information
Patent Citations
Service processing method and device for intelligent television, intelligent equipment and storage medium
CN110418181A