A short distance communication method and system
Through temporary networking and segmented audio data transmission, screening and redundant design, the problem of poor communication quality in harsh environments is solved, and communication quality is improved and stability is achieved.
Patent Information
- Application Number
- CN202111575308.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-23
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-02-23
AI Technical Summary
In harsh environments, especially in outdoor and crossing scenarios, communication quality is poor, and the prior art is difficult to effectively improve communication quality.
Through temporary networking and segmented transmission, multiple communication channels are used to transmit audio data, filter low-quality channels, and adopt multiple redundant design and dynamic backup to re-establish communication channels to ensure communication stability.
It effectively improves communication quality, reduces data loss, and ensures the stability and reliability of the communication process.
Smart Images

Figure CN114339702B_ABST
Abstract
Description
[0001] This application is a divisional application with the application date of February 23, 2021 and application number CN202110202103.6, and the invention name is “A near-field communication method and system”. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a short-range communication method and system. Background Art
[0003] During travel, especially in outdoor and crossing environments, people in the team mostly communicate in a point-to-point manner. However, due to limitations on communication power and harsh environments, the communication quality is poor. Summary of the invention
[0004] The present application provides a short-distance communication method and system, which can communicate through temporary networking and segmented transmission, thereby improving the quality of communication.
[0005] The above-mentioned purpose of the present application is achieved through the following technical solutions:
[0006] In a first aspect, the present application provides a short distance communication method, comprising:
[0007] In response to the acquired trigger instruction, start parsing the acquired first sound and acquire a pointing instruction therein, where the pointing instruction points to a terminal;
[0008] Sending a communication channel test instruction to the jump terminal that maintains a communication relationship, and establishing a communication channel according to the feedback of the jump terminal, the number of communication channels is multiple;
[0009] Calculate the number of transition terminals in each communication channel, and record the number as a first number;
[0010] Selecting a quantity threshold value corresponding to the first quantity with the smallest value; and
[0011] The communication channels are screened according to the quantity threshold, and when the other first quantity is greater than the quantity threshold, the communication channels corresponding to the first quantity are discarded;
[0012] In response to the acquired second sound, digitally sampling and segmenting the second sound to generate a plurality of sound unit information;
[0013] Numbering each communication channel according to the number of transition terminals in each communication channel;
[0014] In time series, the sound unit information is continuously grouped according to its generation time and the sound unit information in each group is numbered, and the number of the sound unit information in each group is consistent with the number of communication channels; and
[0015] The sound unit information in each group is sent to the terminal pointed to by the pointing instruction through the corresponding communication channel.
[0016] By adopting the above technical solution, the communication content can be sent out through temporary networking and segmented transmission. Compared with the direct point-to-point method, this method can control the impact of distance on communication quality within a reasonable range, and at the same time can reduce data loss, thereby improving the communication quality. In addition, some low-quality communication channels can be removed during the screening process, thereby improving the communication quality.
[0017] In a possible implementation of the present application, it also includes:
[0018] The remaining number of communication channels after screening includes at least two, and the number of transition terminals in each communication channel includes at least one.
[0019] In a possible implementation of the present application, after the communication channel is successfully established, the method further includes:
[0020] Divide the communication channels into two groups, the number of communication channels in the two groups is the same, and the number of communication channels in each group is greater than or equal to two; and
[0021] When the sound unit information in each group is sent to the terminal pointed to by the pointing instruction through the corresponding communication channel, each sound unit information is sent to the terminal pointed to by the pointing instruction through one of the communication channels in the two groups;
[0022] When the number of communication channels is an odd number, a communication channel containing the largest number of transition terminals is discarded or a communication channel is randomly selected for discarding.
[0023] By adopting the above technical solution and using two groups of communication channels to ensure normal communication, the communication process can be made as stable as possible.
[0024] In a possible implementation of the present application, it also includes:
[0025] Counting the number of groups of sound unit information emitted; and
[0026] When the number of groups sent reaches a preset group number threshold, the communication channel is re-established.
[0027] By adopting the above technical solution, the normal communication is ensured by reconstructing the communication channel.
[0028] In a possible implementation of the present application, it also includes:
[0029] After the communication channel is successfully established, in response to the permission instruction given by the terminal, a notification of successful establishment of the communication channel is sent to the user.
[0030] In a possible implementation of the present application, it also includes:
[0031] The time length of each of the sound unit information is consistent.
[0032] In a second aspect, the present application provides a short-range communication device, comprising:
[0033] A first processing unit is used to, in response to the acquired trigger instruction, start parsing the acquired first sound and acquire a pointing instruction therein, where the pointing instruction points to a terminal;
[0034] A first testing unit is used to send a communication channel test instruction to a transition terminal that maintains a communication relationship, and establish a communication channel according to feedback from the transition terminal, wherein the number of communication channels is multiple, and the number of transition terminals in each communication channel is one or more;
[0035] A first communication unit, configured to send a notification of successful establishment of a communication channel in response to an enabling instruction given by the terminal;
[0036] A second processing unit is used to digitally sample and segment the second sound in response to the acquired second sound, and generate a plurality of sound unit information, each of which has a consistent time length;
[0037] A third processing unit, configured to number the communication channels according to the number of transition terminals in the communication channels;
[0038] a fourth processing unit, configured to group the sound unit information according to the generation time thereof in a time series and number the sound unit information in each group, wherein the number of the sound unit information in each group is consistent with the number of the communication channels, and the grouping of the sound unit information is performed continuously; and
[0039] The second communication unit is used to send the sound unit information in each group to the terminal pointed to by the pointing instruction through the corresponding communication channel.
[0040] In a third aspect, the present application provides a short-range communication system, the system comprising:
[0041] one or more memories for storing instructions; and
[0042] One or more processors, used to call and run the instructions from the memory to execute the short distance communication method as described in the first aspect and any possible implementation of the first aspect.
[0043] In a fourth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium comprising:
[0044] Program, when the program is executed by a processor, the short distance communication method as described in the first aspect and any possible implementation of the first aspect is executed.
[0045] In a fifth aspect, the present application provides a chip, including:
[0046] One or more interfaces, and
[0047] One or more processors; the processor calls and runs instructions through an interface to execute the short-range communication method as described in the first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a schematic diagram of a communication channel establishment process provided in an embodiment of the present application.
[0049] Figure 2 It is a schematic diagram of a processing process for cutting and grouping the second sound provided in an embodiment of the present application.
[0050] Figure 3 This is a schematic diagram of distributing sound unit information provided in an embodiment of the present application.
[0051] Figure 4 This is another schematic diagram of distributing sound unit information provided in an embodiment of the present application.
[0052] Figure 5 is based on Figure 2 A schematic diagram of the process of reconstructing the communication channel is given. DETAILED DESCRIPTION
[0053] The technical solution in this application is further described in detail below in conjunction with the accompanying drawings.
[0054] First, let's briefly introduce the Infotainment Hub. The Infotainment Hub (hereinafter referred to as IFH) is a vehicle-mounted device that integrates 4G, WIFi, multi-mode satellite positioning and other functions. It can provide users with all-weather, multi-environment navigation, entertainment, communication and other services. At the same time, it can also realize the connection of users' mobile phones, rider / passenger helmets and other Bluetooth peripherals.
[0055] In conventional usage scenarios, communication can generally be achieved by forming a team. For example, if a team has ten IFHs, during the trip, these IFHs are connected together through 3G / 4G / 5G networks or radio to provide real-time communication services to team members.
[0056] However, considering some harsh environments, such as outdoor crossings, there may be weak or even no signals in these environments. At the same time, due to the power of the equipment, its radiation range is limited. At this time, how to communicate is an urgent problem to be solved.
[0057] The short-distance communication method disclosed in the embodiment of the present application is a communication method between multiple terminals in a small range under poor communication quality or harsh environment. The point-to-point communication quality is ensured by disassembling the audio data and transmitting it through multiple communication channels to realize information transmission between two points. Figure 1 , is a short-distance communication method disclosed in an embodiment of the present application, comprising the following steps:
[0058] S101, in response to the acquired trigger instruction, starting to parse the acquired first sound, acquiring a pointing instruction therein, where the pointing instruction points to a terminal;
[0059] S102, issuing a communication channel test instruction to the transition terminal maintaining a communication relationship, and establishing a communication channel according to feedback from the transition terminal, wherein the number of communication channels is multiple, and the number of transition terminals in each communication channel is one or more;
[0060] S103, in response to the permission instruction given by the terminal, issuing a notification of successful establishment of the communication channel;
[0061] S104, in response to the acquired second sound, digitally sampling and segmenting the second sound to generate a plurality of sound unit information, each of which has a consistent time length;
[0062] S105, numbering the communication channels according to the number of transition terminals in the communication channels;
[0063] S106, in time series, grouping the sound unit information according to the generation time thereof and numbering the sound unit information in each group, wherein the number of the sound unit information in each group is consistent with the number of the communication channels; and
[0064] S107, sending the sound unit information in each group to the terminal pointed to by the pointing instruction through the corresponding communication channel;
[0065] The grouping of the sound unit information is performed continuously.
[0066] Specifically, in step S101, the user will send a trigger instruction to the vehicle-mounted device. Then, for the vehicle-mounted device, after receiving the trigger instruction, the vehicle-mounted device begins to analyze the first sound obtained. After analysis, the pointing instruction contained in the first sound can be obtained, and the pointing instruction points to a terminal.
[0067] For the convenience of description, the vehicle-mounted device used by the user is called the sending end, and the terminal to which the pointing instruction is directed is called the receiving end.
[0068] In some possible implementations, the trigger instruction is issued through a physical button. For example, there is a communication button on the vehicle-mounted device. After pressing the communication button, the vehicle-mounted device starts to analyze the first sound obtained.
[0069] In some other possible implementations, the trigger instruction is issued via voice. In this method, the user will issue a voice instruction, such as "talk to machine No. 13" or "Number 13, please answer when you hear me", etc. In these two voice instructions, 13 is the number of the receiving end. At this time, the sending end will try to establish a data communication relationship with the receiving end numbered 13.
[0070] The content of establishing a data communication relationship is carried out in step S102. In this step, the sending end will issue a communication channel test instruction to the jump terminal that maintains the communication relationship, and establish a communication channel based on the feedback of the jump terminal. For example, the sending end and the receiving end cannot communicate directly, such as when the distance is too far, but the sending end can establish a communication channel through other participants in the local area network. These other participants are the jump terminals in step S102.
[0071] After receiving the communication channel test instruction, the jump terminal will inquire other jump terminals connected to it and try to establish a data communication relationship with the receiving end. Because there are multiple jump terminals, multiple communication channels may be established during the attempt. The number of jump terminals in each communication channel can be one or more.
[0072] After the communication channel is successfully established, the terminal pointed to by the pointing instruction, that is, the receiving end, will issue a permission instruction. At this time, step S103 will be executed. In this step, the sending end will receive the permission instruction and then send a notification of the successful establishment of the communication channel. The notification of the successful establishment of the communication channel is aimed at the user at the sending end.
[0073] It should be understood that the purpose of allowing the notification of successful establishment of the instruction and the communication channel is to give feedback to the user at the sending end, and its main function is to inform the user at the receiving end that the connection has been successfully established. Considering a practical situation, before the connection is successfully established, there is a psychological anxiety for the user at the sending end, and the appearance of the notification of successful establishment of the instruction and the communication channel can eliminate this psychological anxiety.
[0074] In some possible implementations, the notification of successful establishment of the communication channel is implemented by means of an indicator light. For example, before the connection is successfully established, an indicator light on the vehicle-mounted device is red, and after the connection is successfully established, the light turns green.
[0075] In some other possible implementations, the notification of successful establishment of the communication channel is implemented through voice prompts, for example, the vehicle-mounted device will issue a voice notification similar to "successfully established connection". Of course, it can also be implemented through text, for example, the screen of the vehicle-mounted device will display text similar to "successfully established connection".
[0076] At this time, the user at the sending end will start to speak, and step S104 is executed. In this step, please refer to Figure 2 In response to the acquired second sound, the vehicle-mounted device digitally samples and segments the second sound to generate multiple sound unit information. The second sound here refers to the sound when the user starts speaking.
[0077] The second sound is the sound emitted by the user. The second sound needs to be sampled before it can be transmitted. It should be understood that there are two ways of sampling sound: analog sampling and digital sampling. Digital sampling is superior to analog sampling in terms of sampling speed and compression rate. Therefore, in the technical solution of this application, digital sampling is used.
[0078] Because the sound is continuous, the digital sampling process is also continuous. As the sampling process proceeds, the obtained sound information needs to be cut. It can be understood that the user's voice needs to be cut into segments and then transmitted, and the time length of each sound unit information is consistent.
[0079] Considering that if it is necessary to use the technical solution in this application for communication, it means that the on-site environment is very poor and there are many interference factors. Therefore, segmented transmission and then splicing them together can minimize the impact of the environment. Even if there is a partial loss problem, the user at the receiving end can still get a sufficient amount of information.
[0080] In step S105, the communication channels are numbered according to the number of transition terminals in the communication channels. The numbering is mainly used to determine the order in which the communication channels are used.
[0081] After executing step S105, continue to execute step S106. In step S106, refer to Figure 3 , the sound unit information will be grouped and numbered, and then sent out using different communication channels. The grouping and numbering process uses the generation time of the sound unit information as a reference. Specifically, in the time series, the sound unit information will be grouped according to its generation time and the sound unit information in each group will be numbered.
[0082] For example, if the number of communication channels is four, then the number of sound unit information in each group is also four. As for the numbering of the sound unit information in each group, it is based on the time of its generation. Because the sound is generated continuously, the sound unit information is also generated continuously.
[0083] From the perspective of time series, each sound unit information has a sequence, so it can be grouped and sorted according to its time sequence.
[0084] It should be noted here that, for convenience, the sound unit information in each group should be numbered in the same way as the communication channels. For example, if the communication channels are numbered 1, 2, 3, 4, then the sound unit information in each group should also be numbered 1, 2, 3, 4.
[0085] Finally, step S107 is executed. In this step, the vehicle-mounted device will send the sound unit information in each group to the terminal pointed to by the pointing instruction through the corresponding communication channel. For example, if 1, 2, 3, and 4 are used for numbering, then the sound unit information No. 1 in the first group is sent using communication channel No. 1, the sound unit information No. 2 is sent using communication channel No. 2, the sound unit information No. 3 is sent using communication channel No. 3, and the sound unit information No. 4 is sent using communication channel No. 4.
[0086] The second group of sound unit information is still processed in the above manner, and the third group of sound unit information, the fourth group of sound unit information...the Nth group of sound unit information are all processed in the above manner.
[0087] As for the receiving end, the received sound unit information is also arranged in order. Therefore, in the synthesis process, the sound of the user at the sending end can be obtained by directly synthesizing in the order of receiving.
[0088] In general, the short-range communication method provided in the embodiment of the present application can establish multiple communication channels for the sending end through a jump terminal that can establish a communication relationship, and communicate with the final required receiving end. During the communication process, the sound can also be cut into multiple fragments, and then grouped and numbered in sequence and sent to the receiving end in sequence through different communication channels. On the one hand, communication can be established in a topological manner to eliminate the influence of distance. On the other hand, the impact of the environment on communication can be minimized by cutting the sound.
[0089] As a specific implementation of the short-range communication method provided in the application, in the process of establishing a communication channel, the communication channel also needs to be screened, because when the sound unit information is transmitted through the communication channel, the transition terminals in the communication channel will participate in the transmission process, and the number of participating transition terminals is inversely proportional to the stability of the communication channel. Because the operation of each transition terminal will be affected by the surrounding environment, the number of transition terminals in each communication channel needs to be controlled within an allowable range.
[0090] From another perspective, if the reliability of each jump terminal is 95%, then as the number of jump terminals increases, the reliability of the communication channel will also decrease.
[0091] The specific screening methods are as follows:
[0092] The first one includes the following steps:
[0093] S201, calculating the number of transition terminals in the communication channel, where the number is recorded as a first number;
[0094] S202, comparing the first quantity with a first quantity threshold; and
[0095] S203, when the first number is greater than a first number threshold, discarding the communication channels corresponding to the first number;
[0096] Among them, after the screening is completed, the remaining number of communication channels should be greater than or equal to two.
[0097] Specifically, it is necessary to calculate the number of transition terminals in each communication channel and then compare it with an allowed number, that is, a first number threshold. Communication channels whose number of transition terminals exceeds the first number threshold need to be discarded.
[0098] In this screening method, a maximum allowed value is set, that is, communication channels whose number of transition terminals is within the maximum allowed value will be retained.
[0099] However, after the screening is completed, if the number of remaining communication channels is less than or equal to one, the communication channels are screened using a second number threshold, the value of the second number threshold is greater than the value of the first number threshold, and so on.
[0100] That is to say, the number of communication channels will be ensured by increasing the number threshold (using the second number threshold to replace the first number threshold). It should be understood that if the remaining number of communication channels is only one, then there is no point in cutting the sound, because if the communication channel is temporarily interrupted during use, it is equivalent to losing contact with the receiving end.
[0101] The second type,
[0102] S301, calculating the number of transition terminals in each communication channel, where the number is recorded as a first number;
[0103] S302, selecting a quantity threshold corresponding to the first quantity with the smallest value; and
[0104] S303, screening the communication channels according to the quantity threshold, and when the other first quantity is greater than the quantity threshold, discarding the communication channels corresponding to the first quantity;
[0105] Among them, after the screening is completed, the remaining number of communication channels should be greater than or equal to two.
[0106] In step S301 to step S303, the quantity threshold is determined according to the number of transition terminals in the communication channel, that is, there are multiple quantity thresholds, and one needs to be selected each time. The selection condition is the minimum number of transition terminals in the communication channel.
[0107] For example, after the communication channel is established, the numbers of transition terminals included in the communication channel are 2, 2, 3, 4, 5, 6, 7, and 8 respectively. Then 2 is used to select an appropriate quantity threshold, and it should be understood that the number corresponding to each quantity threshold should be a range. For example, if the number of quantity thresholds is 3, then the number range corresponding to the first quantity threshold can be 0 to 2, the number range corresponding to the second quantity threshold can be 3 to 4, and the number range corresponding to the third quantity threshold can be 5 to 6.
[0108] In addition, in the above two screening methods, it is necessary to ensure that the number of remaining communication channels is greater than or equal to two, because if the remaining number of communication channels is only one, then there is no point in cutting the sound, because if the communication channel is temporarily interrupted during use, it is equivalent to losing contact with the receiving end.
[0109] As a specific implementation of the short-distance communication method provided in the application, a redundant design is added to the sending of the sound unit information, and the specific contents are as follows:
[0110] After the communication channels are successfully established, the communication channels are divided into two groups, the number of communication channels in the two groups is the same, and the number of communication channels in each group is greater than or equal to two; and
[0111] When the sound unit information in each group is sent to the terminal pointed to by the pointing instruction through the corresponding communication channel, each sound unit information is sent to the terminal pointed to by the pointing instruction through one of the communication channels in the two groups.
[0112] When the number of communication channels is an odd number, a communication channel containing the largest number of transition terminals is discarded or a communication channel is randomly selected for discarding.
[0113] That is to say, for the available communication channels, the communication channels will be divided into two groups, and these two groups of communication channels will participate in the sending process of the sound unit information at the same time. It can be understood that there is a dynamic backup. Then for the receiving end, at the same time point, two identical sound unit information will be received. At this time, only one needs to be selected for use. If one of the sound unit information is lost, there is another sound unit information that can be used. Moreover, these two sound unit information are backed up for each other. If any one of them is lost, the other one can be used as a replacement.
[0114] In addition, if the communication channels are not grouped, see Figure 4 , another kind of redundancy can be used, as follows,
[0115] When sending the first sound unit information in the same group, the first communication channel and the second communication channel are used simultaneously for sending; when sending the second sound unit information in the same group, the second communication channel and the third communication channel are used simultaneously for sending, and so on, dual backup of the same sound unit information can also be achieved.
[0116] In an unstable environment or one with many external influencing factors, this temporarily established communication channel is also unstable. As time goes by, the probability of this instability will increase. Therefore, in a specific implementation of the short-distance communication method provided by the application, please refer to Figure 5 , it is necessary to improve the stability of the communication process by re-establishing the communication channel. The specific steps are as follows:
[0117] S401, calculating the number of groups of sound unit information emitted; and
[0118] S402: When the number of groups sent reaches a preset group number threshold, the communication channel is re-established.
[0119] Specifically, the time for reconstructing the communication channel is determined based on the number of groups of sound unit information emitted. When the number of groups reaches the preset threshold, the communication channel will be reestablished and the new communication channel will be used to ensure the call between the sender and the receiver until the call ends. The longer the call time, the more times the communication channel will be reconstructed.
[0120] The present application also provides a short-distance communication device, including:
[0121] A first processing unit is used to, in response to the acquired trigger instruction, start parsing the acquired first sound and acquire a pointing instruction therein, where the pointing instruction points to a terminal;
[0122] A first testing unit is used to send a communication channel test instruction to a transition terminal that maintains a communication relationship, and establish a communication channel according to feedback from the transition terminal, wherein the number of communication channels is multiple, and the number of transition terminals in each communication channel is one or more;
[0123] A first communication unit, configured to send a notification of successful establishment of a communication channel in response to an enabling instruction given by the terminal;
[0124] A second processing unit is used to digitally sample and segment the second sound in response to the acquired second sound, and generate a plurality of sound unit information, each of which has a consistent time length;
[0125] A third processing unit, configured to number the communication channels according to the number of transition terminals in the communication channels;
[0126] a fourth processing unit, configured to group the sound unit information according to the generation time thereof in a time series and number the sound unit information in each group, wherein the number of the sound unit information in each group is consistent with the number of the communication channels, and the grouping of the sound unit information is performed continuously; and
[0127] The second communication unit is used to send the sound unit information in each group to the terminal pointed to by the pointing instruction through the corresponding communication channel.
[0128] In one example, the unit in any of the above devices can be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0129] For another example, when the units in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0130] Various objects such as various messages / information / equipment / network elements / systems / devices / actions / operations / processes / concepts that may appear in this application are named. It can be understood that these specific names do not constitute a limitation on the relevant objects. The names assigned may change with factors such as scenarios, contexts or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from the functions and technical effects embodied / executed in the technical scheme.
[0131] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0132] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0134] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0135] It should also be understood that in various embodiments of the present application, the first, second, etc. are only used to indicate that multiple objects are different. For example, the first time window and the second time window are only used to indicate different time windows. They should not have any impact on the time window itself, and the first, second, etc. mentioned above should not impose any limitations on the embodiments of the present application.
[0136] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0137] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a computer-readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0138] The present application also provides a short-distance communication system, the system comprising:
[0139] one or more memories for storing instructions; and
[0140] One or more processors are used to call and run the instructions from the memory to execute the short distance communication method as described above.
[0141] The present application also provides a chip, including:
[0142] One or more interfaces, and
[0143] One or more processors; the processor calls and runs instructions through an interface to execute the short distance communication method as described above.
[0144] An embodiment of the present application also provides a computer program product, which includes instructions. When the instructions are executed, the mobile trajectory generation system based on virtual reality technology performs the operations of the mobile trajectory generation system based on virtual reality technology corresponding to the above method.
[0145] An embodiment of the present application also provides a chip system, which includes a processor for implementing the functions involved in the above content, such as generating, receiving, sending, or processing the data and / or information involved in the above method.
[0146] The chip system may be composed of chips, or may include chips and other discrete devices.
[0147] The processor mentioned in any of the above places can be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for executing programs for controlling the above-mentioned feedback information transmission method.
[0148] In a possible design, the chip system also includes a memory, which is used to store necessary program instructions and data. The processor and the memory can be decoupled and respectively set on different devices, connected by wire or wireless means to support the chip system to implement various functions in the above embodiments. Alternatively, the processor and the memory can also be coupled on the same device.
[0149] Optionally, the computer instructions are stored in a memory.
[0150] Optionally, the memory is a storage unit within the chip, such as a register, a cache, etc. The memory can also be a storage unit within the terminal located outside the chip, such as a ROM or other types of static storage devices that can store static information and instructions, RAM, etc.
[0151] It can be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
[0152] The non-volatile memory may be a ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory.
[0153] The volatile memory may be a RAM, which is used as an external cache. There are many different types of RAM, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct memory bus RAM.
[0154] The embodiments of this specific implementation method are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore, all equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A short distance communication method, characterized in that: include: In response to the acquired trigger instruction, start parsing the acquired first sound and acquire a pointing instruction therein, where the pointing instruction points to a terminal; Sending a communication channel test instruction to the jump terminal that maintains a communication relationship, and establishing a communication channel according to the feedback of the jump terminal, the number of communication channels is multiple; Calculate the number of transition terminals in each communication channel, and record the number as a first number; Select a quantity threshold value corresponding to the first quantity with the smallest value; as well as The communication channels are screened according to the quantity threshold, and when the other first quantity is greater than the quantity threshold, the communication channels corresponding to the first quantity are discarded; In response to the acquired second sound, digitally sampling and segmenting the second sound to generate a plurality of sound unit information; Numbering each communication channel according to the number of transition terminals in each communication channel; In time series, the sound unit information is continuously grouped according to its generation time and the sound unit information in each group is numbered, and the number of the sound unit information in each group is consistent with the number of communication channels; and The sound unit information in each group is sent to the terminal pointed to by the pointing instruction through the corresponding communication channel.
2. A short distance communication method according to claim 1, characterized in that: The remaining number of communication channels after screening includes at least two, and the number of transition terminals in each communication channel includes at least one.
3. A short distance communication method according to claim 1, characterized in that: After the communication channel is successfully established, it also includes: Divide the communication channels into two groups, the number of communication channels in the two groups is the same, and the number of communication channels in each group is greater than or equal to two; and When the sound unit information in each group is sent to the terminal pointed to by the pointing instruction through the corresponding communication channel, each sound unit information is sent to the terminal pointed to by the pointing instruction through one of the communication channels in the two groups; When the number of communication channels is an odd number, a communication channel containing the largest number of transition terminals is discarded or a communication channel is randomly selected for discarding.
4. A short distance communication method according to any one of claims 1 to 3, characterized in that: Also includes: Calculate the number of groups of sound unit information emitted; as well as When the number of groups sent reaches a preset group number threshold, the communication channel is re-established.
5. A short distance communication method according to claim 1, characterized in that: After the communication channel is successfully established, in response to the permission instruction given by the terminal, a notification of successful establishment of the communication channel is sent to the user.
6. A short distance communication method according to claim 1, characterized in that: The time length of each of the sound unit information is consistent.
7. A short-distance communication device, characterized in that: Used to execute the short distance communication method according to any one of claims 1 to 6, comprising: A first processing unit is used to, in response to the acquired trigger instruction, start parsing the acquired first sound and acquire a pointing instruction therein, where the pointing instruction points to a terminal; A first testing unit is used to send a communication channel test instruction to a transition terminal that maintains a communication relationship, and establish a communication channel according to feedback from the transition terminal, wherein the number of communication channels is multiple, and the number of transition terminals in each communication channel is one or more; A first communication unit, configured to send a notification of successful establishment of a communication channel to a user in response to an enabling instruction given by the terminal; A second processing unit is used to digitally sample and segment the second sound in response to the acquired second sound, and generate a plurality of sound unit information, each of which has a consistent time length; A third processing unit, configured to number each communication channel according to the number of transition terminals in each communication channel; a fourth processing unit, configured to group the sound unit information according to the generation time thereof in a time series and number the sound unit information in each group, wherein the number of the sound unit information in each group is consistent with the number of the communication channels, and the grouping of the sound unit information is performed continuously; and The second communication unit is used to send the sound unit information in each group to the terminal pointed to by the pointing instruction through the corresponding communication channel.
8. A short distance communication system, characterized in that: The system comprises: one or more memories for storing instructions; and One or more processors, configured to call and execute the instructions from the memory to execute the short distance communication method as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer readable storage medium comprises: The program, when the program is executed by a processor, the short distance communication method according to any one of claims 1 to 6 is executed.
10. A chip, characterized in that: include: One or more interfaces, and one or more processors; The processor calls and runs instructions through an interface to execute the short distance communication method as described in any one of claims 1 to 6.
