CN110198522B - Data transmission method and device, electronic equipment and computer readable storage medium - Google Patents
Data transmission method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110198522B CN110198522B CN201910517555.6A CN201910517555A CN110198522B CN 110198522 B CN110198522 B CN 110198522B CN 201910517555 A CN201910517555 A CN 201910517555A CN 110198522 B CN110198522 B CN 110198522B
- Authority
- CN
- China
- Prior art keywords
- master device
- master
- slave
- success rate
- connection success
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开实施例公开了一种数据传输的方法、装置、电子设备及计算机可读存储介质,所述数据传输的方法包括确定符合第一预设条件的第一主设备;确定符合第二预设条件的第二主设备;对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。该技术方案实现了第一主设备及第二主设备均可以与第二主设备的从设备建立连接,解决了第二主设备与其对应的从设备连接成功率低而导致第二主设备的从设备的数据不能被及时上传的问题。
Embodiments of the present disclosure disclose a data transmission method, apparatus, electronic device, and computer-readable storage medium. The data transmission method includes determining a first master device that meets a first preset condition; determining that a second preset condition is met; conditional second master device; authorize the first master device so that the first master device has the authority to connect to the slave device of the second master device, thereby allowing the first master device to access the slave device from the second master device The slave device of the second master device obtains data. The technical solution realizes that both the first master device and the second master device can establish a connection with the slave device of the second master device, and solves the problem that the connection success rate of the second master device and its corresponding slave device is low, resulting in the slave device of the second master device. The problem that the data of the device cannot be uploaded in time.
Description
技术领域technical field
本公开涉及计算机应用技术领域,具体涉及一种数据传输的方法、装置、电子设备及计算机可读存储介质。The present disclosure relates to the technical field of computer applications, and in particular, to a method, an apparatus, an electronic device, and a computer-readable storage medium for data transmission.
背景技术Background technique
随着物联网及大数据技术的快速发展,各种类型的数据采集设备将采集的数据通过通信设备传输至互联网平台,互联网平台对数据进行相应的处理、记录、统计和分析,使其适用于不同的应用场景。当数据采集设备与通信设备之间为近距离通信连接(例如,蓝牙通信连接)时,目前常见的形式是数据采集设备与通信设备采用一对一固定匹配的连接方式,此时,通信设备与数据采集设备之间的连接成功率会受周围环境、数据采集设备和通信设备的参数影响,从而出现通信设备与数据采集设备连接失败的场景,导致通信设备不能接收数据采集设备所采集的完整数据。With the rapid development of the Internet of Things and big data technology, various types of data acquisition equipment transmit the collected data to the Internet platform through communication equipment, and the Internet platform processes, records, counts and analyzes the data accordingly, making it suitable for different application scenarios. When the data acquisition device and the communication device are connected by short-range communication (for example, Bluetooth communication connection), the current common form is that the data acquisition device and the communication device adopt a one-to-one fixed matching connection. The connection success rate between the data acquisition devices will be affected by the surrounding environment, the parameters of the data acquisition device and the communication device, so that the connection between the communication device and the data acquisition device fails, and the communication device cannot receive the complete data collected by the data acquisition device. .
发明内容SUMMARY OF THE INVENTION
为了解决相关技术中的问题,本公开实施例提供一种数据传输的方法、装置、电子设备及计算机可读存储介质。In order to solve the problems in the related art, the embodiments of the present disclosure provide a data transmission method, an apparatus, an electronic device, and a computer-readable storage medium.
第一方面,本公开实施例中提供了一种数据传输的方法。In a first aspect, an embodiment of the present disclosure provides a method for data transmission.
具体地,所述数据传输的方法,包括:Specifically, the data transmission method includes:
确定符合第一预设条件的第一主设备;determining the first master device that meets the first preset condition;
确定符合第二预设条件的第二主设备;determining the second master device that meets the second preset condition;
对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。Authorizing the first master device so that the first master device has the authority to connect to the slave device of the second master device, thereby allowing the first master device to obtain from the slave device of the second master device data.
结合第一方面,本公开在第一方面的第一种实现方式中,还包括,接收所述第一主设备发送的数据,所述数据包括所述第一主设备从所述第二主设备的从设备获取的数据。With reference to the first aspect, in a first implementation manner of the first aspect, the present disclosure further includes: receiving data sent by the first master device, the data including the first master device from the second master device of data obtained from the device.
结合第一方面,本公开在第一方面的第二种实现方式中,所述第一主设备和所述第二主设备的活动范围至少部分重叠;和/或In conjunction with the first aspect, in a second implementation manner of the first aspect of the present disclosure, the activity ranges of the first master device and the second master device at least partially overlap; and/or
所述第一主设备和所述第二主设备的活动范围属于同一地理区域。The activity ranges of the first master device and the second master device belong to the same geographic area.
结合第一方面,本公开在第一方面的第三种实现方式中,所述符合第一预设条件的第一主设备是多个主设备中与所述从设备的连接成功率最高的第一预设数量的主设备;和/或With reference to the first aspect, in a third implementation manner of the first aspect of the present disclosure, the first master device that meets the first preset condition is the first master device with the highest connection success rate with the slave device among the multiple master devices. a preset number of master devices; and/or
所述符合第二预设条件的第二主设备是多个主设备中与所述从设备的连接成功率最低的第二预设数量的主设备。The second master device that meets the second preset condition is a second preset number of master devices with the lowest connection success rate with the slave device among the plurality of master devices.
结合第一方面,本公开在第一方面的第四种实现方式中,所述符合第一预设条件的第一主设备是与所述从设备的连接成功率高于第一预设阈值的主设备;和/或With reference to the first aspect, in a fourth implementation manner of the first aspect of the present disclosure, the first master device that meets the first preset condition has a connection success rate with the slave device higher than a first preset threshold master device; and/or
所述符合第二预设条件的第二主设备是与所述从设备的连接成功率低于第二预设阈值的主设备。The second master device that meets the second preset condition is a master device whose connection success rate with the slave device is lower than a second preset threshold.
结合第一方面的第三种实现方式或的第四种实现方式,本公开在第一方面的第五种实现方式中,还包括:In conjunction with the third implementation manner or the fourth implementation manner of the first aspect, in the fifth implementation manner of the first aspect, the present disclosure further includes:
获取连接成功率统计数据,所述连接成功率统计数据包括多个主设备的参数组合和与所述参数组合对应的主设备与从设备的连接成功率;Obtaining connection success rate statistics, where the connection success rate statistics include parameter combinations of multiple master devices and connection success rates between the master device and the slave device corresponding to the parameter combinations;
根据所述连接成功率统计数据和所述主设备的参数组合,确定所述主设备与所述从设备的连接成功率。The connection success rate between the master device and the slave device is determined according to the combination of the connection success rate statistics and the parameters of the master device.
结合第一方面的第五种实现方式,本公开在第一方面的第六种实现方式中,所述参数组合包括主设备型号和操作系统的组合。With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect of the present disclosure, the parameter combination includes a combination of a main device model and an operating system.
结合第一方面,本公开在第一方面的第七种实现方式中,还包括:In conjunction with the first aspect, in a seventh implementation manner of the first aspect, the present disclosure further includes:
实时监测和/或根据导航路径预测所述第一主设备和所述第二主设备的位置信息;Monitoring and/or predicting the location information of the first master device and the second master device in real time according to the navigation path;
在所述第一主设备和所述第二主设备之间的距离等于或小于预设距离时,发送提示消息。When the distance between the first master device and the second master device is equal to or less than a preset distance, a prompt message is sent.
结合第一方面,本公开在第一方面的第八种实现方式中,所述第一主设备与所述第二主设备的从设备通过蓝牙通信建立连接。With reference to the first aspect, in an eighth implementation manner of the first aspect, the first master device establishes a connection with a slave device of the second master device through Bluetooth communication.
结合第一方面,本公开在第一方面的第九种实现方式中,所述主设备为配送资源的通信设备,所述主设备所对应的从设备为配送资源的配送设备的数据采集设备。With reference to the first aspect, in a ninth implementation manner of the first aspect of the present disclosure, the master device is a communication device that distributes resources, and the slave device corresponding to the master device is a data collection device of the distribution device that distributes resources.
第二方面,本公开实施例中提供了一种数据传输的装置。In a second aspect, an embodiment of the present disclosure provides an apparatus for data transmission.
具体地,所述数据传输的装置,包括:Specifically, the device for data transmission includes:
第一确定模块,被配置为确定符合第一预设条件的第一主设备;a first determining module, configured to determine a first master device that meets a first preset condition;
第二确定模块,被配置为确定符合第二预设条件的第二主设备;a second determination module configured to determine a second master device that meets the second preset condition;
授权模块,被配置为对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。an authorization module configured to authorize the first master device so that the first master device has the authority to connect to the slave device of the second master device, thereby allowing the first master device to access the second master device from the second master device The slave device of the master device gets data.
结合第二方面,本公开在第二方面的第一种实现方式中,还包括:In conjunction with the second aspect, in a first implementation manner of the second aspect, the present disclosure further includes:
接收模块,被配置为接收所述第一主设备发送的数据,所述数据包括所述第一主设备从所述第二主设备的从设备获取的数据。A receiving module configured to receive data sent by the first master device, the data including data acquired by the first master device from a slave device of the second master device.
结合第二方面,本公开在第二方面的第二种实现方式中,所述第一主设备和所述第二主设备的活动范围至少部分重叠;和/或In conjunction with the second aspect, in a second implementation manner of the second aspect of the present disclosure, the activity ranges of the first master device and the second master device at least partially overlap; and/or
所述第一主设备和所述第二主设备的活动范围属于同一地理区域。The activity ranges of the first master device and the second master device belong to the same geographic area.
结合第二方面,本公开在第二方面的第三种实现方式中,所述符合第一预设条件的第一主设备是多个主设备中与所述从设备的连接成功率最高的第一预设数量的主设备;和/或With reference to the second aspect, in a third implementation manner of the second aspect of the present disclosure, the first master device that meets the first preset condition is the first master device with the highest connection success rate with the slave device among the multiple master devices. a preset number of master devices; and/or
所述符合第二预设条件的第二主设备是多个主设备中与所述从设备的连接成功率最低的第二预设数量的主设备。The second master device that meets the second preset condition is a second preset number of master devices with the lowest connection success rate with the slave device among the plurality of master devices.
结合第二方面,本公开在第二方面的第四种实现方式中,所述符合第一预设条件的第一主设备是与所述从设备的连接成功率高于第一预设阈值的主设备;和/或With reference to the second aspect, in a fourth implementation manner of the second aspect of the present disclosure, the first master device that meets the first preset condition has a connection success rate with the slave device higher than a first preset threshold master device; and/or
所述符合第二预设条件的第二主设备是与所述从设备的连接成功率低于第二预设阈值的主设备。The second master device that meets the second preset condition is a master device whose connection success rate with the slave device is lower than a second preset threshold.
结合第二方面的第三种实现方式或的第四种实现方式,本公开在第二方面的第五种实现方式中,还包括:In conjunction with the third implementation manner or the fourth implementation manner of the second aspect, in the fifth implementation manner of the second aspect, the present disclosure further includes:
获取模块,被配置为获取连接成功率统计数据,所述连接成功率统计数据包括多个主设备的参数组合和与所述参数组合对应的主设备与从设备的连接成功率;an acquisition module configured to acquire connection success rate statistics, where the connection success rate statistics include parameter combinations of multiple master devices and connection success rates between the master device and the slave device corresponding to the parameter combinations;
第三确定模块,被配置为根据所述连接成功率统计数据和所述主设备的参数组合,确定所述主设备与所述从设备的连接成功率。The third determining module is configured to determine the connection success rate between the master device and the slave device according to the connection success rate statistical data and the parameter combination of the master device.
结合第二方面的第五种实现方式,本公开在第二方面的第六种实现方式中,所述参数组合包括主设备型号和操作系统的组合。With reference to the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect of the present disclosure, the parameter combination includes a combination of a main device model and an operating system.
结合第二方面,本公开在第二方面的第七种实现方式中,还包括:In conjunction with the second aspect, in a seventh implementation manner of the second aspect, the present disclosure further includes:
预测模块,被配置为实时监测和/或根据导航路径预测所述第一主设备和所述第二主设备的位置信息;a prediction module, configured to monitor and/or predict the location information of the first master device and the second master device in real time according to the navigation path;
发送模块,被配置为在所述第一主设备和所述第二主设备之间的距离等于或小于预设距离时,发送提示消息。The sending module is configured to send a prompt message when the distance between the first master device and the second master device is equal to or less than a preset distance.
结合第二方面,本公开在第二方面的第八种实现方式中,所述第一主设备与所述第二主设备的从设备通过蓝牙通信建立连接。With reference to the second aspect, in an eighth implementation manner of the second aspect, the first master device establishes a connection with a slave device of the second master device through Bluetooth communication.
结合第二方面,本公开在第二方面的第九种实现方式中,所述主设备为配送资源的通信设备,所述主设备所对应的从设备为配送资源的配送设备的数据采集设备。With reference to the second aspect, in a ninth implementation manner of the second aspect, the master device is a communication device that distributes resources, and the slave device corresponding to the master device is a data collection device of the distribution device that distributes resources.
第三方面,本公开实施例提供了一种电子设备,包括存储器和处理器,其中,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现以下方法步骤:In a third aspect, embodiments of the present disclosure provide an electronic device, including a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are processed by the The controller executes to implement the following method steps:
确定符合第一预设条件的第一主设备;determining the first master device that meets the first preset condition;
确定符合第二预设条件的第二主设备;determining the second master device that meets the second preset condition;
对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。Authorizing the first master device so that the first master device has the authority to connect to the slave device of the second master device, thereby allowing the first master device to obtain from the slave device of the second master device data.
结合第三方面,本公开在第三方面的第一种实现方式中,所述一条或多条计算机指令还被所述处理器执行以实现以下方法步骤:In conjunction with the third aspect, in a first implementation manner of the third aspect, the one or more computer instructions are further executed by the processor to implement the following method steps:
接收所述第一主设备发送的数据,所述数据包括所述第一主设备从所述第二主设备的从设备获取的数据。Receive data sent by the first master device, where the data includes data acquired by the first master device from slave devices of the second master device.
结合第三方面,本公开在第三方面的第二种实现方式中,所述第一主设备和所述第二主设备的活动范围至少部分重叠;和/或In conjunction with the third aspect, in a second implementation manner of the third aspect of the present disclosure, the activity ranges of the first master device and the second master device at least partially overlap; and/or
所述第一主设备和所述第二主设备的活动范围属于同一地理区域。The activity ranges of the first master device and the second master device belong to the same geographic area.
结合第三方面,本公开在第三方面的第三种实现方式中,所述符合第一预设条件的第一主设备是多个主设备中与所述从设备的连接成功率最高的第一预设数量的主设备;和/或With reference to the third aspect, in a third implementation manner of the third aspect of the present disclosure, the first master device that meets the first preset condition is the first master device with the highest connection success rate with the slave device among the multiple master devices. a preset number of master devices; and/or
所述符合第二预设条件的第二主设备是多个主设备中与所述从设备的连接成功率最低的第二预设数量的主设备。The second master device that meets the second preset condition is a second preset number of master devices with the lowest connection success rate with the slave device among the plurality of master devices.
结合第三方面,本公开在第三方面的第四种实现方式中,所述符合第一预设条件的第一主设备是与所述从设备的连接成功率高于第一预设阈值的主设备;和/或With reference to the third aspect, in a fourth implementation manner of the third aspect of the present disclosure, the first master device that meets the first preset condition has a connection success rate with the slave device higher than a first preset threshold master device; and/or
所述符合第二预设条件的第二主设备是与所述从设备的连接成功率低于第二预设阈值的主设备。The second master device that meets the second preset condition is a master device whose connection success rate with the slave device is lower than a second preset threshold.
结合第三方面的第三种实现方式或的第四种实现方式,本公开在第三方面的第五种实现方式中,所述一条或多条计算机指令还被所述处理器执行以实现以下方法步骤:In conjunction with the third implementation manner of the third aspect or the fourth implementation manner, in a fifth implementation manner of the third aspect of the present disclosure, the one or more computer instructions are further executed by the processor to achieve the following Method steps:
获取连接成功率统计数据,所述连接成功率统计数据包括多个主设备的参数组合和与所述参数组合对应的主设备与从设备的连接成功率;Obtaining connection success rate statistics, where the connection success rate statistics include parameter combinations of multiple master devices and connection success rates between the master device and the slave device corresponding to the parameter combinations;
根据所述连接成功率统计数据和所述主设备的参数组合,确定所述主设备与所述从设备的连接成功率。The connection success rate between the master device and the slave device is determined according to the combination of the connection success rate statistics and the parameters of the master device.
结合第三方面的第五种实现方式,本公开在第三方面的第六种实现方式中,所述参数组合包括主设备型号和操作系统的组合。With reference to the fifth implementation manner of the third aspect, in a sixth implementation manner of the third aspect of the present disclosure, the parameter combination includes a combination of a main device model and an operating system.
结合第三方面,本公开在第三方面的第七种实现方式中,所述一条或多条计算机指令还被所述处理器执行以实现以下方法步骤:In conjunction with the third aspect, in a seventh implementation manner of the third aspect, the one or more computer instructions are further executed by the processor to implement the following method steps:
实时监测和/或根据导航路径预测所述第一主设备和所述第二主设备的位置信息;Monitoring and/or predicting the location information of the first master device and the second master device in real time according to the navigation path;
在所述第一主设备和所述第二主设备之间的距离等于或小于预设距离时,发送提示消息。When the distance between the first master device and the second master device is equal to or less than a preset distance, a prompt message is sent.
结合第三方面,本公开在第三方面的第八种实现方式中,所述第一主设备与所述第二主设备的从设备通过蓝牙通信建立连接。With reference to the third aspect, in an eighth implementation manner of the third aspect, the first master device establishes a connection with a slave device of the second master device through Bluetooth communication.
结合第三方面,本公开在第三方面的第九种实现方式中,所述主设备为配送资源的通信设备,所述主设备所对应的从设备为配送资源的配送设备的数据采集设备。With reference to the third aspect, in a ninth implementation manner of the third aspect of the present disclosure, the master device is a communication device that distributes resources, and the slave device corresponding to the master device is a data collection device of the distribution device that distributes resources.
第四方面,本公开实施例中提供了一种可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现如第一方面、第一方面的第一种实现方式至第九种实现方式任一项所述的方法。In a fourth aspect, an embodiment of the present disclosure provides a readable storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, implement the first aspect, the first implementation manner of the first aspect to the fourth aspect. The method described in any one of the nine implementation manners.
根据本公开实施例提供的技术方案,通过确定出符合第一预设条件的第一主设备及符合第二预设条件的第二主设备,再对第一主设备进行授权,使得第一主设备具有连接第二主设备的从设备的权限,且允许第一主设备从第二主设备的从设备获取数据,从而实现了第一主设备及第二主设备均可以与第二主设备的从设备建立连接,解决了第二主设备与其对应的从设备连接成功率低而导致第二主设备的从设备的数据不能被及时上传的问题。According to the technical solutions provided by the embodiments of the present disclosure, by determining the first master device that meets the first preset condition and the second master device that meets the second preset condition, and then authorizing the first master device, the first master device The device has the authority to connect to the slave device of the second master device, and allows the first master device to obtain data from the slave device of the second master device, so that both the first master device and the second master device can communicate with the second master device. The slave device establishes a connection, which solves the problem that the second master device has a low connection success rate with its corresponding slave device, resulting in that the data of the slave device of the second master device cannot be uploaded in time.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
图1示出根据本公开的实施例的数据传输的方法的流程图;1 shows a flowchart of a method for data transmission according to an embodiment of the present disclosure;
图2示出根据本公开的实施例的第一主设备从第二主设备的从设备获取数据的应用场景图;2 shows an application scenario diagram in which a first master device acquires data from a slave device of a second master device according to an embodiment of the present disclosure;
图3示出根据本公开的实施例的数据传输的方法的流程图;3 shows a flowchart of a method for data transmission according to an embodiment of the present disclosure;
图4示出根据本公开的实施例的数据传输的应用场景图;FIG. 4 shows an application scenario diagram of data transmission according to an embodiment of the present disclosure;
图5示出根据本公开的实施例的数据传输的方法的流程图;5 shows a flowchart of a method for data transmission according to an embodiment of the present disclosure;
图6示出根据本公开的实施例的数据传输的应用场景图;FIG. 6 shows an application scenario diagram of data transmission according to an embodiment of the present disclosure;
图7示出根据本公开的实施例的数据传输的装置的结构框图;7 shows a structural block diagram of an apparatus for data transmission according to an embodiment of the present disclosure;
图8示出根据本公开的实施例的电子设备的结构框图;8 shows a structural block diagram of an electronic device according to an embodiment of the present disclosure;
图9示出适于用来实现根据本公开实施例的数据传输的方法的计算机系统的结构示意图。FIG. 9 shows a schematic structural diagram of a computer system suitable for implementing the data transmission method according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下文中,将参考附图详细描述本公开的示例性实施例,以使本领域技术人员可容易地实现它们。此外,为了清楚起见,在附图中省略了与描述示例性实施例无关的部分。Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts unrelated to describing the exemplary embodiments are omitted from the drawings.
在本公开中,应理解,诸如“包括”或“具有”等的术语旨在指示本说明书中所公开的特征、数字、步骤、行为、部件、部分或其组合的存在,并且不欲排除一个或多个其他特征、数字、步骤、行为、部件、部分或其组合存在或被添加的可能性。In the present disclosure, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts, or combinations thereof disclosed in this specification, and are not intended to exclude a or multiple other features, numbers, steps, acts, components, parts, or combinations thereof may exist or be added.
另外还需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。In addition, it should be noted that the embodiments of the present disclosure and the features of the embodiments may be combined with each other under the condition of no conflict. The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
如上文所述,在通信设备与数据采集设备之间为一对一连接时,二者的连接成功率会受周围环境、数据采集设备和通信设备的参数影响,从而出现通信设备与数据采集设备连接失败的场景,导致通信设备不能接收数据采集设备所采集的完整数据。As mentioned above, when there is a one-to-one connection between the communication device and the data acquisition device, the connection success rate of the two will be affected by the surrounding environment, the parameters of the data acquisition device and the communication device, so that the communication device and the data acquisition device appear. In the scenario of connection failure, the communication device cannot receive the complete data collected by the data collection device.
例如,在智能医疗健康领域,现有技术一般采用可穿戴设备或者医疗设备上的数据采集设备采集用户的生理数据和/或行为数据,再通过蓝牙通信连接,上传至用户终端通信设备,最后传输至服务器侧,由于数据采集设备与用户终端通信设备采用一对一固定匹配连接方式,若用户终端通信设备不能接收数据采集设备所采集的完整数据,会影响服务器侧对用户身体状态的分析和诊断。在物流配送领域,现有技术一般采用配送设备上的数据采集系统采集配送物品和/或配送设备的状态数据,再通过蓝牙通信连接,上传至配送资源的通信设备,最后传输至服务器侧,由于数据采集设备与配送资源的通信设备采用一对一固定匹配连接方式,若配送资源的通信设备不能接收数据采集设备所采集的完整数据,会影响服务器侧对配送资源操作规范性及工作能力的评估,导致出现问题订单时甚至出现错误判责。For example, in the field of intelligent medical and health, the existing technology generally uses wearable devices or data acquisition devices on medical devices to collect users' physiological data and/or behavior data, and then connect through Bluetooth communication, upload them to the user terminal communication device, and finally transmit the data. To the server side, since the data acquisition device and the user terminal communication device adopt a one-to-one fixed matching connection, if the user terminal communication device cannot receive the complete data collected by the data acquisition device, it will affect the server side's analysis and diagnosis of the user's physical state. . In the field of logistics and distribution, the prior art generally uses the data acquisition system on the distribution equipment to collect the status data of the distributed items and/or the distribution equipment, and then connects through Bluetooth communication, uploads it to the communication equipment of the distribution resources, and finally transmits it to the server side. The data acquisition equipment and the communication equipment of the distribution resources adopt a one-to-one fixed matching connection mode. If the communication equipment of the distribution resources cannot receive the complete data collected by the data acquisition equipment, it will affect the evaluation of the operation standardization and work ability of the distribution resources on the server side. , resulting in a wrong judgment even when there is a problem order.
为至少部分地解决发明人发现的现有技术中的问题而提出本公开。The present disclosure is made to address, at least in part, problems identified in the prior art by the inventors.
图1示出根据本公开的实施例的数据传输的方法的流程图。如图1所示,所述数据传输的方法包括以下步骤S101-S103:FIG. 1 shows a flowchart of a method of data transmission according to an embodiment of the present disclosure. As shown in FIG. 1, the method for data transmission includes the following steps S101-S103:
在步骤S101中,确定符合第一预设条件的第一主设备;In step S101, determine the first master device that meets the first preset condition;
在步骤S102中,确定符合第二预设条件的第二主设备;In step S102, determine the second master device that meets the second preset condition;
在步骤S103中,对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。In step S103, authorize the first master device so that the first master device has the authority to connect to the slave device of the second master device, thereby allowing the first master device to access the slave device from the second master device The device gets data from the device.
根据本公开的实施例,主设备与其对应的从设备之间通过蓝牙通信建立连接,且主设备从其对应的从设备获取数据,并将获取的数据上传至服务器侧。从设备可以是具有蓝牙通信功能并且能够接收数据的设备,例如蓝牙数据采集器或能够接收数据的其他蓝牙通信设备;主设备可以是内含支持蓝牙通信标准的通信模块的设备,例如:手持终端设备、笔记本电脑、蜂窝电话、智能电话、平板型电脑、机器类型通信终端或是其他具有通信功能的设备。应理解,主设备及从设备的数量、类型及具体的安装方式视具体应用需要而定,本公开不做具体限定。需要说明的是,在某些情形下,若权限配置行为需要满足若干前置条件(例如:若需要获得第一主设备和/或第一主设备所对应的从设备和/或第二主设备和/或第二主设备所对应的从设备的持有者允许),则均在满足前置条件后再执行。According to an embodiment of the present disclosure, a connection is established between a master device and its corresponding slave device through Bluetooth communication, and the master device acquires data from its corresponding slave device, and uploads the acquired data to the server side. The slave device can be a device with Bluetooth communication function and capable of receiving data, such as a Bluetooth data collector or other Bluetooth communication device capable of receiving data; the master device can be a device with a communication module that supports the Bluetooth communication standard, such as a handheld terminal Devices, notebook computers, cellular phones, smart phones, tablet computers, machine-type communication terminals, or other devices with communication capabilities. It should be understood that the number, type and specific installation manner of the master device and the slave device are determined by specific application requirements, and are not specifically limited in the present disclosure. It should be noted that, in some cases, if the permission configuration behavior needs to satisfy several preconditions (for example, if it is necessary to obtain the slave device and/or the second master device corresponding to the first master device and/or the first master device) and/or the owner of the slave device corresponding to the second master device allows), then the execution is performed after the preconditions are satisfied.
由于主设备与其对应的从设备之间的连接成功率受周围环境、主/从设备射频性能状态、主设备操作系统及蓝牙相关驱动鲁棒性等多方面因素影响,因此,主设备与其对应的从设备之间的连接成功率会出现高低不一样的情况,即主设备从其对应的从设备获取的数据量的完整程度会出现差异化。Since the connection success rate between the master device and its corresponding slave device is affected by the surrounding environment, the RF performance status of the master/slave device, the master device's operating system, and the robustness of Bluetooth-related drivers, the master device and its corresponding slave device are affected by many factors. The connection success rate between the slave devices will be different, that is, the completeness of the amount of data obtained by the master device from its corresponding slave device will be different.
根据本公开的实施例,预设条件包括以下任意一种或多种条件:主设备数量、参数、所在区域、上传数据类型、预设时间段内上传数据量以及与其所对应的从设备之间的连接成功率等。第一预设条件是指对以上一种或多种条件的第一限制规定,第二预设条件是指对以上一种或多种条件的第二限制规定,通过设置第一预设条件和第二预设条件,例如使得符合第一预设条件的主设备与其对应的从设备之间的连接成功率高于符合第二预设条件的主设备与其对应的从设备之间的连接成功率。例如,当预设条件为主设备与其所对应的从设备之间的连接成功率时,符合第一预设条件的第一主设备是指与其对应的从设备之间的连接成功率比较高的多个主设备,例如这些主设备与其对应的从设备之间的连接成功率受周围环境及主/从设备参数影响较小;符合第二预设条件的第二主设备是指与其对应的从设备之间的连接成功率比较低的多个主设备,例如这些主设备与其对应的从设备之间的连接成功率受周围环境及主/从设备参数影响较大。又例如,当预设条件为预设时间段内上传数据量且主设备的数量为N时,符合第一预设条件的第一主设备是指与在预设时间段内,向服务器侧上传数据量比较多的N个主设备;符合第二预设条件的第二主设备是指与在预设时间段内,向服务器侧上传数据量比较少的N个主设备。According to an embodiment of the present disclosure, the preset conditions include any one or more of the following conditions: the number of master devices, parameters, the region where they are located, the type of uploaded data, the amount of uploaded data within a preset time period, and the relationship between the master devices and their corresponding slave devices connection success rate, etc. The first preset condition refers to the first restriction on the above one or more conditions, and the second preset condition refers to the second restriction on the above one or more conditions. By setting the first preset condition and The second preset condition, for example, makes the connection success rate between the master device meeting the first preset condition and its corresponding slave device higher than the connection success rate between the master device meeting the second preset condition and its corresponding slave device . For example, when the preset condition is for the connection success rate between the master device and its corresponding slave device, the first master device that meets the first preset condition refers to the one that has a relatively high connection success rate with its corresponding slave device. Multiple master devices, for example, the connection success rate between these master devices and their corresponding slave devices is less affected by the surrounding environment and master/slave device parameters; the second master device that meets the second preset condition refers to its corresponding slave device. For multiple master devices with a relatively low connection success rate between devices, for example, the connection success rate between these master devices and their corresponding slave devices is greatly affected by the surrounding environment and the parameters of the master/slave device. For another example, when the preset condition is the amount of data uploaded within the preset time period and the number of master devices is N, the first master device that meets the first preset condition refers to uploading data to the server side within the preset time period. N master devices with a relatively large amount of data; the second master devices that meet the second preset condition refer to N master devices that upload a relatively small amount of data to the server side within a preset time period.
根据本公开的实施例,当筛选出符合第一预设条件的第一主设备和符合第二预设条件的第二主设备之后,可以对第一主设备进行授权,使得第一主设备具有连接第二主设备的从设备的权限。本公开对授权的方式不做具体限定,可以通过服务器侧提前将第二主设备的从设备的连接信息发送给第一主设备,其中,连接信息包括在第一主设备与第二主设备的从设备之间建立连接所需要的信息,例如,第二主设备的从设备的设备地址及密钥。According to an embodiment of the present disclosure, after filtering out the first master device that meets the first preset condition and the second master device that meets the second preset condition, the first master device can be authorized, so that the first master device has Permission to connect the slave device of the second master device. The present disclosure does not specifically limit the authorization method, and the server side can send the connection information of the slave device of the second master device to the first master device in advance, wherein the connection information is included in the connection information between the first master device and the second master device. Information required for establishing a connection between slave devices, for example, the device address and key of the slave device of the second master device.
根据本公开的实施例,本公开对授权的第一主设备的数量不做具体限定,授权的第一主设备的数量可以是符合第一预设条件的全部第一主设备,也可以是符合第一预设条件的部分第一主设备,当为部分第一主设备时,可以随机选择,也可以根据应用需要进行条件选择。例如,如果预设条件为预设时间段内主设备上传数据量,符合第一预设条件的第一主设备为预设时间段内上传数据量大于平均数据量的主设备,假设符合第一预设条件的第一主设备为M个,若只是从M个第一主设备中选择出m(m<M)个进行授权,则根据实际应用需要,可以从M个第一主设备中随机选择出m个第一主设备进行授权,也可以将上传数据量最大的m个第一主设备作为授权对象。According to the embodiments of the present disclosure, the present disclosure does not specifically limit the number of authorized first master devices, and the number of authorized first master devices may be all the first master devices that meet the first preset condition, or the number of authorized first master devices. Part of the first master device of the first preset condition, when it is part of the first master device, may be randomly selected, or may be selected according to the application requirements. For example, if the preset condition is the amount of data uploaded by the master device within the preset time period, the first master device that meets the first preset condition is the master device that uploads more data than the average amount of data within the preset time period. There are M first master devices in the preset condition. If only m (m<M) are selected from the M first master devices for authorization, then according to actual application needs, a random number of M first master devices can be selected from the M first master devices. The m first master devices are selected for authorization, and the m first master devices with the largest amount of uploaded data may also be used as authorization objects.
根据本公开的实施例,本公开对第二主设备的从设备的数量不做具体限定,第二主设备的从设备的数量可以是符合第二预设条件的全部第二主设备的从设备,也可以是符合第二预设条件的部分第二主设备的从设备,当为部分第二主设备的从设备时,可以随机选择,也可以根据应用需要进行条件选择。例如,可以根据第一主设备与第二主设备的历史导航路径进行选择,将历史导航路径重叠较多的部分第二主设备的从设备作为第一主设备的连接对象。According to an embodiment of the present disclosure, the present disclosure does not specifically limit the number of slave devices of the second master device, and the number of slave devices of the second master device may be all slave devices of the second master device that meet the second preset condition , or it may be a slave device of a part of the second master device that meets the second preset condition. When it is a slave device of a part of the second master device, it can be randomly selected, or conditional selection can be performed according to application requirements. For example, the selection can be made according to the historical navigation paths of the first master device and the second master device, and the slave device of the second master device whose historical navigation path overlaps more is used as the connection object of the first master device.
根据本公开的实施例,第一主设备具有连接第二主设备的从设备的权限之后,当第一主设备与第二主设备的从设备处于可连接的范围内时,第一主设备可以从第二主设备的从设备获取数据。According to an embodiment of the present disclosure, after the first master device has the authority to connect to the slave device of the second master device, when the first master device and the slave device of the second master device are within a connectable range, the first master device can Acquire data from slave devices of the second master device.
根据本公开的实施例,所述第一主设备与所述第二主设备的从设备通过蓝牙通信建立连接。由于第二主设备的从设备具有蓝牙通信功能,因此,第一主设备与第二主设备的从设备可以通过蓝牙通信建立连接。According to an embodiment of the present disclosure, the first master device establishes a connection with a slave device of the second master device through Bluetooth communication. Since the slave device of the second master device has a Bluetooth communication function, the first master device and the slave device of the second master device can establish a connection through Bluetooth communication.
根据本公开的实施例,所述第一主设备与所述第二主设备的从设备通过高占空比可连接定向广播事件模式建立连接。可以理解,虽然本公开主要以高占空比可连接定向广播事件模式进行说明,但本公开不限于此,而是也适用于其他蓝牙通信模式。According to an embodiment of the present disclosure, the first master device establishes a connection with the slave device of the second master device through a high duty cycle connectable directional broadcast event mode. It can be understood that although the present disclosure is mainly described in the high duty cycle connectable directional broadcast event mode, the present disclosure is not limited thereto, but is also applicable to other Bluetooth communication modes.
根据应用场景的不同,低功耗蓝牙协议广播可以设置为以下几种类型:可连接无定向广播、可连接定向广播(包括低占空比和高占空比)、可扫描无定向广播、不可连接无定向广播,其中,高占空比可连接定向广播事件的广播周期可以小到3.75ms,而其他的广播事件类型中的广播周期要大于或等于20ms。由此可见,本公开中在高占空比可连接定向广播事件模式下,建立第一主设备与第二主设备的从设备的通信连接速度要远大于其他蓝牙通信模式,因此可以建立第一主设备与第二主设备的从设备的快速连接。According to different application scenarios, Bluetooth low energy protocol broadcast can be set to the following types: connectable non-directional broadcast, connectable directional broadcast (including low duty cycle and high duty cycle), scannable non-directional broadcast, non-directional broadcast In connection with non-directional broadcast, the broadcast period of the high-duty-cycle-connectable directional broadcast event can be as small as 3.75ms, while the broadcast period in other types of broadcast events is greater than or equal to 20ms. It can be seen that in the present disclosure, in the high duty cycle connectable directional broadcast event mode, the speed of establishing the communication connection between the first master device and the slave device of the second master device is much faster than other Bluetooth communication modes, so the first master device can be established. Quick connection of the master device to the slave device of the second master device.
图2示出根据本公开的实施例的第一主设备从第二主设备的从设备获取数据的应用场景图,如图2所示,应用场景包括第一主设备201A、第一主设备的从设备201B、第二主设备202A和第二主设备的从设备202B。第一主设备201A与第一主设备的从设备201B可以建立蓝牙通信连接。在为第一主设备授权之前,由于第一主设备201A不具备连接第二主设备的从设备202B的权限,因此,第一主设备201A不可以从第二主设备的从设备202B获取数据;在为第一主设备授权之后,第一主设备201A可以与第二主设备的从设备202B建立蓝牙通信连接,并从第二主设备的从设备202B获取数据。为了描述的方便,图2的应用场景中仅绘制了一个第一主设备201A和一个第二主设备202A,且均为智能手机,应当了解的是,该示例仅为示例使用,并非是对于本公开的限制,本公开中的第一主设备201A和第二主设备202A的数量及种类可以根据实际需要进行设定,本公开对此不作具体限定。FIG. 2 shows an application scenario diagram of a first master device acquiring data from a slave device of a second master device according to an embodiment of the present disclosure. As shown in FIG. 2 , the application scenario includes the first master device 201A, the first master device 201A, the first master device The slave device 201B, the second master device 202A, and the slave device 202B of the second master device. The first master device 201A and the slave device 201B of the first master device can establish a Bluetooth communication connection. Before authorizing the first master device, since the first master device 201A does not have the authority to connect to the slave device 202B of the second master device, the first master device 201A cannot obtain data from the slave device 202B of the second master device; After authorizing the first master device, the first master device 201A may establish a Bluetooth communication connection with the slave device 202B of the second master device, and obtain data from the slave device 202B of the second master device. For the convenience of description, only one first master device 201A and one second master device 202A are drawn in the application scenario of FIG. 2 , both of which are smart phones. Disclosure limitation, the number and type of the first host device 201A and the second host device 202A in the present disclosure can be set according to actual needs, which is not specifically limited in the present disclosure.
根据本公开实施例提供的技术方案,通过确定出符合第一预设条件的第一主设备及符合第二预设条件的第二主设备,再对第一主设备进行授权,使得第一主设备具有连接第二主设备的从设备的权限,且允许第一主设备从第二主设备的从设备获取数据,从而实现了第一主设备及第二主设备均可以与第二主设备的从设备建立连接,解决了第二主设备与其对应的从设备连接成功率低而导致第二主设备的从设备的数据不能被及时上传的问题。According to the technical solutions provided by the embodiments of the present disclosure, by determining the first master device that meets the first preset condition and the second master device that meets the second preset condition, and then authorizing the first master device, the first master device The device has the authority to connect to the slave device of the second master device, and allows the first master device to obtain data from the slave device of the second master device, so that both the first master device and the second master device can communicate with the second master device. The slave device establishes a connection, which solves the problem that the second master device has a low connection success rate with its corresponding slave device, resulting in that the data of the slave device of the second master device cannot be uploaded in time.
根据本公开的实施例,所述第一主设备和所述第二主设备的活动范围至少部分重叠;和/或所述第一主设备和所述第二主设备的活动范围属于同一地理区域。According to an embodiment of the present disclosure, the activity ranges of the first host device and the second host device at least partially overlap; and/or the activity ranges of the first host device and the second host device belong to the same geographic area .
由于第一主设备与第二主设备的从设备之间为蓝牙通信,即近距离通信,只有当第一主设备和第二主设备的从设备处于近距离通信范围内,两者才可以建立连接。同时,由于第二主设备与其对应的从设备的地理位置相同或非常的接近,可以通过第二主设备的地理位置确定第二主设备的从设备的地理位置。为了确保第一主设备与第二主设备的从设备可以建立近距离通信,可以在同一地理区域内确定第一主设备和第二主设备,或者要求第一主设备和第二主设备的活动范围至少部分重叠。下面将以物流配送领域进行举例说明,但本公开不限于此,而是也适用于其他技术领域及应用场景。当第一主设备和第二主设备的活动范围属于同一地理区域时,例如,同一个站点内的配送资源都在以站点为中心向四周辐射的区域内活动,因此,该站点内的配送资源会有比较大的概率在该区域内相遇,即第一主设备与第二主设备的从设备有机会处于近距离通信范围内,从而可以使第一主设备与第二主设备的从设备建立蓝牙通信连接。同时,由于不同站点之间不是完全隔离的,会有部分重叠区域,因此,在部分重叠区域内的第一主设备与第二主设备的从设备也有机会处于近距离通信范围内,从而使第一主设备有机会与第二主设备的从设备建立蓝牙通信连接。Since the communication between the first master device and the slave devices of the second master device is Bluetooth communication, that is, short-range communication, only when the slave devices of the first master device and the second master device are within the range of short-range communication, the two can be established. connect. Meanwhile, since the geographic location of the second master device and its corresponding slave device is the same or very close, the geographic location of the slave device of the second master device can be determined by the geographic location of the second master device. In order to ensure that the first master device and the slave devices of the second master device can establish near field communication, the first master device and the second master device can be determined in the same geographical area, or the activity of the first master device and the second master device can be required. The ranges overlap at least partially. The following will take the field of logistics and distribution as an example, but the present disclosure is not limited to this, but is also applicable to other technical fields and application scenarios. When the activity ranges of the first master device and the second master device belong to the same geographical area, for example, the distribution resources in the same site are all active in the area radiating from the site as the center. Therefore, the distribution resources in the site There will be a relatively high probability of encountering in this area, that is, the first master device and the slave devices of the second master device have the opportunity to be within the short-range communication range, so that the first master device and the slave device of the second master device can be established. Bluetooth communication connection. At the same time, since different sites are not completely isolated, there will be a partial overlap area. Therefore, the first master device and the slave devices of the second master device in the partially overlapped area also have the opportunity to be within the short-range communication range, so that the A master device has the opportunity to establish a Bluetooth communication connection with the slave device of the second master device.
根据本公开的实施例,所述符合第一预设条件的第一主设备是多个主设备中与所述从设备的连接成功率最高的第一预设数量的主设备;和/或所述符合第二预设条件的第二主设备是多个主设备中与所述从设备的连接成功率最低的第二预设数量的主设备。According to an embodiment of the present disclosure, the first master device that meets the first preset condition is a first preset number of master devices with the highest connection success rate with the slave device among the plurality of master devices; and/or all The second master device that meets the second preset condition is a second preset number of master devices with the lowest connection success rate with the slave device among the plurality of master devices.
从服务器侧可以获取所有主设备与从设备的连接成功率,可以按照连接成功率从高到低(或从低到高)的次序对所有主设备进行排序,并按照成功率从高到低的次序选择出第一预设数量的主设备作为第一主设备,按照成功率从低到高的次序选择出第二预设数量的主设备作为第二主设备,其中,第一预设数量与第二预设数量可以相同,也可以不相同,本公开对其不做具体限定。本公开对连接成功率的统计方法不做具体限定,例如,可以定义连接成功率=连接成功的次数/连接的次数,从而通过统计主设备与从设备的连接的次数及连接成功的次数获取主设备与从设备的连接成功率。From the server side, the connection success rates of all master devices and slave devices can be obtained, and all master devices can be sorted in the order of the connection success rate from high to low (or from low to high), and the success rate is from high to low. The first preset number of master devices are selected in order as the first master device, and the second preset number of master devices are selected as the second master device in the order of success rate from low to high, wherein the first preset number and The second preset number may be the same or different, which is not specifically limited in the present disclosure. The present disclosure does not specifically limit the statistical method of the connection success rate. For example, the connection success rate can be defined as the number of successful connections/the number of connections, so that the master device can be obtained by counting the number of connections between the master device and the slave device and the number of successful connections. The connection success rate between the device and the slave device.
根据本公开的实施例,所述符合第一预设条件的第一主设备是与所述从设备的连接成功率高于第一预设阈值的主设备;和/或所述符合第二预设条件的第二主设备是与所述从设备的连接成功率低于第二预设阈值的主设备。According to an embodiment of the present disclosure, the first master device that meets the first preset condition is a master device whose connection success rate with the slave device is higher than a first preset threshold; and/or the first master device that meets the second preset condition The second master device that sets the condition is the master device whose connection success rate with the slave device is lower than the second preset threshold.
首先可以根据服务器侧对数据分析的需要进行设定第一预设阈值与第二预设阈值,其中,第一预设阈值要大于或等于第二预设阈值,本公开对其不做具体限定。从所有主设备中选择与从设备的连接成功率高于第一预设阈值的作为第一主设备,从所有主设备中选择与从设备的连接成功率低于第二预设阈值的作为第二主设备,从而确保第一主设备与其对应的从设备的连接成功率高于第二主设备与其对应的从设备的连接成功率。First, the first preset threshold and the second preset threshold may be set according to the needs of the server side for data analysis, wherein the first preset threshold should be greater than or equal to the second preset threshold, which is not specifically limited in the present disclosure . From all master devices, select the one whose connection success rate with the slave device is higher than the first preset threshold as the first master device, and select the one whose connection success rate with the slave device is lower than the second preset threshold from all master devices as the first master device Two master devices, thereby ensuring that the connection success rate between the first master device and its corresponding slave device is higher than the connection success rate between the second master device and its corresponding slave device.
图3示出根据本公开的实施例的数据传输的方法的流程图。如图3所示,所述数据传输的方法还包括以下步骤S301-S303:FIG. 3 shows a flowchart of a method of data transmission according to an embodiment of the present disclosure. As shown in Figure 3, the method for data transmission further includes the following steps S301-S303:
在步骤S301中,获取连接成功率统计数据,所述连接成功率统计数据包括多个主设备的参数组合和与所述参数组合对应的主设备与从设备的连接成功率;In step S301, the connection success rate statistics data are obtained, and the connection success rate statistics data include the parameter combinations of multiple master devices and the connection success rates of the master device and the slave device corresponding to the parameter combinations;
在步骤S302中,根据所述连接成功率统计数据和所述主设备的参数组合,确定所述主设备与所述从设备的连接成功率。In step S302, the connection success rate between the master device and the slave device is determined according to the statistical data of the connection success rate and the parameter combination of the master device.
由于主设备与从设备的连接成功率会受到主设备的参数影响,会出现具有相同参数的一类主设备与从设备的连接成功率比较高,而具有另一种相同参数的一类主设备与从设备的连接成功率比较低的情况,因此,可以从主设备的参数组合的角度,对主设备进行分类处理,即将具有相同主设备的参数组合的一类主设备作为整体,然后确定这一类主设备与从设备连接成功率。本公开对具有相同参数组合的主设备与从设备连接成功率的计算方法不做具体限定,例如,可以取具有相同参数组合的主设备与从设备的连接成功率的平均数,或者取具有相同参数组合的主设备与从设备的连接成功率的中位数。Since the connection success rate between the master device and the slave device will be affected by the parameters of the master device, there will be a type of master device with the same parameters and a slave device with a higher connection success rate, and another type of master device with the same parameters. In the case where the connection success rate with the slave device is relatively low, the master device can be classified from the perspective of the parameter combination of the master device. A type of master device and slave device connection success rate. The present disclosure does not specifically limit the calculation method of the connection success rate between the master device and the slave device with the same parameter combination. The median of the connection success rate between the master device and the slave device for the parameter combination.
根据本公开的实施例,所述参数组合包括主设备型号和操作系统的组合。可以理解,虽然本公开主要针对主设备型号和操作系统两种参数为例进行说明,但本公开不限于此。According to an embodiment of the present disclosure, the parameter combination includes a combination of a main device model and an operating system. It can be understood that although the present disclosure mainly takes two parameters, the model of the main device and the operating system as an example, the present disclosure is not limited thereto.
假设用参数C表示主设备型号,用参数D表示主设备操作系统,若C有3种情况分别为C1、C2和C3,D有4种情况分别为D1、D2、D3和D4,第i个主设备与从设备的连接成功率用Li表示,假设第一个主设备的连接成功率统计数据可以表示为(C2、D3、L1)、第二个主设备的连接成功率统计数据可以表示为(C2、D3、L2)、第三个主设备的连接成功率统计数据可以表示为(C3、D4、L3)、第四个主设备的连接成功率统计数据可以表示为(C3、D4、L4)、第五个主设备的连接成功率统计数据可以表示为(C2、D3、L5)、第六个主设备的连接成功率统计数据可以表示为(C3、D4、L6)。由上可知,第一、第二与第五个主设备包含相同的主设备型号和操作系统,第三、第四与第六个主设备包含相同的主设备型号和操作系统。Suppose that parameter C is used to represent the model of the main device, and parameter D is used to represent the operating system of the main device. If C has 3 cases, C1, C2, and C3, and D has 4 cases, they are D1, D2, D3, and D4. The i-th The connection success rate between the master device and the slave device is represented by Li, assuming that the connection success rate statistics of the first master device can be expressed as (C2, D3, L1), and the connection success rate statistics of the second master device can be expressed as (C2, D3, L2), the connection success rate statistics of the third master device can be expressed as (C3, D4, L3), and the connection success rate statistics of the fourth master device can be expressed as (C3, D4, L4 ), the connection success rate statistics of the fifth master device can be expressed as (C2, D3, L5), and the connection success rate statistics of the sixth master device can be expressed as (C3, D4, L6). It can be seen from the above that the first, second and fifth master devices contain the same master device model and operating system, and the third, fourth and sixth master devices contain the same master device model and operating system.
可以将包含相同的主设备型号和操作系统的主设备作为一个整体,确定其与从设备的连接成功率。若采用平均数计算方法,则C2型号和D3操作系统的主设备与从设备的连接成功率为(L1+L2+L3)/3;若采用中位数计算方法,且L1<L2<L3,则C2型号和D3操作系统的主设备与从设备的连接成功率为为L2。The master device containing the same master device model and operating system can be taken as a whole to determine its connection success rate with the slave device. If the average calculation method is used, the connection success rate between the master device and the slave device of the C2 model and D3 operating system is (L1+L2+L3)/3; if the median calculation method is used, and L1<L2<L3, Then the connection success rate between the master device and the slave device of the C2 model and the D3 operating system is L2.
根据本公开的实施例,所述数据传输的方法还包括:接收所述第一主设备发送的数据,所述数据包括所述第一主设备从所述第二主设备的从设备获取的数据。According to an embodiment of the present disclosure, the data transmission method further includes: receiving data sent by the first master device, the data including data acquired by the first master device from a slave device of the second master device .
第一主设备从第二主设备的从设备获取数据之后,当第一主设备向服务器发送数据时,服务器接收第一主设备传输的数据包括从第一主设备的从设备处获取数据及从第二主设备的从设备处获取数据。图4示出根据本公开的实施例的数据传输的应用场景图。如图4所示,应用场景包括第一主设备401A、第一主设备的从设备401B、第二主设备402A、第二主设备的从设备402B和服务器403。第一主设备401A不但可以与第一主设备的从设备401B可以建立蓝牙通信连接,并从第一主设备的从设备401B获取数据,还可以与第二主设备的从设备402B建立蓝牙通信连接,获取第二主设备的从设备402B未成功发送给第二主设备402A的数据,因此,服务器可以接收第一主设备401A从第二主设备的从设备402B获取的数据。After the first master device obtains data from the slave device of the second master device, when the first master device sends data to the server, the server receiving the data transmitted by the first master device includes obtaining the data from the slave device of the first master device and the slave device. The slave device of the second master device acquires data. FIG. 4 shows an application scenario diagram of data transmission according to an embodiment of the present disclosure. As shown in FIG. 4 , the application scenario includes a first master device 401A, a slave device 401B of the first master device, a second master device 402A, a slave device 402B of the second master device, and a server 403 . The first master device 401A can not only establish a Bluetooth communication connection with the slave device 401B of the first master device, and obtain data from the slave device 401B of the first master device, but also establish a Bluetooth communication connection with the slave device 402B of the second master device. , to obtain the data that the slave device 402B of the second master device fails to send to the second master device 402A, therefore, the server can receive the data obtained by the first master device 401A from the slave device 402B of the second master device.
根据本公开的实施例,所述主设备为配送资源的通信设备,所述主设备所对应的从设备为配送资源的配送设备的数据采集设备。下面将以物流配送领域进行举例说明,但本公开不限于此,而是也适用于其他技术领域及应用场景。在物流配送领域,配送资源的通信设备为主设备,主设备所对应的从设备可以为安装在配送设备上的数据采集设备,其中,主设备所对应的从设备用于采集配送设备和/或配送物品的状态数据,并将采集的状态数据通过蓝牙通信传输给配送资源的通信设备,配送资源再将通信设备接收的数据通过远程通信发送给互联网平台的服务器侧,以便于互联网平台了解配送资源的工作流程、评估配送资源的工作能力,确保配送资源的服务质量。According to an embodiment of the present disclosure, the master device is a communication device that distributes resources, and the slave device corresponding to the master device is a data collection device of the distribution device that distributes resources. The following will take the field of logistics and distribution as an example, but the present disclosure is not limited to this, but is also applicable to other technical fields and application scenarios. In the field of logistics distribution, the communication device for distribution resources is the master device, and the slave device corresponding to the master device may be a data acquisition device installed on the distribution device, wherein the slave device corresponding to the master device is used to collect the distribution device and/or The status data of the delivered items, and the collected status data is transmitted to the communication device of the distribution resource through Bluetooth communication. The distribution resource then sends the data received by the communication device to the server side of the Internet platform through remote communication, so that the Internet platform can understand the distribution resources. To ensure the quality of service of distribution resources
图5示出根据本公开的实施例的数据传输的方法的流程图。如图5所示,所述数据传输的方法还包括以下步骤S501-S502:FIG. 5 shows a flowchart of a method of data transmission according to an embodiment of the present disclosure. As shown in Figure 5, the method for data transmission further includes the following steps S501-S502:
在步骤S501中,实时监测和/或根据导航路径预测所述第一主设备和所述第二主设备的位置信息;In step S501, monitoring in real time and/or predicting the location information of the first master device and the second master device according to the navigation path;
在步骤S502中,在所述第一主设备和所述第二主设备之间的距离等于或小于预设距离时,发送提示消息。In step S502, when the distance between the first master device and the second master device is equal to or less than a preset distance, a prompt message is sent.
根据本公开的实施例,由于第一主设备与第二主设备的从设备之间为近距离通信,即只有在第一主设备与第二主设备的从设备之间的距离等于或小于预设距离时,第一主设备与第二主设备的从设备才能建立连接并进行数据传输,同时两者建立连接并传输数据需要一定的时间才能完成。因此,首先可以实时监测和/或根据导航路径预测第一主设备和第二主设备的位置信息,其中,实时监测是根据第一主设备与第二主设备上的定位设备自动采集获取,或者主设备向服务器发送的数据中包括主设备的定位数据及导航路径。然后服务器侧根据定位数据和/或根据导航路径预测第一主设备和第二主设备的位置信息,当预测出第一主设备和第二主设备之间的距离等于或小于预设距离时,发送提示消息,从而使携带第一主设备和第二主设备的用户在一段时间内保持两者之间的距离等于或小于预设距离,利于第一主设备与第二主设备的从设备建立连接并完成数据的传输。According to the embodiments of the present disclosure, since the first master device and the slave devices of the second master device are short-range communication, that is, only when the distance between the first master device and the slave devices of the second master device is equal to or less than the predetermined distance. When the distance is set, the first master device and the slave device of the second master device can establish a connection and perform data transmission. At the same time, it takes a certain time for the two to establish a connection and transmit data. Therefore, firstly, the location information of the first master device and the second master device can be monitored in real time and/or predicted according to the navigation path, wherein the real-time monitoring is automatically collected and obtained according to the positioning devices on the first master device and the second master device, or The data sent by the master device to the server includes the positioning data and the navigation path of the master device. Then, the server side predicts the location information of the first master device and the second master device according to the positioning data and/or according to the navigation path. When it is predicted that the distance between the first master device and the second master device is equal to or less than the preset distance, Send a prompt message, so that the user carrying the first master device and the second master device keeps the distance between them equal to or less than the preset distance for a period of time, which is conducive to the establishment of the slave devices of the first master device and the second master device. Connect and complete the transfer of data.
下面将以物流配送领域进行举例说明,图6示出根据本公开的实施例的数据传输的应用场景图。如图6所示,应用场景包括配送资源甲携带第一主设备601A及第一主设备的从设备601B、配送资源乙携带第二主设备602A及第二主设备的从设备602B、服务器603。配送资源甲将第一主设备601A的定位数据及导航路径实时传输至服务器603,配送资源乙将第二主设备602A的定位数据及导航路径实时传输至服务器603,当服务器603预测出第一主设备601A和第二主设备602A之间的距离等于或小于预设距离时,发送提示消息,提醒配送资源甲和配送资源乙放缓速度,使配送资源甲和配送资源乙在一段时间内保持两者之间的距离等于或小于预设距离,从而使第一主设备601与第二主设备的从设备602B之间建立蓝牙通信连接并完成数据的传输。The following will take the field of logistics distribution as an example for illustration, and FIG. 6 shows an application scenario diagram of data transmission according to an embodiment of the present disclosure. As shown in FIG. 6 , the application scenario includes distribution resource A carrying the first master device 601A and the slave device 601B of the first master device, distribution resource B carrying the second master device 602A and the slave device 602B and server 603 of the second master device. The distribution resource A transmits the positioning data and the navigation path of the first master device 601A to the server 603 in real time, and the distribution resource B transmits the positioning data and the navigation path of the second master device 602A to the server 603 in real time. When the distance between the device 601A and the second master device 602A is equal to or smaller than the preset distance, a prompt message is sent to remind the distribution resource A and the distribution resource B to slow down, so that the distribution resource A and the distribution resource B can maintain two distances for a period of time. The distance between them is equal to or less than the preset distance, so that a Bluetooth communication connection is established between the first master device 601 and the slave device 602B of the second master device and data transmission is completed.
图7示出根据本公开的实施例的数据传输的装置700的结构框图。其中,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图7所示,所述用于终端设备的装置包括第一确定模块710、第二确定模块720和授权模块730。FIG. 7 shows a structural block diagram of an
所述第一确定模块710,被配置为确定符合第一预设条件的第一主设备;The first determining
所述第二确定模块720,被配置为确定符合第二预设条件的第二主设备;The second determining
所述授权模块730,被配置为对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。The
根据本公开的实施例,还包括:According to an embodiment of the present disclosure, it also includes:
接收模块740,被配置为接收所述第一主设备发送的数据,所述数据包括所述第一主设备从所述第二主设备的从设备获取的数据。The receiving
根据本公开的实施例,所述第一主设备和所述第二主设备的活动范围至少部分重叠;和/或According to an embodiment of the present disclosure, the activity ranges of the first master device and the second master device at least partially overlap; and/or
所述第一主设备和所述第二主设备的活动范围属于同一地理区域。The activity ranges of the first master device and the second master device belong to the same geographic area.
根据本公开的实施例,所述符合第一预设条件的第一主设备是多个主设备中与所述从设备的连接成功率最高的第一预设数量的主设备;和/或According to an embodiment of the present disclosure, the first master device that meets the first preset condition is a first preset number of master devices with the highest connection success rate with the slave device among the plurality of master devices; and/or
所述符合第二预设条件的第二主设备是多个主设备中与所述从设备的连接成功率最低的第二预设数量的主设备。The second master device that meets the second preset condition is a second preset number of master devices with the lowest connection success rate with the slave device among the plurality of master devices.
根据本公开的实施例,所述符合第一预设条件的第一主设备是与所述从设备的连接成功率高于第一预设阈值的主设备;和/或According to an embodiment of the present disclosure, the first master device that meets the first preset condition is a master device whose connection success rate with the slave device is higher than a first preset threshold; and/or
所述符合第二预设条件的第二主设备是与所述从设备的连接成功率低于第二预设阈值的主设备。The second master device that meets the second preset condition is a master device whose connection success rate with the slave device is lower than a second preset threshold.
根据本公开的实施例,还包括:According to an embodiment of the present disclosure, it also includes:
获取模块750,被配置为获取连接成功率统计数据,所述连接成功率统计数据包括多个主设备的参数组合和与所述参数组合对应的主设备与从设备的连接成功率;The obtaining
第三确定模块760,被配置为根据所述连接成功率统计数据和所述主设备的参数组合,确定所述主设备与所述从设备的连接成功率。The third determining
根据本公开的实施例,所述参数组合包括主设备型号和操作系统的组合。According to an embodiment of the present disclosure, the parameter combination includes a combination of a main device model and an operating system.
根据本公开的实施例,还包括:According to an embodiment of the present disclosure, it also includes:
预测模块770,被配置为实时监测和/或根据导航路径预测所述第一主设备和所述第二主设备的位置信息;a
发送模块780,被配置为在所述第一主设备和所述第二主设备之间的距离等于或小于预设距离时,发送提示消息。The sending
根据本公开的实施例,所述第一主设备与所述第二主设备的从设备通过蓝牙通信建立连接。According to an embodiment of the present disclosure, the first master device establishes a connection with a slave device of the second master device through Bluetooth communication.
根据本公开的实施例,所述主设备为配送资源的通信设备,所述主设备所对应的从设备为配送资源的配送设备的数据采集设备。According to an embodiment of the present disclosure, the master device is a communication device that distributes resources, and the slave device corresponding to the master device is a data collection device of the distribution device that distributes resources.
本公开还公开了一种电子设备,图8示出根据本公开的实施例的电子设备的结构框图。The present disclosure also discloses an electronic device, and FIG. 8 shows a structural block diagram of the electronic device according to an embodiment of the present disclosure.
如图8所示,所述电子设备800包括存储器801和处理器802;其中,As shown in FIG. 8, the electronic device 800 includes a
所述存储器801用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器802执行以实现以下方法步骤:The
确定符合第一预设条件的第一主设备;determining the first master device that meets the first preset condition;
确定符合第二预设条件的第二主设备;determining the second master device that meets the second preset condition;
对所述第一主设备进行授权,使得所述第一主设备具有连接所述第二主设备的从设备的权限,从而允许所述第一主设备从所述第二主设备的从设备获取数据。Authorizing the first master device so that the first master device has the authority to connect to the slave device of the second master device, thereby allowing the first master device to obtain from the slave device of the second master device data.
根据本公开的实施例,所述一条或多条计算机指令还被所述处理器执行以实现以下方法步骤:接收所述第一主设备发送的数据,所述数据包括所述第一主设备从所述第二主设备的从设备获取的数据。According to an embodiment of the present disclosure, the one or more computer instructions are further executed by the processor to implement the following method steps: receiving data sent by the first master device, the data including the first master device slave The data obtained by the slave device of the second master device.
根据本公开的实施例,所述第一主设备和所述第二主设备的活动范围至少部分重叠;和/或According to an embodiment of the present disclosure, the activity ranges of the first master device and the second master device at least partially overlap; and/or
所述第一主设备和所述第二主设备的活动范围属于同一地理区域。The activity ranges of the first master device and the second master device belong to the same geographic area.
根据本公开的实施例,所述符合第一预设条件的第一主设备是多个主设备中与所述从设备的连接成功率最高的第一预设数量的主设备;和/或According to an embodiment of the present disclosure, the first master device that meets the first preset condition is a first preset number of master devices with the highest connection success rate with the slave device among the plurality of master devices; and/or
所述符合第二预设条件的第二主设备是多个主设备中与所述从设备的连接成功率最低的第二预设数量的主设备。The second master device that meets the second preset condition is a second preset number of master devices with the lowest connection success rate with the slave device among the plurality of master devices.
根据本公开的实施例,所述符合第一预设条件的第一主设备是与所述从设备的连接成功率高于第一预设阈值的主设备;和/或According to an embodiment of the present disclosure, the first master device that meets the first preset condition is a master device whose connection success rate with the slave device is higher than a first preset threshold; and/or
所述符合第二预设条件的第二主设备是与所述从设备的连接成功率低于第二预设阈值的主设备。The second master device that meets the second preset condition is a master device whose connection success rate with the slave device is lower than a second preset threshold.
根据本公开的实施例,所述一条或多条计算机指令还被所述处理器执行以实现以下方法步骤:获取连接成功率统计数据,所述连接成功率统计数据包括多个主设备的参数组合和与所述参数组合对应的主设备与从设备的连接成功率;According to an embodiment of the present disclosure, the one or more computer instructions are further executed by the processor to implement the following method steps: obtaining connection success rate statistics, the connection success rate statistics including parameter combinations of multiple master devices and the connection success rate between the master device and the slave device corresponding to the parameter combination;
根据所述连接成功率统计数据和所述主设备的参数组合,确定所述主设备与所述从设备的连接成功率。The connection success rate between the master device and the slave device is determined according to the combination of the connection success rate statistics and the parameters of the master device.
根据本公开的实施例,所述参数组合包括主设备型号和操作系统的组合。According to an embodiment of the present disclosure, the parameter combination includes a combination of a main device model and an operating system.
根据本公开的实施例,所述一条或多条计算机指令还被所述处理器执行以实现以下方法步骤:实时监测和/或根据导航路径预测所述第一主设备和所述第二主设备的位置信息;According to an embodiment of the present disclosure, the one or more computer instructions are further executed by the processor to implement the method steps of: monitoring in real time and/or predicting the first master device and the second master device from a navigation path location information;
在所述第一主设备和所述第二主设备之间的距离等于或小于预设距离时,发送提示消息。When the distance between the first master device and the second master device is equal to or less than a preset distance, a prompt message is sent.
根据本公开的实施例,所述第一主设备与所述第二主设备的从设备通过蓝牙通信建立连接。According to an embodiment of the present disclosure, the first master device establishes a connection with a slave device of the second master device through Bluetooth communication.
根据本公开的实施例,所述主设备为配送资源的通信设备,所述主设备所对应的从设备为配送资源的配送设备的数据采集设备。According to an embodiment of the present disclosure, the master device is a communication device that distributes resources, and the slave device corresponding to the master device is a data collection device of the distribution device that distributes resources.
图9示出适于用来实现根据本公开实施例的数据传输的方法的计算机系统的结构示意图。FIG. 9 shows a schematic structural diagram of a computer system suitable for implementing the data transmission method according to an embodiment of the present disclosure.
如图9所示,计算机系统900包括中央处理单元(CPU)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储部分908加载到随机访问存储器(RAM)903中的程序而执行上述实施例中的各种处理。在RAM903中,还存储有系统900操作所需的各种程序和数据。CPU901、ROM902以及RAM903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in FIG. 9, a
以下部件连接至I/O接口905:包括键盘、鼠标等的输入部分906;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分907;包括硬盘等的存储部分908;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入存储部分908。The following components are connected to the I/O interface 905: an
特别地,根据本公开的实施例,上文描述的方法可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行上述对象类别确定方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。In particular, according to embodiments of the present disclosure, the methods described above may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program containing program code for performing the above-described object class determination method. In such an embodiment, the computer program may be downloaded and installed from the network via the
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元或模块可以通过软件的方式实现,也可以通过可编程硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules involved in the embodiments of the present disclosure may be implemented in a software manner, or may be implemented in a programmable hardware manner. The described units or modules may also be provided in the processor, and the names of these units or modules do not constitute a limitation on the units or modules themselves in certain circumstances.
作为另一方面,本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中电子设备或计算机系统中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,所述程序被一个或者一个以上的处理器用来执行描述于本公开的方法。As another aspect, the present disclosure also provides a computer-readable storage medium, and the computer-readable storage medium may be a computer-readable storage medium included in the electronic device or computer system in the above-mentioned embodiments; it may also exist independently , a computer-readable storage medium that does not fit into a device. The computer-readable storage medium stores one or more programs used by one or more processors to perform the methods described in the present disclosure.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.
Claims (31)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910517555.6A CN110198522B (en) | 2019-06-14 | 2019-06-14 | Data transmission method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910517555.6A CN110198522B (en) | 2019-06-14 | 2019-06-14 | Data transmission method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110198522A CN110198522A (en) | 2019-09-03 |
CN110198522B true CN110198522B (en) | 2020-11-03 |
Family
ID=67754620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910517555.6A Active CN110198522B (en) | 2019-06-14 | 2019-06-14 | Data transmission method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110198522B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112469014A (en) * | 2019-09-06 | 2021-03-09 | 华为技术有限公司 | Method and electronic equipment for configuring Bluetooth connection parameters |
CN117376906A (en) * | 2022-06-30 | 2024-01-09 | 华为技术有限公司 | Communication method, communication system and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030058921A1 (en) * | 2001-09-26 | 2003-03-27 | Leeper David G. | Apparatus and method for handoff in a wireless network |
US8306257B2 (en) * | 2011-01-31 | 2012-11-06 | Seiko Epson Corporation | Hierarchical tree AAM |
KR101264545B1 (en) * | 2011-07-29 | 2013-05-14 | 한국전력공사 | Advanced metering infrastructure system to gurantee reliable delivery of metering data and method for advanced metering infrastructure thereof |
CN106792992B (en) * | 2016-12-12 | 2020-05-26 | 上海掌门科技有限公司 | A method and device for providing wireless access point information |
CN107864500A (en) * | 2017-08-31 | 2018-03-30 | 上海连尚网络科技有限公司 | A kind of method and apparatus for connecting into power information for being used to determine WAP |
CN108601007A (en) * | 2018-04-28 | 2018-09-28 | 上海与德科技有限公司 | Blueteeth network and its network-building method, main equipment, from equipment |
-
2019
- 2019-06-14 CN CN201910517555.6A patent/CN110198522B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110198522A (en) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102415845B1 (en) | Internet of Things Resource Subscription Methods, Devices, and Systems | |
US20200119979A1 (en) | Hierarchical configuration of networked communication devices | |
CN111654321B (en) | Satellite network management method, device and electronic equipment | |
CN107800554B (en) | Data collection method, device and system | |
CN106028266B (en) | Information transmission method, device and system | |
WO2020076834A1 (en) | Methods and systems for acquiring and processing data at intelligent edge devices via software kernals | |
CN110198522B (en) | Data transmission method and device, electronic equipment and computer readable storage medium | |
CN108540568A (en) | Computing capability sharing method and smart machine | |
CN103873822A (en) | Method, equipment and system for monitoring system to select camera to browse in real time | |
CN104579738A (en) | Computer implemented method, computer system, computer program product to manage traffic in a network | |
CN115460559B (en) | Wireless sensing method, device, equipment and storage medium | |
CN114363414A (en) | A method, device and system for scheduling computing instances | |
WO2025140747A1 (en) | Terminal deployment information management method and apparatus, and electronic device and storage medium | |
CN114866583A (en) | Internet of things cross-network data interaction method and system | |
CN115665218B (en) | A remote control method, system, and related equipment for an Internet of Things device | |
US20110302268A1 (en) | Method and system for communication using a medical imaging protocol | |
CN112995095B (en) | Data processing method, device and computer readable storage medium | |
CN113094131A (en) | Prompt resource display method, device, terminal, server and storage medium | |
JP2015528260A (en) | Method and device for providing communication connections for multiple candidate applications within a mobile device | |
CN112416618A (en) | Application layer data transmission method and device, storage medium and electronic device | |
CN113434612A (en) | Data statistical method and device, storage medium and electronic device | |
US12026486B2 (en) | Scalable cross-boundary edge framework | |
US12265809B2 (en) | Scalable cross-boundary edge framework | |
WO2024198411A1 (en) | Method for managing service channel, management apparatus, and system | |
CN117376111A (en) | Device scheduling method, server, device cluster, cooperative system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |