An information interaction method, apparatus, electronic device and storage medium
By collecting and fitting magnetic field data to generate action flags and using NB-IoT to transmit commands, the problem of low interactivity in online education is solved, achieving a low-cost and stable interactive experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-23
- Publication Date
- 2026-04-03
AI Technical Summary
Existing online education interaction methods are costly and have low interactivity. Camera imaging interaction is easily interfered with, and remote control button reading has insufficient interactivity.
By continuously collecting magnetic field data from the first terminal along various axes, the magnetic field sector is fitted and calculated to generate action flags, which are then uploaded to the designated server. NB-IoT is used to transmit commands to improve interactivity.
It reduced costs, improved interactivity and the stability of motion-sensing effects, simplified system complexity, and ensured data security.
Smart Images

Figure CN115510390B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data interaction technology, and in particular to an information interaction method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of technology, online education for families is becoming increasingly popular. Among related technologies, online education for families typically uses camera-based interactive imaging and remote control button-based reading and playback. However, camera-based interactive imaging is not only costly to use, but its tactile feedback is also easily affected. Furthermore, with remote control button-based reading and playback, users are limited to tediously selecting content on the screen, resulting in very low interactivity. Summary of the Invention
[0003] In view of this, the main objective of the embodiments of this application is to provide an information interaction method, device, electronic device and storage medium to solve the problem of low interactivity in online education in related technologies.
[0004] To achieve the above objectives, the technical solution of this application embodiment is implemented as follows:
[0005] This application provides an information interaction method, the method comprising:
[0006] Continuously collect magnetic field data of the first terminal in each axis;
[0007] Based on the collected magnetic field data, the corresponding magnetic field sector is fitted and calculated to obtain the calculation results;
[0008] The action flag corresponding to the calculation result is uploaded to the designated server; wherein...
[0009] The action flag bit represents the action state corresponding to the first terminal.
[0010] In the above scheme, uploading the action flag corresponding to the calculation result to the designated server includes:
[0011] If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is within the corresponding set range, the first type of action flag bit is uploaded to the set server;
[0012] If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is outside the corresponding set range, a second type of action flag is uploaded to the setting server; wherein,
[0013] The first type of action flag indicates that the first terminal has normally executed the corresponding action;
[0014] The second type of action flag indicates that the first terminal abnormally executed the corresponding action.
[0015] In the above scheme, the fitting calculation of the corresponding magnetic field sector based on the collected magnetic field data includes:
[0016] Based on the collected magnetic field data, the first axis whose magnetic field change is greater than the corresponding set threshold is determined;
[0017] The magnetic field data is fitted and calculated on the magnetic field sector corresponding to the first axis.
[0018] In the above scheme, the continuous acquisition of magnetic field data of the first terminal in each axis includes:
[0019] When the change in the magnetic field of the first terminal in a set axis is detected to be greater than a first set value, magnetic field data of the first terminal in each axis are continuously collected.
[0020] In the above scheme, before continuously acquiring the magnetic field data of the first terminal in each axis, the method further includes:
[0021] When the placement angle of the first terminal meets the set angle, the magnetic field data of the first terminal in each axis is calibrated as the reference data in the corresponding axis; wherein,
[0022] The reference data is used to determine the amount of magnetic field change along the corresponding axis.
[0023] In the above scheme, uploading the action flag corresponding to the calculation result to the designated server includes:
[0024] The action flag corresponding to the calculation result is uploaded to the designated server via Narrow Band Internet of Things (NB-IoT).
[0025] This application also provides an information interaction method, the method comprising:
[0026] The first terminal performs fitting calculations on the corresponding magnetic field sector based on the continuously collected magnetic field data of the first terminal in each axis, and obtains the calculation results.
[0027] The first terminal uploads the action flag corresponding to the calculation result to the designated server; the action flag represents the action state of the first terminal.
[0028] The setting server sends the execution instruction corresponding to the action flag bit to the second terminal;
[0029] The second terminal outputs a corresponding response based on the executed instruction.
[0030] In the above scheme, the setting server sends the execution instruction corresponding to the action flag bit to the second terminal, including one of the following:
[0031] When the action flag is characterized as a first type of action flag, the setting server outputs the corresponding first execution instruction to the second terminal;
[0032] When the action flag is characterized as a second type of action flag, the setting server outputs a corresponding second execution instruction to the second terminal; wherein,
[0033] The first type of action flag indicates that the first terminal has normally executed the corresponding action; the first execution instruction is used to instruct the second terminal to execute the control instruction corresponding to the action; the second type of action flag indicates that the first terminal has abnormally executed the corresponding action; the second execution instruction is used to instruct the second terminal to output an action guidance diagram related to the action.
[0034] This application embodiment also provides an information interaction device, the device comprising:
[0035] The acquisition unit is used to continuously acquire the current magnetic field data of the first terminal in each axis.
[0036] The calculation unit is used to perform fitting calculations on the corresponding magnetic field sector based on the collected magnetic field data, and obtain the calculation results;
[0037] The upload unit is used to upload the action flag corresponding to the calculation result to the designated server; wherein,
[0038] The action flag bit represents the action state corresponding to the first terminal.
[0039] This application also provides an information interaction system, the system comprising:
[0040] The first terminal is used to perform fitting calculations of the corresponding magnetic field sector based on the continuously collected magnetic field data of the first terminal in each axis, and obtain the calculation results; and to upload the action flag corresponding to the calculation results to the set server; the action flag represents the action state of the first terminal.
[0041] A server is configured to send the execution command corresponding to the action flag bit to the second terminal;
[0042] The second terminal is used to output a corresponding response based on the execution instruction.
[0043] This application also provides an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor, wherein,
[0044] When the processor is used to run the computer program, it performs the steps of any of the above methods.
[0045] This application also provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above methods.
[0046] In this embodiment, magnetic field data of the first terminal in each axis is continuously collected. Based on the collected magnetic field data, the corresponding magnetic field sector is fitted and calculated to obtain the calculation result. The corresponding action flag bit is then uploaded to the setting server. The action flag bit represents the action state of the first terminal. In this way, the setting server can generate corresponding execution instructions based on the corresponding action flag bit, thereby executing the corresponding instructions according to the current action state of the first terminal when the user uses it, improving the interactivity of online education. Since in practical applications the first terminal is usually a motion-sensing remote control containing a magnetic field sensor, the cost of motion-sensing remote controls is relatively low, and obtaining the corresponding action state of the first terminal through magnetic field data improves the stability and reliability of the motion-sensing effect. Attached Figure Description
[0047] Figure 1 A schematic diagram illustrating the implementation flow of the information interaction method provided in the embodiments of this application;
[0048] Figure 2 This is a schematic diagram of the architecture of the information interaction system provided in the embodiments of this application;
[0049] Figure 3 This is a schematic diagram of the communication process provided in an embodiment of this application;
[0050] Figure 4 A schematic diagram illustrating the process of determining the action flag bit for the first terminal in an embodiment of this application;
[0051] Figure 5 A schematic diagram illustrating the implementation flow of the information interaction method provided in the application embodiments of this application;
[0052] Figure 6 A schematic diagram illustrating the implementation flow of another information interaction method provided in an embodiment of this application;
[0053] Figure 7 A schematic diagram of the workflow of the first terminal provided in the embodiments of this application;
[0054] Figure 8A schematic diagram illustrating the implementation flow of another information interaction method provided in an embodiment of this application;
[0055] Figure 9 A schematic diagram of an information interaction device provided in an embodiment of this application;
[0056] Figure 10 This is a schematic diagram of the hardware composition structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0057] Online education for smart homes has become a hot research topic and an important development direction for the company. With the advancement of technology, 5G technology has gradually entered the public eye and begun to integrate into people's lives, bringing various conveniences.
[0058] Among related technologies, there are various solutions for online education at home. These solutions mostly employ camera-based interactive imaging and remote control button-based reading and playback. However, camera-based interactive imaging requires users to purchase expensive motion-sensing cameras, resulting in high operating costs, and the motion-sensing effect is easily affected by surrounding factors such as people and lighting. With remote control button-based reading and playback, users are limited to selecting content on the screen in a monotonous manner, unable to achieve a richer interactive experience.
[0059] In other words, among related technologies, online education still suffers from low interactivity.
[0060] Based on this, embodiments of this application provide an information interaction method, device, electronic device, and storage medium. The method continuously collects magnetic field data of a first terminal along various axes. Based on the collected magnetic field data, it performs fitting calculations on the corresponding magnetic field sectors to obtain calculation results. The corresponding action flags are then uploaded to a setting server. The action flags represent the action state of the first terminal. In this way, the setting server can generate corresponding execution instructions based on the corresponding action flags, thereby executing the corresponding instructions according to the current action state of the first terminal when the user uses it, improving the interactivity of online education. Since in practical applications, the first terminal is usually a motion-sensing remote control containing a magnetic field sensor, the cost of motion-sensing remote controls is relatively low, and obtaining the corresponding action state of the first terminal through magnetic field data improves the stability and reliability of the motion-sensing effect.
[0061] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.
[0062] Figure 1 This is a schematic diagram illustrating the implementation flow of the information interaction method provided in an embodiment of this application. For example... Figure 1 As shown, the method includes:
[0063] Step 101: Continuously collect magnetic field data of the first terminal in each axis.
[0064] Here, the first terminal in practical applications can be a motion-sensing remote control, including a 3-axis, 6-direction magnetic field sensing module. This module can detect and continuously sample the magnetic field data from the user-held terminal, acquiring a set of magnetic field data from the point of magnetic field disturbance to a stable magnetic field, and approximating this data with a scatter distribution. In practical applications, the sampling frequency of the magnetic field sensing module can be set to a low-power state of 15Hz.
[0065] The magnetic field data of the motion remote control is collected in three coordinate axes by the magnetic field sensing module, namely the magnetic field data of the motion remote control in the X-axis, Y-axis and Z-axis.
[0066] Step 102: Based on the collected magnetic field data, perform fitting calculations on the corresponding magnetic field sector to obtain the calculation results.
[0067] Here, after the magnetic field data is collected, it is first filtered to remove interference signals.
[0068] In this embodiment, a filtering algorithm combining median filtering and mean filtering is mainly used to effectively filter out interference signals in the collected magnetic field data. Specifically, the principle of median filtering is as follows: the magnetic field data obtained from multiple sampling periods are sorted in order of magnitude, and the magnetic field data with the median value is assigned to the other magnetic field data. The calculation method is as follows:
[0069] Y(i)=Med[x(in),...,x(i),...,x(i+n)],n∈N * Formula (1)
[0070] Where i represents the sampling period, n represents the sampling point, and N* represents the integer number of total sampling times.
[0071] The principle of mean filtering is to sum the values of multiple median filtering results obtained by formula (1) and take the average value. The average value of the obtained magnetic field data is then assigned to other magnetic field data. The calculation formula is as follows:
[0072]
[0073] Where N represents the number of samples.
[0074] After filtering the collected magnetic field data, the corresponding magnetic field sector is fitted and calculated to obtain the calculation results. Specifically, the magnetic field data in the three axes are fitted and calculated for the corresponding magnetic field sector to obtain the calculation results characterizing the changing trend of the current magnetic field lines.
[0075] For example, taking the magnetic field data analysis on the ZX magnetic field sector as an example, the magnetic field data on the ZX magnetic field sector is first filtered according to formulas (1) and (2), and then the magnitude of the change in the tilt angle of the magnetic field lines on the ZX magnetic field sector is calculated. The formula for calculating the change in the tilt angle on the ZX magnetic field sector after simplified approximation between two adjacent sampling points is as follows:
[0076]
[0077] Where, Φ Zn The magnetic field strength Φ, representing the magnetic field data obtained by the magnetic field sensing module along the Z-axis, is used to characterize the magnetic field intensity. Xn The magnetic field data obtained by the magnetic field sensing module is characterized by the magnetic induction intensity in the X-axis direction.
[0078] Subsequently, after the simplification of the sector, the change in magnetic field between two adjacent sampling points on the ZX magnetic field sector is calculated using the following formula:
[0079]
[0080] Subsequently, based on each magnetic field change calculated above, the total magnetic field change of the magnetic field data obtained by the magnetic field sensing module on the ZX magnetic field sector is calculated using the following formula:
[0081] ΔS sum =|S1|+|S2|+...+|S n-1 |+|S n |,n∈N * Formula (5)
[0082] The magnetic field change calculated by formula (4) is fitted to the set magnetic field change in blocks to obtain the block fitting degree. The calculation formula is as follows:
[0083]
[0084] Among them, S n S represents the change in magnetic field at each sampling point. Kn R represents the change in the magnetic field at each point. n Characterizes the block fit at each sampling point.
[0085] Based on the calculated block fit at each sampling point and the corresponding weighting coefficient, the total fit of all sampling points on the ZX magnetic field sector is calculated using the following formula:
[0086]
[0087] Where ξ1 represents the weight coefficient corresponding to the block fit degree R1, ξ1 is greater than ξ2, and ξ2 is greater than ξ3.
[0088] Thus, the fitting degree of the magnetic field sector on the ZX magnetic field sector is obtained.
[0089] Step 103: Upload the action flag corresponding to the calculation result to the designated server; wherein,
[0090] The action flag bit represents the action state corresponding to the first terminal.
[0091] Here, the calculation result is obtained by fitting the magnetic field sector. Based on the calculation result, the current action flag of the first terminal can be determined, that is, the current action state of the first terminal can be determined. The action flag of the first terminal is then uploaded to the server.
[0092] In one embodiment, uploading the action flag corresponding to the calculation result to the designated server includes:
[0093] If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is within the corresponding set range, the first type of action flag bit is uploaded to the set server;
[0094] If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is outside the corresponding set range, a second type of action flag is uploaded to the setting server; wherein,
[0095] The first type of action flag indicates that the first terminal has normally executed the corresponding action;
[0096] The second type of action flag indicates that the first terminal abnormally executed the corresponding action.
[0097] Here, if the calculated magnetic field change on the corresponding magnetic field sector is within the corresponding set range, a first type of action flag is uploaded to the setting server. If the calculated magnetic field change on the corresponding magnetic field sector is outside the corresponding set range, a second type of action flag is uploaded to the setting server. The first type of action flag indicates that the first terminal has normally executed the corresponding action, while the second type of action flag indicates that the first terminal has abnormally executed the corresponding action.
[0098] For example, the corresponding action flag on the ZY magnetic field sector is "raise hand". If the calculation result indicates that the change in magnetic field on the ZY magnetic field sector is within the corresponding set range, the first type of action flag is uploaded to the setting server, indicating that the first terminal has normally performed the "raise hand" action. If the calculation result indicates that the change in magnetic field on the ZY magnetic field sector is outside the corresponding set range, the second type of action flag is uploaded to the setting server, indicating that the first terminal has abnormally performed the "raise hand" action.
[0099] By determining whether the change in magnetic field on the corresponding magnetic field sector is within the corresponding set range, the type of action flag to be uploaded to the set server can be determined. The action flag to be uploaded can be flexibly determined according to the different calculation results of the magnetic field data of the first terminal, which improves interactivity.
[0100] In one embodiment, the fitting calculation of the corresponding magnetic field sector based on the collected magnetic field data includes:
[0101] Based on the collected magnetic field data, the first axis whose magnetic field change is greater than the corresponding set threshold is determined;
[0102] The magnetic field data is fitted and calculated on the magnetic field sector corresponding to the first axis.
[0103] Here, based on the collected magnetic field data, it is determined whether the magnetic field change in each axis is greater than the set threshold corresponding to each axis. If the magnetic field change in a certain axis is greater than the corresponding set threshold, then that axis is determined as the first axis, and the first axis represents the axis in which the first terminal is awakened.
[0104] After determining the first axis, the magnetic field data is fitted and calculated on the magnetic field sector corresponding to the first axis.
[0105] For example, when the first axis that is determined to be greater than a set threshold is the Z-axis, magnetic field data fitting calculations are performed on the ZX magnetic field sector and the ZY magnetic field sector.
[0106] It should be noted that different axes correspond to different action flags. Therefore, it is necessary to first determine the first axis along which the magnetic field change exceeds a set threshold, and then use this first axis to identify subsequent action flags. The initial action flag ACT_State is 0, indicating that the current action state is empty.
[0107] By determining the first axis and then performing fitting calculations on the magnetic field data, the corresponding action flag can be further determined based on the specific axis awakened by the magnetic field data, thus improving the accuracy and efficiency of determining the action flag.
[0108] In one embodiment, the continuous acquisition of magnetic field data of the first terminal in each axis includes:
[0109] When the change in the magnetic field of the first terminal in a set axis is detected to be greater than a first set value, magnetic field data of the first terminal in each axis are continuously collected.
[0110] Here, if the detected change in the magnetic field of the first terminal along a set axis is greater than a first set value, then the magnetic field data of the first terminal along each axis is continuously collected. The first set value represents the change in the set magnetic field along the set axis.
[0111] In practical applications, the first terminal includes a magnetic field detection module. When the magnetic field detection module detects that the change in the magnetic field along a set axis exceeds a first set value, it indicates that the user is operating the first terminal and has woken it up along that axis. After being interrupted and woken up, the first terminal begins to continuously collect magnetic field data along each axis. Before the first terminal is woken up, its microcontroller unit (MCU) is in a low-power standby mode, and the magnetic field detection module is also in a low-power continuous detection state with a detection frequency of 5Hz.
[0112] In practical applications, if the detected change in the magnetic field of the first terminal along the Z-axis exceeds a first preset value, it indicates that the first terminal has been picked up by the user and has entered the action flag recognition state. At this point, continuous acquisition of magnetic field data of the first terminal along each axis begins. The first preset value represents the threshold value for the corresponding change in the magnetic field along the Z-axis.
[0113] By only starting to continuously collect magnetic field data when the change in magnetic field along a set axis exceeds a first set value, the power consumption of the first terminal can be reduced to the greatest extent.
[0114] In one embodiment, before continuously acquiring magnetic field data of the first terminal in each axis, the method further includes:
[0115] When the placement angle of the first terminal meets the set angle, the magnetic field data of the first terminal in each axis is calibrated as the reference data in the corresponding axis; wherein,
[0116] The reference data is used to determine the amount of magnetic field change along the corresponding axis.
[0117] Here, when a user uses the first terminal for the first time, the user must first place the first terminal at a set angle. When the first terminal is placed at the set angle, the magnetic field data of the first terminal in each axis is calculated, and the calculated magnetic field data in each axis is calibrated as the reference data for the corresponding axis. The reference data is used to determine the amount of magnetic field change in the corresponding axis. That is to say, the magnetic field data collected by the user when using the first terminal in subsequent uses needs to be compared with the reference data to calculate the amount of magnetic field change.
[0118] For example, when a user uses the first terminal for the first time, the first terminal can be placed at an angle with the X-axis facing the TV screen and the Z-axis perpendicular to the ground. The magnetic field data of the first terminal at this angle in each axis can be calculated, and the calculated magnetic field data can be calibrated as the reference data in the corresponding axis.
[0119] After obtaining the baseline data, the initial magnetic field change is calculated based on the magnetic induction intensity corresponding to the baseline data and the magnetic field data obtained from the first set of sampling and filtering. Based on the initial magnetic field change, it can be determined whether the first terminal has performed the corresponding action normally.
[0120] In practical applications, reference data is an important basis for the magnetic field sensing module to detect the behavior and actions of the first terminal. The magnetic field will change slightly when affected by environmental factors such as temperature. Therefore, when the first terminal is idle, the reference data in the three axes can be updated regularly, which helps to improve the accuracy of determining the amount of magnetic field change in the corresponding axis based on the reference data.
[0121] Taking the ZY magnetic field sector as an example, the formula for calculating the initial change in tilt angle is as follows:
[0122]
[0123] in, Characterizes the reference magnetic flux density on the Z-axis. Characterizing the reference magnetic field strength on the Y-axis, The magnetic induction intensity corresponding to the first set of sampled magnetic field data on the Z-axis. The magnetic induction intensity corresponding to the first set of sampled magnetic field data on the Y-axis.
[0124] Based on the calculated initial tilt angle change and the reference magnetic induction intensity, the initial magnetic field change is calculated using the following formula:
[0125]
[0126] Based on the calculated initial magnetic field change, it can be determined whether the first terminal has performed the corresponding action normally.
[0127] By calculating the baseline data of the first terminal, it is easier to obtain accurate magnetic field changes based on the baseline data, thereby improving the accuracy of judging the behavior and actions of the first terminal using magnetic field data.
[0128] In one embodiment, uploading the action flag corresponding to the calculation result to the designated server includes:
[0129] The action flag corresponding to the calculation result is uploaded to the designated server via NB-IoT.
[0130] Here, the action flag corresponding to the calculation result is uploaded to the designated server via NB-IoT. Specifically, the corresponding action flag is transmitted to the operator's communication base station in the area via an air interface.
[0131] In practical applications, the first terminal includes an NB-IoT communication module, a 3-axis 6-direction magnetic field sensing module, and a power management module. Each first terminal contains these modules.
[0132] The NB-IoT communication module is used for network transmission and reception of action flag bits.
[0133] The 3-axis, 6-direction magnetic field sensing module detects the magnetic field data generated when the user holds the first terminal. It is the data source for calculating and analyzing the magnetic field changes on the magnetic field sector in this embodiment of the application.
[0134] Power management module: It accurately allocates power according to the power consumption requirements of different working modes to achieve long battery life of the first terminal.
[0135] Figure 2 This is a schematic diagram of the architecture of the information interaction system provided in the embodiments of this application, such as... Figure 2 As shown:
[0136] The perception layer includes a motion-sensing remote control. It should be noted that the motion-sensing remote control is an example of a device form of the first terminal. The communication transmission layer includes a communication network, and the service layer includes an information management system server, mobile phone, tablet computer, and large-screen TV.
[0137] The motion-sensing remote control incorporates a built-in magnetic field detection module, powered by an internal battery. It collects current magnetic field data, analyzes this data to calculate the changing trends of the magnetic field lines, and then transmits this information via an air interface to the operator's communication base station in the area.
[0138] The communication network is built by the operator. The communication network includes communication base stations, the NB-IoT core network, and the IoT open platform ONENET.
[0139] Specifically, the communication base station is responsible for the access processing of the air interface corresponding to each motion remote control in the area, and manages the uploaded and transmitted data, and uploads the collected action flag bits to the NB-IoT core network for further processing.
[0140] The NB-IoT core network is responsible for data interaction with each motion remote control and forwards the action flags uploaded by the communication base station to the ONENET platform for further processing.
[0141] The ONENET platform aggregates motion flags corresponding to various motion-sensing remote controls. Depending on the type of motion flag, these motion flags are forwarded to a designated server for users to call and process or for secondary customization development.
[0142] How to achieve large-screen, online, interactive, and intelligent home online education in 5G's massive machine-type communication (mMTC) / large-scale Internet of Things (IoT) scenarios has become a major research hotspot for network operators. In mid-2019, NB-IoT technology was officially included in my country's 5G candidate technology set, becoming the low-speed mMTC standard in 5G.
[0143] Most home online education solutions in related technologies use ZigBee, WiFi (Wireless Fidelity), or 4G for network interconnection. However, ZigBee suffers from short communication range and requires additional routing nodes in the home for data centralization and forwarding. WiFi is characterized by high power consumption and short communication range. While 4G offers longer range, its high power consumption cannot support the extended battery life of interactive devices, necessitating frequent charging or battery replacements.
[0144] As can be seen from the architecture of the information interaction system provided in this application embodiment, the operator has already established the communication network architecture between the motion-sensing remote control and the setting server. Therefore, unlike communication solutions using technologies such as 2.4GHz and 433MHz, there is no need to design and develop gateways, central concentrators, or other devices to aggregate and forward data. Furthermore, there is no need to develop data transmission and reception protocols between devices within the network architecture. Therefore, data security is relatively more guaranteed. The motion-sensing remote control connects directly to the communication network architecture established by the operator, which not only simplifies system complexity and ensures a certain level of network stability and data security, but also shortens the development cycle of related services and reduces development costs.
[0145] At the business layer, the information management system server is deployed in the cloud. It calls the motion flag bits uploaded by the motion-sensing remote control in the perception layer through the interface provided by the ONENET platform. Based on the uploaded motion flag bits, the corresponding action execution instructions are issued to mobile phones, tablets, or large-screen TVs. Since the mobile phones, tablets, and large-screen TVs have information interactive education applications installed, after receiving the corresponding action execution instructions, the information interactive education applications on the mobile phones, tablets, or large-screen TVs will perform corresponding educational interactive actions, thereby achieving a good interactive education experience. At the same time, the information interactive education applications on the mobile phones, tablets, or large-screen TVs can convert the motion flag bits into user-friendly interactive pages for display.
[0146] Figure 3 This is a schematic diagram of the communication process provided in the embodiments of this application, such as... Figure 3 As shown:
[0147] It should be noted that the communication process here is based on Figure 2 The provided information interaction system architecture outlines the communication process. The motion-sensing remote control transmits data to the information management system server via a communication network. Specifically, the motion-sensing remote control uploads action flags to the information management system server through the communication network. The information management system server can obtain the data stream uploaded by the motion-sensing remote control and forwarded by the ONENET platform. This data stream includes action flags, the operating status of the motion-sensing remote control, and battery level data. The information management system server can then issue corresponding action execution commands to mobile phones, tablets, or large-screen TVs based on the uploaded action flags. Since these mobile phones, tablets, and large-screen TVs have interactive educational applications installed, these applications receive the corresponding action execution commands and initiate corresponding educational interactive actions, thus achieving a good interactive educational experience. Furthermore, these interactive educational applications can convert the action flags into user-friendly interactive pages for display. When the motion-sensing remote control uploads a second type of action flag, the information management system server can also publish the action execution command corresponding to the second type of action flag to the information interactive education application on the mobile phone, tablet, or large-screen TV. This allows the information interactive education application on the mobile phone, tablet, or large-screen TV to display the corresponding action flag operation guidance illustrations, helping users to smoothly carry out the interactive education process.
[0148] By uploading the action flag corresponding to the calculation result to the designated server via NB-IoT, the security of data transmission is ensured and the system complexity is simplified.
[0149] Figure 4 A schematic diagram illustrating the process of determining the action flag bit for the first terminal provided in this application embodiment, as shown below. Figure 4 As shown:
[0150] First, magnetic field data is collected and filtered. Then, the magnetic field data is fitted to the magnetic field sector. Based on the comparison with the benchmark data, the corresponding action flag position of the motion remote control is analyzed.
[0151] Figure 5 A schematic diagram illustrating the implementation flow of the information interaction method provided in the application embodiments of this application is shown below. Figure 5 As shown:
[0152] First, magnetic field data is collected and filtered. If the magnetic field strength on the Z-axis is greater than a set threshold, the magnetic field data collected on the Z-axis triggers an interruption in the motion-sensing remote control. At this point, it is determined whether the change in magnetic field on the ZX magnetic field sector is greater than a set value of 2. If the change in magnetic field on the ZX magnetic field sector is not greater than the set value of 2, the magnetic field sector of the ZY magnetic field sector is fitted and calculated. Based on the calculation result, it is determined whether the change in magnetic field on the ZY magnetic field sector is greater than a set value of 3. If the change in magnetic field on the ZY magnetic field sector is greater than the set value of 3, the action flag is set to "raise hand" and uploaded to the information management system server. If the change in magnetic field on the ZY magnetic field sector is not greater than the set value of 3, the action flag is set to "abnormal" and the abnormal action flag processing procedure begins.
[0153] If the change in magnetic field on the ZX magnetic field sector is greater than the set value 2, then a fitting calculation of the magnetic field sector on the ZX magnetic field sector is performed. Based on the calculation result, it is determined whether the change in magnetic field data on the ZX magnetic field sector is greater than the set value 4 of the ZX magnetic field sector. If the change in magnetic field data on the ZX magnetic field sector is greater than the set value 4 of the ZX magnetic field sector, then the action flag is set to "checkmark" and uploaded to the information management system server. If the change in magnetic field data on the ZX magnetic field sector is not greater than the set value 4 of the ZX magnetic field sector, then the action flag is set to "cross" and uploaded to the information management system server.
[0154] If the detected magnetic field strength on the Z-axis is not greater than a set threshold, then it is determined whether the magnetic field strength on the X-axis is greater than the corresponding set threshold. If the magnetic field strength on the X-axis is greater than the corresponding set threshold, then a magnetic field sector fitting calculation is performed on the XY magnetic field sector. It is then determined whether the absolute value of the calculated magnetic field fitting degree on the XY magnetic field sector is greater than the set absolute value of the magnetic field fitting degree, i.e., the set value 1. If the magnetic field fitting degree on the XY magnetic field sector is greater than the set value 1, it is further determined whether the magnetic field fitting degree is greater than 0. If it is greater than 0, then the current action flag is determined to be "page turning / sliding from right to left," and the "page turning / sliding from right to left" action flag is uploaded to the information management system server. If the magnetic field fitting degree is not greater than 0, then the current action flag is determined to be "page turning / sliding from left to right," and the "page turning / sliding from left to right" action flag is uploaded to the information management system server. It should be noted that the magnetic field fitting degree is a vector, so there are cases where it is greater than 0 and not greater than 0.
[0155] If the absolute value of the magnetic field fit on the XY magnetic field sector is not greater than the set value of 1, the action flag will be determined as "abnormal" and the abnormal action flag processing flow will be entered.
[0156] If the magnetic field strength on the X-axis is not greater than the corresponding set threshold, the action flag will be determined as "abnormal" and the abnormal action flag processing flow will be initiated.
[0157] Figure 6 This is a schematic diagram illustrating the implementation flow of another information interaction method provided in an embodiment of this application, such as... Figure 6 As shown:
[0158] After identifying the action flag as an abnormal action flag, determine whether the abnormal action flag was generated when the magnetic induction intensity of the Z-axis is greater than the set threshold. If the abnormal action flag was generated when the magnetic induction intensity of the Z-axis is greater than the set threshold, it is determined that the action flags such as "raise hand", "cross", and "check mark" are abnormal. Then, it is necessary to provide the intention behavior guidance diagram corresponding to these action flags. At this time, the intention behavior guidance flag 1 is uploaded to the information management system server.
[0159] If the abnormal action flag is not generated when the magnetic induction intensity on the Z-axis is greater than the set threshold, determine whether the abnormal action flag is generated when the magnetic induction intensity on the X-axis is greater than the corresponding set threshold. If the abnormal action flag is generated when the magnetic induction intensity on the X-axis is greater than the corresponding set threshold, it is determined that the action flags such as "page turning / sliding from left to right" are abnormal. Then, the intention behavior guidance diagrams for these action flags need to be provided. At this time, the intention behavior guidance flag 2 is uploaded to the information management system server.
[0160] If an abnormal action flag is generated when the magnetic induction intensity on the Z-axis is not greater than a set threshold and the magnetic induction intensity on the X-axis is not greater than the corresponding set threshold, and it is determined that all action flags are abnormal, then it is necessary to provide an intention behavior action guidance diagram for all action flags. At this time, the intention behavior action guidance flag 3 is uploaded to the information management system server.
[0161] The above process can help users operate correctly.
[0162] Figure 7 A schematic diagram of the workflow of the first terminal provided in the embodiments of this application, as shown below. Figure 7 As shown:
[0163] Since the first terminal is battery-powered, a low-power operating mode needs to be designed. Specifically, the magnetic field detection module in the first terminal first performs system initialization configuration upon power-up, followed by setting the operating modes of the NB-IoT communication module and the magnetic field sensing module. After the NB-IoT communication module successfully registers with the network, the first terminal sends a request to the setting server. Upon receiving a correct response from the setting server, the magnetic field detection module, after the "interaction" button on the motion remote control is pressed and the first terminal is triggered to wake up, begins to collect and analyze the magnetic field data of the user's current use of the first terminal. If the action flag changes, the updated action flag is uploaded to the setting server, and the first terminal then enters a low-power state. If the action flag does not change, it means that the current action state of the first terminal has not changed, so it continues to maintain the low-power state until the "interaction" button is pressed again, triggering the first terminal to interrupt the low-power state and start the loop process of the magnetic field sensing module collecting magnetic field data. If the first terminal does not receive a correct response from the setting server, it continues to maintain the low-power state.
[0164] In this embodiment, magnetic field data of the first terminal in each axis is continuously collected. Based on the collected magnetic field data, the corresponding magnetic field sector is fitted and calculated to obtain the calculation result. The corresponding action flag bit is then uploaded to the setting server. The action flag bit represents the action state of the first terminal. In this way, the setting server can generate corresponding execution instructions based on the corresponding action flag bit, thereby executing the corresponding instructions according to the current action state of the first terminal when the user uses it, improving the interactivity of online education. Since in practical applications the first terminal is usually a motion-sensing remote control containing a magnetic field sensor, the cost of motion-sensing remote controls is relatively low, and obtaining the corresponding action state of the first terminal through magnetic field data improves the stability and reliability of the motion-sensing effect.
[0165] This application also provides an information interaction method. Figure 8 This is a schematic diagram illustrating the implementation flow of another information interaction method provided in an embodiment of this application. For example... Figure 8 As shown, the method includes:
[0166] Step 801: Based on the continuously collected magnetic field data of the first terminal in each axis, the first terminal performs fitting calculations on the corresponding magnetic field sector to obtain the calculation results.
[0167] Here, the motion-sensing remote control is based on the continuously collected magnetic field data of the first terminal in each axis, and performs fitting calculations for the corresponding magnetic field sectors. For the specific calculation process, please refer to the embodiments of the above method; the embodiments of this application will not be repeated here.
[0168] Step 802: The first terminal uploads the action flag corresponding to the calculation result to the setting server; the action flag represents the action state corresponding to the first terminal.
[0169] Here, after obtaining the calculation result, the motion-sensing remote control uploads the corresponding action flag bit to the setting server. The action flag bit represents the action state corresponding to the first terminal. For a detailed description, please refer to the embodiments of the above method; the embodiments of this application will not be repeated here.
[0170] Step 803: The setting server sends the execution instruction corresponding to the action flag bit to the second terminal.
[0171] Here, the server generates a corresponding execution instruction based on the action flag and sends the instruction to the second terminal. In practical applications, the second terminal can be a mobile phone, tablet computer, or large-screen TV, and it has an interactive educational application installed. Step 804: The second terminal outputs a corresponding response based on the execution instruction.
[0172] Here, after receiving the corresponding execution instruction, the second terminal outputs the corresponding response based on the execution instruction.
[0173] This enables the use of magnetic field data acquired by a motion-sensing remote control to trigger corresponding educational interactive actions on terminals such as televisions. The magnetic field data can be converted into a user-friendly interactive page for display, which not only improves the interactivity of online education but also provides users with a better educational interactive experience.
[0174] In one embodiment, the setting server sends the execution instruction corresponding to the action flag bit to the second terminal, including one of the following:
[0175] When the action flag is characterized as a first type of action flag, the setting server outputs the corresponding first execution instruction to the second terminal;
[0176] When the action flag is characterized as a second type of action flag, the setting server outputs a corresponding second execution instruction to the second terminal; wherein,
[0177] The first type of action flag indicates that the first terminal has normally executed the corresponding action; the first execution instruction is used to instruct the second terminal to execute the control instruction corresponding to the action; the second type of action flag indicates that the first terminal has abnormally executed the corresponding action; the second execution instruction is used to instruct the second terminal to output an action guidance diagram related to the action.
[0178] Here, when the action flag is set to the first type of action flag, the server is configured to output the corresponding first execution instruction to the second terminal. When the action flag is set to the second type of action flag, the server is configured to output the second execution instruction to the second terminal. The first execution instruction instructs the second terminal to execute the control instruction corresponding to the first type of action, and the second execution instruction instructs the second terminal to output an action guidance diagram related to the second type of action.
[0179] By executing the corresponding response based on the execution command through the second terminal, the magnetic field data can be converted into a user-friendly interactive page for display. This not only improves the interactivity of online education but also provides users with a good educational interactive experience.
[0180] To implement the method of the embodiments of this application, the embodiments of this application also provide an information interaction device. Figure 9 For a schematic diagram of the information interaction device provided in the embodiments of this application, please refer to [link / reference]. Figure 9 The device includes:
[0181] The acquisition unit 901 is used to continuously acquire the current magnetic field data of the first terminal in each axis.
[0182] The calculation unit 902 is used to perform fitting calculations of the corresponding magnetic field sector based on the collected magnetic field data, and obtain the calculation results.
[0183] Upload unit 903 is used to upload the action flag corresponding to the calculation result to the designated server;
[0184] in,
[0185] The action flag bit represents the action state corresponding to the first terminal.
[0186] In one embodiment, the uploading unit 903 is further configured to upload a first type of action flag bit to the setting server when the amount of magnetic field change represented by the calculation result on the corresponding magnetic field sector is within the corresponding set range;
[0187] If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is outside the corresponding set range, a second type of action flag is uploaded to the setting server; wherein,
[0188] The first type of action flag indicates that the first terminal has normally executed the corresponding action;
[0189] The second type of action flag indicates that the first terminal abnormally executed the corresponding action.
[0190] In one embodiment, the calculation unit 902 is further configured to determine, based on the collected magnetic field data, a first axis in which the magnetic field change is greater than a corresponding set threshold.
[0191] The magnetic field data is fitted and calculated on the magnetic field sector corresponding to the first axis.
[0192] In one embodiment, the acquisition unit 901 is further configured to continuously acquire magnetic field data of the first terminal in each axis when the magnetic field change of the first terminal in a set axis is detected to be greater than a first set value.
[0193] In one embodiment, the device further includes: a calibration unit, configured to calibrate the magnetic field data of the first terminal in each axis as reference data in the corresponding axis when the placement angle of the first terminal conforms to a set angle; wherein,
[0194] The reference data is used to determine the amount of magnetic field change along the corresponding axis.
[0195] In one embodiment, the uploading unit 903 is further configured to upload the action flag corresponding to the calculation result to the setting server via NB-IoT.
[0196] In practical applications, the acquisition unit 901, the calculation unit 902, the upload unit 903, and the calibration unit can be implemented by processors in the terminal, such as central processing units (CPUs), digital signal processors (DSPs), microcontroller units (MCUs), or field-programmable gate arrays (FPGAs).
[0197] It should be noted that the information interaction device provided in the above embodiments is only illustrated by the division of the above program modules when displaying information. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the information interaction device and the information interaction method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0198] To implement the method of the embodiments of this application, the embodiments of this application also provide an information interaction system, the system comprising:
[0199] The first terminal is used to perform fitting calculations of the corresponding magnetic field sector based on the continuously collected magnetic field data of the first terminal in each axis, and obtain the calculation results; and to upload the action flag corresponding to the calculation results to the set server; the action flag represents the action state of the first terminal.
[0200] A server is configured to send the execution command corresponding to the action flag bit to the second terminal;
[0201] The second terminal is used to output a corresponding response based on the execution instruction.
[0202] In practical applications, the first terminal can be Figure 2 The motion-sensing remote control in the middle, the setting server can be Figure 2 The information management system server in the middle, the second terminal can be Figure 2 Mobile phones, tablets, and large-screen TVs.
[0203] In one embodiment, the setting server is further configured to output a corresponding first execution instruction to the second terminal when the action flag bit is characterized as a first type of action flag bit;
[0204] When the action flag is characterized as a second type of action flag, the setting server outputs a corresponding second execution instruction to the second terminal; wherein,
[0205] The first type of action flag indicates that the first terminal has normally executed the corresponding action; the first execution instruction is used to instruct the second terminal to execute the control instruction corresponding to the action; the second type of action flag indicates that the first terminal has abnormally executed the corresponding action; the second execution instruction is used to instruct the second terminal to output an action guidance diagram related to the action.
[0206] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiments of this application, the embodiments of this application also provide an electronic device. Figure 10 This is a schematic diagram of the hardware composition structure of the electronic device provided in the embodiments of this application, such as... Figure 10 As shown, the electronic device includes:
[0207] The communication interface 1001 enables information exchange with other devices, such as network devices.
[0208] The processor 1002 is connected to the communication interface 1001 to enable information interaction with other devices and, when running a computer program, executes the methods provided by one or more of the aforementioned terminal-side technical solutions. The computer program is stored in the memory 1003.
[0209] Specifically, the processor 1002 is used to continuously collect magnetic field data of the first terminal in each axis;
[0210] Based on the collected magnetic field data, the corresponding magnetic field sector is fitted and calculated to obtain the calculation results;
[0211] The action flag corresponding to the calculation result is uploaded to the designated server; wherein...
[0212] The action flag bit represents the action state corresponding to the first terminal.
[0213] In one embodiment, the communication interface 1001 is used to upload a first type of action flag bit to the setting server when the amount of magnetic field change represented by the calculation result on the corresponding magnetic field sector is within the corresponding set range;
[0214] If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is outside the corresponding set range, a second type of action flag is uploaded to the setting server; wherein,
[0215] The first type of action flag indicates that the first terminal has normally executed the corresponding action;
[0216] The second type of action flag indicates that the first terminal abnormally executed the corresponding action.
[0217] In one embodiment, the processor 1002 is further configured to determine, based on the acquired magnetic field data, a first axis in which the magnetic field change is greater than a corresponding set threshold.
[0218] The magnetic field data is fitted and calculated on the magnetic field sector corresponding to the first axis.
[0219] In one embodiment, the processor 1002 is further configured to continuously collect magnetic field data of the first terminal in each axis when it is detected that the change in the magnetic field of the first terminal in a set axis is greater than a first set value.
[0220] In one embodiment, before continuously acquiring the magnetic field data of the first terminal in each axis, the processor 1002 is further configured to, when the placement angle of the first terminal conforms to a set angle, calibrate the magnetic field data of the first terminal in each axis as reference data for the corresponding axis; wherein,
[0221] The reference data is used to determine the amount of magnetic field change along the corresponding axis.
[0222] In one embodiment, the communication interface 1001 is further configured to upload the action flag corresponding to the calculation result to the setting server via NB-IoT.
[0223] Of course, in practical applications, the various components in the electronic device are coupled together through the bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 10 The general labeled all buses as Bus System 1004.
[0224] The memory 1003 in this embodiment is used to store various types of data to support the operation of the electronic device. Examples of such data include any computer program used to operate on the electronic device.
[0225] It is understood that memory 1003 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 1003 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.
[0226] The methods disclosed in the embodiments of this application can be applied to or implemented by the processor 1002. The processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 1002 or by instructions in the form of software. The processor 1002 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1002 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the memory 1003. The processor 1002 reads the program in the memory 1003 and completes the steps of the aforementioned method in conjunction with its hardware.
[0227] When the processor 1002 executes the program, it implements the corresponding processes in the various methods of the embodiments of this application.
[0228] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory 1003 storing a computer program, which can be executed by a processor 1002 to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0229] In the several embodiments provided in this application, it should be understood that the disclosed apparatus, terminal, and method can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0230] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0231] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0232] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0233] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0234] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An information exchange method, characterized in that, Applied to a first terminal, the method includes: Continuously collect magnetic field data of the first terminal in each axis; Based on the collected magnetic field data, a fitting calculation is performed on the corresponding magnetic field sector to obtain the calculation result. The calculation result includes the fitting degree on the corresponding magnetic field sector. The fitting degree on the corresponding magnetic field sector is calculated based on the block fitting degree at each sampling point and the weight coefficient corresponding to the block fitting degree at each sampling point. The block fitting degree at each sampling point is obtained by performing block fitting between the magnetic field change at the corresponding sampling point and the set magnetic field change at the corresponding sampling point. If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is within the corresponding set range, a first type of action flag bit is uploaded to the setting server; the setting server is used to send an execution command to the second terminal based on the action flag bit. If the magnetic field change represented by the calculation result on the corresponding magnetic field sector is outside the corresponding set range, a second type of action flag is uploaded to the setting server; wherein, The first type of action flag indicates that the first terminal has normally executed the corresponding action, and is used to instruct the setting server to output a first execution instruction to the second terminal; the first execution instruction is used to instruct the second terminal to execute the control instruction corresponding to the action. The second type of action flag indicates that the first terminal has abnormally executed the corresponding action, and is used to instruct the setting server to output a second execution instruction to the second terminal; the second execution instruction is used to instruct the second terminal to output an action guidance diagram about the action.
2. The information interaction method according to claim 1, characterized in that, The fitting calculation of the corresponding magnetic field sector based on the collected magnetic field data includes: Based on the collected magnetic field data, the first axis whose magnetic field change is greater than the corresponding set threshold is determined; The magnetic field data is fitted and calculated on the magnetic field sector corresponding to the first axis.
3. The information interaction method according to claim 1, characterized in that, The continuous acquisition of magnetic field data of the first terminal in each axis includes: When the change in the magnetic field of the first terminal in a set axis is detected to be greater than a first set value, magnetic field data of the first terminal in each axis are continuously collected.
4. The information interaction method according to claim 1, characterized in that, Before continuously acquiring the magnetic field data of the first terminal in each axis, the method further includes: When the placement angle of the first terminal meets the set angle, the magnetic field data of the first terminal in each axis is calibrated as the reference data in the corresponding axis; wherein, The reference data is used to determine the amount of magnetic field change along the corresponding axis.
5. The information interaction method according to any one of claims 1 to 4, characterized in that, Upload the action flag corresponding to the calculation result to the designated server, including: The action flag corresponding to the calculation result is uploaded to the designated server via Narrowband Internet of Things (NB-IoT).
6. An information exchange method, characterized in that, include: The first terminal performs fitting calculations on the corresponding magnetic field sector based on the continuously collected magnetic field data of the first terminal in each axis, and obtains the calculation results. The calculation results include the fitting degree on the corresponding magnetic field sector. The fitting degree on the corresponding magnetic field sector is calculated based on the block fitting degree at each sampling point and the weight coefficient corresponding to the block fitting degree at each sampling point. The block fitting degree at each sampling point is obtained by performing block fitting between the magnetic field change at the corresponding sampling point and the set magnetic field change at the corresponding sampling point. The first terminal uploads the action flag corresponding to the calculation result to the designated server; the action flag represents the action state of the first terminal. When the action flag is characterized as a first type of action flag, the setting server outputs the corresponding first execution instruction to the second terminal; When the action flag is characterized as a second type of action flag, the setting server outputs a corresponding second execution instruction to the second terminal; wherein, The first type of action flag indicates that the first terminal has normally executed the corresponding action; the first execution instruction is used to instruct the second terminal to execute the control instruction corresponding to the action; the second type of action flag indicates that the first terminal has abnormally executed the corresponding action; the second execution instruction is used to instruct the second terminal to output an action guidance diagram related to the action; The second terminal outputs a corresponding response based on the executed instruction.
7. An information interaction device, characterized in that, The device includes: The acquisition unit is used to continuously acquire the current magnetic field data of the first terminal in each axis. The calculation unit is used to perform fitting calculations on the corresponding magnetic field sector based on the collected magnetic field data, and obtain the calculation results. The calculation results include the fitting degree on the corresponding magnetic field sector. The fitting degree on the corresponding magnetic field sector is calculated based on the block fitting degree at each sampling point and the weight coefficient corresponding to the block fitting degree at each sampling point. The block fitting degree at each sampling point is obtained by performing block fitting between the magnetic field change at the corresponding sampling point and the set magnetic field change at the corresponding sampling point. An uploading unit is configured to upload a first type of action flag to a setting server when the magnetic field change represented by the calculation result on the corresponding magnetic field sector is within a corresponding set range; the setting server is configured to send an execution command to a second terminal based on the action flag; and is further configured to upload a second type of action flag to the setting server when the magnetic field change represented by the calculation result on the corresponding magnetic field sector is outside the corresponding set range; wherein, the first type of action flag indicates that the first terminal has normally executed the corresponding action, and is configured to instruct the setting server to output a first execution command to the second terminal; the first execution command is configured to instruct the second terminal to execute the control command corresponding to the action; the second type of action flag indicates that the first terminal has abnormally executed the corresponding action, and is configured to instruct the setting server to output a second execution command to the second terminal; the second execution command is configured to instruct the second terminal to output an action guidance diagram related to the action.
8. An information interaction system, characterized in that, The system includes: The first terminal is used to perform fitting calculations on the corresponding magnetic field sector based on the continuously collected magnetic field data of the first terminal in each axis, and to obtain the calculation results; and to upload the action flag corresponding to the calculation results to the set server; the action flag represents the action state of the first terminal; the calculation results include the fitting degree on the corresponding magnetic field sector, the fitting degree on the corresponding magnetic field sector is calculated based on the block fitting degree at each sampling point and the weight coefficient corresponding to the block fitting degree at each sampling point, the block fitting degree at each sampling point is obtained by block fitting the magnetic field change at the corresponding sampling point with the set magnetic field change at the corresponding sampling point; A server is configured to output a corresponding first execution instruction to a second terminal when the action flag bit is characterized as a first type of action flag bit; and to output a corresponding second execution instruction to the second terminal when the action flag bit is characterized as a second type of action flag bit; wherein, the first type of action flag bit indicates that the first terminal has normally executed the corresponding behavior action; the first execution instruction is used to instruct the second terminal to execute the control instruction corresponding to the behavior action; the second type of action flag bit indicates that the first terminal has abnormally executed the corresponding behavior action; and the second execution instruction is used to instruct the second terminal to output an action guidance diagram related to the behavior action; The second terminal is used to output a corresponding response based on the execution instruction.
9. An electronic device, characterized in that, include: A processor and memory for storing computer programs that can run on the processor, wherein, When the processor is used to run the computer program, it performs the steps of the method according to any one of claims 1 to 5.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Fitness action recognition method, terminal and computer storage medium
CN110991482A
Remote control having magnetic sensors for determining motions of the remote control in three dimensions that correspond to associated signals that can be transmitted from the remote control
US20070291112A1