Data perception system and method
Through the data perception system of IPV6 network, the information storage and query mechanism of the server and client is used to realize the perception and exchange of data interfaces in the environment, solving the problem of inability to perceive and exchange data in the existing technology, and having the ability to adapt to the environment Perception of various data.
Patent Information
- Application Number
- CN202411072817.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-08-11
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art cannot realize the perception and exchange of various data in the environment, and lacks the ability to perceive the data interface of network equipment.
Through IPV6 network, a data perception system is designed, including server and client, which is used to store and query client information. The client acts as a data interface perceiver or provider, and realizes data through perceived instructions and data interface feedback information exchange.
It realizes the data interface perception and exchange between network devices, has the ability to perceive various data in the environment, and connects and exchanges data through IPV6 network.
Smart Images

Figure CN119031004A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data communications, and in particular to a data perception system and method. Background Art
[0002] People perceive the environment through the five senses. People can see the colors in the environment, hear the sounds in the environment, and smell the odors in the environment. In modern cities, there are all kinds of information data, but people cannot perceive this data. People miss a lot of information and opportunities due to the lack of perception of data in the environment.
[0003] In order to solve the above problems, the existing technology enables people to perceive a certain type of information data by relying on specific network devices, but cannot communicate and exchange data with other network devices in the environment, and does not have the ability to perceive various data in the environment. Summary of the invention
[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a data perception system and method for solving the above-mentioned problems of the prior art.
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a data perception system, which includes: a server and multiple clients connected to an IPV6 network, and each of which is assigned one or more IPV6 addresses; wherein each client provides one or more data interfaces, and sends client information to the server through the IPV6 network for storage; when acting as a data interface perception party, the server sends perception instructions for perceiving one or more data interfaces of the client as a data interface provider through the IPV6 network; when acting as a data interface provider, the server provides data to the client as a data interface perception party through the data interface; the server is used to query the corresponding stored client information when receiving the perception instruction sent by the client as the data interface perception party through the IPV6 network, so that the client as the data interface perception party can exchange data with the corresponding data interface of the client as the data interface provider through the IPV6 network based on the corresponding generated data interface feedback information.
[0006] In one embodiment of the present invention, the server includes: a client information storage module, used to store client information sent by each client; a client information query module, connected to the client information storage module, used to receive perception instructions sent by the client as the data interface perception party, and perform corresponding client information query operations based on the perception instructions.
[0007] In one embodiment of the present invention, the types of client information include: first client information and second client information; wherein, the first client information includes: the client's IPV6 address, the port number for receiving perception instructions and the client's geographic location information; the second client information includes: data interface information of all data interfaces of the client; wherein, the data interface information includes: the client's IPV6 address, the name of the data interface, the corresponding listening port number, data description information and the client's geographic location information.
[0008] In one embodiment of the present invention, the client information query operation includes: according to the geographic location range in the perception instruction, querying the first client information of the client within the geographic location range in the client information storage module, and sending the perception instruction to the corresponding client obtained by the query; or, querying the second client information of the client within the geographic location range in the client information storage module, and filtering the data interface information that matches the geographic location range, the name of the data interface, the perception keywords and the data description information of the perception instruction in the corresponding second client information, and sending the filtered data interface information as data interface feedback information to the client serving as the data interface perception party.
[0009] In one embodiment of the present invention, each client includes: a data interface management module, one or more data service modules respectively monitoring a port, and one or more data interface use modules;
[0010] Among them, each data service module is used to provide a data interface through the IPv6 address of the client and the monitored port, and send the name, IPv6 address, port number and data description information of the data interface to the data interface management module for registration; the data interface management module is used to send the client information to the server; each data interface use module is used to send the name, perception keyword and geographical location range of the data interface to be perceived to the data interface management module to generate a perception instruction; when the client acts as the data interface perception party, the data interface management module monitors a data interface feedback information receiving port, and sends the name, IPv6 address, port number and data description information of the data interface to the data interface management module for registration; the data interface management module is used to send the name, perception keyword and geographical location range of the data interface to be perceived to the data interface management module to generate a perception instruction; when the client acts as the data interface perception party, the data interface management module monitors a data interface feedback information receiving port, and sends the name, IPv6 address and geographical location range of the data interface to the server through the IPv6 address of the client and the data interface management module. The data interface feedback information is received at the interface feedback information receiving port, so as to enable the corresponding data interface usage module to exchange data with the corresponding data service module of the client of the data interface provider; wherein the perception instruction includes: the name of the data interface to be perceived, the perception keyword, the geographical location range, the IPV6 address of the client and the port number of the data interface feedback information receiving port; the data interface feedback information includes: the IPV6 address of the client of the data interface provider and the data interface information of the corresponding data interface; when the client acts as the data interface provider, the data service module that provides the data interface exchanges data with the data interface usage module of the client of the data interface perception party.
[0011] In one embodiment of the present invention, when the client acts as a data interface provider, the data interface management module listens to a port for receiving perception instructions, receives the perception instructions sent by the server through the client's IPV6 address and the port for receiving perception instructions, queries the matching registered data interface based on the perception instructions, and generates corresponding data interface feedback information and sends it to the client's IPV6 address and the data interface feedback information receiving port corresponding to the perception instruction, so that the corresponding data service module can exchange data with the data interface usage module of the client of the data interface perception party that receives the data interface feedback information; or, the corresponding data service module directly exchanges data with the data interface usage module of the client of the data interface perception party that receives the data interface feedback information sent by the server.
[0012] In one embodiment of the present invention, the data interface using module is further used to arrange the corresponding perceived data interface into a two-dimensional map or a three-dimensional space according to the geographical location information in the received data interface feedback information.
[0013] To achieve the above-mentioned purpose and other related purposes, the present invention provides a data perception method, which is applied to a server connected to an IPV6 network, and stores client information sent by each client connected to the IPV6 network. The method includes: receiving, through the IPV6 network, perception instructions sent by each client for perceiving one or more data interfaces of other clients; querying the corresponding stored client information according to the perception instructions, so that the client sending the perception instruction can exchange data with the corresponding data interface of the perceived client through the IPV6 network based on the corresponding generated data interface feedback information.
[0014] To achieve the above-mentioned purpose and other related purposes, the present invention provides a data perception method, which is applied to a client accessing an IPV6 network, and the method includes: sending a perception instruction for perceiving one or more data interfaces of other clients accessing the IPV6 network to a server accessing the IPV6 network through the IPV6 network, so that the server can query the corresponding stored client information; based on the received data interface feedback information generated by the server or the data interface feedback information generated by the perceived client based on the perception instruction forwarded by the server, exchanging data with the corresponding data interface of the perceived client through the IPV6 network.
[0015] To achieve the above-mentioned purpose and other related purposes, the present invention provides a data perception method, which is applied to a client connected to an IPV6 network, and sends client information to a server connected to the IPV6 network for storage. The method includes: receiving perception instructions sent by the server from other clients connected to the IPV6 network through the IPV6 network; querying a matched registered data interface based on the perception instruction, and generating corresponding data interface feedback information and sending it to the client corresponding to the perception instruction through the IPV6 network; providing data to the client corresponding to the perception instruction from the corresponding perceived data interface through the IPV6 network.
[0016] As described above, the present invention is a data perception system and method, which has the following beneficial effects: the present invention distributes various data of itself to the environment in the form of data interfaces through network devices, and can also perceive various data interfaces distributed to the environment by other network devices, and can connect and exchange data with each other through the IPV6 network according to the data interfaces, and has the ability to perceive various data in the environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Shown is a structural schematic diagram of a data perception system in one embodiment of the present invention.
[0018] Figure 2 Shown is a schematic diagram of the structure of the server in one embodiment of the present invention.
[0019] Figure 3 Shown is a schematic diagram of the structure of a client in an embodiment of the present invention.
[0020] Figure 4 Shown is a schematic diagram of a first implementation scheme of a data perception system in one embodiment of the present invention.
[0021] Figure 5 Shown is a schematic diagram of a second implementation scheme of a data perception system in one embodiment of the present invention.
[0022] Figure 6 Shown is a flow chart of a data perception method applied to a server in one embodiment of the present invention.
[0023] Figure 7 Shown is a flow chart of a data perception method applied to a client in one embodiment of the present invention.
[0024] Figure 8 Shown is a flow chart of a data perception method applied to a client in one embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0026] It should be noted that in the following description, reference is made to the accompanying drawings, which describe several embodiments of the present invention. It should be understood that other embodiments may also be used, and that mechanical composition, structural, electrical and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present invention is limited only by the claims of the published patents. The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.
[0027] Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a part is said to "include" a certain constituent element, unless otherwise stated, it does not exclude other constituent elements, but means that other constituent elements may be included.
[0028] The terms first, second and third mentioned herein are used to describe various parts, components, regions, layers and / or segments, but are not limited thereto. These terms are only used to distinguish a certain part, component, region, layer or segment from other parts, components, regions, layers or segments. Therefore, the first part, component, region, layer or segment described below may refer to the second part, component, region, layer or segment within the scope of the present invention.
[0029] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.
[0030] A data perception system of the present invention distributes its own various data into the environment in the form of data interfaces through network devices, and can also perceive various data interfaces distributed into the environment by other network devices. It can connect and exchange data with each other through the IPV6 network according to the data interfaces, and has the ability to perceive various data in the environment.
[0031] The following is a detailed description of the embodiments of the present invention with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention. The present invention can be embodied in many different forms and is not limited to the embodiments described herein.
[0032] like Figure 1 A structural schematic diagram of a data perception system in an embodiment of the present invention is shown.
[0033] Server 1 and multiple clients are set up in the same environment; both server 1 and clients are connected to the IPV6 network and are assigned one or more IPV6 addresses respectively; it should be noted that Figure 1 Only three clients, namely, client 21, client 22 and client 23 are taken as an example, and no limitation is made thereto.
[0034] The server 1 and the client can be implemented through various network devices, including but not limited to desktop computers, notebook computers, smart phones, tablet computers, e-book readers, MP4 players, laptops, augmented reality glasses, network servers, etc.
[0035] Among them, each client (client 21, client 22 and client 23) provides one or more data interfaces, and one or more types of data exchange can be performed through the data interface; the client is used to send the client information to the server 1 through the IPV6 network for storage; the client can be used as a data interface perceiver and a data interface provider respectively; when acting as a data interface perceiver, it sends a perception instruction for perceiving one or more data interfaces of the client as a data interface provider to the server 1 through the IPV6 network; when acting as a data interface provider, it provides corresponding data to the client as a data interface perceiver through the data interface; one or more data interfaces of the client can be provided by a network device, or distributed in multiple network devices, for example, the main body of the client is in a computer or mobile phone, and one or more data interfaces are provided by one or more network server agents, and these network servers can be regarded as part of the client. Each network device corresponds to an IPV6 address, so the client can be assigned one or more IPV6 addresses; the server may also be composed of multiple physical or virtual devices, each of which has its own IPv6 address. Therefore, the server can be assigned one or more IPV6 addresses.
[0036] The server 1 is used to query the corresponding stored client information when receiving a perception instruction sent by the client acting as the data interface perception party through the IPV6 network, so that the client acting as the data interface perception party can exchange data with the corresponding data interface of the client acting as the data interface provider through the IPV6 network based on the corresponding generated data interface feedback information.
[0037] For example, if the client 21 acts as a data interface perception party, it can send perception instructions for perceiving one or more data interfaces of the clients 22 and 23 that act as data interface providers to the server 1 through the IPV6 network; the server 1 receives the perception instructions sent by the client 21 through the IPV6 network, and queries the corresponding stored client information, so that the client 21 can exchange data with the corresponding data interfaces of the clients 22 and 23 through the IPV6 network based on the corresponding generated data interface feedback information.
[0038] Therefore, the present invention allows various network devices to distribute their respective data to the environment in the form of data interfaces, and also allows various devices to perceive various data interfaces from the environment, connect to each other and exchange data through the IPV6 network according to the data interfaces, and have the ability to perceive the data in the environment.
[0039] In order to better describe the structure and implementation principle of the server 1, the following embodiments are provided for illustration.
[0040] In one embodiment, if Figure 2 As shown, the server 1 includes:
[0041] The client information storage module 11 is used to store the client information sent by each client through the IPV6 network; wherein the client information storage module 11 is a storage medium such as a memory, a hard disk, or an SSD of the device where the server 1 is located.
[0042] The client information query module 12 is connected to the client information storage module 11, and is used to receive a perception instruction sent by the client as the data interface perception party, and perform a corresponding client information query operation based on the perception instruction. The client information query module 12 is software running in the CPU or MCU of the device where the server 1 is located.
[0043] In this embodiment, the types of client information include: first client information and second client information; wherein the first client information includes: the IPv6 address of the client, the port number for receiving the perception instruction, and the geographical location information of the client; wherein the IPv6 address of the client is the address of the network device where the data interface for receiving the perception instruction is distributed. The second client information includes: data interface information of all data interfaces of the client; wherein the data interface information includes: the IPv6 address of the client, the name of the data interface, the corresponding listening port number, data description information, and the geographical location information of the client.
[0044] In a specific embodiment, based on different types of client information, the client information query operation of the server has the following two modes:
[0045] The first method: If the queried client information is the first client information, the server does not need to generate data interface feedback information; the client information query module 12 queries the first client information corresponding to each client within the geographical location range in the client information storage module 11 according to the geographical location range in the perception instruction, and sends the perception instruction to the corresponding client obtained by the query; specifically, the client information query module 12 queries the first client information within the geographical location range in the client information storage module 12 according to the geographical location range in the received perception instruction, and sends the perception instruction to the IPV6 address and port number in the queried first client information.
[0046] The second method: If the client information queried is the second client information, and the data interface feedback information is generated by the server due to the existence of data interface information, the client information query module 12 selects the data interface information that matches the geographical location range, the name of the data interface, the perception keywords and the data description information of the perception instruction from the second client information stored in the client information storage module 11, and sends the selected data interface information as data interface feedback information to the client as the data interface perception party. Specifically, the client information query module 12 of the server 1 searches the client information storage module 11 for data interface information that is within the geographical location range and whose name matches the name of the data interface to be perceived in the perception instruction based on the geographical location range in the received perception instruction, and then selects the data interface information that meets the perception keywords based on the perception keywords in the perception instruction and the data description information in the data interface information, and after organizing the obtained data interface information into data interface feedback information, it is fed back to the IPV6 address and port number in the perception instruction.
[0047] In order to better describe the structure and implementation principle of the client, the following embodiments are provided for illustration.
[0048] In one embodiment, if Figure 3 As shown, each client includes: a data interface management module 201, one or more data service modules 202 and one or more data interface use modules 203; Figure 2 Only two data service modules and two data interface use modules are used as an example. One or more data service modules 202 of the client can be in one network device or distributed in multiple network devices, for example, the data interface management module 201 is in a computer or mobile phone, and one or more network servers are used as one or more data service modules 202.
[0049] Each data service module 202 listens to a port respectively, and is used to provide a data interface through the IPv6 address of the client and the port listened to, so that the data interface using module 203 of other clients can transmit data to each other after connecting to the data interface through the IPv6 network; each data service module 202 sends the name, IPv6 address, port number listened to and data description information of the data interface to the data interface management module 201 for registration; wherein the data interfaces respectively correspond to a data interface type and have corresponding names, such as WEB or FILE; the data description information is a description of the data provided by the interface, such as the website of XX law firm, talent recruitment or legal documents; when the network server is used as the data service module 202, a data interface is provided through the IPv6 address and port of the network server, and a data interface can also be provided through the domain name and port of the network server; the IPv6 address or domain name of the network server also belongs to the client;
[0050] Each data interface using module 203 is used to send the name of the data interface to be sensed, the sensed keyword and the geographical location range to the data interface management module; for example, the name of the data interface to be sensed is: WEB, the sensed keyword is: talent recruitment, and the geographical location range is: within 500m from 121.54568 degrees east longitude and 31.36857 degrees north latitude; and exchange data with the corresponding data service module 202 of the client of the data interface provider through the received data interface feedback information;
[0051] The data interface management module 201 is used to receive the name, IPV6 address, listening port number and data description information of the data interface of each data service module 202 for registration; and send the client information to the server. When the data service module 202 is a network server, the registered information is the IPV6 address or domain name of the network server.
[0052] It should be noted that the data service module 202 and the data interface usage module 203 can be implemented through various functional software, which can be built-in functional software modules or third-party software. The data interface usage module 203 is such as a web browser, file download software, social software, etc. These software need to obtain a network address in order to obtain data through the network and realize the functions of the software. Therefore, the data service module 202 serves as the provider of the data interface, and the data interface usage module 203 serves as the perceiver of the data interface. The present invention can provide a way for various software to perceive the network address (data interface) in the environment through the client; it can also enable the functional software to provide the network address (data interface) to the environment for perception by other users' software.
[0053] When the client acts as a data interface perception party, the data interface management module 201 monitors a data interface feedback information receiving port, which has the following implementation methods:
[0054] Method 1: A data interface usage module 203 of the client sends the name of the data interface that needs to be perceived, the perception keyword and the geographical location range to the data interface management module 201 to generate a perception instruction. The data interface management module 201 sends the perception instruction to the server. If the client information of the data interface provider queried by the server is the first client information, the data interface provider is required to generate data interface feedback information; therefore, the data interface management module 201 receives the data interface feedback information from the data interface provider, and sends the corresponding data interface usage module 203 to establish communication with the corresponding data interface of the client of the data interface provider and exchange data.
[0055] Method 2: A data interface usage module 203 of the client sends the name of the data interface to be perceived, the perception keyword and the geographical location range to the data interface management module 201 to generate a perception instruction, and the data interface management module 201 sends the perception instruction to the server; if the client information of the data interface provider queried by the server is the second client information, the server generates data interface feedback information, the data interface management module 201 receives the data interface feedback information from the server, and sends the corresponding data interface usage module 203 to establish communication with the corresponding data interface of the client of the data interface provider and exchange data.
[0056] Among them, the perception instruction includes: the name of the data interface to be perceived, the perception keyword, the geographical location range, the client's IPV6 address and the port number of the data interface feedback information receiving port; the data interface feedback information includes: the IPV6 address of the client of the data interface provider and the data interface information of the corresponding data interface.
[0057] When the client acts as a data interface provider, the data interface management module 201 monitors a receiving perception instruction port, and has the following implementation methods based on different types of sending client information:
[0058] Method 1: If the data interface management module 201 of the client sends the first client information (the client's IPV6 address, the port number of the port for receiving perception instructions, and the client's geographic location information) to the server, the client needs to generate data interface feedback information; the data interface management module 201 receives the perception instruction sent by the server through the port for receiving perception instructions, and queries the registered data interface based on the perception instruction. If there is a data interface that matches the name of the data interface that needs to be perceived in the perception instruction, and the data description information conforms to the perception keyword in the perception instruction, then the corresponding data interface feedback information is generated and sent to the client's IPV6 address and data interface feedback information receiving port of the data interface perception party corresponding to the perception instruction. It should be noted that if there is no matching data interface, it means that the client is not the data interface provider corresponding to the perception instruction.
[0059] Method 2: If the data interface management module 201 of the client sends the second client information (data interface information of all data interfaces) to the server, the data interface feedback information is directly generated by the server because it has the information of each data interface; then the corresponding data service module 202 of the client exchanges data with the data interface usage module of the data interface perception party.
[0060] It should be noted that there are multiple implementation methods for the data interface usage module 203 to send the perception information to the data interface management module 201, and the data interface management module 201 to send the perceived data interface feedback information to the corresponding data interface usage module 203, such as TCP, broadcast, etc. For example, through a TCP connection, the perception information received from which TCP connection is fed back to the corresponding TCP connection, and then fed back to the correct data interface usage module. For another example, through broadcasting, when the data interface usage module sends the perception information through broadcasting, it can add an identification ID to the broadcast, and when the data interface management module feeds back information through broadcasting, it also adds the identification ID, and it can feed back to the correct data interface usage module.
[0061] Therefore, based on the different implementation methods of the above-mentioned clients, this data perception system can implement the following specific solutions:
[0062] The data perception system includes: a server 1 connected to an IPV6 network, a client A, and a client B; wherein the client A serves as a data interface perception party, and the client B serves as a data interface provider;
[0063] Solution 1: If Figure 4As shown, if client B sends the first client information (the client's IPV6 address, the port number of the port for receiving perception instructions of client B, and the client's geographical location information) to the client information storage module of the server for storage, client A sends the first client information or the second client information to the client information storage module of the server for storage; a data interface usage module of client A sends the name of the data interface to be perceived, the perception keyword and the geographical location range to the data interface management module to generate a perception instruction, and the data interface management module sends the perception instruction to the client information query module of the server; the client information query module of the server queries the first client information corresponding to each client within the geographical location range in the perception instruction in the client information storage module, and sends the perception instruction to the query module. The corresponding IPV6 address and the receiving perception instruction port monitored by client A; the data interface management module of client B receives the perception instruction through the receiving perception instruction port, and queries the registered data interface. If there is a data interface that matches the data interface name that needs to be perceived in the perception instruction, and the data description information conforms to the perception keyword in the perception instruction, the data interface management module will feed back the IPV6 address of client B, the matched data interface name, port number and the geographical location information of the client as data interface feedback information to the IPV6 address and port number in the perception instruction, that is, the data interface feedback information receiving port monitored by client A. The data interface management module of client A feeds back the data interface feedback information to the corresponding data interface use module, so that the data interface use module can exchange data with the corresponding data service module of client B. If the data interface matched by client B is provided by a network server, the IPV6 address of the data interface feedback information is the IPV6 address or domain name of the network server.
[0064] Solution 2: If Figure 5As shown, if client B sends the second client information (data interface information of all data interfaces of the client) to the client information storage module of the server for storage; client A sends the first client information or the second client information to the client information storage module of the server for storage; a data interface use module of client A sends the name of the data interface to be perceived, the perception keyword and the geographical location range to the data interface management module to generate a perception instruction, and the data interface management module sends the perception instruction to the client information query module of the server; the client information query module of the server searches the client information storage module for data interface information within the geographical location range and whose name matches the name of the data interface to be perceived in the perception instruction according to the geographical location range in the perception instruction, and then filters out the data interface information that meets the perception keyword according to the perception keyword in the perception instruction and the data description information in the data interface information, and organizes the obtained data interface information into data interface feedback information, and then feeds back to the IPV6 address and port number in the perception instruction; client A receives the data interface feedback information through the monitored data interface feedback information receiving port, and the data interface management module of client A feeds back the data interface feedback information to the corresponding data interface use module, so that the data interface use module can exchange data with the corresponding data service module of client B.
[0065] In one embodiment, the data interface using module is also used to arrange the corresponding perceived data interface into a two-dimensional map or a three-dimensional space according to the geographic location information in the received data interface feedback information. This step can be performed before, during or after data exchange. The data interface perceived from the environment (geographic location range) contains the geographic location information, so these data interfaces can be integrated with the environment again, so that the user can intuitively feel the distribution of the data interface in the environment. Among them, the specific implementation method of arranging into the two-dimensional map is to mark these data interfaces into the electronic map according to the geographic location information (latitude and longitude and altitude) of the data interface, and the user can intuitively feel the plane position of the data interface. The specific implementation method of arranging into the three-dimensional space is a real world space centered on the user, according to the geographic location information (latitude and longitude and altitude) of the data interface and the user's geographic location (latitude and longitude and altitude), the spatial position (direction, distance, height) of the data interface relative to the user is calculated, and then it can be integrated with the real space environment through AR, so that the user can intuitively feel the real spatial position of the data interface.
[0066] In order to better illustrate the above data perception system, the present invention provides the following specific embodiments.
[0067] Embodiment: A data perception system.
[0068] The system includes: a server and clients A, B and C, which are respectively connected to an IPV6 network; after the server is connected to the IPV6 network, the IPV6 address allocated to it is 2001:DB8:2DE::E00; after clients A, B and C are connected to the IPV6 network, the IPV6 addresses allocated to them are 2001:DB8:2DE::E0A, 2001:DB8:2DE::E0B and 2001:DB8:2DE::E0C respectively.
[0069] The server includes: a client information storage module and a client information query module;
[0070] Client A, Client B, and Client C have a data service module, a data interface management module, and a data interface use module;
[0071] Among them, Client A, Client B, and Client C each have two data service modules, the WEB data module and the FILE data module, which provide WEB services and file download services respectively; the WEB data module of Client A listens to port 80, and provides WEB services through the domain name example.com (which can be resolved to an IP address) and port 80; the FILE data module of Client A listens to port 21, and provides file download services through the IPV6 address 2001:DB8:2DE::E0A and port 21. The WEB data module of Client B listens to port 3000, and provides WEB services through the IPV6 address 2001:DB8:2DE::E0B and port 3000; the FILE data module of Client B listens to port 2121, and provides file download services through the IPV6 address 2001:DB8:2DE::E0B and port 2121. The WEB data module of client C listens to port 8080 and provides WEB services to the outside world through the domain name example2.com (which can be resolved to an IP address) and port 8080; the FILE data module of client C listens to port 3131 and provides file download services to the outside world through the IPV6 address 2001:DB8:2DE::E0C and port 3131.
[0072] The data interface management module of client A listens to port 5000 to receive perception instructions through the IPV6 network, and listens to port 5001 to receive data interface feedback information through the IPV6 network; the data interface management module of client B listens to port 6000 to receive perception instructions through the IPV6 network, and listens to port 6001 to receive data interface feedback information through the IPV6 network; the data interface management module of client C listens to port 7001 to receive data interface feedback information through the IPV6 network, and client C does not listen to ports to receive perception instructions.
[0073] Based on the above system structure, the process of the first data perception solution is as follows:
[0074] Step 1: The WEB data module and FILE data module of client A, client B and client C send their own data interface name, IPV6 address (domain name), port number and data description information to the data interface management module for registration;
[0075] The WEB data module and FILE data module of client A send their own data interface name, IPV6 address (domain name), port number and data description information to the data interface management module for registration. The data interface registered in the data interface management module of client A is:
[0076] 1. Data interface registered by WEB data module:
[0077] Interface name: WEB;
[0078] Domain name: example.com;
[0079] Port number: 80;
[0080] Data description information: XX law firm website, talent recruitment;
[0081] 2. Data interface registered by FILE data module:
[0082] Interface name: FILE;
[0083] IPV6 address: 2001:DB8:2DE::E0A; port number: 21;
[0084] Data description information: Legal documents.
[0085] The WEB data module and FILE data module of client B send their own data interface name, IPV6 address, port number and data description information to the data interface management module for registration. The data interface registered in the data interface management module of client B is:
[0086] 1. Data interface registered by WEB data module:
[0087] Interface name: WEB;
[0088] IPV6 address: 2001:DB8:2DE::E0B;
[0089] Port number: 3000;
[0090] Data description information: XX advertising company website, talent recruitment;
[0091] 2. Data interface registered by FILE data module:
[0092] Interface name: FILE;
[0093] IPV6 address: 2001:DB8:2DE::E0B;
[0094] Port number: 2121;
[0095] Data description information: advertising samples, print advertising pictures.
[0096] The WEB data module and FILE data module of client C send their own data interface name, IPV6 address (domain name), port number and data description information to the data interface management module for registration. The data interface registered in the data interface management module of client C is:
[0097] 1. Data interface registered by WEB data module:
[0098] Interface name: WEB;
[0099] Domain name: example2.com;
[0100] Port number: 8080;
[0101] Data description information: XX’s personal website;
[0102] 2. Data interface registered by FILE data module:
[0103] Interface name: FILE
[0104] IPV6 address: 2001:DB8:2DE::E0C
[0105] Port number: 3131
[0106] Data description information: Selected photographic images.
[0107] Step 2: Client A, Client B, and Client C send client information to the server.
[0108] Client A and client B send the client's IPv6 address, the port for receiving the sensing command, and the client's geographical location information as client information to the server;
[0109] The client information sent by client A to the server is:
[0110] IPV6 address: 2001:DB8:2DE::E0A;
[0111] Receiving perception command port: 5000;
[0112] Geographical location: 121.54168 degrees east longitude, 31.36857 degrees north latitude, 21 meters above sea level;
[0113] The client information sent by client B to the server is:
[0114] IPV6 address: 2001:DB8:2DE::E0B
[0115] Receiving perception command port: 6000
[0116] Geographical location: 121.54968 degrees east longitude, 31.36857 degrees north latitude, 25 meters above sea level.
[0117] The data interface management module of the client C organizes the client's IPv6 address, the data interface name of each data service module, the port number, the data description information and the client's geographical location information into various data interface information, and sends it to the server as client information;
[0118] The client information sent by client C to the server is:
[0119] Interface name: WEB;
[0120] Domain name: example2.com;
[0121] Port number: 8080;
[0122] Data description information: XX’s personal website;
[0123] Geographical location: 121.54568 degrees east longitude, 31.36857 degrees north latitude, 25 meters above sea level;
[0124] as well as,
[0125] Interface name: FILE;
[0126] IPV6 address: 2001:DB8:2DE::E0C;
[0127] Port number: 3131;
[0128] Data description information: Selected photographic images;
[0129] Geographical location: 121.54568 degrees east longitude, 31.36857 degrees north latitude, 25 meters above sea level.
[0130] Step 3: The server stores the client information received from client A, client B and client C in the client information storage module.
[0131] Step 4: A data interface usage module of client C, such as a web browser, sends the following perception information to the data interface management module:
[0132] Name of the data interface that needs to be sensed: WEB;
[0133] Perception Keywords: Talent Recruitment;
[0134] Geographical location range: within 500m from 121.54568 degrees east longitude and 31.36857 degrees north latitude.
[0135] The data interface management module of client C sends the following sensing instructions to the server:
[0136] Name of the data interface that needs to be sensed: WEB;
[0137] Perception Keywords: Talent Recruitment;
[0138] Geographical location range: within 500m from 121.54568 degrees east longitude and 31.36857 degrees north latitude;
[0139] IPV6 address: 2001:DB8:2DE::E0C;
[0140] Port for receiving data interface feedback information: 7001;
[0141] Step 5: After receiving the perception instruction from the client C in the previous step, the client information query module of the server obtains the client information from the client information storage module.
[0142] Client information 1:
[0143] IPV6 address: 2001:DB8:2DE::E0A;
[0144] Receiving perception command port: 5000;
[0145] Geographical location: 121.54168 degrees east longitude, 31.36857 degrees north latitude, 21 meters above sea level;
[0146] Client information 2:
[0147] IPV6 address: 2001:DB8:2DE::E0B;
[0148] Receiving perception command port: 6000;
[0149] Geographical location: 121.54968 degrees east longitude, 31.36857 degrees north latitude, 25 meters above sea level.
[0150] The two pieces of client information are from client A and client B respectively, and the client information from client C itself is excluded.
[0151] Step 6: The client information query module of the server sends the received perception instruction to client A (IPV6 address 2001:DB8:2DE::E0A port 5000) and client B (IPV6 address 2001:DB8:2DE::E0B port 6000).
[0152] Step 7: After receiving the above perception instructions, the data interface management module of client A queries the data interface that meets the conditions according to the data interface name "WEB" and the perception keyword "recruitment" to be perceived, and feeds back the following data interface feedback information to the IPV6 address 2001:DB8:2DE::E0C port 7001, that is, the data management module of client C.
[0153] Generated data interface feedback information:
[0154] Interface name: WEB;
[0155] Domain name: example.com;
[0156] Port number: 80;
[0157] Data description information: XX law firm website, talent recruitment;
[0158] Geographical location: 121.54168 degrees east longitude, 31.36857 degrees north latitude, 21 meters above sea level.
[0159] After receiving the above perception instructions, the data interface management module of client B queries the data interface that meets the conditions according to the data interface name "WEB" and the perception keyword "recruitment" to be perceived, and feeds back the following data interface feedback information to the IPV6 address 2001:DB8:2DE::E0C port 7001, that is, the data management module of client C.
[0160] Generated data interface feedback information:
[0161] Interface name: WEB;
[0162] IPV6 address: 2001:DB8:2DE::E0B;
[0163] Port number: 3000;
[0164] Data description information: XX advertising company website, talent recruitment;
[0165] Geographical location: 121.54968 degrees east longitude, 31.36857 degrees north latitude, 25 meters above sea level.
[0166] Step 8: The data interface management module of client C sends the data interface feedback information received in the previous step to the data interface use module, such as a web browser. The data interface use module can connect to the WEB data interface of client A through the domain name example.com and port 80 to obtain web page data; it can also connect to the WEB data interface of client B through the IPV6 address 2001:DB8:2DE::E0B port 3000 to obtain web page data.
[0167] Similarly, through the above data perception system, another data perception solution can be carried out. The process is as follows:
[0168] Step 1 to step 3 are the same as the previous data perception method, and will not be described in detail;
[0169] Step 4: A data interface usage module of client A, such as file download software, sends the following perception information to the data interface management module:
[0170] Name of the data interface that needs to be sensed: FILE;
[0171] Perception Keywords: Pictures;
[0172] Geographical location range: within 500m from 121.54168 degrees east longitude and 31.36857 degrees north latitude;
[0173] Step 5: The data interface management module of client A sends the following sensing instructions to the server:
[0174] Name of the data interface that needs to be sensed: FILE;
[0175] Perception Keywords: Pictures;
[0176] Geographical location range: within 500m from 121.54168 degrees east longitude and 31.36857 degrees north latitude;
[0177] IPV6 address: 2001:DB8:2DE::E0A;
[0178] Port for receiving data interface feedback information: 5001.
[0179] Step 6: After receiving the perception instruction from client A according to the previous step, the client information query module of the server queries the client information storage module to obtain the client information:
[0180] Interface name: FILE;
[0181] IPV6 address: 2001:DB8:2DE::E0C;
[0182] Port number: 3131;
[0183] Data description information: Selected photographic images;
[0184] Geographical location: 121.54568 degrees east longitude, 31.36857 degrees north latitude, 25 meters above sea level.
[0185] The above client information is sent to the IPV6 address 2001:DB8:2DE::E0A port 5001, that is, the data interface management module of client A. The client information of client B is excluded because it is not within the geographical location range, and another client information of client C is excluded because the data interface name does not match.
[0186] Step 7: The data interface management module of client A sends the data interface feedback information received in the previous step to the data interface use module, such as file download software. The data interface use module can connect to the FILE data interface of client C through the IPV6 address 2001:DB8:2DE::E0C port 3131 to download files.
[0187] Similar to the principle of the above embodiment, the present invention provides a data perception method.
[0188] The following provides specific embodiments in conjunction with the accompanying drawings:
[0189] like Figure 6 A flow chart showing a data perception method in an embodiment of the present invention.
[0190] The method is applied to a server accessing an IPV6 network, storing client information sent by each client accessing the IPV6 network, and comprising:
[0191] Step S11: receiving, via the IPV6 network, a sensing instruction sent by each client for sensing one or more data interfaces of other clients;
[0192] Step S12: query the corresponding stored client information according to the perception instruction, so that the client sending the perception instruction can exchange data with the corresponding data interface of the perceived client through the IPV6 network based on the corresponding generated data interface feedback information.
[0193] In one embodiment, the types of client information include: first client information and second client information; wherein, the first client information includes: the client's IPV6 address, the port number for receiving perception instructions and the client's geographic location information; the second client information includes: data interface information of all data interfaces of the client; wherein, the data interface information includes: the client's IPV6 address, the name of the data interface, the corresponding listening port number, data description information and the client's geographic location.
[0194] In one embodiment, querying the corresponding stored client information according to the perception instruction includes:
[0195] According to the geographic location range in the perception instruction, the first client information of the client within the geographic location range is queried, and the perception instruction is sent to the corresponding client obtained by the query, so that the client can query the matched registered data interface based on the perception instruction, and generate the corresponding data interface feedback information and send it to the IPV6 address and port corresponding to the perception instruction.
[0196] Alternatively, the second client information of the clients within the geographical location range is queried, and the data interface information that matches the geographical location range, the name of the data interface, the perception keywords and the data description information of the perception instruction is filtered out from the corresponding second client information, and the filtered data interface information is sent as data interface feedback information to the client that sent the perception instruction.
[0197] Since the implementation principle of the server has been described in the above-mentioned embodiment, it will not be repeated here.
[0198] The client can be a data interface perceiver or a data interface provider. Therefore, the data perception methods implemented by the client are divided into data perception methods corresponding to the data interface perceiver and data perception methods corresponding to the data interface provider:
[0199] like Figure 7 A flow chart showing a data perception method in an embodiment of the present invention.
[0200] Applicable to the client accessing the IPV6 network, and the client acts as the data interface perception party.
[0201] The method comprises:
[0202] Step S21: Sending a sensing instruction for sensing one or more data interfaces of other clients connected to the IPV6 network to a server connected to the IPV6 network via the IPV6 network, so that the server can query the corresponding stored client information.
[0203] Step S22: receiving data interface feedback information generated by the server or data interface feedback information generated by the perceived client based on the perception instruction forwarded by the server.
[0204] Step S23: Based on the data interface feedback information, data is exchanged with the corresponding data interface of the perceived client via the IPV6 network.
[0205] Since the implementation principle of the client has been described in the above-mentioned embodiment, it will not be repeated here.
[0206] like Figure 8 A flow chart showing a data perception method in an embodiment of the present invention.
[0207] Applied to the client accessing the IPV6 network, the client acts as a data interface provider and sends the client information to the server accessing the IPV6 network for storage. The client information includes: the client's IPV6 address, the port number for receiving the perception instruction, and the client's geographical location information.
[0208] The method comprises:
[0209] Step S31: receiving a perception instruction from other clients connected to the IPV6 network sent by the server through the IPV6 network;
[0210] Step S32: Based on the perception instruction, query the matched registered data interface, generate corresponding data interface feedback information and send it to the client corresponding to the perception instruction through the IPV6 network.
[0211] Step S33: providing data to the client corresponding to the perception instruction through the IPV6 network from the corresponding perceived data interface.
[0212] Since the implementation principle of the client has been described in the above-mentioned embodiment, it will not be repeated here.
[0213] In summary, the data perception system and method of the present invention distributes various data of the network device to the environment in the form of data interface, and can also perceive various data interfaces distributed to the environment by other network devices, and can be interconnected and exchange data through the IPV6 network according to the data interface, and has the ability to perceive various data in the environment. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
[0214] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A data perception system, characterized in that: The system comprises: A server and multiple clients connected to the IPV6 network, each of which is assigned one or more IPV6 addresses; Each client provides one or more data interfaces, and sends client information to the server through the IPV6 network for storage; when acting as a data interface perception party, sends a perception instruction for perceiving one or more data interfaces of the client acting as a data interface provider to the server through the IPV6 network; when acting as a data interface provider, provides data to the client acting as a data interface perception party through the data interface; The server is used to query the corresponding stored client information when receiving a perception instruction sent by the client acting as the data interface perception party through the IPV6 network, so that the client acting as the data interface perception party can exchange data with the corresponding data interface of the client acting as the data interface provider through the IPV6 network based on the corresponding generated data interface feedback information.
2. The data perception system according to claim 1, characterized in that: The server includes: A client information storage module, used to store client information sent by each client; The client information query module is connected to the client information storage module and is used to receive a perception instruction sent by a client that serves as a data interface perception party, and perform a corresponding client information query operation based on the perception instruction.
3. The data perception system according to claim 2, characterized in that: The types of the client information include: first client information and second client information; The first client information includes: the IPv6 address of the client, the port number for receiving the sensing instruction and the geographical location information of the client; The second client information includes: data interface information of all data interfaces of the client; wherein the data interface information includes: the IPV6 address of the client, the name of the data interface, the corresponding listening port number, data description information and the geographical location information of the client.
4. The data perception system according to claim 3, characterized in that: The client information query operation includes: According to the geographical location range in the sensing instruction, first client information of clients within the geographical location range is searched in the client information storage module, and the sensing instruction is sent to the searched corresponding client; Alternatively, second client information of clients within the geographic location range is queried in the client information storage module, and data interface information that matches the geographic location range, name of the data interface, perception keywords and data description information of the perception instruction is filtered out from the corresponding second client information, and the filtered data interface information is sent as data interface feedback information to the client serving as the data interface perception party.
5. The data perception system according to claim 4, characterized in that: Each client includes: a data interface management module, one or more data service modules that monitor a port respectively, and one or more data interface use modules; Each data service module is used to provide a data interface through the IPv6 address of the client and the monitored port, and send the name, IPv6 address, port number and data description information of the data interface to the data interface management module for registration; The data interface management module is used to send the client information to the server; Each data interface using module is used to send the name of the data interface to be sensed, the sensing keyword and the geographical location range to the data interface management module to generate a sensing instruction; When the client acts as a data interface perception party, the data interface management module monitors a data interface feedback information receiving port, receives data interface feedback information through the client's IPV6 address and the data interface feedback information receiving port, so as to enable the corresponding data interface use module to exchange data with the corresponding data service module of the client of the data interface provider; wherein the perception instruction includes: the name of the data interface to be perceived, the perception keyword, the geographical location range, the client's IPV6 address and the port number of the data interface feedback information receiving port; the data interface feedback information includes: the data interface provider's client's IPV6 address and the data interface information of the corresponding data interface; When the client acts as a data interface provider, data is exchanged between a data service module that provides the data interface and a data interface using module of the client that is a data interface perception party.
6. The data perception system according to claim 5, characterized in that: When the client acts as a data interface provider, the data interface management module listens to a port for receiving perception instructions, receives the perception instructions sent by the server through the client's IPV6 address and the port for receiving perception instructions, queries the matching registered data interface based on the perception instructions, and generates corresponding data interface feedback information and sends it to the client's IPV6 address and the data interface feedback information receiving port corresponding to the perception instruction, so that the corresponding data service module and the data interface usage module of the client of the data interface perception party that receives the data interface feedback information can exchange data; Alternatively, the corresponding data service module directly exchanges data with the data interface usage module of the client of the data interface perception party that receives the data interface feedback information sent by the service end.
7. The data perception system according to claim 5, characterized in that: The data interface using module is further used to arrange the corresponding perceived data interface into a two-dimensional map or a three-dimensional space according to the geographical location information in the received data interface feedback information.
8. A data perception method, characterized in that: The method is applied to a server accessing an IPV6 network, storing client information sent by each client accessing the IPV6 network, and comprising: Receiving, via the IPV6 network, a sensing instruction sent by each client for sensing one or more data interfaces of other clients; The corresponding stored client information is queried according to the perception instruction, so that the client sending the perception instruction can exchange data with the corresponding data interface of the perceived client through the IPV6 network based on the corresponding generated data interface feedback information.
9. A data perception method, characterized in that: Applied to a client accessing an IPV6 network, the method comprises: Sending a sensing instruction for sensing one or more data interfaces of other clients connected to the IPV6 network to a server connected to the IPV6 network through the IPV6 network, so that the server can query the corresponding stored client information; Based on the received data interface feedback information generated by the server or the data interface feedback information generated by the perceived client based on the perception instruction forwarded by the server, data is exchanged with the corresponding data interface of the perceived client through the IPV6 network.
10. A data perception method, characterized in that: The method is applied to a client accessing an IPV6 network, and sends the client information to a server accessing the IPV6 network for storage. The method comprises: Receiving, via the IPV6 network, a perception instruction sent by the server from other clients connected to the IPV6 network; Based on the perception instruction, the registered data interface that matches is queried, and the corresponding data interface feedback information is generated and sent to the client corresponding to the perception instruction through the IPV6 network; The corresponding perceived data interface provides data to the client corresponding to the perception instruction through the IPV6 network.
