CN111325035B - Generalized and ubiquitous semantic interaction method, device and storage medium - Google Patents

Generalized and ubiquitous semantic interaction method, device and storage medium Download PDF

Info

Publication number
CN111325035B
CN111325035B CN202010094132.0A CN202010094132A CN111325035B CN 111325035 B CN111325035 B CN 111325035B CN 202010094132 A CN202010094132 A CN 202010094132A CN 111325035 B CN111325035 B CN 111325035B
Authority
CN
China
Prior art keywords
phrase
semantic
verb
morphemes
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010094132.0A
Other languages
Chinese (zh)
Other versions
CN111325035A (en
Inventor
周哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202010094132.0A priority Critical patent/CN111325035B/en
Publication of CN111325035A publication Critical patent/CN111325035A/en
Application granted granted Critical
Publication of CN111325035B publication Critical patent/CN111325035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a generalized and ubiquitous semantic interaction method, device and storage medium. The method comprises the following steps: determining all physical objects included in the information to be interacted, respectively determining noun morphemes, verb morphemes and prefix morphemes according to the physical objects, the operation required by the physical objects and the preconditions required by the operation, and/or the constraint required by the operation result, assembling the noun morphemes, the verb morphemes and the prefix morphemes in a memory to obtain original data of the information to be interacted, encoding the original data according to an interface instruction description grammar, and obtaining a byte coding sequence of the information to be interacted in the memory; and sending the byte code sequence of the information to be interacted. According to the method, the physical semantic feature information is transmitted along the path, so that a machine can understand the meaning corresponding to the numerical data processed by the machine, and a new technology realization path is provided for cross-domain information interaction.

Description

Generalized and ubiquitous semantic interaction method, device and storage medium
Technical Field
The invention relates to the technical field of information and communication, in particular to a generalized and ubiquitous semantic interaction method, device and storage medium.
Background
With the continued development of information digitizing and communication technology, various digital information devices connected through wired and/or wireless network technologies have been in deep production in various aspects of life. With the advent of the internet of things, information interaction between various digital information devices has become increasingly important.
The existing information interaction method is realized based on modern computing theory. While modern computing theory built based on the curie-fig theory and von neumann architecture, computing is considered to be the process of converting values, stripping the semantic, contextual, and semantic features associated with values. Numerical data used by the digital information apparatus, the specific semantics of which are defined in advance by a programmer, exist only in a design document or source code of the programmer, unless disclosed, and it is difficult for a person not participating in the design process to understand the specific meanings of numerical values. Therefore, in order for the information interaction parties to be able to communicate effectively, the parties must negotiate beforehand the semantic definition, structure, specifications and methods, so-called protocols and standards, of the interaction data. With this as a work center, the information digitizing and communication industry establishes many standardization organizations, such as ETSI, ITU, 3GPP, etc., for defining protocols and standards one by one for each subdivision industry. In the time of the internet of things, the related technical fields are very complex and overlapped, the types of equipment and data forms needing to exchange information are various, and the method of defining protocols and standards one by one is low in efficiency.
Meanwhile, in the existing information interaction method, numerical data exists in a structured form, interpretation data is carried out according to format contracts, semantic information does not participate in the interaction process, and therefore the machine across the field has no technical possibility of understanding the semantics of the numerical data.
In summary, the existing information interaction method makes the machine unable to understand the meaning corresponding to the numerical data processed by the machine, and unable to implement cross-domain information interaction.
Disclosure of Invention
The embodiment of the invention provides a generalized and ubiquitous semantic interaction method, device and storage medium, which are used for solving the problem caused by semantic deletion in the existing information interaction method.
In a first aspect, an embodiment of the present invention provides a generalized and ubiquitous semantic interaction method, including:
transmitting information to be interacted in the form of one or more instructions through a byte coding sequence in a memory; wherein each instruction includes one or more phrase arguments, the phrase arguments being separated into verb phrases and prefix phrase according to their utility in the instruction, the formalization of a single instruction being represented as follows:
Instruction=phrase∷verb
|(phrase∷affix,phrase∷verb)
|(phrase∷verb,phrase∷affix)
|(phrase∷affix,phrase∷verb,phrase∷affix);
wherein Instruction represents instructions, phrase: verb represents verb phrase, phrase: affix represents prefix phrase;
The prefix phrase is placed in front of or behind the verb phrase;
the plurality of instructions are distinguished by concatenating morphemes.
In one possible implementation, the phrase parameter includes one or more morpheme parameters, the morpheme parameters include at least one main morpheme, the category of the phrase parameter is determined according to the category of the main morpheme, and the formalization of the phrase parameter is expressed as follows:
phrase=phrase∷noun
|phrase∷verb|phrase∷affix|phrase∷object
wherein, phrase represents phrase parameters, phrase: noun represents noun phrase, phrase: object represents object phrase;
the main morphemes of the verb phrase header are verb morphemes, the verb phrase further comprises operation parameters, and the operation parameters comprise zero, one or more noun morphemes, and/or noun phrases, and/or object phrases;
noun phrases are sequences of parallel noun morphemes;
the main morpheme of the head of the affix word phrase is the affix word morpheme, the affix word phrase also comprises a modifier, the modifier comprises one or more noun morphemes and/or noun phrases, and the affix word phrase is used for limiting the execution condition or the execution result of the operation.
In one possible implementation, the morpheme parameters include one or more of physical objects, operations, semantic exchange codes and attributes of affix words, variables and instances required to carry physical data;
The morpheme parameters comprise noun morphemes, verb morphemes and affix morphemes, the noun morphemes are used for representing physical object semantics, the verb morphemes are used for representing operation semantics, and the affix morphemes are used for representing modification and auxiliary semantics;
the noun morpheme comprises a data bearing part, wherein the data bearing part is divided into two forms of variables and use items according to the requirement that a memory for storing data is defined before use; wherein the definition of variables is used to specify memory specifications and constraints required for physical data, including representations of memory endian/endian differences under heterogeneous CPU architecture and unit of measure items associated with physical object measurements; the usage items include the specific storage of the corresponding numerical values in the memory;
the morpheme parameters also comprise semantic exchange codes, wherein the semantic exchange codes are unique serial numbers defined in a semantic dictionary by physical semantics;
the object phrase is used to noun the instruction and all constituent elements contained in the instruction so that the information of the constituent elements is interactable.
In one possible implementation, the semantic dictionary is an ordered set of generalized feature extraction tuples of all relevant physical object concepts, operational semantics, and modifier semantics in the interaction context, the tuple composition items including mnemonics, encodings, categories, and definitions characterizing the semantic objects; the tuples that make up the semantic dictionary are formalized as follows:
semantic object =(mnemonic,semcode,category,definition);
Wherein semantic is provided object Representing a semantic object; the mnemonic represents a mnemonic of the semantic object and is a natural language symbol corresponding to the semantic object; semcode represents the exchange code of the semantic object, and is an unsigned integer with variable byte length; category represents category of semantic object, the category of the semantic object comprises name part of speech, action part of speech and affix part of speech, definition represents definition of the semantic object, and the definition is description and definition of the semantic object.
In a second aspect, an embodiment of the present invention provides a generalized and ubiquitous semantic interaction method, including:
determining all physical objects included in the information to be interacted, wherein morphemes corresponding to the physical objects are noun parameter items of verb phrases or prefix word phrases, obtaining corresponding semantic exchange codes and categories from a preset semantic dictionary according to mnemonics of the physical objects, and determining noun morphemes;
acquiring physical data of a physical object instance, and if the physical data is used as a variable declaration, including corresponding memory specifications and/or metering unit items; if the physical data is used as a use item, the use of the memory defined by the variable is included;
determining operation required by a physical object, obtaining corresponding semantic exchange codes and categories from a preset semantic dictionary according to the mnemonics of the operation, and determining verb morphemes;
Determining preconditions required by operation and/or constraints required by operation results, acquiring corresponding semantic exchange codes and categories from a preset semantic dictionary according to mnemonics of the prefix words, and determining the word elements of the prefix words;
using the verb morpheme, the noun morpheme and the prefix morpheme obtained in the previous steps to assemble the original data of the information to be interacted in the memory, encoding the original data according to the interface instruction description grammar, and obtaining a byte encoding sequence of the information to be interacted in the memory;
and sending the byte code sequence of the information to be interacted.
In one possible implementation, the interface instruction description grammar follows an extended bachelus paradigm, is a formal description of morpheme-phrase-instruction construction rules, comprising:
and carrying out morphological coding on semantic objects contained in the information to be interacted according to the following expression:
lexeme=g(semcode,category,type,unit);
type=f(variety,cell);
wherein semcode represents the exchange code of the semantic object, category represents the category of the semantic object, and variety represents the category of the numerical value in the hardware storage implementation, including integer and floating point number; cell represents a memory cell; type represents the physical type, which is a function of the variety and cell; unit represents a unit of measure item; lexeme represents the morpheme of a semantic object, a function of semcode, category, type and unit;
Phrase encoding is performed according to the following expression:
phrase=lexeme|lexeme(phrase,lexeme);
wherein, the phrase represents the phrase of the semantic object, the phrase is the recursion of the morpheme, the phrase includes verb phrase, noun phrase and affix word phrase;
instruction encoding is performed according to the following expression:
instruction=phrase|lexeme(instruction,phrase);
wherein the instruction represents an instruction of the semantic object, the instruction being a recursive of a phrase, the instruction comprising at least one verb phrase.
In a third aspect, an embodiment of the present invention provides a generalized and ubiquitous semantic interaction method, including:
receiving a byte coding sequence of the information to be interacted, wherein the byte coding sequence is determined according to a physical object, an operation and a prefix word of the information to be interacted;
decoding the byte code sequence of the information to be interacted according to the interface instruction description grammar, and obtaining the original data of the information to be interacted in the memory, wherein the original data comprises:
verb semantic exchange codes of operations;
zero, one or more physical objects associated with a verb as an operation parameter;
semantic exchange code of zero, one or more prefix words;
semantic exchange code of zero, one or more suffix words;
zero, one or more physical objects associated with the prefix word as prefix word arguments;
The physical objects include:
corresponding noun semantic exchange codes;
variable definition items associated with the data store, or usage items of the stored data;
zero or one unit of measure item.
In one possible implementation, the method further includes:
and reconstructing the semantics and the context of the sending end at the receiving end according to the semantic information carried by the information to be interacted.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor and memory;
the memory stores computer-executable instructions;
at least one processor executes the computer-executable instructions stored in the memory such that the at least one processor performs the generalized and ubiquitous semantic interaction method according to any of the above.
In a fifth aspect, embodiments of the present invention provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement the generalization and ubiquitous semantic interaction method according to any one of the above.
According to the generalization and ubiquitous semantic interaction method, device and storage medium provided by the embodiment of the invention, through determining all physical objects included in information to be interacted, morphemes corresponding to the physical objects are noun parameter items of verb phrases or prefix word phrases, corresponding semantic exchange codes and categories are obtained from a preset semantic dictionary according to mnemonics of the physical objects, and noun morphemes are determined; acquiring physical data of a physical object instance, and if the physical data is used as a variable declaration, including corresponding memory specifications and/or metering unit items; if the physical data is used as a use item, the use of the memory defined by the variable is included; determining operation required by a physical object, obtaining corresponding semantic exchange codes and categories from a preset semantic dictionary according to the mnemonics of the operation, and determining verb morphemes; determining preconditions required by operation and/or constraints required by operation results, acquiring corresponding semantic exchange codes and categories from a preset semantic dictionary according to mnemonics of the prefix words, and determining the word elements of the prefix words; using the verb morpheme, the noun morpheme and the prefix morpheme obtained in the previous steps to assemble the original data of the information to be interacted in the memory, encoding the original data according to the interface instruction description grammar, and obtaining a byte encoding sequence of the information to be interacted in the memory; and sending the byte code sequence of the information to be interacted. According to the interface instruction description grammar, the physical semantic associated transmission of the information to be interacted is realized, so that a machine can understand the meaning corresponding to the information processed by the machine, and a new technical realization path is provided for cross-domain information interaction. . The interactive instruction design framework for formalizing the physical semantic feature information and transmitting along with the path provides a feasible general solution for semantic interoperability between machines without pre-negotiation by people and is put into engineering practice. The method not only can effectively solve the problem caused by semantic deletion of the past interactive data, but also can improve the multiplexing rate of the software and the hardware of the equipment interactive interface, eliminate the technical barrier of the semantic interoperability of the digital information equipment and expand the applicable scene of the digital information equipment.
Drawings
FIG. 1 is a schematic diagram of an exemplary structure of an instruction according to an embodiment of the present application;
FIG. 2 is a flowchart of a generalized and ubiquitous semantic interaction method according to an embodiment of the present application;
FIG. 3 is a flowchart of a generalized and ubiquitous semantic interaction method according to a further embodiment of the present application;
FIG. 4 is a flowchart of a generalized and ubiquitous semantic interaction method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The application will be described in further detail below with reference to the drawings by means of specific embodiments. Wherein like elements in different embodiments are numbered alike in association. In the following embodiments, numerous specific details are set forth in order to provide a better understanding of the present application. However, one skilled in the art will readily recognize that some of the features may be omitted, or replaced by other elements, materials, or methods in different situations. In some instances, related operations of the present application have not been shown or described in the specification in order to avoid obscuring the core portions of the present application, and may be unnecessary to persons skilled in the art from a detailed description of the related operations, which may be presented in the description and general knowledge of one skilled in the art.
Furthermore, the described features, operations, or characteristics of the description may be combined in any suitable manner in various embodiments. Also, various steps or acts in the method descriptions may be interchanged or modified in a manner apparent to those of ordinary skill in the art. Thus, the various orders in the description and drawings are for clarity of description of only certain embodiments, and are not meant to be required orders unless otherwise indicated.
The numbering of the components itself, e.g. "first", "second", etc., is used herein merely to distinguish between the described objects and does not have any sequential or technical meaning. The term "coupled" as used herein includes both direct and indirect coupling (coupling), unless otherwise indicated.
The terms involved in the present application will be explained first:
numerical data: i.e. semantically independent data. Modern computing theory is built on the basis of the curie-fig theory and von neumann architecture, and it is thought that computing is the process of converting values, stripping the semantic, contextual and semantic features associated with the values. The data processed and interacted by the digital information system based on the theory lacks information to describe the meaning of the data, and the data irrelevant to the semantics is called numerical data.
Physical data: determination of physical quantities containing one or more semantic components at a certain spatiotemporal node. The physical world is an objective world comprising matter, energy, time and space, and measuring the representation or meaning of entities in the physical world according to scientific methods and metrics will result in a feature information set comprising names, values and units of measure that point to the semantics of specific physical quantities, such as: the description of "the temperature of a certain spatial position at a certain time point is 10 ℃ includes that the temperature is a measured value of the temperature of a physical quantity, the magnitude is 10, the measurement unit is the characteristic information such as the degree centigrade.
Physical semantics: the names associated with the physical data, the relevant physical quantities that have an effect on the determination of the physical quantity, including but not limited to time, space, energy (e.g., thermal, electrical, magnetic, optical, radiation), etc., and the associated metrology criteria are collectively referred to as physical semantics. The physical semantics are equivalent to the semantics of the meaning of the physical object, and are an objective object. The physical semantics of a symbol may be composed of the physical object to which the symbol refers, as well as other physical objects associated with the physical object, including time and space, all of the attributes, calibrations, and mathematical relationships between them. Specifically, the method comprises the following steps: the physical object individual referred by the symbol can be substance, energy, time, space and the like, or a measure of a certain dimension (i.e. physical quantity) of the physical object; the mathematical properties of the individual; the individual and related physical quantity calibration adopts a measurement standard; the amount of space and the reference frame in which the individual and the associated physical object are located; the amount of time and the frame of reference that the individual and associated physical object are located; mathematical relationships between individuals and related physical objects.
If s is used to represent space, t is used to represent time, and e is used to represent the physical quantity body, then (s, t, e) the triplet can uniquely identify a measurement instance of physical data, so that the physical data can be represented by (s, t, e).
Semantic objects: the mathematical entity to which the symbol refers is a named set of methods and attributes associated with the mathematical entity.
The language check image: and eliminating time and space factors, wherein different symbols point to objects pointed by common semantics. The semantic check is used to describe that different symbols point to the same semantic meaning. For example, "Sun" of Chinese, "Sun" of English, "Sonne" of German, "c of Russian," c of mu "and other different symbols point to common semantics and correspond to the same nude object. The core object is independent of the specific natural language type. The introduction of the core object can eliminate the language difference of natural language in the design of the digital information system.
Physical object: the physically present language check image is an objectively present entity corresponding to the logical object. The object resulting from the logical partitioning of the physical object is also a physical object.
Extended Backus-Normal Form (EBNF): is a meta-grammar symbology that expresses context-free grammar as a regular way of describing computer programming languages and formal languages. He was developed by nicolas woth.
In the embodiments of the present invention, the numerical value starting at 0x is hexadecimal, and the rest is decimal. In decimal numbers, floating point numbers are used with decimal points, and the rest are integers.
The information interaction of the existing digital information equipment depends on the implementation of numerical data, a machine only exists as a tool and a medium in an application scene, and the meaning of the numerical data processed by the machine cannot be understood by the machine due to the semantic gap caused by the lack of data semantics and context. Because of the lack of semantic features, the person who is working up the computer program and using the computer system becomes an indispensable element of the semantics of the complement numerical data. In popular terms, the numerical data used by the digital information device, the specific semantics of which are defined in advance by the programmer, are only present in the design document or source code of the programmer, and unless disclosed, it is difficult for a person not participating in the design process to understand the specific meaning of the numerical value. Not to mention structured data blocks stacked from various data types, the layout of the various semantically hidden numerical fields contained in memory is not a matter of the same design context, nor is it possible for people and machines outside of the language to understand their internal structure and semantic references correctly.
In order for both parties of the information interaction to understand the information being interacted with, both parties must negotiate beforehand the semantic definition, structure, specification and method of the interaction data, i.e. the protocols and standards for determining the information interaction. However, in the internet of things era, various devices and data forms for information interaction are required, the related technical fields are very complex and overlap with each other, the conventional method of defining protocols and standards one by one for the subdivision industry, which is relied on by the standardization organization, is low in efficiency, and waiting for the protocols and standards between interfaces becomes a bottleneck for restricting the development of the internet of things.
In the traditional digital information interaction mode, the semantics and the contexts which take man-machine interaction as main purposes are built according to a natural language symbology, and the contexts are built around specific application scenes, so that the semantics and the contexts of different interaction scenes are split to form islands, and the islands lack of effective consensus definition and expression, so that the machines cannot interoperate in a global scope. At the same time, the structured standard and protocol definition ensures that the interface function is solidified, any modification can affect the global situation, and the reconstruction and redeployment are required from the software and hardware level, which causes serious cost loss and resource waste.
The conventional information interaction has various problems due to lack of physical semantics, and the invention effectively solves the problems by formalizing and transmitting the physical semantic feature information along with a path. The following will describe in detail several specific examples.
Firstly, description of interface instruction description grammar in the generalized and ubiquitous semantic interaction method provided by the embodiment of the invention is carried out. The interface instruction description grammar follows EBNF. In the generalized and ubiquitous semantic interaction method provided by the embodiment of the invention, information to be interacted is sent in the form of one or more instructions through a byte coding sequence in a memory. When multiple instructions are employed, the multiple instructions are concatenated and distinguished by concatenating the morphemes.
Wherein each instruction may include one or more phrase arguments, the phrase arguments being separated into verb phrases and prefix phrases according to their utility in the instruction, the formalization of a single instruction being represented as follows:
Instruction=phrase∷verb
|(phrase∷affix,phrase∷verb)
|(phrase∷verb,phrase∷affix)
|(phrase∷affix,phrase∷verb,phrase∷affix);
wherein Instruction represents instructions, pub: verb phrase, pub: affix represents prefix phrase.
The prefix phrase may be placed before or after the verb phrase. When a prefix phrase is placed in front of a verb phrase, it is referred to as a prefix phrase; when a prefix phrase is placed after a verb phrase, it is referred to as a suffix phrase.
In an alternative embodiment, the phrase parameter may include one or more morpheme parameters, where the morpheme parameter includes at least one main morpheme, and the category of the phrase parameter is determined according to the category of the main morpheme, and the formalized representation of the phrase parameter is as follows:
phrase=phrase∷noun
|phrase∷verb|phrase∷affix|phrase∷object
wherein, phrase represents phrase parameters, phrase: noun represents noun phrase, phrase: object represents object phrase;
the main morphemes of the verb phrase header are verb morphemes, the verb phrase further comprises operation parameters, and the operation parameters comprise zero, one or more noun morphemes, and/or noun phrases, and/or object phrases;
noun phrases are sequences of parallel noun morphemes;
the main morpheme of the head of the affix word phrase is the affix word morpheme, the affix word phrase also comprises a modifier, the modifier comprises one or more noun morphemes and/or noun phrases, and the affix word phrase is used for limiting the execution condition or the execution result of the operation.
FIG. 1 is a schematic diagram of an exemplary structure of an instruction according to an embodiment of the present invention. The instruction shown in fig. 1 is composed of a prefix phrase, a verb phrase, and a suffix phrase. Wherein, the prefix phrase comprises a main word prime and a modified parameter noun phrase; the verb phrase comprises a main morpheme operation morpheme and an operation parameter noun phrase; the suffix phrase includes a main morpheme affix word morpheme and a modifier noun phrase.
In an alternative embodiment, morpheme parameters may include one or more of physical objects, operations, semantic exchange codes and attributes of affix words, variables and instances required to carry physical data;
the morpheme parameters comprise noun morphemes, verb morphemes and affix morphemes, the noun morphemes are used for representing physical object semantics, the verb morphemes are used for representing operation semantics, and the affix morphemes are used for representing modification and auxiliary semantics;
the noun morpheme comprises a data bearing part, wherein the data bearing part is divided into two forms of variables and use items according to the requirement that a memory for storing data is defined before use; wherein the definition of variables is used to specify memory specifications and constraints required for physical data, including representations of memory endian/endian differences under heterogeneous CPU architecture and unit of measure items associated with physical object measurements; the usage items include the specific storage of the corresponding numerical values in the memory;
the morpheme parameters also comprise semantic exchange codes, wherein the semantic exchange codes are unique serial numbers defined in a semantic dictionary by physical semantics;
the object phrase is used to noun the instruction and all constituent elements contained in the instruction so that the information of the constituent elements is interactable.
The semantic dictionary is an ordered set formed by extracting tuples from generalized features of all related physical object concepts, operation semantics and modification semantics in the interaction context, and the tuple constituent items comprise mnemonics, codes, categories and definitions for representing the semantic objects; the tuples that make up the semantic dictionary are formalized as follows:
semantic object =(mnemonic,semcode,category,definition);
wherein semantic is provided object Representing a semantic object; the mnemonic represents a mnemonic of the semantic object and is a natural language symbol corresponding to the semantic object; semcode represents the exchange code of the semantic object, and is an unsigned integer with variable byte length; category represents category of semantic object, the category of the semantic object comprises name part of speech, action part of speech and affix part of speech, definition represents definition of the semantic object, and the definition is description and definition of the semantic object.
The generalization and ubiquitous semantic interaction method provided by the embodiment of the invention is further described from the angles of the information sending end and the information receiving end respectively. Fig. 2 is a flowchart of a generalized and ubiquitous semantic interaction method according to an embodiment of the present invention. The method is performed by an information sender. As shown in fig. 2, the method provided in this embodiment may include:
s201, determining that all physical objects included in the information to be interacted are noun parameter items of verb phrases or affix word phrases, obtaining corresponding word exchange codes and categories from a preset semantic dictionary according to mnemonics of the physical objects, and determining noun morphemes.
In this embodiment, the information to be interacted may be information that needs to be interacted between processes, threads and modules in the same device, or information that needs to be interacted between different devices. The definition of the physical object may refer to the above, and will not be repeated here.
The semantic dictionary in this embodiment may be an ordered set of common information of two parties of information interaction composed of a plurality of semantic objects, including, but not limited to, physical objects, physical quantities, measurement units, arithmetic operations, logical operations, mathematical functions, pre-words, and the like that require data exchange through an interaction interface. Table 1 shows part of the content of the semantic dictionary preset in this embodiment, and as shown in table 1, the semantic dictionary includes mnemonics (mnemonics), semantic exchange codes (semcodes), categories (categories), and definitions (definitions) of the respective semantic objects. The semantic exchange code is an index of a specific semantic object in an ordered set, and can be represented by unsigned integers with variable byte lengths; categories include, but are not limited to, physical quantities, units of measure, operations, and the like; mnemonics are natural language symbols corresponding to semantic objects, definitions are descriptions and definitions of semantic objects, and mnemonics and definitions are information fields for people to use to help people understand and use semantic objects. The definition may be described and defined according to specific interaction context and requirements, and the definition of the semantic object is not limited in this embodiment.
TABLE 1
Mnemonic/Mnemonic Semantic exchange code/Semcode Category/Category Definition/Definition
Electric current 0x11 Physical quantity
Voltage (V) 0x12 Physical quantity
Temperature (temperature) 0x13 Physical quantity
Flow rate 0x14 Physical quantity
Pressure of 0x15 Physical quantity
Time 0x16 Physical quantity
(Ampere) 0x21 Measuring unit
Volts 0x22 Measuring unit
Degree centigrade 0x23 Measuring unit
Cubic meter 0x24 Measuring unit
Pascal (Pa) 0x25 Measuring unit
Second of 0x26 Measuring unit
Reading 0x31 Operation of
Writing 0x32 Operation of
Opening the valve 0x33 Operation of
Closing 0x34 Operation of
Pause 0x35 Operation of
Standby 0x36 Operation of
In this embodiment, after determining the physical object of the information to be interacted, the corresponding semantic exchange code and category may be obtained from a preset semantic dictionary according to the mnemonic of the physical object, and then the noun morpheme may be determined according to the obtained semantic exchange code and category.
S202, acquiring physical data of a physical object instance, wherein if the physical data is declared as a variable, the physical data comprises corresponding memory specifications and/or metering unit items; if physical data is used as the usage item, then the usage of the memory defined by the variables is included.
S203, determining operation required by the physical object, obtaining corresponding semantic exchange codes and categories from a preset semantic dictionary according to the mnemonics of the operation, and determining verb morphemes.
S204, determining preconditions required by operation and/or constraints required by operation results, acquiring corresponding semantic exchange codes and categories from a preset semantic dictionary according to mnemonics of the affix words, and determining the affix word morphemes.
S205, using the verb morpheme, the noun morpheme and the prefix morpheme obtained in the previous step, assembling the verb morpheme, the noun morpheme and the prefix morpheme in a memory to obtain the original data of the information to be interacted, encoding the original data according to the interface instruction description grammar, and obtaining a byte encoding sequence of the information to be interacted in the memory.
In an alternative embodiment, the interface instruction description grammar follows an extended Backus-like form, is a formalized description of a morpheme-phrase-instruction construction rule, comprising:
the semantic objects of the information to be interacted with can be determined according to the following expression:
semantic object =(mnemonic,semcode,category,definition);
wherein semantic is provided object Representing a semantic object; the mnemonic represents a mnemonic of the semantic object and is a natural language symbol corresponding to the semantic object; semcode represents the exchange code of the semantic object, and is an unsigned integer with variable byte length; category represents the category of the semantic object; definition represents the definition of a semantic object, which is the description and definition of the semantic object.
And carrying out morphological coding on semantic objects contained in the information to be interacted according to the following expression:
lexeme=g(semcode,category,type,unit);
type=f(variety,cell);
wherein semcode represents the exchange code of the semantic object, category represents the category of the semantic object, and variety represents the category of the numerical value in the hardware storage implementation, including integer and floating point number; cell represents a memory cell; type represents the physical type, which is a function of the variety and cell; unit represents a unit of measure item; lexeme represents the morpheme of a semantic object, a function of semcode, category, type and unit;
Phrase encoding is performed according to the following expression:
phrase=lexeme|lexeme(phrase,lexeme);
wherein, the phrase represents the phrase of the semantic object, the phrase is the recursion of the morpheme, the phrase includes verb phrase, noun phrase and affix word phrase;
instruction encoding is performed according to the following expression:
instruction=phrase|lexeme(instruction,phrase);
wherein the instruction represents an instruction of the semantic object, the instruction being a recursive of a phrase, the instruction comprising at least one verb phrase. For example, a typical instruction may include at least one verb phrase and a selectable number of affiliated phrases, and the prefixed phrase may define the pre-instruction execution (phrase prefix ) After instruction execution (PHASE) postfix ) Conditions of (2); the functional distinction between the front and back of the prefix phrase is determined by the particular tag bits, independent of their position in the instruction.
Obtaining a byte coding sequence corresponding to the information to be interacted according to the following expression:
object=element|object,element;
elememt=lexeme|phrase|instruction;
the object represents a byte coding sequence corresponding to the information to be interacted, and comprises a semantic object body and associated morphemes, phrases and instructions.
The morpheme is a basic unit for forming an instruction, and is a formalized model of physical quantity, physical object, instruction operation, operation and logic; the phrase is a recursive of morphemes; the instruction is a recursive expression of the phrase. Therefore, after determining the corresponding verb morpheme, noun morpheme and affix morpheme, the semantic object of the information to be interacted can sequentially perform morpheme coding, phrase coding and instruction coding according to the interface instruction description grammar to obtain a byte coding (byte code) sequence corresponding to the information to be interacted, wherein the interface instruction description grammar is used for describing the organization structure, specification and memory layout of the interface semantic interaction information and comprises a numerical value type, a container for storing the numerical value, morphemes, phrases, instructions and a construction rule of the instruction sequence.
The interface instruction description grammar in the embodiment is an instruction frame description grammar which realizes a mathematical model based on the abstract definition of physical semantic features on digital information equipment, and is a recursive formal description grammar designed on the basis of the mathematical model. Interface instruction description grammar details the composition, structure, relationships between components, and memory layout of an instruction framework. It differs from the physical type definition of traditional data types in that it describes the classification of values relative to digital information storage hardware and the storage unit cardinality and dimensions required to store the values, or their serialized representation. The semantic code described by the interface instruction description grammar is an unsigned integer of variable byte length, referring to a specific semantic and interactive feature definition, the number of memory bits required is determined by its code value, for example, a code value less than 128 may occupy only one byte instead of simply fixedly occupying 2 bytes (UCS-2) or 4 bytes (UCS-4). The semantically encoded bytes occupy a minimum of one byte, and the maximum is not limited (theoretically limited only by hardware storage capacity). The interface instruction description grammar comprises structurally self-similar morphemes, phrases, instructions and object designs, wherein the morphemes are simple shapes, the phrases are complex shapes of the morphemes, the instructions are complex shapes of the phrases, and the objects are complex shapes of the morphemes, the phrases and the instructions. Interface instruction description grammar describes the organization structure, specification and memory layout of interface semantic interaction information, including but not limited to numeric types, containers storing numeric values, morphemes, phrases, instructions, and construction rules for instruction sequences.
The interface instruction description grammar is specifically defined as follows:
/>
/>
/>
/>
/>
/>
/>
/>
/>
/>
/>
in addition to the interface instruction description grammar following the extended Backus-Van-form (EBNF) recursive description grammar, the EBNF of this embodiment also emphasizes and includes the following rules:
rule 1: case-less.
Rule 2: the start number of the sequence starts from 0.
Rule 3: '#' indicates implicit rule description or annotation.
Rule 4: ' indicates an option, equivalent to "or".
Rule 5: ' represents a concatenation.
Rule 6: 'A'; ' means termination.
Rule 7: ' represents a value reference where @ n≡n, n e is real.
Rule 8: ' means a component or a sub-symbol.
Rule 9: < n > represents repeating or iterating n (n > 0) times.
Rule 10: [ n ] represents a unit of offset position n (n.gtoreq.0) in the sequence.
Rule 11: () represents a packet or substitution.
Rule 12: { } represents the grammar segment and is also the start and end symbol of the end.
Rule 13: void represents a null type and null represents a null value reference.
S206, sending a byte code sequence of the information to be interacted.
And after determining the byte code sequence corresponding to the information to be interacted, transmitting the byte code sequence corresponding to the information to be interacted. When the information to be interacted is the information needing to be interacted among all processes, threads and modules in the same equipment, a byte coding sequence corresponding to the information to be interacted is sent in the equipment; when the information to be interacted is the information needing to be interacted between different devices, a byte coding sequence corresponding to the information to be interacted is sent between the different devices.
According to the generalization and ubiquitous semantic interaction method provided by the embodiment, through determining all physical objects included in information to be interacted, morphemes corresponding to the physical objects are noun parameter items of verb phrases or affix word phrases, corresponding semantic exchange codes and categories are obtained from a preset semantic dictionary according to mnemonics of the physical objects, and noun morphemes are determined; acquiring physical data of a physical object instance, and if the physical data is used as a variable declaration, including corresponding memory specifications and/or metering unit items; if the physical data is used as a use item, the use of the memory defined by the variable is included; determining operation required by a physical object, obtaining corresponding semantic exchange codes and categories from a preset semantic dictionary according to the mnemonics of the operation, and determining verb morphemes; determining preconditions required by operation and/or constraints required by operation results, acquiring corresponding semantic exchange codes and categories from a preset semantic dictionary according to mnemonics of the prefix words, and determining the word elements of the prefix words; using the verb morpheme, the noun morpheme and the prefix morpheme obtained in the previous steps to assemble the original data of the information to be interacted in the memory, encoding the original data according to the interface instruction description grammar, and obtaining a byte encoding sequence of the information to be interacted in the memory; and sending the byte code sequence of the information to be interacted. According to the interface instruction description grammar, the physical semantic associated transmission of the information to be interacted is realized, so that a machine can understand the meaning corresponding to the information processed by the machine, and a new technical realization path is provided for cross-domain information interaction. . The interactive instruction design framework for formalizing the physical semantic feature information and transmitting along with the path provides a feasible general solution for semantic interoperability between machines without pre-negotiation by people and is put into engineering practice. The method not only can effectively solve the problem caused by semantic deletion of the past interactive data, but also can improve the multiplexing rate of the software and the hardware of the equipment interactive interface, eliminate the technical barrier of the semantic interoperability of the digital information equipment and expand the applicable scene of the digital information equipment.
The generalization and ubiquitous semantic interaction method provided by the embodiment of the invention is further described below through a specific example.
For example, the specification of one thermal physical quantity is described as follows:
variety=float;
base=4;
unit = degrees celsius;
Unit prefix =1;
range=0…120;
value=45.5。
the encoded sequence of the thermal physical quantity may be written as lexeme: temperature according to the interface instruction description grammar, as shown in table 2.
TABLE 2
In some embodiments, the read request is an operation morpheme required by an infinite number of value stores and units of measure. The code sequence for the read operation may be written as lexeme: read according to the interface instruction description grammar, as shown in table 3.
TABLE 3 Table 3
In some embodiments, the read-temperature request is a verb phrase. According to the interface instruction description grammar, the code sequence can be marked as a phrase: read temperature As shown in table 4.
TABLE 4 Table 4
In some embodiments, the read-temperature request is an instruction. According to the interface instruction description grammar, the code sequence can be recorded as instruction: read temperature As shown in table 5.
TABLE 5
Fig. 3 is a flowchart of a generalized and ubiquitous semantic interaction method according to another embodiment of the present invention. The method is performed by an information receiving end. As shown in fig. 3, the generalized and ubiquitous semantic interaction method provided in this embodiment may include:
S301, receiving a byte coding sequence of information to be interacted, wherein the byte coding sequence is determined according to a physical object, an operation and a prefix word of the information to be interacted.
S302, decoding the byte code sequence of the information to be interacted according to the interface instruction description grammar, and obtaining the original data of the information to be interacted in the memory.
The raw data includes: verb semantic exchange codes of operations; zero, one or more physical objects associated with a verb as an operation parameter; semantic exchange code of zero, one or more prefix words; semantic exchange code of zero, one or more suffix words; zero, one or more physical objects associated with a fix word as fix word arguments.
The physical objects include: corresponding noun semantic exchange codes; variable definition items associated with the data store, or usage items of the stored data; zero or one unit of measure item.
According to the generalized and ubiquitous semantic interaction method provided by the embodiment, the received byte code sequences corresponding to the information to be interacted are sequentially decoded according to the interface instruction description grammar to obtain the original data of the information to be interacted, so that the receiving end can understand the interacted information, and a new technology realization path is provided for semantic interoperability and cross-domain information interaction between machines. .
Optionally, after determining the original data of the information to be interacted with, the method may further include: the semantics and the context of the sending end are reconstructed at the receiving end according to the semantic information carried by the information to be interacted, so that the receiving end can understand the information sent by the sending end, the step of determining a protocol in advance in the traditional interaction design method is avoided, and the technical evolution goal of an information physical system (Cyber Physical System, CPS) is realized more efficiently.
Alternatively, the interface instruction description grammar may be a recursive description grammar following an extended Backus-like pattern.
Fig. 4 is a flowchart of a generalized and ubiquitous semantic interaction method according to another embodiment of the present invention. The sending end and the receiving end can be different electronic equipment or modules in the same electronic equipment. As shown in fig. 4, the generalized and ubiquitous semantic interaction method provided in this embodiment may include:
s401, the transmitting end determines all physical objects included in the information to be interacted.
S402, the sender determines corresponding noun morphemes, verb morphemes and prefix morphemes according to the physical object.
S403, the transmitting end assembles the original data of the information to be interacted in the memory according to the verb morpheme, the noun morpheme and the affix morpheme.
S404, the transmitting end encodes the original data according to the interface instruction description grammar, and a byte encoding sequence of the information to be interacted is obtained in the memory.
S405, the sending end sends the byte code sequence of the information to be interacted to the receiving end.
S406, receiving a byte code sequence of the information to be interacted.
S407, decoding the byte code sequence of the information to be interacted according to the interface instruction description grammar, and obtaining the original data of the information to be interacted in the memory.
S408, reconstructing the semantics and the context of the sending end at the receiving end according to the semantic information carried by the information to be interacted.
According to the generalization and ubiquitous semantic interaction method provided by the embodiment, noun morphemes, verb morphemes and prefix morphemes corresponding to all physical objects included in information to be interacted are sequentially subjected to morpheme coding, phrase coding and instruction coding from bottom to top according to an interface instruction description grammar at a sending end, and an encoding sequence is sequentially subjected to instruction decoding, phrase decoding and morpheme decoding from top to bottom at a receiving end so as to obtain original data of the information to be interacted. The method has the advantages that the sending end and the receiving end can perform semantic interoperation under the condition that pre-negotiation is not needed, free interaction of natural language-like languages between information digital processing devices is achieved, and a better solution is provided for achieving the technical evolution goal of an information physical system (Cyber Physical System, CPS). By reconstructing the semantics and the context of the sending end at the receiving end according to the semantic information carried by the information to be interacted, the receiving end can understand the information sent by the sending end, and the step of determining the protocol in advance in the traditional interaction design method is avoided.
An embodiment of the present invention further provides an electronic device, and referring to fig. 5, the embodiment of the present invention is illustrated by taking fig. 5 as an example only, and the present invention is not limited thereto. As shown in fig. 5, the electronic device 50 provided in this embodiment may include: memory 501, processor 502, and bus 503. Wherein a bus 503 is used to enable the connection between the various components.
The memory 501 stores a computer program, which when executed by the processor 502 may implement the technical solutions of any of the method embodiments described above.
Wherein the memory 501 and the processor 502 are electrically connected, either directly or indirectly, to enable transmission or interaction of data. For example, the elements may be electrically coupled to each other via one or more communication buses or signal lines, such as bus 503. The memory 501 stores therein a computer program implementing the generalization and ubiquitous semantic interaction method of any of the above-described method embodiments, including at least one software functional module that may be stored in the memory 501 in the form of software or firmware, and the processor 502 executes various functional applications and data processing by running the software program and module stored in the memory 501.
The Memory 501 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory 501 is used for storing a program, and the processor 502 executes the program after receiving an execution instruction. Further, the software programs and modules within the memory 501 may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor 502 may be an integrated circuit chip with signal processing capabilities. The processor 502 may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), and the like. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. It will be appreciated that the configuration of fig. 5 is merely illustrative and may include more or fewer components than shown in fig. 5 or have a different configuration than shown in fig. 5. The components shown in fig. 5 may be implemented in hardware and/or software.
It should be noted that, when the electronic device provided in the embodiment is only used as the information sending end, it may execute the technical solution of the method embodiment shown in fig. 2; when the electronic device provided in the embodiment is only used as the information receiving end, it may execute the technical solution of the method embodiment shown in fig. 3; when the electronic device provided in this embodiment is used as both the information sending end and the information receiving end, it may execute the technical solutions of the method embodiments shown in fig. 2 and fig. 3. The electronic device provided in this embodiment may be an internet of things device, including but not limited to at least one of the following: user side equipment and network side equipment. User-side devices include, but are not limited to, computers, smart phones, tablets, digital broadcast terminals, messaging devices, game consoles, personal digital assistants, and the like. Network-side devices include, but are not limited to, a single network server, a server group of multiple network servers, or a cloud of large numbers of computers or network servers based on cloud computing, where cloud computing is one of distributed computing, and is a super virtual computer consisting of a group of loosely coupled computers.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor can implement the generalization and ubiquitous semantic interaction method provided by any of the above method embodiments. The computer readable storage medium in this embodiment may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that contains one or more available medium(s) integrated, and the available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., an SSD), etc.
Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments may be implemented by hardware, or may be implemented by a computer program. When all or part of the functions in the above embodiments are implemented by means of a computer program, the program may be stored in a computer readable storage medium, and the storage medium may include: read-only memory, random access memory, magnetic disk, optical disk, hard disk, etc., and the program is executed by a computer to realize the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above can be realized. In addition, when all or part of the functions in the above embodiments are implemented by means of a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and the program in the above embodiments may be implemented by downloading or copying the program into a memory of a local device or updating a version of a system of the local device, and when the program in the memory is executed by a processor.
The foregoing description of the invention has been presented for purposes of illustration and description, and is not intended to be limiting. Several simple deductions, modifications or substitutions may also be made by a person skilled in the art to which the invention pertains, based on the idea of the invention.

Claims (6)

1. A generalized and ubiquitous semantic interaction method, comprising:
transmitting information to be interacted in the form of one or more instructions through a byte coding sequence in a memory; wherein each instruction includes one or more phrase arguments that are divided into verb phrases and prefix phrase according to their utility in the instruction, the formalization of a single instruction is represented as follows:
Instruction=phrase∷verb|
(phrase∷affix,phrase∷verb)|
(phrase∷verb,phrase∷affix)|
(phrase∷affix,phrase∷verb,phrase∷affix);
wherein Instruction represents instructions, phrase: verb represents verb phrase, phrase: affix represents prefix phrase;
the prefix phrase is placed in front of or behind the verb phrase;
the plurality of instructions are distinguished by a concatenation morpheme.
2. The method of claim 1, wherein the phrase parameter comprises one or more morpheme parameters, the morpheme parameters comprising at least one main morpheme, the category of the phrase parameter being determined from the category of the main morpheme, the formalization of the phrase parameter being represented as follows:
phrase=phrase∷noun
|phrase∷verb|phrase∷affix|phrase∷object
Wherein, phrase represents phrase parameters, phrase: noun represents noun phrase, phrase: object represents object phrase;
the main morpheme of the verb phrase header is a verb morpheme, the verb phrase further comprises an operation parameter, and the operation parameter comprises zero, one or more noun morphemes, and/or noun phrase, and/or object phrase;
the noun phrase is a sequence formed by parallel noun morphemes;
the main morpheme of the prefix phrase head is the prefix morpheme, the prefix phrase further comprises a modifier, the modifier comprises one or more noun morphemes and/or noun phrases, and the prefix phrase is used for limiting the execution condition or the execution result of the operation.
3. The method of claim 2, wherein the morpheme parameters include one or more of physical objects, operations, semantic exchange codes and attributes of affix words, variables and instances required to carry physical data;
the morpheme parameters comprise noun morphemes, verb morphemes and affix morphemes, wherein the noun morphemes are used for representing physical object semantics, the verb morphemes are used for representing operation semantics, and the affix morphemes are used for representing modification and auxiliary semantics;
The noun morpheme comprises a data bearing part, wherein the data bearing part is divided into two forms of variables and use items according to the requirement that a memory for storing data is defined firstly and then used; wherein the definition of variables is used to specify memory specifications and constraints required for physical data, including representations of memory endian/endian differences under heterogeneous CPU architecture and unit of measure items associated with physical object measurements; the usage items include the specific storage of the corresponding numerical values in the memory;
the morpheme parameters also comprise semantic exchange codes, wherein the semantic exchange codes are unique serial numbers defined in a semantic dictionary by physical semantics;
the object phrase is used to noun the instruction and all constituent elements contained by the instruction such that information of the constituent elements is interactable.
4. The method of claim 3, wherein the semantic dictionary is an ordered set of generalized feature extraction tuples of all relevant physical object concepts, operational semantics, and modifier semantics in the interaction context, the tuple constituent items including mnemonics, encodings, categories, and definitions characterizing semantic objects; the tuples that make up the semantic dictionary are formalized as follows:
semantic object =(mnemonic,semcode,category,definition);
Wherein semantic is provided object Representing semantic objectsThe method comprises the steps of carrying out a first treatment on the surface of the The mnemonic represents a mnemonic of the semantic object and is a natural language symbol corresponding to the semantic object; semcode represents the exchange code of the semantic object, and is an unsigned integer with variable byte length; category represents category of semantic object, the category of the semantic object comprises name part of speech, action part of speech and affix part of speech, definition represents definition of the semantic object, and the definition is description and definition of the semantic object.
5. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the generalized and ubiquitous semantic interaction method according to any of claims 1-4.
6. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to implement the generalization and ubiquitous semantic interaction method according to any of claims 1-4.
CN202010094132.0A 2020-02-15 2020-02-15 Generalized and ubiquitous semantic interaction method, device and storage medium Active CN111325035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010094132.0A CN111325035B (en) 2020-02-15 2020-02-15 Generalized and ubiquitous semantic interaction method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010094132.0A CN111325035B (en) 2020-02-15 2020-02-15 Generalized and ubiquitous semantic interaction method, device and storage medium

Publications (2)

Publication Number Publication Date
CN111325035A CN111325035A (en) 2020-06-23
CN111325035B true CN111325035B (en) 2023-10-20

Family

ID=71171163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010094132.0A Active CN111325035B (en) 2020-02-15 2020-02-15 Generalized and ubiquitous semantic interaction method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111325035B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4688195A (en) * 1983-01-28 1987-08-18 Texas Instruments Incorporated Natural-language interface generating system
EP0268367A2 (en) * 1986-11-18 1988-05-25 Nortel Networks Corporation A domain-independent natural language database interface
US5523946A (en) * 1992-02-11 1996-06-04 Xerox Corporation Compact encoding of multi-lingual translation dictionaries
JP2005332380A (en) * 2004-04-23 2005-12-02 Microsoft Corp Semantic programming language and linguistic object model

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138819A1 (en) * 2000-12-19 2002-09-26 Hills Theodore S. Computer programming language to describe and encapsulate a computer as a set of classes and objects
FR2862780A1 (en) * 2003-11-25 2005-05-27 Thales Sa Semantic grammar developing process for controlling e.g. vehicle, involves combining conceptual model with generic and lexical grammars, and formulating specific grammar based on one field considered from combination
US7761858B2 (en) * 2004-04-23 2010-07-20 Microsoft Corporation Semantic programming language
US9110883B2 (en) * 2011-04-01 2015-08-18 Rima Ghannam System for natural language understanding
GB201319856D0 (en) * 2013-11-11 2013-12-25 Univ Manchester Transforming natural language specifications of software requirements into analysis models
US10650190B2 (en) * 2017-07-11 2020-05-12 Tata Consultancy Services Limited System and method for rule creation from natural language text

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4688195A (en) * 1983-01-28 1987-08-18 Texas Instruments Incorporated Natural-language interface generating system
EP0268367A2 (en) * 1986-11-18 1988-05-25 Nortel Networks Corporation A domain-independent natural language database interface
US5523946A (en) * 1992-02-11 1996-06-04 Xerox Corporation Compact encoding of multi-lingual translation dictionaries
JP2005332380A (en) * 2004-04-23 2005-12-02 Microsoft Corp Semantic programming language and linguistic object model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Forbrig P, et al.Towards a Ubiquitous Semantics of Interaction.Lecture Notes in Computer Science.2002,238-252. *
贾冰.基于语义的物联网服务架构及关键算法研究.中国博士学位论文全文数据库(信息科技辑).2013,2013年(第08期),I138-171. *

Also Published As

Publication number Publication date
CN111325035A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN113408299B (en) Training method, device, equipment and storage medium of semantic representation model
CN111090417B (en) Binary file analysis method, binary file analysis device, binary file analysis equipment and binary file analysis medium
CN111249736B (en) Code processing method and device
CN111045678A (en) Method, device and equipment for executing dynamic code on page and storage medium
CN111209736A (en) Text file analysis method and device, computer equipment and storage medium
CN115080742A (en) Text information extraction method, device, equipment, storage medium and program product
Koranne et al. Boost c++ libraries
CN110795069A (en) Code analysis method, intelligent terminal and computer readable storage medium
WO2023057836A1 (en) Automatic measurement of semantic similarity of conversations
CN111325035B (en) Generalized and ubiquitous semantic interaction method, device and storage medium
CN111767406B (en) Knowledge representation method and device for PLC engineering
WO2021072872A1 (en) Name storage method and apparatus based on character conversion, and computer device
CN116467372A (en) Automatic database conversion method and device, electronic equipment and storage medium
CN114328486A (en) Data quality checking method and device based on model
CN110852077B (en) Method, device, medium and electronic equipment for dynamically adjusting Word2Vec model dictionary
CN113704819A (en) Code printing output method and device of application log and computer readable storage medium
CN111178025A (en) Editing method and device of nuclear power plant operation guide rules, computer equipment and storage medium
Zhang et al. Speculative p-DFAs for parallel XML parsing
CN117270877A (en) Text data analysis method and system and electronic equipment
US20220019623A1 (en) Tenant-isolated custom annotations for search within a public corpus
Liu et al. Multi‐Matching Nested Languages
CN117632012A (en) Data lake data storage method, device, equipment and medium based on storage stripping
Dong Content-aware compression for big textual data analysis
CN115934101A (en) Interface document generation method, device, medium and electronic equipment
CN112685574A (en) Method and device for determining hierarchical relationship of domain terms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant