Information Interaction Method, Information Interaction Device, Information Interaction Equipment and Storage Medium
By generating access tags to obtain NAN filtering rules, the problem of pre-establishing connections between NAN devices is solved, and efficient information interaction between devices is achieved.
Patent Information
- Application Number
- CN202110220439.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-26
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2041-02-26
AI Technical Summary
When interacting information between NAN devices, communication connections need to be established in advance to match NAN filtering rules, resulting in inefficient connections.
By generating access tags, the service descriptor attribute information of the second device, including NAN filtering rules, directly establish communication connections between devices, avoiding traditional pre-arranged processes.
It improves the communication connection efficiency during information interaction between devices, simplifies the connection process between devices, and improves the information interaction efficiency between devices.
Smart Images

Figure CN114980047B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless communication technologies, and in particular, to an information interaction method, an information interaction device, an information interaction equipment, and a storage medium. Background Art
[0002] NAN (Neighbor Awareness Network) is a standard formulated by WFA (Wireless Fidelity Alliance). The role of this standard is to synchronize all devices participating in the NAN network in the absence of a central node and perform NAN network maintenance work and service discovery work in the agreed DW (Discovery Window). However, in specific applications, there is sometimes a need for connection and information interaction between NAN devices in pairs. Summary of the Invention
[0003] The present disclosure provides an information interaction method, an information interaction device, equipment, and a storage medium.
[0004] In a first aspect of an embodiment of the present disclosure, an information interaction method is provided, which is applied to a first device and includes:
[0005] Obtaining service descriptor attribute information of a second device based on an access label generated from the service descriptor attribute information of the second device; wherein the service descriptor attribute information at least includes: NAN filtering rules;
[0006] Performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device.
[0007] In some embodiments, the NAN filtering rules include at least one matching field;
[0008] The performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device includes:
[0009] Performing information interaction with the second device in a proximity sensing manner based on the matching field.
[0010] In some embodiments, the matching field includes at least one of the following:
[0011] Service identification ID field, matching filter field, and service response filter field.
[0012] In some embodiments, the service descriptor attribute information further includes a communication distance field;
[0013] Performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0014] Performing information interaction with the second device within the distance range defined by the communication distance field; wherein the communication distance field is used to define the communication distance within which devices can perform information interaction through the proximity sensing network.
[0015] In some embodiments, the service descriptor attribute information further includes an information security field;
[0016] Performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including: Performing information interaction with the second device through the data encryption method indicated by the information security field; wherein the information security field is used to indicate the encryption of communication data between devices.
[0017] In some embodiments, the access tag at least includes: an image tag, or a communication tag.
[0018] In some embodiments, the image tag at least includes: a two-dimensional code tag, and / or a one-dimensional code tag.
[0019] In some embodiments, the communication tag at least includes: an NFC tag.
[0020] A second aspect of the embodiments of the present disclosure provides an information interaction device applied to a first device, including:
[0021] A first processing unit, configured to obtain the service descriptor attribute information of the second device based on the access tag generated from the service descriptor attribute information of the second device; wherein the service descriptor attribute information at least includes: a NAN filtering rule;
[0022] A second processing unit, configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device.
[0023] In some embodiments, the NAN filtering rule includes at least one matching field;
[0024] The second processing unit, configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0025] The second processing unit is specifically configured to perform information interaction with the second device in a proximity sensing manner based on the matching field.
[0026] In some embodiments, the service descriptor attribute information further includes a communication distance field;
[0027] The second processing unit is configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0028] The second processing unit is specifically configured to perform information interaction with the second device within the distance range defined by the communication distance field; wherein the communication distance field is used to define the communication distance for information interaction between devices through a proximity sensing network.
[0029] In some embodiments, the service descriptor attribute information further includes an information security field;
[0030] The second processing unit is configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0031] The second processing unit is specifically configured to perform information interaction with the second device through the data encryption method indicated by the information security field; wherein the information security field is used to indicate the encryption of communication data between devices.
[0032] In a third aspect of the embodiments of the present disclosure, an information interaction device is provided, including: a processor and a memory for storing a computer program that can run on the processor, wherein when the processor is configured to run the computer program, it executes the steps of the method described in the first aspect of the above embodiments.
[0033] In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and characterized in that when the computer program is executed by a processor, it implements the steps of the method described in the first aspect of the above embodiments.
[0034] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0035] The information interaction method provided by the embodiments of the present disclosure generates an access label that can be accessed by a first device from the service descriptor attribute information in a second device. The first device can directly obtain the service descriptor attribute information in the second device through the access label. The service descriptor attribute information at least includes NAN filtering rules. When the first device and the second device have service descriptor attribute information with the same NAN filtering rules, based on the service descriptor attribute information, the first device and the second device perform information interaction in a proximity sensing manner. The introduction of the access label enables information interaction between the first device and the second device without the need to pre-agree on specific NAN filtering rules and then set them separately in the two devices. Instead, the first device can directly access the generated access label to obtain the service descriptor attribute information containing the NAN filtering rules, so that the applications between the first device and the second device have the same NAN filtering rules to establish a communication connection between the devices, thereby improving the communication connection efficiency during information interaction between the devices.
[0036] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.
[0038] Figure 1 is a flowchart of an information interaction method shown according to an exemplary embodiment.
[0039] Figure 2 is the communication connection process of an information interaction method shown according to an exemplary embodiment Figure 1 。
[0040] Figure 3 is the communication connection process of an information interaction method shown according to an exemplary embodiment Figure 2 。
[0041] Figure 4 is a schematic diagram of the NAN device network connection shown according to an exemplary embodiment.
[0042] Figure 5 is a schematic structural diagram of an information interaction device shown according to an exemplary embodiment.
[0043] Figure 6 is a block diagram of a terminal device shown according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0045] NAN (Neighbor Awareness Networking) devices can enable two unconnected NAN devices to send and receive messages through broadcasting and subscribing without going through a Wi-Fi access point (such as a wireless router that generates a Wi-Fi hotspot). That is, they can autonomously detect, alert, and connect to other devices. The WiFi Aware (i.e., NAN) application can be configured to alert the user that there are devices running the same application nearby. The WiFi Aware application can operate in crowded environments and indoors, and has extremely low power consumption. An application can utilize the WiFi Aware technology to discover services provided by nearby peer devices. For example, a user can use this technology to discover people with the same interests around and initiate a "conversation"; a shopping application using WiFi Aware can help the user find nearby product brands that match the user's preferences, etc. However, when NAN devices that have never established a communication connection obtain information from each other, they need to establish a communication connection in advance. Only NAN devices with a matched connection can discover that there are devices running the same application nearby.
[0046] The present disclosure provides an information interaction method. Figure 1 It is a flowchart of an information interaction method shown according to an exemplary embodiment. As Figure 1 shown, this information interaction method is applied to a first device and includes:
[0047] Step 10: Obtain the service descriptor attribute information of the second device based on an access label generated from the service descriptor attribute information of the second device; wherein, the service descriptor attribute information at least includes: NAN filtering rules;
[0048] Step 11: Perform information interaction with the second device in a neighbor awareness manner based on the service descriptor attribute information of the second device.
[0049] In the embodiments of the present disclosure, the generated access label includes service descriptor attribute information. The service descriptor attribute information includes at least NAN filtering rules. The first device can directly obtain the service descriptor attribute information including NAN filtering rules in the second device through the access label, so that the first device and the second device have the same NAN filtering rules. When the applications between the first device and the second device have service descriptor attribute information with the same NAN filtering rules, based on the service descriptor attribute information, the first device and the second device perform information interaction in a proximity sensing manner.
[0050] In the embodiments of the present disclosure, the service descriptor attribute information includes relevant information about one or more attributes of the service provided by the service discovery frame. Multiple information fields in the service descriptor attribute information determine the attribute characteristics of the service. In addition to the NAN filtering rules, the service descriptor attribute information may also include other information fields. For example, a binding bitmap field corresponding to the service, a service information length field, and other information fields described in the NAN standard or protocol, etc. For example, the binding bitmap field in the service descriptor attribute information may include a bitmap, which indicates the NAN-DL (data link) attributes included in the message together with the service attributes. The service information length field in the service descriptor attribute information may include a value indicating the length of the service information field, for indicating the length of the service information field, etc.
[0051] In the embodiments of the present disclosure, the NAN filtering rules in the service descriptor attribute information are similar to keys, which are characterized as authentication credentials for interactions between NAN device applications. If the NAN filtering rules are the same, the authentication between NAN devices passes, and the NAN devices can establish communication with each other. When the applications between the first device and the second device have the same NAN filtering rules, the first device can automatically receive the information pushed (broadcast) by the application of the second device. The NAN filtering rules can specifically be reflected by the matching of the matching fields in the service descriptor attribute information. When the matching fields between two NAN devices match successfully, it indicates that the NAN device applications between the two NAN devices have the same NAN filtering rules, and then communication can be established between the two NAN devices.
[0052] In the embodiments of the present disclosure, based on the service descriptor attribute information, the first device and the second device perform information interaction in a proximity sensing manner, which means that after establishing communication between the first device and the second device through the NAN filtering rules, a communication service that conforms to the attributes determined in the service descriptor attribute information is performed, that is, a service discovery frame determined by the attributes is sent for service communication. Among them, the determination of the attributes includes the distance at which information can be transmitted between devices, whether to perform encrypted transmission, etc.
[0053] In the embodiments of the present disclosure, the introduction of the access label enables, when information is exchanged between the first device and the second device, the NAN filtering rules to be set between the two devices without using the traditional pre-agreed manner. Instead, the first device can directly access the generated access label to obtain the service descriptor attribute information containing the NAN filtering rules, so that the applications between the first device and the second device have the same NAN filtering rules to establish a communication connection between the devices, thereby improving the communication connection efficiency during information exchange between the devices.
[0054] In some embodiments, the NAN filtering rule includes at least one matching field;
[0055] The information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device includes:
[0056] Performing information interaction with the second device in a proximity sensing manner based on the matching field.
[0057] In the embodiments of the present disclosure, the service descriptor attribute information contains multiple matching fields for NAN filtering rule matching. When any one of the matching fields matches successfully, or multiple matching fields match successfully at the same time, the NAN filtering rule can match successfully. A communication connection can be established between NAN devices. Among them, when matching the NAN filtering rule, it can be to match the parameters in the matching fields of the service descriptor attribute information. When the parameters in the matching field match successfully, the matching field matches successfully.
[0058] In the embodiments of the present disclosure, the matching field may be characterized as the specific credential for authentication when establishing communication between devices. The matching of the matching field is specifically manifested as the matching of the parameters in the field. When the parameters in the field match successfully, the matching field matches successfully. The parameters for matching may be a combination of numbers or letters such as a continuous string that can be used to determine the matching consistency. When the parameters are exactly the same, the matching is successful; when the parameters are inconsistent, the matching fails. In the embodiments of the present disclosure, when applying specific matching fields, the number of matching fields can be set according to the authentication level requirements. For example, the authentication levels are divided into level one, level two, level three, etc. from low to high. Level one, level two, and level three all correspond to three different numbers of matching fields. When only the first-level authentication requirement needs to be met, any one of the matching fields only needs to match successfully. When the second-level authentication requirement needs to be met, at least two matching fields need to match successfully. When the third-level authentication requirement needs to be met, three matching fields need to match successfully at the same time, etc. Among them, the highest level may require all matching fields to match successfully. Among them, the number of specific matching fields set can be adaptively adjusted according to the authentication level. For example, if there are many levels, more different matching fields can be set; if there are few levels, fewer matching fields can be set. For example, if there are a total of three levels, three matching fields can be set. If the levels are divided into four levels, four matching fields can be set, etc.
[0059] In the embodiments of the present disclosure, based on the matching field, information interaction with the second device is performed in a proximity sensing manner, including:
[0060] When the matching field in the original service descriptor attribute information of the first device does not match the matching field in the service descriptor attribute information of the second device, the matching field in the service descriptor attribute information of the first device is updated based on the obtained matching field in the service descriptor attribute information of the second device, so that the matching field in the service descriptor attribute information of the second device is consistent with the matching field in the service descriptor attribute information of the first device, for establishing a communication connection between the first device and the second device.
[0061] In the embodiments of the present disclosure, the service descriptor attribute information further includes an operation field, which is used to receive a data frame sent by the second device when the matching field matches successfully. When the matching fails, the data frame is discarded. The action field, that is, the operation field, is included in the service descriptor attribute information, which is used for data reception or discard operations, and is associated with whether the matching field matches successfully, and is used to execute the action after the matching field matches. For example, as described above, when the matching field matches successfully, a data frame sent by the second device is received. When the matching fails, the data frame is discarded.
[0062] In some embodiments, the matching field includes at least one of the following:
[0063] Service identification ID field, matching filter field, and service response filter field.
[0064] In the embodiments of the present disclosure, the service identification ID field, the matching filter field, and the service response filter field all belong to the fields in the service descriptor attribute information. The service identification ID field contains values indicating service attributes to describe business services. The values in the field can correspondingly identify specific business services. For example, if the instance of the first business service is a certain game, the ID value corresponding to this instance can be A1; if the instance of the second business service is home message transmission, the ID corresponding to this instance can be A2.
[0065] The matching filter is a type of filter. The matching filter field contains matching items for performing NAN filtering rule matching (i.e., the specific parameters for matching described in the above embodiments).
[0066] The service descriptor attribute information may further include a Service Response Filter (SRF) field. The SRF field includes a control field and an address set field. The control field can indicate the control information corresponding to the SRF field. The address set field can identify the electronic device as the recipient of data from another electronic device. For example, in response to the address set in the address set field, the first device can be identified as the recipient of data from the second device.
[0067] In some embodiments, the service descriptor attribute information further includes a communication distance field;
[0068] Performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device includes:
[0069] Performing information interaction with the second device within the distance range defined by the communication distance field; wherein the communication distance field is used to define the communication distance within which devices can perform information interaction through the proximity sensing network.
[0070] In the embodiments of the present disclosure, the communication distance field also belongs to the information fields in the service descriptor attribute information. After the first device and the second device determine communication through the NAN filtering rule, the communication distance within which the first device and the second device can perform information interaction with each other is determined by the communication distance field. Within the communication distance determined by the communication distance field, the first device and the second device can perform information interaction through the proximity sensing network. When the distance between the devices exceeds the communication distance, they cannot perform information interaction with each other, that is, the first device cannot receive the information pushed by the application of the second device.
[0071] In some embodiments, the service descriptor attribute information further includes an information security field;
[0072] Performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including: performing information interaction with the second device through the data encryption method indicated by the information security field; wherein the information security field is used to indicate the encryption of communication data between devices.
[0073] In the embodiments of the present disclosure, the information security field also belongs to the information field in the service descriptor attribute information. The information security field can indicate the encryption method of data when information interaction is performed between devices through a proximity sensing network. For example, digital encryption, alphabet encryption, or mixed encryption of numbers and alphabets is performed on the data. The first device and the second device transmit encrypted communication data to improve communication security.
[0074] In some embodiments, the access tag at least includes: an image tag, or a communication tag.
[0075] In the embodiments of the present disclosure, the image tag function can accurately identify the image content to obtain recommended or distributed information, so as to improve the retrieval efficiency and accuracy. In this application, the information corresponding to the tag can be obtained by recognizing the image in the image tag, improving the information acquisition efficiency.
[0076] In this application, the communication tag refers to a technical tag that can enable short-range communication between devices. The communication connection between the first device and the second device is realized through the communication tag. The technical tag can be linked with information that can be read by the device. After establishing a communication connection through the technical tag, the linked information is automatically obtained.
[0077] In some embodiments, the image tag at least includes: a two-dimensional code tag, and / or a one-dimensional code tag.
[0078] In the embodiments of the present disclosure, the image tag can be a two-dimensional code tag, and / or a one-dimensional code tag. The two-dimensional code tag and the one-dimensional code tag contain the service descriptor attribute information of the second device. The first device obtains the service descriptor attribute information by scanning the two-dimensional code tag or the one-dimensional code tag.
[0079] In the embodiments of the present disclosure, the image tag can have various different presentation forms. For example, it can be a printed paper tag, or an electronic tag displayed on a display screen, etc.
[0080] In the embodiments of the present disclosure, the two-dimensional code corresponding to the two-dimensional code tag can be a two-dimensional code of various different shapes such as square, circular, etc.
[0081] Figure 2 It is a communication connection process of an information interaction method shown according to an exemplary embodiment Figure 1 . Such as Figure 2As shown, establishing communication between a first device and a second device based on QR code label scanning includes:
[0082] Step 20: The second device generates a QR code label based on its own service descriptor attribute information and enables the NAN service.
[0083] Step 21: After the first device scans the QR code of the second device, it obtains the service descriptor attribute information of the second device and sets the attribute information of the first device.
[0084] Step 22: The first device triggers the NAN service operation by scanning and uses the same NAN filtering rule to communicate with the second device.
[0085] In some embodiments, the communication label at least includes: an NFC label.
[0086] In the embodiments of the present disclosure, the communication label can be an NFC label. The service descriptor attribute information of the second device is built into the NFC label. The first device reads the service descriptor attribute information pre-written in the NFC label of the second device through NFC.
[0087] In the embodiments of the present disclosure, the communication label can also be a Bluetooth label. The first device obtains the service descriptor attribute information in the second device through Bluetooth access.
[0088] Figure 3 It is the communication connection process of an information interaction method shown according to an exemplary embodiment Figure 2 . As Figure 3 shown, in the case where the NAN filtering rule in the service descriptor attribute information of the second device is different from the NAN filtering rule in the service descriptor attribute information of the first device, establishing communication between the first device and the second device based on the NFC label includes:
[0089] Step 30: Write the service descriptor attribute information in the NFC label of the second device and enable the NAN service.
[0090] Step 31: The first device reads the service descriptor attribute information in the NFC label of the second device through NFC and sets the attribute information of the first device.
[0091] Step 32: The first device triggers the NAN service operation by scanning and uses the same NAN filtering rule to communicate with the second device.
[0092] In step 31, setting the attribute information of the first device means that the first device updates its own service descriptor attribute information according to the obtained service descriptor attribute information to have the same NAN filtering rule as the second device.
[0093] In this application, after establishing a communication connection between the first device and the second device, it is found that the function can be executed based on various parameters such as distance. For example, when the second device running the same application is less than 3 meters away, the first device can remind the user.
[0094] In this application, the usage scenario of the Wi-Fi sensing technology is that the NAN device can perform local area network sensing communication with nearby NAN devices and form a NAN cluster network without connecting to a nearby hotspot or establishing a local area network connection (such as WIFI P2P, Bluetooth pairing, etc.) with nearby network devices. Figure 4 It is a schematic diagram of the NAN device network connection shown according to an exemplary embodiment. As Figure 4 shown, information, pictures, files, etc. can be directly sent between the NAN devices with wireless sensing established. The scenarios supported by this application include all interactions between NAN devices. For example, for the NAN device of a merchant (the Wi-Fi hotspot supports the aware function), the merchant can directly use the directly set NAN filtering rules to generate a QR code or an NFC tag. Every time a nearby customer scans the QR code printed by the merchant or the generated NFC tag, the customer can sense information such as advertising promotions sent by the user through the NAN application without the customer having to connect to the merchant's router. The NAN application of the customer is a general NAN application and cannot pre-set NAN filtering rules, which is simple, convenient, and efficient. After the user leaves, the chain merchants can also receive the information provided by the merchant before the customer arrives at the store, which is convenient. For example, every time passing by a coffee shop, one can know that this coffee shop is having a promotion, and the NAN application in the mobile phone APP is just a general application, which is convenient and fast.
[0095] In the second aspect of the embodiments of the present disclosure, an information interaction device is provided. Figure 5 It is a schematic structural diagram of an information interaction device shown according to an exemplary embodiment. As Figure 5 shown, the information interaction device is applied to the first device and includes:
[0096] A first processing unit 51, configured to obtain the service descriptor attribute information of the second device based on the access label generated from the service descriptor attribute information of the second device; wherein, the service descriptor attribute information at least includes: NAN filtering rules;
[0097] A second processing unit 52, configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device.
[0098] In the embodiments of the present disclosure, the generated access label contains service descriptor attribute information. The service descriptor attribute information at least includes: NAN filtering rules. The first device can directly obtain the service descriptor attribute information containing the NAN filtering rules in the second device through the access label, so that the first device and the second device have the same NAN filtering rules. When the applications between the first device and the second device have the service descriptor attribute information with the same NAN filtering rules, based on the service descriptor attribute information, the first device and the second device perform information interaction in a proximity sensing manner.
[0099] In the embodiments of the present disclosure, when the applications between the first device and the second device have the same NAN filtering rules, the first device can automatically receive the information pushed (broadcast) by the application of the second device.
[0100] In the embodiments of the present disclosure, in addition to the NAN filtering rules, the service descriptor attribute information may further include other information fields. For example, a control bitmap field corresponding to the service, a service information length field, and other information fields described in the NAN standard or protocol, etc.
[0101] In the embodiments of the present disclosure, the introduction of the access label enables that when information interaction is performed between the first device and the second device, it is no longer necessary to use the traditional pre-agreed method to set the NAN filtering rules between the two devices. Instead, the first device can directly access the generated access label to obtain the service descriptor attribute information containing the NAN filtering rules, so that the applications between the first device and the second device have the same NAN filtering rules, thereby establishing a communication connection between the devices, and further improving the communication connection efficiency during information interaction between the devices.
[0102] In some embodiments, the NAN filtering rules include at least one matching field;
[0103] The second processing unit is configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0104] Specifically, the second processing unit is configured to perform information interaction with the second device in a proximity sensing manner based on the matching field.
[0105] In the embodiments of the present disclosure, the service descriptor attribute information contains multiple matching fields for NAN filtering rule matching. When any one matching field matches successfully, or multiple matching fields match successfully at the same time, the NAN filtering rules can match successfully. A communication connection can be established between NAN devices. Among them, when matching the NAN filtering rules, it can be to match the parameters in the matching fields of the service descriptor attribute information. When the parameters in the matching field match successfully, the matching field matches successfully.
[0106] In the embodiments of the present disclosure, the service descriptor attribute information further includes an operation field, which is used to receive a data frame sent by a second device when the matching field matches successfully. When the matching fails, the data frame is discarded.
[0107] In some embodiments, the matching field includes at least one of the following:
[0108] Service identification ID field, matching filter field, and service response filter field.
[0109] In the embodiments of the present disclosure, the service identification ID field, the matching filter field, and the service response filter field all belong to the fields in the service descriptor attribute information. The service identification ID field contains a value indicating the service attribute to describe the service. The value in the field can correspondingly identify a specific service.
[0110] The matching filter is a type of filter. The matching filter field contains matching items for performing NAN filtering rule matching.
[0111] The service descriptor attribute may further include a service response filter (SRF) field. The SRF field can be used to identify a subset of electronic devices as the receivers of data. The SRF field may include multiple functional fields. For example, an SRF control field. The SRF control field can indicate control information corresponding to the SRF field.
[0112] In some embodiments, the service descriptor attribute information further includes a communication distance field;
[0113] The second processing unit is configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0114] The second processing unit is specifically configured to perform information interaction with the second device within the distance range defined by the communication distance field; wherein the communication distance field is used to define the communication distance for information interaction between devices through a proximity sensing network.
[0115] In the embodiments of the present disclosure, the communication distance field also belongs to the information fields in the service descriptor attribute information. After the first device and the second device determine communication through the NAN filtering rule, the communication distance at which the first device and the second device can perform information interaction with each other is determined by the communication distance field. Within the communication distance determined by the communication distance field, the first device and the second device can perform information interaction through a proximity sensing network. When the distance between devices exceeds the communication distance, they cannot perform information interaction with each other, that is, the first device cannot receive the information pushed by the application of the second device.
[0116] In some embodiments, the service descriptor attribute information further includes an information security field;
[0117] The second processing unit is configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, including:
[0118] The second processing unit is specifically configured to perform information interaction with the second device through the data encryption method indicated by the information security field; wherein, the information security field is used to indicate the encryption of communication data between devices.
[0119] In the embodiments of the present disclosure, the information security field also belongs to the information field in the service descriptor attribute information. The information security field can indicate the encryption method of data when information interaction is performed between devices through a proximity sensing network. For example, digital encryption, letter encryption, or mixed encryption of numbers and letters is performed on the data. The first device and the second device transmit the encrypted communication data to improve communication security.
[0120] In some embodiments, the access tag at least includes: an image tag, or a communication tag.
[0121] In the embodiments of the present disclosure, the image tag function can accurately identify the image content, improve the retrieval efficiency and accuracy, so that personalized recommendation, content retrieval and distribution are more effective. The computer is used to analyze and understand the image to identify various different patterns of targets and objects. In this application, the information corresponding to the tag can be obtained by identifying the image tag, improving the information acquisition efficiency. In this application, the communication tag refers to a technical tag that can enable distance communication between devices. The communication connection between the first device and the second device is realized through the communication tag.
[0122] In some embodiments, the image tag at least includes: a two-dimensional code tag, and / or a one-dimensional code tag.
[0123] In the embodiments of the present disclosure, the image tag can be a two-dimensional code tag, and / or a one-dimensional code tag. The two-dimensional code tag and the one-dimensional code tag contain the service descriptor attribute information of the second device. The first device obtains the service descriptor attribute information by scanning the two-dimensional code tag or the one-dimensional code tag.
[0124] In the embodiments of the present disclosure, the image tag can have various different presentation forms. For example, it can be a printed paper tag, or an electronic tag displayed on a display screen, etc.
[0125] In the embodiments of the present disclosure, the two-dimensional code corresponding to the two-dimensional code tag can be a two-dimensional code in various different shapes such as square, round, etc.
[0126] An embodiment of the present disclosure also provides an information interaction device, including: a processor and a memory for storing a computer program that can run on the processor, wherein when the processor is used to run the computer program, it executes the steps of the method described in the above embodiment.
[0127] An embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, it implements the steps of the method described in the above embodiment.
[0128] Figure 6 is a block diagram of a terminal device shown according to an exemplary embodiment. For example, the terminal device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0129] Referring to Figure 6 , the terminal device may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0130] The processing component 802 generally controls the overall operation of the terminal device, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0131] The memory 804 is configured to store various types of data to support the operation of the terminal device. Examples of these data include instructions for any application or method operating on the terminal device, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0132] The power component 806 provides power for various components of the terminal device. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal device.
[0133] The multimedia component 808 includes a screen that provides an output interface between the terminal device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0134] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the terminal device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0135] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0136] The sensor component 814 includes one or more sensors for providing a status assessment of various aspects of the terminal device. For example, the sensor component 814 can detect the on / off state of the terminal device, the relative positioning of components, such as the display and the keypad of the terminal device. The sensor component 814 can also detect a change in the position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration / deceleration of the terminal device, and the temperature change of the terminal device. The sensor component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or a CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0137] The communication component 816 is configured to facilitate communication between the terminal device and other devices in a wired or wireless manner. The terminal device can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0138] In an exemplary embodiment, the terminal device can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0139] Those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and embodiments are only to be considered exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0140] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. An information interaction method, characterized in that, Applied to a first device, including: Obtaining service descriptor attribute information of a second device based on an access label generated from the service descriptor attribute information of the second device; wherein, the service descriptor attribute information at least includes: NAN filtering rules; When the first device and the second device have the same service descriptor attribute information of NAN filtering rules, performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device.
2. The information interaction method according to claim 1, wherein The NAN filtering rules include at least one matching field; The performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device includes: Performing information interaction with the second device in a proximity sensing manner based on the matching field.
3. The information interaction method according to claim 2, wherein The matching field includes at least one of the following: Service identification ID field, matching filter field, and service response filter field.
4. The information interaction method according to claim 1, wherein The service descriptor attribute information further includes a communication distance field; The performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device includes: Performing information interaction with the second device within the distance range defined by the communication distance field; wherein the communication distance field is used to define the communication distance within which devices can perform information interaction through a proximity sensing network.
5. The information interaction method according to claim 1, wherein The service descriptor attribute information further includes an information security field; The performing information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device includes: performing information interaction with the second device through the data encryption method indicated by the information security field; wherein, the information security field is used to indicate the encryption of communication data between devices.
6. The information interaction method according to any one of claims 1 to 5, characterized in that The access label at least includes: an image label, or a communication label.
7. The information interaction method according to claim 6, wherein The image label at least includes: a QR code label, and / or a one-dimensional code label; The communication label at least includes: an NFC label.
8. An information interaction device, characterized in that, Applied to a first device, including: A first processing unit, configured to obtain service descriptor attribute information of a second device based on an access label generated from the service descriptor attribute information of the second device; wherein, the service descriptor attribute information at least includes: NAN filtering rules; A second processing unit, configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device when the first device and the second device have the same service descriptor attribute information of NAN filtering rules.
9. The information interaction device according to claim 8, wherein The NAN filtering rules include at least one matching field; The second processing unit, configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, includes: The second processing unit is specifically configured to perform information interaction with the second device in a proximity sensing manner based on the matching field.
10. The information interaction device according to claim 8, characterized in that, The service descriptor attribute information further includes a communication distance field; The second processing unit, configured to perform information interaction with the second device in a proximity sensing manner based on the service descriptor attribute information of the second device, includes: The second processing unit is specifically configured to interact with the second device within the distance range defined by the communication distance field; wherein the communication distance field is used to define the communication distance for information interaction between devices through the proximity awareness network.
11. The information interaction device according to claim 8, wherein The service descriptor attribute information further includes an information security field; The second processing unit is configured to interact with the second device in a proximity awareness manner based on the service descriptor attribute information of the second device, including: The second processing unit is specifically configured to interact with the second device through the data encryption method indicated by the information security field; wherein the information security field is used to indicate the encryption of communication data between devices.
12. An information interaction device, characterized in that, Including: A processor and a memory for storing a computer program that can run on the processor, wherein when the processor is used to run the computer program, it executes the steps of the method according to any one of claims 1 to 7.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and equipment for establishing wireless connection
CN105704837A
Private service identifiers including hash values in neighborhood aware networks
CN105745904A
Method, apparatus, and computer program product for inter-ap communication in neighbor awareness networking environment
CN106102127A
Wi-Fi connection control method and system
CN108260188A