CN114364026B - Communication method and electronic equipment - Google Patents

Communication method and electronic equipment Download PDF

Info

Publication number
CN114364026B
CN114364026B CN202111551238.XA CN202111551238A CN114364026B CN 114364026 B CN114364026 B CN 114364026B CN 202111551238 A CN202111551238 A CN 202111551238A CN 114364026 B CN114364026 B CN 114364026B
Authority
CN
China
Prior art keywords
lane
electronic device
target
resource
resources
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
Application number
CN202111551238.XA
Other languages
Chinese (zh)
Other versions
CN114364026A (en
Inventor
谭延营
李�杰
侯选哲
冯永辉
李世军
侯伟波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111551238.XA priority Critical patent/CN114364026B/en
Priority claimed from CN202111235326.9A external-priority patent/CN115734344A/en
Publication of CN114364026A publication Critical patent/CN114364026A/en
Application granted granted Critical
Publication of CN114364026B publication Critical patent/CN114364026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The application provides a communication method and electronic equipment, and relates to the technical field of terminals. According to the method and the device, network resources can be divided according to the granularity of the lanes, and the electronic equipment can automatically allocate the corresponding lanes for the data to be transmitted under the condition that a user does not feel, so that the operation difficulty of the user is reduced. The method comprises the following steps: when the first electronic device determines that data needs to be sent to the second electronic device, the first electronic device can select a target lane for transmitting the data from different types of network paths and different channels of the same type of network paths, and send the data to the second electronic device through the target lane.

Description

Communication method and electronic equipment
The present application claims priority from the national intellectual property agency, application number 202110996592.7, chinese patent application entitled "communication method and electronic device," filed on day 27 of 2021, 08, the entire contents of which are incorporated herein by reference.
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a communication method and electronic equipment.
Background
With the development of terminal technology, electronic device forms (such as mobile phones, tablets, smart watches, etc.) and supported communication modes (such as bluetooth communication, wireless fidelity (wireless fidelity, wi-Fi) communication, wired connection communication, etc.) are becoming more and more abundant. And the electronic device can support multiple communication modes, and different communication modes correspond to independent interfaces provided by different network protocols (such as Wi-Fi interfaces and Bluetooth interfaces are independent).
Therefore, in the process of developing the application program, the developer develops the application program according to the independent interfaces corresponding to different communication modes as required. Then, the user can select different communication modes in the application program to perform data transmission with other electronic devices in the process of using the application program. Illustratively, as shown in an interface 101 in fig. 1 (a), the electronic device starts a gallery application and displays a photo, and after detecting that the user clicks the sharing control 11, displays an interface 102 in fig. 1 (b). In the interface 102, the user may select bluetooth, wireless local area network (wireless local area network, WLAN) direct connection, email, etc. for photo sharing. For example, after detecting that the user clicks the bluetooth share control 12, the electronic device performs photo sharing by means of bluetooth connection.
It can be seen that, although the application program can support multiple communication modes at present, the application program needs to select one of the communication modes by a user before communication can be performed based on the communication mode. With the increase of communication modes, the difficulty of user selection is increased, and the user experience is reduced. Moreover, the communication mode selected by the user may not be the optimal communication mode in the current network environment, and the application program cannot provide the best communication experience for the user.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the application provides a communication method and electronic equipment. According to the technical scheme provided by the embodiment of the application, the network resources are divided according to the granularity of the lanes, and the electronic equipment can automatically allocate the corresponding lanes for the data to be transmitted under the condition that a user does not feel, so that the operation difficulty of the user is reduced. And in the communication process, the electronic equipment can provide better data transmission experience for the user by utilizing the allocated lane.
In order to achieve the technical purpose, the embodiment of the application provides the following technical scheme:
in a first aspect, a communication method is provided, applied to a first electronic device. The method comprises the following steps: when it is determined that data needs to be sent to the second electronic device, a target lane for transmitting the data is determined among a first logical lane, a second lane, and a third lane, the first lane corresponding to the first type of network lane, the second lane corresponding to the first channel in the second type of network lane, the third lane corresponding to the second channel in the second type of network lane. And sending the data to the second electronic device through the target lane.
In some embodiments, when the first electronic device needs to send data, the first electronic device may select a lane resource for the current data transmission from the lane resources corresponding to all communication modes supported by the local device. For example, assume that the first electronic device supports two communication modes, that is, a BLE communication mode and a Wi-Fi 2.4G communication mode, where the first type of network path is a network path of the BLE communication mode, and the second type of network path is a network path of the Wi-Fi 2.4G communication mode. Then, the first lane corresponds to 78 channels included in the BLE communication scheme, and the second and third lanes correspond to 78 channels included in the Wi-Fi 2.4G communication scheme. Wherein the first type of network path and the second type of network path are used to represent different types of physical characteristic paths.
Thus, the electronic equipment performs unified management and planning on the network resources, and cuts and dispatches the network resources in a lane unit, so that the application program can be not limited by an independent interface of a communication mode. The developer can directly develop the application program according to the service type; the electronic equipment can directly allocate the corresponding Lane resources according to the service type requested by the application program; the user does not need to select a communication mode any more, and the operation difficulty of the user is reduced. And the electronic equipment can allocate the network resource with better quality for the application program according to the network environment, so that the network transmission quality is improved.
According to a first aspect, when the first electronic device determines that data needs to be sent to the second electronic device, determining a target lane for transmitting the data in the first lane, the second lane and the third lane includes: and when the data needs to be sent to the second electronic equipment, determining the service type corresponding to the data. And determining the target lane in the first lane, the second lane and the third lane according to the service type.
In some embodiments, the traffic types include, for example, high bandwidth traffic, high bandwidth low latency, low bandwidth low latency traffic, low latency traffic with high reliability, and the like. The communication network comprising the first electronic device and the second electronic device may further comprise a central device (i.e. a central node), which may be the first electronic device, may be the second electronic device, or may be other devices in the communication network. The central equipment classifies the Lane resources according to the service types, and the subsequent electronic equipment distributes Lane resources with the Lane resource types matched with the service types to corresponding application programs for use in the process of distributing the Lane resources. For example, the classification result of the lane resources includes a high bandwidth lane resource, a high bandwidth low latency lane resource, a low latency high reliability lane resource, and the like.
Therefore, the electronic equipment can configure corresponding lane resources according to the requirement of data to be transmitted, and the data transmission quality is ensured. For example, the high-bandwidth service type requires that the bandwidth of the lane meets the requirement, and the electronic device may allocate high-bandwidth lane resources for the high-bandwidth service.
According to the first aspect, or any implementation manner of the first aspect, when the first electronic device determines that data needs to be sent to the second electronic device, before determining a target lane for transmitting the data in the first lane, the second lane, and the third lane, the method further includes: first usage information of the first, second and third locally recorded levels is obtained, and second usage information of the first, second and third levels broadcast by a plurality of electronic devices in a communication network including the first electronic device is obtained. According to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps: and determining the target land according to the first use information, the second use information and the service type.
According to the first aspect, or any implementation manner of the first aspect, the first electronic device locally stores a first ledger and a second ledger, where the first ledger is used for recording usage information of the first, second and third lanes, and the second ledger is used for recording usage information of all lanes in a communication system including the first electronic device. When the first electronic device determines that the data needs to be sent to the second electronic device, before determining the target lane for transmitting the data in the first lane, the second lane and the third lane, the method further comprises: first use information of the first, second and third lanes recorded in the first ledger is acquired, and second use information of the first, second and third lanes recorded in the second ledger is acquired. According to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps: and determining the target land according to the first use information, the second use information and the service type.
According to a first aspect, or any implementation manner of the first aspect, the first usage information or the second usage information includes one or several of the following: the number of times of use of the lane, the service type corresponding to the historical transmission data of the lane and the quality parameter information of the lane.
In some embodiments, an account book for recording the use of the land is preset in the electronic device, where the account book includes a score of the electronic device for the land resource quality measurement result. When the first electronic equipment needs to send data, acquiring a local account book and account books broadcast by other electronic equipment in a communication network. And the first electronic equipment synthesizes the scores of the Lane resources monitored by the local end according to the scores of the Lane resources supported by the first electronic equipment recorded in the obtained broadcast account book, obtains the comprehensive scores of the Lane resources, and then the first electronic equipment allocates the Lane resources according to the comprehensive scores. And if the first electronic equipment obtains a first number of target lanes with the previous scores and different types according to the scores, wherein the first number is the number of lanes required for transmitting data.
In other embodiments, two ledgers are stored in the electronic device, one ledger being used to record usage information of the land resources supported by itself, and the other ledger being a public ledger being used to record usage information of all land resources included in the communication system (land net). Wherein public account books stored in each electronic device in the communication system are synchronized. The electronic device may determine an optimal land resource based on the locally recorded usage information of the latest land and the usage information of the land recorded in the public ledger. Or the electronic equipment directly determines the optimal land resource according to the land use information recorded in the public account book.
Thus, the electronic equipment determines the Lane resources meeting the transmission requirements of the electronic equipment at the two ends of data transmission and having the best quality through comprehensive scoring. The electronic equipment can select the optimal Lane for the user under the condition that the user does not feel, so that the user experience is improved.
According to the first aspect, or any implementation manner of the first aspect, the number of target lanes is one or more; wherein, in the case that the number of target lanes is plural, the plural target lanes are different types of channels; in the case where the number of target lanes is one, the target lane is transmitting the first data; alternatively, in the case where the number of target lanes is one, the target lanes are idle.
In some embodiments, the lane hub can allocate multiple lanes for the same service on the frequency domain through statistical multiplexing in a counting mode, so that transmission efficiency is improved. Then the number of destination lanes may be one or more.
In other embodiments, the lane hub may also perform statistical multiplexing according to the bandwidth at a time domain angle, and allocate one lane to carry multiple services. For example, a plurality of businesses use the same one lane according to the time sequence. For example, a higher priority service is required to use a lane preferentially by a time limit, and a lower priority service is required to use a lane later by a time limit. Therefore, the completion of the service is not affected, the interference problem caused by the simultaneous execution of a plurality of services is not caused, and the transmission quality of the application is improved. Then, in the case that the priority of the data to be transmitted is lower, the lane hub may allocate, for this service, a lane in which other first data with higher priority is being transmitted, and after the transmission of the first data with higher priority is completed, the first electronic device may transmit the data through the target lane. Or, the priority of the data to be transmitted is higher, the target lane transmitting the first data can be preempted, the data to be transmitted is transmitted through the target lane, and then the first data is transmitted.
It will be appreciated that if there are free land resources and the free land resources meet the requirements for transmitting data to be transmitted, the land resources may be determined as target land. For example, the first electronic device has a lane resource corresponding to a wired transmission mode (such as a USB transmission mode), and is idle, and then it may be preferentially determined that the lane resource corresponding to the wired transmission is the target lane.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: and monitoring the use condition of the target land and obtaining the third use information of the target land. And updating the use information of the locally recorded target lane into third use information. Third usage information is broadcast.
Therefore, the electronic equipment broadcasts the lane use information according to the preset period or the preset time, so that the interaction of the lane use information of different electronic equipment in the communication network is realized, and the requirement of the electronic equipment for selecting a target lane is further met.
Furthermore, a central node (such as a central device) is further arranged in the communication network, and the central device can adjust the type of the Lane resources according to the Lane use information broadcasted by the electronic device, so that the classified Lane resource classification result can be the optimal classification result suitable for the current communication network. The type of the land resource corresponds to a service type, and the type of the land resource comprises a high-bandwidth land resource, a high-bandwidth low-latency land resource, a low-latency high-reliability land resource and the like. For example, after setting the lane1 as a high bandwidth lane resource, the central device determines that the transmission quality of the lane1 is poor according to the received broadcast information, and adjusts the lane1 to be a lane of other resource types.
According to the first aspect, or any implementation manner of the first aspect, broadcasting the third usage information includes: and broadcasting third use information under the condition that the use time length of the target lane exceeds the preset time length. Or broadcasting the third usage information according to a preset period.
In some embodiments, the synchronization of the lane hub ledger is divided into strong and weak synchronization. Optionally, the land hub may determine, according to the service type carried by the land resource, whether the manner of synchronizing the ledger is strong synchronization or weak synchronization.
Illustratively, some services require maintaining long-term communications, or large amounts of data, or require maintaining low-interference transmissions, etc. Therefore, after allocating the Lane resources for such services, the Lane hub needs to synchronize the usage of the allocated Lane resources to other Lane hubs in the Lane net, so that the other Lane hubs avoid interfering with the Lane resources in the process of allocating the Lane resources. Then such a lane resource is a lane resource that requires strong synchronization.
Also, as an example, after some temporary preempting the used Lane resources and local updating of the Lane resources, the Lane hub applies and releases the Lane resources in a short time, and then the Lane hub updates the use of the Lane resources to a previous state or directly cancels the previous update, and if each update is broadcast-synchronized, the power consumption will increase. Therefore, the preset period can be set, the account book broadcasting is carried out according to the preset period, and unnecessary power consumption is not increased due to repeated synchronization while the timeliness and the credibility of the account book synchronization are ensured. Then such a lane resource is a lane resource that requires weak synchronization.
Thus, through strong synchronization or weak synchronization, unified records of each lane hub in the lane net on the use condition of the lane resources are ensured, and the problem of lane resource allocation conflict caused by non-uniform use condition of the lane resources is avoided.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: and when the quality of part or all of the target lanes does not meet the preset condition, adjusting the parameters of the first target lane of which the quality does not meet the preset condition.
According to the first aspect, or any implementation manner of the first aspect, the adjusting the parameter of the first target lane whose quality does not meet the preset condition includes: and adjusting the power of the first target lane of which the quality does not meet the preset condition. Or determining a type corresponding to the first target land, determining a second target land which corresponds to the service type, corresponds to the first target land and has the same type as the first target land and the same quality as a preset condition in the first land, the second land and the third land according to the service type and the type corresponding to the first target land, and switching the first target land to the second target land.
According to the first aspect, or any implementation manner of the first aspect, after adjusting the parameters, the quality of some or all of the first target lanes does not meet a preset condition; the method further comprises the steps of: fourth use information of the lane broadcasted by the second electronic device is obtained. And determining the target type of the lane supported by the first electronic equipment and the second electronic equipment according to the fourth use information. And determining a third target lane with the quality meeting the preset condition from the lanes of the target type, and switching the lanes which still do not meet the preset condition after the adjustment parameters in the first target lane to be the third target lane.
In some embodiments, after the lanehub allocates the lane resource to the application program, the lane resource usage condition is monitored, and when the communication quality is detected to be poor, the lane resource can be adjusted to meet the data transmission requirement of the application program (for example, the packet loss rate is smaller than a preset threshold value, etc.). Wherein, the adjustment of the Lane resources comprises Lane resource parameter adjustment, lane resource switching and the like. In the data transmission process, the Lane hub can adjust Lane resources once or more times, so that the transmission quality is ensured.
For example, the lane resources are divided based on the frequency domain angle and with the channel as granularity, so that a time-sharing strategy can be adopted to allow different transmission tasks to time-share and call the same lane resources according to the time sequence. Such as allocating the lane resources by Wi-Fi hierarchical clock technology, BR bluetooth hierarchical clock technology, etc. time-sharing policies. Then the Lane hub needs to monitor the usage of Lane resources from a time domain perspective to determine if an adjustment to the allocation of Lane resources is needed.
For another example, the lane hub may be able to obtain quality measurements of the lane resources, perform quality of service analysis on the lane resources, determine whether QoS policies need to be adjusted (e.g., adjust QoS criteria for evaluating the lane resources, etc.), and analyze the use of the lane net.
For another example, the allocation scheduling condition of the Lane resources is monitored, for example, the Lane resource scheduling condition of each Lane hub in the Lane net is monitored, and whether the use of the Lane resources of the current application is affected is confirmed. For example, qoS collaboration can be realized, decision adjustment such as including service speed limiting, avoiding and the like is performed on low-priority service, so that long-time service (such as screen throwing service and the like) cannot be influenced by short-time service (such as picture sharing service and the like), or service with higher transmission quality requirement cannot be influenced by other service and the like.
Therefore, in the data transmission process, the electronic equipment can dynamically adjust the land resources by directly adjusting parameters or adjusting a communication mode under the condition that a user does not feel, so that the data transmission quality is ensured, and the user experience is improved.
In a second aspect, an electronic device is provided. The electronic device is a first electronic device, comprising: a processor and a memory coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to: when it is determined that data needs to be sent to the second electronic device, a target lane for transmitting the data is determined among a first logical lane, a second lane, and a third lane, the first lane corresponding to the first type of network lane, the second lane corresponding to the first channel in the second type of network lane, the third lane corresponding to the second channel in the second type of network lane. And sending the data to the second electronic device through the target lane.
According to a second aspect, when the first electronic device determines that data needs to be sent to the second electronic device, determining a target lane for transmitting data in the first lane, the second lane and the third lane includes: and when the data needs to be sent to the second electronic equipment, determining the service type corresponding to the data. And determining the target lane in the first lane, the second lane and the third lane according to the service type.
According to a second aspect, or any implementation manner of the second aspect, the computer instructions, when read from the memory by the processor, further cause the electronic device to perform the following operations: first usage information of the first, second and third locally recorded levels is obtained, and second usage information of the first, second and third levels broadcast by a plurality of electronic devices in a communication network including the first electronic device is obtained. According to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps: and determining the target land according to the first use information, the second use information and the service type.
According to a second aspect, or any implementation manner of the second aspect, the first electronic device locally stores a first ledger and a second ledger, where the first ledger is used for recording usage information of the first, second and third lanes, and the second ledger is used for recording usage information of all lanes in a communication system including the first electronic device. Then, when the processor reads the computer instructions from the memory, the electronic device is further caused to: first use information of the first, second and third lanes recorded in the first ledger is acquired, and second use information of the first, second and third lanes recorded in the second ledger is acquired. Then, determining a target lane among the first lane, the second lane and the third lane according to the service type includes: and determining the target land according to the first use information, the second use information and the service type.
According to a second aspect, or any implementation manner of the above second aspect, the first usage information or the second usage information includes one or several of the following: the number of times of use of the lane, the service type corresponding to the historical transmission data of the lane and the quality parameter information of the lane.
According to a second aspect, or any implementation of the second aspect above, the number of target lanes is one or more; wherein, in the case that the number of target lanes is plural, the plural target lanes are different types of channels; in the case where the number of target lanes is one, the target lane is transmitting the first data; alternatively, in the case where the number of target lanes is one, the target lanes are idle.
According to a second aspect, or any implementation manner of the second aspect, the computer instructions, when read from the memory by the processor, further cause the electronic device to perform the following operations: and monitoring the use condition of the target land and obtaining the third use information of the target land. And updating the use information of the locally recorded target lane into third use information. Third usage information is broadcast.
According to a second aspect, or any implementation manner of the second aspect above, broadcasting the third usage information includes: and broadcasting third use information under the condition that the use time length of the target lane exceeds the preset time length. Or broadcasting the third usage information according to a preset period.
According to a second aspect, or any implementation manner of the second aspect, the computer instructions, when read from the memory by the processor, further cause the electronic device to perform the following operations: and when the quality of part or all of the target lanes does not meet the preset condition, adjusting the parameters of the first target lane of which the quality does not meet the preset condition.
According to a second aspect, or any implementation manner of the second aspect, the adjusting the parameter of the first target lane whose quality does not meet the preset condition includes: and adjusting the power of the first target lane of which the quality does not meet the preset condition. Or determining a type corresponding to the first target land, determining a second target land which corresponds to the service type, corresponds to the first target land and has the same type as the first target land and the same quality as a preset condition in the first land, the second land and the third land according to the service type and the type corresponding to the first target land, and switching the first target land to the second target land.
According to a second aspect, or any implementation manner of the second aspect, the computer instructions, when read from the memory by the processor, further cause the electronic device to perform the following operations: fourth use information of the lane broadcasted by the second electronic device is obtained. And determining the target type of the lane supported by the first electronic equipment and the second electronic equipment according to the fourth use information. And determining a third target lane with the quality meeting the preset condition from the lanes of the target type, and switching the lanes which still do not meet the preset condition after the adjustment parameters in the first target lane to be the third target lane.
The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a third aspect, an electronic device is provided. The electronic device is a first electronic device, comprising: the device comprises a processing module and a receiving and transmitting module. And the processing module is used for determining a target lane for transmitting data in a first logic path lane, a second lane and a third lane when determining that the data needs to be transmitted to the second electronic equipment, wherein the first lane corresponds to a first type of network path, the second lane corresponds to a first channel in a second type of network path, and the third lane corresponds to a second channel in the second type of network path. And the receiving and transmitting module is used for transmitting data to the second electronic equipment through the target lane.
According to a third aspect, when the first electronic device determines that data needs to be sent to the second electronic device, determining a target lane for transmitting data in the first lane, the second lane, and the third lane includes: and when the data needs to be sent to the second electronic equipment, determining the service type corresponding to the data. And determining the target lane in the first lane, the second lane and the third lane according to the service type.
According to a third aspect, or any implementation manner of the third aspect, the processing module is specifically configured to obtain first usage information of the first, second and third locally recorded levels, and obtain second usage information of the first, second and third levels broadcasted by a plurality of electronic devices in a communication network including the first electronic device. According to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps: and determining the target land according to the first use information, the second use information and the service type.
According to a third aspect, or any implementation manner of the third aspect, the first electronic device locally stores a first ledger and a second ledger, where the first ledger is used to record usage information of the first, second and third lanes, and the second ledger is used to record usage information of all lanes in a communication system including the first electronic device. When the first electronic device determines that data needs to be sent to the second electronic device, before determining a target lane for transmitting the data in the first lane, the second lane and the third lane, the processing module is further configured to obtain first usage information of the first lane, the second lane and the third lane recorded in the first ledger, and obtain second usage information of the first lane, the second lane and the third lane recorded in the second ledger. According to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps: and determining the target land according to the first use information, the second use information and the service type.
According to a third aspect, or any implementation manner of the above third aspect, the first usage information or the second usage information includes one or several items of the following: the number of times of use of the lane, the service type corresponding to the historical transmission data of the lane and the quality parameter information of the lane.
According to a third aspect, or any implementation of the above third aspect, the number of target lanes is one or more; wherein, in the case that the number of target lanes is plural, the plural target lanes are different types of channels; in the case where the number of target lanes is one, the target lane is transmitting the first data; alternatively, in the case where the number of target lanes is one, the target lanes are idle.
According to a third aspect, or any implementation manner of the third aspect, the processing module is further configured to monitor a usage situation of the target lane, and obtain third usage information of the target lane. And updating the use information of the locally recorded target lane into third use information. Third usage information is broadcast.
According to a third aspect, or any implementation manner of the above third aspect, broadcasting the third usage information includes: and broadcasting third use information under the condition that the use time length of the target lane exceeds the preset time length. Or broadcasting the third usage information according to a preset period.
According to a third aspect, or any implementation manner of the third aspect, the processing module is further configured to adjust, when the quality of some or all of the target lanes does not meet the preset condition, a parameter of the first target lane whose quality does not meet the preset condition.
According to a third aspect, or any implementation manner of the third aspect, the adjusting the parameter of the first target lane whose quality does not meet the preset condition includes: and adjusting the power of the first target lane of which the quality does not meet the preset condition. Or determining a type corresponding to the first target land, determining a second target land which corresponds to the service type, corresponds to the first target land and has the same type as the first target land and the same quality as a preset condition in the first land, the second land and the third land according to the service type and the type corresponding to the first target land, and switching the first target land to the second target land.
According to a third aspect, or any implementation manner of the third aspect, the transceiver module is further configured to obtain fourth usage information of the lane broadcasted by the second electronic device. And the processing module is further used for determining the target type of the lane supported by the first electronic equipment and the second electronic equipment according to the fourth use information. And determining a third target lane with the quality meeting the preset condition from the lanes of the target type, and switching the lanes which still do not meet the preset condition after the adjustment parameters in the first target lane to be the third target lane.
Alternatively, the transceiver module may include a receiving module and a transmitting module, and may be implemented by a transceiver or a transceiver related circuit component, and may be a transceiver or a transceiver module. The operations and/or functions of the respective modules in the first electronic device may be respectively to implement the communication method described in the first aspect and any implementation manner of the first aspect, where all relevant content related to the first aspect and any implementation manner of the first aspect may be cited to the corresponding functional modules.
Optionally, the first electronic device may further include a storage module, where a program or instructions are stored. When the processing module and the transceiver module execute the program or the instruction, the first electronic device may execute the communication method described in any implementation manner of the first aspect and the first aspect.
The technical effects corresponding to the third aspect and any implementation manner of the third aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, and are not described herein again.
In a fourth aspect, embodiments of the present application provide a communication system, including: a first electronic device and a second electronic device. And the first electronic equipment is used for determining a target lane for transmitting data in a first logic path lane, a second lane and a third lane when determining that the data needs to be transmitted to the second electronic equipment, wherein the first lane corresponds to a first type of network path, the second lane corresponds to a first channel in a second type of network path, and the third lane corresponds to a second channel in the second type of network path. The first electronic device is further configured to send data to the second electronic device through the target lane. And the second electronic equipment is used for receiving the data sent by the first electronic equipment through the target lane.
According to a fourth aspect, the first electronic device is further configured to monitor a usage situation of the target lane, and obtain third usage information of the target lane. And updating the use information of the locally recorded target lane into third use information. Third usage information is broadcast.
According to a fourth aspect, or any implementation manner of the second aspect, the first electronic device is specifically configured to broadcast the third usage information when the usage time of the target lane exceeds a preset time period. Or broadcasting the third usage information according to a preset period.
According to a fourth aspect, or any implementation manner of the second aspect, the first electronic device stores a first ledger and a second ledger, where the first ledger is used to record usage information of the first, second and third lanes, and the second ledger is used to record usage information of all lanes in the communication system.
According to a fourth aspect, or any implementation manner of the above second aspect, the communication system further includes: a third electronic device; and the third electronic equipment is used for receiving the third use information and synchronizing the use information of the target land recorded in the locally stored second account book according to the third use information.
In some embodiments, the communication system includes more than two electronic devices, each configured with a lane hub. After the local terminal Lane hub determines that the Lane resource usage information changes, the changed Lane resource usage information can be broadcast to other electronic devices in the communication system in a strong synchronization or weak synchronization mode. The lane hub of other electronic equipment (such as third electronic equipment) can receive the broadcast information, and according to the broadcast information, the locally stored lane resource use information is synchronized, so that the synchronization of the lane resource information recorded by each lane hub is ensured, and the problem of lane resource allocation conflict caused by non-uniform lane resource use information is avoided.
In some embodiments, the second electronic device also receives an update of the usage information of the target lane by the first electronic device. That is, each electronic device in the communication system is configured with a lane hub. The land hub maintains two account books, wherein one account book is used for recording the use condition of local land resources; the other ledger is used to record the use of the land resources in the land net (e.g., public ledgers). After the local land resource use condition is updated, the local ledger is updated and the public ledger is updated, and then the public ledger is broadcasted. After receiving the broadcast, other Lane hubs in the Lane net can synchronize the public ledgers, and the relevant content of the local ledgers is combined and updated, so that the same public ledgers can be stored in each Lane hub in the Lane net, namely, each Lane hub can synchronize the actual use condition of the Lane resources in the Lane net. For example, the local ledger in the lane hub records the use condition of the lane 1 managed by the local ledger, and after the public ledgers broadcasted by other lane hubs are obtained, the record of the use condition of the lane 1 by other lane hubs is determined, and then whether the local ledger needs to be modified is determined. If so, synchronizing the modification information to the public ledger for synchronization of other Lane hubs.
According to a fourth aspect, or any implementation manner of the second aspect, the first electronic device, the second electronic device, and the third electronic device are further configured to determine a target device for adjusting a type of a lane resource, where the target device is any one of the first electronic device, the second electronic device, and the third electronic device. The target device is configured to obtain usage information of a fourth lane broadcast by the first electronic device, the second electronic device, and the third electronic device, and adjust a lane resource type of a part or all of the lanes in the fourth lane according to the usage information of the fourth lane, where the lane resource type includes at least one of a high bandwidth lane resource, a high bandwidth low latency lane resource, a low bandwidth low latency lane resource, and a low latency high reliability lane resource.
According to a fourth aspect, or any implementation manner of the above second aspect, the communication system further includes: a central device. The central device is configured to obtain usage information of a fifth lane broadcasted by the electronic device included in the communication network, and adjust a lane resource type of a part or all of lanes in the fifth lane according to the usage information of the fifth lane, where the lane resource type includes at least one of a high bandwidth lane resource, a high bandwidth low latency lane resource, a low bandwidth low latency lane resource, and a low latency high reliability lane resource.
In some embodiments, the fifth lane is a lane supported by each electronic device, and then the center device can determine, according to the broadcast information, usage information of all lanes in the communication network, and further can determine a lane that needs to adjust a lane resource type. In this way, the transmission quality of the communication network can be improved.
Further, in the case where the center node device is included in the communication system, the center node device adjusts the type of use of the Lane resource. In the case where the communication system does not include a central node, devices in the communication system may elect devices for adjusting the type of Lane resources, such as by using a blockchain technique. Thus, the requirement of different types of communication systems for adjusting the type of the Lane resources is met.
According to a fourth aspect, or any implementation manner of the above second aspect, the number of target lanes is one or more; wherein, in the case that the number of target lanes is plural, the plural target lanes are different types of channels; in the case where the number of target lanes is one, the target lane is transmitting the first data; alternatively, in the case where the number of target lanes is one, the target lanes are idle.
The technical effects corresponding to the fourth aspect and any implementation manner of the fourth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a fifth aspect, embodiments of the present application provide an electronic device having a function of implementing the communication method as described in the first aspect and any one of possible implementation manners. The functions may be implemented by hardware, or by corresponding software executed by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
The technical effects corresponding to the fifth aspect and any implementation manner of the fifth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a sixth aspect, a computer readable storage medium is provided. The computer readable storage medium stores a computer program (which may also be referred to as instructions or code) which, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any implementation of the first aspect.
The technical effects corresponding to the sixth aspect and any implementation manner of the sixth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a seventh aspect, embodiments of the present application provide a computer program product for, when run on an electronic device, causing the electronic device to perform the method of the first aspect or any of the embodiments of the first aspect.
The technical effects corresponding to the seventh aspect and any implementation manner of the seventh aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein again.
In an eighth aspect, embodiments of the present application provide circuitry comprising processing circuitry configured to perform the first aspect or the method of any one of the embodiments of the first aspect.
The technical effects corresponding to the eighth aspect and any implementation manner of the eighth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein again.
In a ninth aspect, an embodiment of the present application provides a chip system, including at least one processor and at least one interface circuit, where the at least one interface circuit is configured to perform a transceiver function and send an instruction to the at least one processor, and when the at least one processor executes the instruction, the at least one processor performs the method of the first aspect or any implementation manner of the first aspect.
The technical effects corresponding to the ninth aspect and any implementation manner of the ninth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, and are not described herein again.
Drawings
FIG. 1 is a schematic diagram of an interface provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a form of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 3B is a schematic software structural diagram of an electronic device according to an embodiment of the present application;
fig. 4A is a schematic diagram one of a scenario in which a communication method provided in an embodiment of the present application is applied;
fig. 4B is a schematic diagram two of a scenario in which the communication method provided in the embodiment of the present application is applied;
FIG. 5A is a schematic diagram of module interactions provided in an embodiment of the present application;
fig. 5B is a schematic diagram III of a scenario in which the communication method provided in the embodiment of the present application is applied;
FIG. 6 is a second interface schematic diagram provided in an embodiment of the present application;
fig. 7 is a third interface schematic diagram provided in an embodiment of the present application;
fig. 8 is a flowchart of a communication method provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terminology used in the embodiments below is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the various embodiments herein below, "at least one", "one or more" means one or more than two (including two).
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise. The term "coupled" includes both direct and indirect connections, unless stated otherwise. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The communication method provided by the embodiment of the application can be applied to the first electronic equipment. For example, as shown in fig. 2, the first electronic device may specifically be a mobile phone 21, a notebook computer 22, a tablet computer 23, a large screen display device 24, a wearable device (such as a smart watch, a smart bracelet, etc.) 25, a vehicle-mounted device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a laptop computer, a personal digital assistant (personal digital assistant, PDA), a VR device, an AR device, a sound box, an artificial intelligence (artificial intelligence) device, and other terminal devices having a transmission function. The operating system installed by the first electronic device includes, but is not limited to
Figure BDA0003417662050000101
Or other operating system. In some embodiments, the first electronic device may be a fixed device or a portable device. The specific type of the first electronic device and the installed operating system are not limited in the application.
In some embodiments, the first electronic device may support multiple communication modes, such as short-range wireless communication (near field communication, NFC), bluetooth (BT) (e.g., conventional bluetooth, bluetooth low energy (bluetooth low energy, BLE), basic Rate (BR) bluetooth, enhanced rate (enhanced data rate, EDR) bluetooth, etc.), wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), zigbee (Zigbee), frequency modulation (frequency modulation, FM), infrared (IR), etc., and wired communication modes, such as universal serial bus (universal serial bus, USB) connection.
In some embodiments, the first electronic device establishes a communication connection with one or more other electronic devices (such as the second electronic device) through a communication manner supported by the first electronic device, and then becomes an electronic device in the soft bus networking. The soft bus networking may include a homogeneous network or a heterogeneous network, among others. For example, electronic devices in a communication network communicate by the same communication method, and the communication network is a homogeneous network. As if each electronic device in the network communicates through Wi-Fi. For another example, the electronic devices in the communication network communicate by two or more communication methods, and the communication network is a heterogeneous network. If the first electronic device and the second electronic device support Bluetooth communication and Wi-Fi communication, the first electronic device and the second electronic device access the same router in a Wi-Fi communication mode, and Bluetooth connection is established between the first electronic device and the second electronic device, two communication modes exist in a communication network formed by the first electronic device, the second electronic device and the router, and a heterogeneous network is formed.
It is understood that the soft bus network should contain 2 or more electronic devices, and different electronic devices may perform respective services. For example, data transmission can be performed between each electronic device included in the soft bus network as required. Such as a plurality of electronic devices including electronic device 1, electronic device 2, electronic device 3, and electronic device 4 in a soft bus network. Wherein, the service 1 is executed between the electronic device 1 and the electronic device 2, the service 2 is executed between the electronic device 1 and the electronic device 3, the service 3 is executed between the electronic device 3 and the electronic device 4, and the service 1, the service 2 and the service 3 are different data transmission services, for example. Then the available network resources need to be allocated for each service. The specific network resource allocation manner is described in the following specific embodiments, and is not described herein.
Optionally, each application installed in the first electronic device may communicate with the second electronic device through one or more of the communication modes supported by the first electronic device. For example, as shown in fig. 1, a gallery application is installed in the first electronic device, and the gallery application may share photos to the second electronic device through bluetooth, wi-Fi direct, email, or other manners.
For example, both the first electronic device and the second electronic device support proximity discovery functionality. For example, both the first electronic device and the second electronic device can implement the proximity discovery function through NFC induction. After the first electronic device approaches the second electronic device, the first electronic device and the second electronic device can discover each other, and then establish a wireless communication connection such as a Wi-Fi end-to-end (P2P) connection, a bluetooth connection, and the like.
For another example, the first electronic device and the second electronic device establish a wireless communication connection through a local area network. For example, the first electronic device and the second electronic device are both connected to the same router. The first electronic device and the second electronic device serve as Station (STA) devices, and the router serves as Access Point (AP) devices to establish STA-AP-STA communication mode connection.
For another example, the first electronic device establishes a wireless communication connection with the second electronic device via a cellular network, the internet, or the like. For example, the second electronic device accesses the internet through the router, and the first electronic device accesses the internet through the cellular network; further, the first electronic device establishes a wireless communication connection with the second electronic device.
For another example, the first electronic device establishes a wired communication connection with the second electronic device through a USB interface connection.
Illustratively, the second electronic device is the same or different type of device as the first electronic device, including but not limited to a smart phone, tablet, personal computer (personal computer, PC), wearable device (e.g., smart watch, smart bracelet, etc.), laptop computingA machine (Laptop), a personal digital assistant (personal digital assistant, PDA), an in-vehicle device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a speaker, an artificial intelligence (artificial intelligence, AI) device, and the like. The second electronic device-installed operating system includes, but is not limited to
Figure BDA0003417662050000111
Or other operating system. The second electronic device 200 may not be equipped with an operating system. In some embodiments, the second electronic device may be a stationary device or a portable device. The embodiment of the application does not limit the specific type of the second electronic equipment, whether the operating system is installed or not, and the type of the operating system under the condition that the operating system is installed.
Fig. 3A is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may be the first electronic device or the second electronic device.
The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge an electronic device, or may be used to transfer data between the electronic device and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other second electronic devices, such as AR devices, etc.
In some embodiments, the electronic device establishes a wired connection with other electronic devices through a USB interface. For example, the electronic device establishes a USB connection with other electronic devices, and transmits the stored application files to the other electronic devices through the USB connection.
It should be understood that the connection relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also use different interfacing manners in the foregoing embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the second electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on an electronic device. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device implements display functions via a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may be manufactured using a liquid crystal display (liquid crystal display, LCD), an active matrix organic light-emitting diode (OLED) or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (flex), mini-led, micro-OLED, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device may include 1 or N display screens 194, N being a positive integer greater than 1.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
Touch sensors, also known as "touch devices". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor may also be disposed on a surface of the electronic device at a different location than the display 194.
The electronic device may implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device (e.g., audio data, phonebook, etc.), and so forth. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device may implement audio functions through the audio module 170, an application processor, and the like. Such as music playing, recording, etc. The audio module 170 may include a speaker, a receiver, a microphone, a headphone interface, etc. For converting digital audio information into an analog audio signal output and for converting an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
The software system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of an electronic device is illustrated.
Fig. 3B is a software architecture block diagram of an electronic device according to an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3B, the application package may include applications for cameras, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, video, short message, etc.
In some embodiments, different applications may interact with other electronic devices by communicating in some or all of the communication modes supported by the electronic device. And e.g. the gallery application sends the photos stored by the first electronic device to the second electronic device through Bluetooth.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 3B, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, a phone manager, a lane (lane) management service, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
And the lane management service is used for planning and managing all lanes of the communication modes supported by the electronic equipment. The lane is a unit granularity for abstracting and then segmenting network resources corresponding to the communication mode. For example, all network resources (such as Wi-Fi resources corresponding to Wi-Fi communication scheme, bluetooth resources corresponding to bluetooth communication scheme, etc.) corresponding to the communication scheme included in the communication network are segmented into Lane resources in Lane units. And then, the lane management service in the electronic equipment allocates the lane resources for the application program of the data to be transmitted according to the service type of the data to be transmitted, and the application program can communicate through the allocated lane resources, wherein the allocated lane resources can comprise one or more lanes. If the allocated Lane resource is a channel determined after dividing the Wi-Fi resource with the channel as Lane dividing granularity in the Wi-Fi communication mode, the application program sends data through the allocated Wi-Fi channel. In some embodiments, the lane management service may be described as a logical path center (lane hub).
By way of example, assuming that the electronic device supports Wi-Fi 2.4G communication and BLE communication, the Lane resources are divided according to physical characteristics of Wi-Fi communication and bluetooth communication, for example, a Wi-Fi 2.4G communication scheme includes 13 channels, may be divided into 13 Lane resources, a BLE communication scheme includes 78 channels, may be divided into 78 Lane resources, and a Lane management service manages the Lane resources. And the Lane management service provides an external uniform interface for the application program of the application layer to call, for example, the application program utilizes the distributed Lane resources to send data to other electronic devices through the uniform interface.
The physical characteristics are used to represent characteristics of a physical path for realizing a communication system. For example, a bluetooth chip is installed in the electronic device, which can realize bluetooth communication and support communication of 78 channels for bluetooth communication. Then the Lane resources are divided into 78 Lane resources of the Bluetooth communication mode according to the physical characteristics of the Bluetooth chip. For another example, a Wi-Fi chip is installed in the electronic device, and the Wi-Fi chip supports dual-frequency dual-send (dual band dual concurrent, DBDC), i.e., has two physical paths (e.g., physical path 1 and physical path 2). Assume that physical path 1 of the Wi-Fi chip is used to implement Wi-Fi 2.4G communications, and physical path 2 of the Wi-Fi chip is used to implement Wi-Fi 5G communications. Then, according to the physical characteristics of the Wi-Fi chip, the Lane resources are divided into Lane resources of Wi-Fi 2.4G communication mode and Lane resources of Wi-Fi 5G communication mode. Or, assuming that the physical path 1 and the physical path 2 of the Wi-Fi chip are both used for implementing Wi-Fi 2.4G communication, according to the physical characteristics of the Wi-Fi chip, the Lane resources are divided into Lane resources corresponding to the physical path 1 in the Wi-Fi 2.4G communication mode and Lane resources corresponding to the physical path 2 in the Wi-Fi 2.4G communication mode. It is understood that Wi-Fi chips may also support more physical paths, such as Wi-Fi chips supporting four frequencies and four hairs can support 4 physical paths, which may correspond to 4 types of lane resources. In the communication method provided in the embodiment of the present application, the network resources are divided by the characteristics of the physical path, which is not described in detail below.
It should be noted that the names of the lanes may be different in different systems or architectures. For example, in some systems or architectures, the names of the above-described lanes managed by the lane management service for supporting applications to implement inter-device communication may be virtual lanes, and the names of the corresponding lane resources may be virtual lane resources. If the lane is used to represent the corresponding channel in the communication mode, the lane resource is the channel resource. For example, the Wi-Fi 2.4G communication mode includes 13 channels (corresponding to 13 virtual paths), and can be divided into 13 lanes, and the lane resource corresponding to the Wi-Fi 2.4G communication mode includes 13 lanes. Alternatively, the name of the lane may be a physical path, and the name of the corresponding lane resource may be a physical path resource. If the communication mode is a USB wired communication mode, the USB connection includes 1 physical path, which can be divided into 1 lane, and the lane resources corresponding to the USB wired communication mode include 1 physical path resource. However, whatever the name of the lane, as long as network resources for implementing communication with similar functions are used, the technical idea of the method provided by the embodiment of the application should be covered within the protection scope of the application. In the embodiment of the present application, a name of a lane is taken as an example of a logical path (such as including a virtual path and a physical path), and the communication method provided in the embodiment of the present application is described.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, etc. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In some embodiments, the electronic device may support at least one communication mode, different electronic devices may support the same or different communication modes, and the communication modes supported by the electronic device include a wired communication mode (e.g., a USB communication mode, an Ethernet (ETH) communication mode, a programmable logic controller (programmable logic controller, PLC) communication mode, etc.) and/or a wireless communication mode (e.g., a Wi-Fi communication mode, a bluetooth communication mode, etc.). After the electronic equipment establishes connection with other electronic equipment, a communication network is formed, the communication network allows other electronic equipment to access, and the electronic equipment in the communication network shares network resources. For example, when the mobile phone accesses the router and the PC accesses the router, the mobile phone and the PC share the Wi-Fi network provided by the router. Furthermore, the mobile phone can also establish Bluetooth connection with the PAD, and the communication among the mobile phone, the PC, the PAD and the router forms a communication network.
Because different independent interfaces are provided for network protocols of different communication modes, a developer needs to complete development of an application program according to the different independent interfaces, so that the application program can support one or more communication modes. The method is limited by independent interfaces, and an application program can only select one communication mode to communicate with other electronic equipment according to user operation or default mode, but cannot autonomously select the optimal communication mode according to network resource conditions. Alternatively, after selecting one communication mode for communication, the application program generally does not switch the communication modes if the current communication is not completed. However, the signal quality of different communication modes is related to a specific network environment, so that it is difficult for an application program to provide an optimal network experience for a user due to the limitation of independent interfaces of different communication modes.
In addition, in the network selection process, a communication mode for transmission needs to be selected by a user, and under the condition that the communication modes supported by the electronic equipment are more, the user needs to search for many times to determine the communication mode of the application, so that the operation difficulty of the user is high, and the use experience of the user is influenced. As shown in fig. 1 (b), the interface 102 is limited by the display area, and only a part of communication modes supported by the electronic device can be displayed on the interface 102. The electronic device can display other communication modes after detecting a sliding operation (e.g., a sliding operation in the direction indicated by arrow 13) by the user. If the electronic device supports more communication modes, the user needs to slide and search for multiple times to complete the selection of the communication modes, and the process is complicated.
Furthermore, in a distributed scenario involving multiple electronic devices, there may be multiple end-to-end relationships used in a composite, but one electronic device may not be able to compromise multiple Wi-Fi P2P connections, resulting in a failure of services to be parallel. Specifically, wi-Fi P2P technology can support two Wi-Fi devices to directly connect and communicate with each other without intervention of Wi-Fi hotspots. After Wi-Fi P2P connection is established, the device has two roles of a client (GC) and a manager (GO), meanwhile, the Wi-Fi P2P connection mode is illustrated and limited in the protocol specification of Wi-Fi P2P technology, and the following three main points are: (1) GO can only be connected to GC, but cannot be connected to GO; (2) The GC can only be connected with the GO, and cannot be connected with other GOs or the GC; (3) there is an upper limit on the number of GO-linked GCs. Also, in addition to the limitations of the protocol specification itself, there are some other limitations to Wi-Fi P2P connectivity for different chip vendors, different electronic device operating systems. For example, the chip platforms such as Hai Si and MTK do not support the existence of multiple P2P roles (GO/GO, GO/GC and GC/GC) on the same device. For another example, an Android open-source project (AOSP) also does not support coexistence of multiple P2P roles for the same device.
Then, assume that, in the process that the mobile phone a performs screen projection to the PC through the P2P connection, the mobile phone a receives a P2P connection request sent by the mobile phone B, and is used for requesting to establish the P2P connection. Handset a may need to be set to multiple P2P roles in both the P2P connection established with the PC and the P2P connection that may be established with handset B. However, the mobile phone a may not support coexistence of multiple P2P roles, and co-channel conflicts may occur in the communication process, so that services cannot be parallel, or the conflicts are too large to cause abnormal services such as service experience cannot be guaranteed.
Based on this, the embodiment of the application provides a communication method, which performs unified planning on all network resources and provides unified external interfaces for each application program. When an application program requests communication, the lanehub automatically allocates corresponding communication resources according to the service type of the request communication and the current network environment, and the selection is not needed by a user any more. Therefore, the developer is not limited by the interface protocol any more in the process of developing the application program, and the application program can provide better communication experience for the user under the condition of reducing the operation difficulty of the user. In addition, in the distributed scenario, the electronic device directly determines available communication resources according to the service type, and communication abnormality caused by the existence of multiple P2P roles on one device does not occur.
In some embodiments, the network resources are partitioned into Lane resources based on physical characteristics of different communication modes. For example, the channels are divided into granularity, and each channel corresponds to one lane resource.
For example, as shown in fig. 4A, it is assumed that the communication network includes a Wi-Fi 2.4G communication mode, a Wi-Fi 5G communication mode, a BR bluetooth communication mode, a BLE communication mode, and a USB communication mode, and network resources are divided with a channel-to-lane division granularity. The Wi-Fi 2.4G communication mode comprises 13 channels, and can be divided into 13 Lane resources; the Wi-Fi 5G communication mode comprises 165 channels, and can be divided into 165 Lane resources; the BR Bluetooth communication mode comprises 30 channels, which can be divided into 30 Lane resources; the BLE communication mode comprises 78 channels, and can be divided into 78 Lane resources; the USB communication scheme can be divided into 1 lane resource and the like assuming that the USB communication scheme corresponds to 1 channel.
It will be appreciated that the above-described manner of dividing network resources at channel-division granularity is merely illustrative, and that network resources may be divided at other division granularities. For example, network resources are communicatively partitioned for a lane partition granularity. For example, the Wi-Fi 2.4G communication mode is divided into 1 lane resource, the Wi-Fi 5G communication mode is divided into 1 lane resource, the BR Bluetooth communication mode is divided into 1 lane resource, and the like. For another example, network resources are partitioned with a predetermined number of channels for a lane partition granularity. If the Wi-Fi 2.4G communication mode includes dividing 3 adjacent channels of 13 channels into a group of Lane resources, dividing channel 1-channel 3 into a group of Lane resources, dividing channel 4-channel 6 into a group of Lane resources, dividing channel 7-channel 9 into a group of Lane resources, dividing channel 10-channel 12 into a group of Lane resources, and dividing the excess channel 13 into a group of Lane resources, thus completing the network resource division of the Wi-Fi 2.4G communication mode. For another example, the channels are divided into Lane resources in a preset manner. For example, the Wi-Fi 2.4G communication method includes dividing odd-numbered channels (including 13 channels (including 1-13) into a group of lane resources (including 1, 3, 5, 7, 9, 11, and 13), and dividing even-numbered channels into a group of lane resources (including 2, 4, 6, 8, 10, and 12).
In some embodiments, after the Lane resources are partitioned, each Lane is numbered and labeled. Then subsequently, the lanehub distinguishes different lanes according to the labels, and allocates corresponding lanes according to the application program requirements. For example, as shown in fig. 4A, lane1-lane13 is a lane resource corresponding to Wi-Fi 2.4G communication. Furthermore, the lane label may further include a communication mode corresponding to lane. For example, the labels of the Lane1-Lane13 are marked with the serial numbers of the Lanes, and the corresponding communication mode is Wi-Fi 2.4G communication mode. Then the subsequent application, after receiving the assigned lane, can determine the number of the lane and the corresponding communication mode according to the lane label.
In some embodiments, an account book is preset in the electronic device, where the account book is used for recording usage information of the land supported by the home terminal, such as information including usage conditions of the land, monitored quality of the land, and the like. The use condition of the lane comprises the use times of the lane, the service types corresponding to the data transmitted by the lane and the like. The service types include high-bandwidth service, high-bandwidth low-delay service, low-delay high-reliability service and the like. Optionally, the use of the Lane may also include monitored Lane quality information. The electronic device determines the quality of the Lane by monitoring parameters such as signal-to-noise ratio (SNR), load, interference value, received signal strength indicator (received signal strength indication, RSSI) and the like during the Lane communication. Further, the electronic device performs account book management through the lanehub.
Exemplary, as shown in fig. 4A, the communication modes supported by the device a include Wi-Fi 2.4G communication, BR bluetooth communication, BLE communication, and USB communication. The lanehub 1 in the device a is configured to perform unified management on Lane resources in the communication manner, for example, manage and record an account book of the Lane resources.
In some embodiments, the electronic device broadcasts the ledger according to a preset period to implement interaction of the lane information in the communication network. Or the electronic equipment broadcasts the ledger according to a preset rule. If the electronic equipment needs to occupy some Lane resources for a long time and needs to ensure the transmission quality, the service conditions of the Lane resources can be directly broadcasted, so that other electronic equipment is prevented from using the Lane resources to influence the communication. The ledger managed by the lanehub can also record the received land information of the land supported by the electronic equipment in the ledger broadcasted by other electronic equipment. For example, the electronic device 1 in the communication network supports 5 lanes of lane1-lane5, and the local lane information of the 5 lanes is recorded in the ledger. Assuming that the land supported by the electronic device 2 in the same communication network as the electronic device 1 includes land 1-land 3 and land 7-land 10, the electronic device 1 can receive the broadcast ledger of the electronic device 2, the electronic device 1 determines the opposite-end land information of the land 1-land 3 from the received broadcast ledger, and the land information recorded in the ledger managed by the land hub includes the local-end land information of the land 1-land 5 supported by the electronic device 1 and the opposite-end land information of the land 1-land 3. Subsequently, after detecting a request that the application needs to communicate with the electronic device 2, the lanehub can determine the allocated lane resource according to the local lane information and the opposite lane information recorded in the ledger. For example, the lanehub in the electronic device 1 determines that both the lane1 and the lane2 can realize communication with the electronic device 2 according to the local lane information, and the communication quality is better. And the lanehub determines that the communication quality of the lane1 recorded by the electronic equipment 2 is poor according to the obtained opposite-end lane information of the electronic equipment 2, and then the lanehub can select to allocate the lane2 to the application program for use.
For example, as shown in fig. 4A and fig. 4B, all the lanes supported by the electronic device in the communication network may form a lane network (lane net) 41, and after the electronic device accesses the network, the configured lane hub may be used to synchronize the lane resource usage. If the device A supports partial Lane resources in the Lane net 41, lane hub 1 in the device A is used for managing the Lane resources supported by the device A; device B supports a portion of the lane resources in lane net 41, and lane hub 2 in device B is configured to manage the lane resources supported by device B; device C supports part of the Lane resources in Lane net 41, and Lane hub 3 in device C is used for managing the Lane resources supported by device C; lane net 41 is a union of individual Lane hubs in the communication network, and there may be overlap of Lane resources managed by individual Lane hubs in the Lane net. For example, the device a and the device B perform data transmission through the lane 1 in the lane net. Then lane hub 1 needs to record the use of lane 1 on device a side and lane hub 2 needs to record the use of lane 1 on device B side, i.e., there is an overlap of lane resources managed by lane hub 1 and lane hub 2.
In addition, as shown in fig. 4B, the Lane resources managed by the Lane hub of each electronic device include an exclusive Lane resource (e.g., the region where the letter M is located in fig. 4B) and/or a shared Lane resource (e.g., the region where the letter N is located in fig. 4B).
The exclusive lane resource is used to indicate a lane resource not occupied by other services, that is, a lane resource which does not need to be shared with other services is an exclusive lane resource. For example, the ue hub 1 determines that the unused ue resource is an exclusive ue resource of the ue a, from the ue resources corresponding to the communication scheme supported by the ue a. For another example, the land resource is a wired connection mode of the electronic device. For another example, where Lane1 is used only to carry traffic between device A and device B, lane1 is an exclusive Lane resource for Lane hub 1 in device A and Lane hub 2 in device B.
Wherein the shared lane resource is used to represent a lane resource carrying multiple services. For example, if the lane hub 1 in the device a determines to use the lane1 to perform the service 1, where the lane1 is carrying the service 2, and the service 1 and the service 2 are different services, then the lane hub 1 determines that the lane1 is a shared lane resource.
Further, the exclusive and shared lane resource partitioning managed by the lane hub is not fixed. For example, the lane hub 1 is configured to manage 5 lanes corresponding to the communication mode supported by the device a, such as lane1-lane5, and assume that the current lane1-lane 3 is an exclusive lane resource, and that the lane 4 and the lane5 are shared lane resources. Lane hub 2 in device B determines to transmit data through Lane1 device C and broadcasts the use of Lane 1. Then, after the broadcast information is acquired by the lane hub 1, it is determined to change the lane1 division into the shared lane resources.
Then, as shown in fig. 4B, the lane resources available to device a managed by lane hub 1 include the exclusive lane resources shown at reference numeral 42, and the shared lane resources shown at reference numeral 43 overlapping with the lane resources managed by lane hub 3. Wherein overlapping shared lane resources are used to represent lane resources occupied by both the traffic of device a and the traffic of device C, and do not include lane resources occupied by only a single traffic between device a and device C.
Based on this, when the lan hub needs to allocate the lan resources, it needs to determine which lan resources are exclusive and which are shared according to the obtained ledger. Furthermore, when the Lane hub determines that the shared Lane resources need to be allocated, the Lane resources which are finally allocated need to be determined according to the acquired use condition of the shared Lane resources broadcasted by other electronic devices, so as to avoid affecting the communication process of the two parties.
Optionally, during the process of allocating the land resources, the land hub allocates the exclusive land resources preferentially, and then allocates the shared land resources. The allocation manner of the shared Lane resources may be a shared negotiation allocation mode, for example, lane hub of the related electronic device may negotiate to allocate Lane resources, or the allocation mode is configured as a first-come mode. Or, the Lane hub allocates Lane resources according to the service requirements. Optionally, the reference parameters of the lane resource allocation include bandwidth, reliability, interference, and the like. The Lane hub preferentially allocates Lane resources with high bandwidth, high reliability and small interference for the service. If the interference of the wired communication mode is low and the reliability is high, when the allocatable land resources are determined to comprise the land resources corresponding to the wired communication mode, the land resources corresponding to the wired communication mode can be allocated for the service preferentially.
For example, the application program requests to transmit the screen-throwing data, the demand of the screen-throwing service is large bandwidth, the bandwidth of the exclusive land resource is high, then the exclusive land resource is preferentially allocated, and the shared land resource is reallocated under the condition that the exclusive land resource is occupied. The Lane hub may allocate Lane resources for the screen-throwing service according to the Lane resource allocation priority shown in the following Table 1, preferably allocating Lane resources with the previous priority (wherein, the order of allocation priority is 1-2-3), assuming that the Lane resources managed by the Lane hub include Lane resources shown in the following Table 1. Optionally, in the process of allocating the land resources, the land hub may also allocate the land resources with reference to the land resource usage condition of the received ledger record.
As shown in table 1 below, it is assumed that the exclusive lane resources include a lane resource corresponding to the USB communication scheme, a lane resource corresponding to the ETH communication scheme, a lane resource corresponding to the Wi-Fi P2P communication scheme, and a lane resource corresponding to the STA-AP-STa communication scheme. The USB communication method and the ETH communication method are wired communication methods, and have lower interference, so the lane hub determines the allocation priority of the lane resources corresponding to the two communication methods as "1", that is, allocates the two lane resources most preferentially. In addition, the Wi-Fi P2P communication mode is an end-to-end communication mode, and in the STA-AP-STa communication mode, the STa device and another STa device need to communicate through the transfer of the aP device. Then, the STA-AP-STa communication scheme has a longer transmission path, which may increase the possibility of communication failure. Therefore, the lane hub determines that the allocation priority of the lane resource corresponding to the Wi-Fi P2P communication scheme is earlier than the allocation priority of the lane resource corresponding to the STA-AP-STa communication scheme, and the allocation priorities of the two communication schemes are determined as "2" and "3", respectively.
The shared Lane resources are assumed to comprise Lane resources corresponding to the Wi-Fi P2P communication mode and Lane resources corresponding to the STA-AP-STA communication mode. Then, the lane hub may determine that the allocation priority of the lane resource corresponding to the Wi-Fi P2P communication scheme is "1", and the allocation priority of the lane resource corresponding to the STA-AP-STa communication scheme is "2".
TABLE 1
Figure BDA0003417662050000201
Note that, in table 1, the same-priority Lane resources are allocated, and Lane hub can randomly allocate the Lane resources therein; or allocating the previously used Lane resources according to the history use record; or prompting the user to select the Lane resource therein, and determining the finally used Lane resource according to the user selection; or, simultaneously selecting a plurality of Lane resources with the same allocation priority to jointly bear the service; or, the user configures a use scheme of the Lane resources in advance, and determines the used Lane resources according to the use scheme of the user, for example, the allocation priorities of Lane 1 and Lane 2 are the same, but the use sequence of Lane 1 in the use scheme of the user is earlier than the use sequence of Lane 2, so that Lane hub can select Lane 1 to bear the business; or, the user or the developer pre-configures the allocation rule, and the Lane hub determines the allocated Lane resources according to the pre-configured allocation rule under the condition that the allocation priorities of the Lane resources are the same; alternatively, the user sets a preferred Lane resource (or sets a preferred communication mode, and the Lane hub may determine a corresponding Lane resource), and when it is determined that there are a plurality of Lane resources with the same allocation priority, the Lane hub may allocate the preferred Lane resource set by the user to the service use.
Further, table 1 above is only for illustrative purposes of illustrating the order in which the allocation priorities may exist for the exclusive and shared lane resources, and is not used to limit the kinds of the exclusive and shared lane resources, and is not used to limit the order in which the priorities are allocated.
For another example, the gallery application requests to transmit data, where the transmission service needs to be bandwidth flexible, e.g., the thumbnail is transmitted with a small bandwidth and the large map is transmitted with a large bandwidth. The Lane hub may allocate Lane resources for the transmission traffic according to the Lane resource allocation priority shown in Table 2 below, assuming that the Lane resources managed by the Lane hub include Lane resources shown in Table 2 below. Wherein the order of assigning priorities is 1-2-3. Optionally, during the allocation process, the land hub may also perform land resource allocation with reference to the land resource usage condition of the received ledger record.
As shown in table 2 below, it is assumed that the exclusive lane resources include a lane resource corresponding to the USB communication scheme, a lane resource corresponding to the ETH communication scheme, and a lane resource corresponding to the BR bluetooth communication scheme. Since the USB communication system and the ETH communication system are wired communication systems and have lower interference, the lane hub determines the allocation priority of the lane resources corresponding to the two communication systems as "1". The bandwidth of the BR bluetooth communication is also high, so the lane hub also determines the allocation priority of the lane resource corresponding to the BR bluetooth communication to be "1".
The shared Lane resources are assumed to comprise Lane resources corresponding to the BR Bluetooth communication mode, lane resources corresponding to the Wi-Fi P2P communication mode and Lane resources corresponding to the STA-AP-STA communication mode. The BR Bluetooth communication and Wi-Fi P2P communication modes are end-to-end communication. Therefore, the lane hub determines that the allocation priority of the lane resource corresponding to the BR bluetooth communication scheme and the lane resource corresponding to the Wi-Fi P2P communication scheme is "1", and determines that the allocation priority of the lane resource corresponding to the Wi-Fi P2P communication scheme having a longer transmission path is "2".
TABLE 2
Figure BDA0003417662050000211
Note that, in the table 2, the same-priority Lane resources are allocated, and Lane hub can randomly allocate the Lane resources therein; or allocating the previously used Lane resources according to the history use record; or prompting the user to select the Lane resource therein, and determining the finally used Lane resource according to the user selection; or, simultaneously selecting a plurality of Lane resources with the same allocation priority to jointly bear the service; or, the user configures a use scheme of the Lane resources in advance, and determines the used Lane resources according to the use scheme of the user, for example, the allocation priorities of Lane 1 and Lane 2 are the same, but the use sequence of Lane 1 in the use scheme of the user is earlier than the use sequence of Lane 2, so that Lane hub can select Lane 1 to bear the business; or, the user or the developer pre-configures the allocation rule, and the Lane hub determines the allocated Lane resources according to the pre-configured allocation rule under the condition that the allocation priorities of the Lane resources are the same; alternatively, the user sets a preferred Lane resource (or sets a preferred communication mode, and the Lane hub may determine a corresponding Lane resource), and when it is determined that there are a plurality of Lane resources with the same allocation priority, the Lane hub may allocate the preferred Lane resource set by the user to the service use.
Further, table 2 above is merely illustrative of the order in which the allocation priorities may exist for the exclusive and shared lane resources, and is not used to limit the kinds of the exclusive and shared lane resources, and is not used to limit the order in which the priorities may be allocated.
In some embodiments, the lane hub maintains two ledgers, one of which is used to record the usage of local lane resources; the other ledger is used to record the use of the land resources in the land net (e.g., public ledgers). After the local land resource use condition is updated, the local ledger is updated and the public ledger is updated, and then the public ledger is broadcasted. After receiving the broadcast, other Lane hubs in the Lane net can synchronize the public ledgers, and the relevant content of the local ledgers is combined and updated, so that the same public ledgers can be stored in each Lane hub in the Lane net, namely, each Lane hub can synchronize the actual use condition of the Lane resources in the Lane net. For example, the local ledger in the lane hub records the use condition of the lane 1 managed by the local ledger, and after the public ledgers broadcasted by other lane hubs are obtained, the record of the use condition of the lane 1 by other lane hubs is determined, and then whether the local ledger needs to be modified is determined. If so, synchronizing the modification information to the public ledger for synchronization of other Lane hubs.
Or, the land hub only maintains one account book, after the account book is updated, the updated account book is directly broadcasted, and after other land hubs acquire the broadcast account book, the corresponding land resource use conditions in the local account book are synchronized, so that the synchronization of the land resource use conditions in the land net can be ensured. Or, the Lane hub maintains an account book and an update record, after updating the local account book, the Lane hub correspondingly generates and broadcasts the update record, and other Lane hubs synchronize the local account book according to the update record, so that the synchronization of the use condition of Lane resources in the Lane net can be ensured.
In some embodiments, the synchronization of the lane hub ledger is divided into strong and weak synchronization. Optionally, the land hub may determine, according to the service type carried by the land resource, whether the manner of synchronizing the ledger is strong synchronization or weak synchronization.
Illustratively, some services require maintaining long-term communications, or large amounts of data, or require maintaining low-interference transmissions, etc. Therefore, after allocating the Lane resources for such services, the Lane hub needs to synchronize the usage of the allocated Lane resources to other Lane hubs in the Lane net, so that the other Lane hubs avoid interfering with the Lane resources in the process of allocating the Lane resources. And then, after the land hub allocates the land resources, updating the use condition of the land resources in the account book, and broadcasting the updated account book, so that other land hubs in the land net can determine the use condition of the updated land resources to synchronously update the local account books of the land hubs, and the process of avoiding the land resource allocation conflict problem caused by update lag is a strong synchronization process. For example, the application a requests the land resource for transmitting the screen-throwing data, the land hub allocates the land 1 for the application a to use, after updating the service condition of the land 1 recorded by the local ledger, strong synchronization can be selected, and the updated ledger is broadcasted, so that other land hubs are prevented from preempting the land 1, and the transmission of the screen-throwing data of the application a is prevented from being affected. Therefore, the screen throwing quality of the application A is not influenced in the longer screen throwing process.
Also, as an example, after some temporary preempting the used Lane resources and local updating of the Lane resources, the Lane hub applies and releases the Lane resources in a short time, and then the Lane hub updates the use of the Lane resources to a previous state or directly cancels the previous update, and if each update is broadcast-synchronized, the power consumption will increase. Therefore, the preset period can be set, the account book broadcasting is carried out according to the preset period, and unnecessary power consumption is not increased due to repeated synchronization while the timeliness and the credibility of the account book synchronization are ensured. The process of synchronizing the ledger according to the preset period is a weak synchronization process. For example, when the application B needs to transmit a photo, the lane hub determines the size of data to be transmitted, and after allocating a lane resource, determines that the required length of the transmission process is lower than a preset threshold (for example, lower than 3 minutes), it may be unnecessary to synchronize the usage of the lane resource temporarily, but it may be necessary to synchronize the ledger directly at the subsequent time when the ledger needs to be synchronized according to a preset period.
In some embodiments, the land hub may sign-encrypt the ledger before broadcasting to increase the trustworthiness of the ledger. Correspondingly, after receiving the broadcast account, other Lane hub in the Lane net confirms the signature, acquires corresponding synchronous data and updates the local account.
Alternatively, the ledger may be implemented in a blockchain, linked list, or the like. The block chain is a chain type data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and the data structure is guaranteed to be not tampered and not forged through a cryptography principle. In order to ensure consistency of the blockchain ledgers, after the local land resource use conditions of each land hub in the land net are changed, synchronizing the land resource use conditions of the public ledgers in a strong synchronization or weak synchronization mode. The linked list is a discontinuous, non-sequential storage structure on physical storage units. The linked list does not store data in a linear order, but rather, a pointer to the next node is stored in each node. In the embodiment of the application, after the use condition of the land resources of each land hub in the land net changes, the land hub needs to be correspondingly recorded in the linked list of the public account book, so that the storage space occupied by the linked list is larger, the linked list needs to be cut, and the difficulty of occupying the storage space and synchronizing is reduced.
For example, a cutting period of the linked list is set, and the linked list content is cleared according to the cutting period. If the cutting period is set to be 24 hours, the Lane hub empties the locally stored public account book according to the period of 24 hours, so that the occupation of the storage space is reduced.
For another example, a link list storage threshold is set, and when the storage threshold is exceeded, the lane hub deletes the link list. For example, during a certain period of time, the Lane resources in the Lane net are frequently used, so that when the clipping period is not reached, the occupation of the public ledger memory space reaches the memory threshold. Then, the Lane hub also needs to empty the locally stored public ledger, reducing the occupation of storage space.
In some implementations, a central node is provided in the communication network, the central node being configured to categorize the Lane resources in the communication network. For example, the Lane resources are classified according to the service types, and in the process of allocating the Lane resources, lanehub in the subsequent electronic equipment allocates the Lane resources with the matched Lane resource types and the service types to the corresponding application programs for use. For example, the classification result of the type of the land resource includes at least one of a high bandwidth land resource, a high bandwidth low latency land resource, a low latency high reliability land resource, and the like. Such as a high bandwidth lane resource, can provide higher bandwidth for transmitting data for high bandwidth traffic with higher bandwidth requirements. If the lanehub determines that the requested service type is high bandwidth service and that the lan 1 is a high bandwidth lan resource, then the lanehub may allocate the lan 1 to use by the application corresponding to the requested high bandwidth service. Wherein each class of Lane resources contains one or more Lanes. It will be appreciated that the type of land resources may also include other classification results, such as low latency land resources, high reliability land resources, etc.
Optionally, the central node is, for example, an electronic device capable of maintaining communication in a communication network, or an electronic device with a relatively high computing capability, or a non-battery device (i.e., a device capable of ensuring a working time duration), or the like. The devices in the communication network interact with information to elect one device satisfying some or all of the above conditions as a central node. For example, the central node is a router. Alternatively, if the central node is powered down, devices in the communication network can again elect the central node for the classification of the lane resources. The election method of the communication network center node may refer to the prior art, and embodiments of the present application are not specifically limited.
The central node in the communication network can receive data broadcast or reported by each electronic device in the communication network, determine the number of the lanes and the communication modes in the communication network, and initialize the lane classification result. For example, the central node directly defines Lane1-Lane10 as a high bandwidth Lane resource, lane11-Lane20 as a high bandwidth low latency Lane resource, and so on. For another example, the central node divides the Lane resources according to the channel capacity corresponding to the communication mode. If the bandwidth of the channel of the Wi-Fi 5G communication mode is high, the central node defines the Lane resource in the Wi-Fi 5G communication mode as a high-bandwidth Lane resource. Because the initialized Lane classification result is not necessarily the optimal classification result, the classification result can be adjusted according to the communication condition in the communication process of the electronic equipment in the communication network by the subsequent center node.
Specifically, a central node in the communication network acquires account books of all electronic devices in the communication network, and can determine the situation of all Lane resources in the communication network. And then, the central node performs quality analysis on the land resources, and adjusts partial or all classification results in the initial classification results of the land resources according to the quality analysis results to obtain final classification results of the land resources. For example, assume that the central node determines, in the initialization process, a lane1 corresponding to 1 channel in the Wi-Fi 5G communication manner as a high bandwidth lane resource, and the electronic device a and the electronic device B are respectively located in two adjacent rooms, and need to perform high bandwidth service communication by using a partition wall. In the process of monitoring the use condition of the land resources in the communication network, the central node determines that the quality of high-bandwidth service transmission of the electronic equipment A and the electronic equipment B through the land 1 is poor, so that the land 1 can be adjusted to be of the land of other land resource types. And then broadcasting a land resource classification result by the central node, and adding the land resource classification result to the labels of the respective lands by the land hub after the electronic equipment receives the land resource classification result, and distinguishing the respective lands by the subsequent land hub according to the label identification.
The central node adjusts the classification result of the lane resource according to the preset time. For example, the central node adjusts the classification result of the Lane resources according to the condition of monitoring the Lane resources in the early morning time period when the data transmission requirement of the electronic equipment is less. For another example, the central node determines that the classification result of one or more lanes needs to be adjusted, and adjusts the classification result of the portion of lanes when the portion of lanes does not transmit data.
In other embodiments, where there is no central node in the communication network, then blockchain techniques may be employed to determine electronic devices for classifying and adjusting the classification of the Lane resources.
For example, in the blockchain technology, in order to ensure consistency of the land resource classification result, each electronic device strives for the land resource classification rights with its computing power, that is, a winner competing according to a predetermined rule obtains rights to determine the land resource classification, and other electronic devices synchronize the determined land resource classification result. In addition, when the classification of the Lane resources needs to be adjusted, the electronic equipment for adjusting the classification of the Lane resources can be determined in a competing way through the block chain technology; alternatively, the adjustment of the lane resource classification is performed directly by the device that determines the result of the lane resource classification.
Thus, the method determines the classification of the Lane resources through the blockchain technology, ensures that the Lane resources in the Lane net have uniform Lane resource classification results for each Lane net, and ensures the consistency of standards. And, prevent other electronic equipment from falsifying the classification result of Lane resources.
It should be noted that, by competing with the blockchain technology for the algorithm applied in the electronic device for classifying and adjusting the lane resource classification, and the competition process, reference may be made to the prior art, which is not specifically limited in the embodiments of the present application.
In some implementations, the lanehub in the electronic device provides a unified interface to the outside for an application in the electronic device to call. The interfaces comprise a lane resource allocation interface, a lane resource release interface, a lane resource signal quality detection interface and the like. And the lanehub allocates the lane resource for the application program through the lane resource allocation interface. After the application program finishes data transmission, the Lane resource is released through the Lane resource release interface, and the Lanehub can obtain the release condition of the Lane resource so as to adjust the Lane resource. And the lanehub detects the quality of the lane resource through a lane resource signal quality detection interface.
Illustratively, as shown in FIG. 4A, assume that device A, device B, and device C are devices in a communication network, such as an application in device A requires a call interface to send data to device B using a Lane resource. Then, the lanehub in the device a obtains a local ledger, in which local end land information of the land supported by the local end and opposite end land information obtained by receiving the broadcast message are recorded (e.g., information including the land supported by both the device a and the device B in the land information recorded by the device B and the land supported by both the device a and the device C in the land information recorded by the device C are obtained). And then, the lanehub determines the corresponding lane resource according to the service type requested by the application program, and allocates the lane resource for the application program through a lane resource allocation interface according to the local-end lane information and the opposite-end lane information recorded in the account book. Or, two accounts are stored in the device a, including a local account and a public account for recording the use condition of the self-supported land resource.
When allocating the land resources for the data to be transmitted, the device a may directly determine the land resources to be allocated finally according to the land resource conditions recorded in the public account book. Or, the device a refers to the latest land resource situation recorded in the local ledger and the land resource situation recorded in the public ledger to determine the finally allocated land resource. If the account book synchronization period of weak synchronization is not reached, and part of the land resource usage conditions are not synchronized to the public account book, the land resource conditions of the local account book record may be different from those of the public account book record, so that reference is required to the latest land resource conditions recorded in the local account book.
Illustratively, as shown in fig. 5A, a monitoring module 511, an allocation module 512, and an adjustment module 513 are included in a lanehub 51 in an electronic device. The monitoring module 511 is configured to monitor and analyze use of the Lane resources. As shown in table 3 below, the monitoring module 511 is capable of obtaining quality measurements (e.g., measured values of load, RSSI, SNR, etc. of the lane resources) of the measurement module 521 for the lane resources in the network driver 52 and recording and analyzing the quality measurements. For example, as shown in fig. 4A, the lane resources of the device a include 13 lane resources corresponding to Wi-Fi 2.4G communication, 30 lane resources corresponding to BR bluetooth communication, 78 lane resources corresponding to BLE communication, and 1 lane resource corresponding to USB communication, and the monitoring module 511 records quality measurement results of these lane resources.
TABLE 3 Table 3
Figure BDA0003417662050000251
Also exemplary, the application in device a applies for the Lane resources via a unified interface, such as a Lane resource allocation interface. And in the process of applying for the Lane resources, submitting the service type of applying for using the Lane resources and the number of the Lane requested. Then, as shown in fig. 5A, the allocation module 512 in the lanehub acquires the service type requested by the application program, determines the lane resource type corresponding to the service type, and further allocates the lane resource corresponding to the service type for the application program. If the service type is determined to be high-bandwidth service, one or more Lane supply application program calls contained in the high-bandwidth Lane resources are allocated according to the number of the requested Lanes, and the allocation situation of the Lane resources is recorded. The number of the allocated lanes is the same as the number of the lanes requested by the application program (i.e. the lanehub allocates a corresponding number of lanes according to the number of the lanes requested by the application program). The physical path corresponding to each lane to be allocated has different characteristics. Alternatively, in the process that the application program requests the land resource, only the service type of the land resource applied for use may be submitted. Then correspondingly, the lanehub allocates a default number of lane resources, such as a lane, to the application in the process of allocating the lane resources.
As shown in table 4 below, lane12 is assigned to the application corresponding to service 1, and the assignment is recorded.
TABLE 4 Table 4
Lane numbering …… Rating of Preferably Distributing traffic
1 …… 10 Not preferred NA
12 …… 90 Preferably Service 1
18 …… 100 Preferably Service 2
…… …… …… …… ……
In some embodiments, as shown in fig. 5A, the allocation module 512 in the lanehub may further obtain a quality measurement result of the lane resource monitored by the local monitoring module 511, and may rate the lane resource according to the quality measurement result. For example, the assignment module 512 determines the lane resource category based on the lane label, and then scores the lanes in the different lane resource categories based on the lane resource quality measurement to determine the priority. If the better quality Lane resources in the same Lane resource category are allocated with higher priority. Then, in the process of allocating the land resources, after the land resources are matched with the class, the land resources with higher priority are allocated preferentially, and the land resources with lower priority are not allocated temporarily.
For example, as shown in table 4 above, assume that Lane1, lane12 and Lane18 are Lane of the same Lane resource class, where Lane1 quality measurements are poor. As shown in fig. 5A, the allocation module 512 in the lanehub sets lane1 to a lower priority (e.g., rated 10) in the lane resource category, and determines to be a non-preferred lane resource. Subsequently, when determining that the service type corresponds to the resource request of the lane resource category, the allocation module 512 may not allocate the lane1 to the application program requesting the lane resource, so as to avoid the failure of service execution caused by poor quality of the lane resource.
For another example, the electronic device may also obtain a ledger broadcast by other electronic devices in the communication network, including quality measurement scores of the other electronic devices for the Lane resources. And the lanehub synthesizes the scores of the lane resources monitored by the local end according to the scores of the self-supported lane resources recorded in the obtained broadcast account book, obtains the comprehensive scores of the lane resources, and allocates the lane resources according to the comprehensive scores. Or, the electronic device does not score the land resource alone, but determines the rating score of the land resource after comprehensive evaluation according to the quality measurement result monitored by the local terminal and the quality measurement result in the acquired broadcast account book, and then records the rating score in the table 4.
Illustratively, as shown in interface 101 (a) in fig. 1, after the electronic device detects an operation of a user to share a picture in the gallery application (such as clicking on control 11), an interface 601 (a) in fig. 6 is displayed, so as to determine a picture selected by the user and a manner of sending the picture. With respect to the interface 102 shown in fig. 1 (b), the user may not need to select a specific communication mode from multiple communication modes supported by the electronic device, and after detecting that the user clicks the sharing control 61, the electronic device determines that the user needs to send a photo to the opposite device, and may display an interface 602 shown in fig. 6 (b) to prompt the user to confirm the sent device. If a user click on device B control 62 is detected, it is determined that the user-selected photograph needs to be sent to device B.
Then, the gallery application in the electronic device may send a photo sending request to the lanehub, and the photo sending request carries the service type sent by the request. And the lanehub can determine the lane resource according to the service type, if the photo data volume to be sent is large, and the gallery application determines that the corresponding service type is high-bandwidth service, then the lanehub matches the corresponding high-bandwidth lane resource according to the high-bandwidth service. Then, assuming that the number of the lanes requested by the gallery application is 1, the lanehub allocates the highest-scoring lane in the high-bandwidth lane resources according to the number of the requested lanes. It is assumed that the high bandwidth lane resources include lane1-lane10. For example, the highest scoring lane is lane1, and lane1 may be assigned to the gallery application for transmitting the user selected photograph to device B. For another example, the lanehub determines that the lane with the highest score at the local end is lane1, but determines that the score of the device B on the lane1 is lower (for example, lower than a preset threshold value) according to the opposite-end lane information of the device B, then sequentially determines that the score of the second lane at the local end meets the requirement (for example, is greater than or equal to the preset threshold value) if the score of the second lane at the local end is determined, and the second lane can be allocated to the gallery application for transmitting the photo selected by the user to the device B. Namely, the lanehub determines the comprehensive score of the electronic equipment at the two ends for the corresponding lane resources according to the local account book and the opposite account book, and allocates the optimal lane resources for the application program.
Thus, the user can realize data transmission through simple operation. In the data transmission process, the electronic equipment can automatically determine the land resources of the application, so that the operation difficulty of a user is reduced, the data transmission quality is improved, and the use experience of the user is improved.
In some embodiments, the method provided in the embodiments of the present application may also be applied to a process of establishing a connection between electronic devices. For example, assume that a user wants to establish a communication connection between electronic device a and electronic device B. In the prior art, after a user needs to select a specific application communication mode in a setting menu of an electronic device a, the electronic device a can establish communication connection with the electronic device B according to the communication mode selected by the user, and in the process of selecting the communication mode, the user operation is relatively complex. By the method provided by the embodiment of the application, the user only needs to instruct the electronic equipment A to establish connection with the electronic equipment B, the electronic equipment A can automatically select the land resources (such as determining the free land resources with better quality according to the use information of the land resources in the communication network) for establishing communication connection with the electronic equipment B according to the user operation, so that the user operation difficulty is effectively reduced, and the user experience is improved.
For example, assume that a user needs to establish a communication connection between electronic device a and electronic device B during operation of electronic device a. In the prior art, as shown in interface 701 (a) in fig. 7, electronic device a displays supported multiple communication modes (such as Wi-Fi, bluetooth, mobile network, and other communication modes supported by corresponding electronic device a in more connections), and the user needs to select a desired communication mode. The user needs to determine the communication mode supported by the electronic equipment B by himself, and select among various communication modes, so that the operation difficulty is high. In contrast, as shown in interface 702 (B) of fig. 7, based on the communication method provided in the embodiment of the present application, electronic device a may only display a control (such as connection control 71) for establishing a connection, and after detecting an operation of clicking connection control 71 by a user, electronic device a may display interface 602 shown in (B) of fig. 6, for prompting the user to select an electronic device that needs to establish a communication connection, for example, detecting an operation of clicking control 62 by the user, to determine that a connection needs to be established with device B (i.e., electronic device B). Therefore, after the electronic equipment A determines that the user needs the electronic equipment A to establish communication connection with the electronic equipment B, the electronic equipment A can automatically determine the land resources for communication, and the user does not need to select a communication mode any more, so that the operation difficulty of the user is effectively reduced.
In other embodiments, the electronic device may further group communication methods supported by the electronic device, and the user may select a different group of communication methods to communicate based on the grouping result. For example, it is assumed that communication schemes are divided into a wired communication scheme and a wireless communication scheme. In the scenario shown in fig. 7, the electronic device a may display both wired and wireless connection options for selection by the user. If the electronic device a detects the operation of selecting the wireless connection option by the user, automatically determining a target land resource in the land resources corresponding to the wireless connection, and establishing communication connection with the electronic device B through the target land resource.
Thus, the method carries out grouping management on the land resources and improves management efficiency. And, the user can select corresponding group according to the demand, promotes user's use experience.
In some embodiments, the lanehub provides a unified call of the interface supply application program, but the data transmission interfaces of different communication modes between the devices are different, and after determining the lane resource allocated to the application program, the electronic device determines the corresponding transmission mode according to the lane label, and then determines whether to establish a communication connection corresponding to the communication mode corresponding to the allocated lane resource with the opposite terminal device. If not, the data can be sent after the communication connection is established; if a communication connection is established, data may be sent directly over the established communication connection.
For example, corresponding to the scenario shown in fig. 6, it is assumed that the lane resource allocated to the gallery application by the lanehub is lane1, and the communication mode corresponding to lane1 is BLE communication. After obtaining the allocated land resources, the gallery application requests to send the photo selected by the user to a communication module in the electronic equipment, and the communication module determines that the communication mode corresponding to the land 1 is BLE communication according to the tag of the land 1. And, according to the operation of the user on the interface 602 as shown in fig. 6 (B), it is determined that the opposite device is device B. The communication module then determines whether the electronic device establishes a bluetooth connection with device B. If the Bluetooth connection is not established, a Bluetooth connection establishment request may be sent to device B to establish the Bluetooth connection. The gallery application then sends the user selected photograph to device B over Lane1 based on the Bluetooth connection. If the communication module determines that the electronic device and the device B have established Bluetooth connection, the gallery application directly sends the photo selected by the user to the device B through the Lane 1.
In some embodiments, the electronic device may further determine a priority of the communication modes supported by the electronic device according to the user operation. For example, the user sets priority to transmit data using bluetooth. And then, in the process of selecting the Lanehub resources, according to the user setting, preferentially selecting the Lane resources with the highest grading scores in the Lane of the Bluetooth communication mode to be allocated to the application program for use.
In some embodiments, the land resources allocated by the land hub according to the service type and the requested number of the lands may be land resources corresponding to one physical characteristic (for example, only one land is allocated), or may be land resources corresponding to multiple physical characteristics (for example, multiple lands are allocated), where the number of the physical characteristics is equal to the requested number of the lands. Wherein the plurality of physical characteristics may correspond to the same or different communication modes. For example, in a DBDC scenario, both Wi-Fi physical paths may correspond to Wi-Fi 2.4G communication modes; or, one Wi-Fi physical path corresponds to a Wi-Fi 2.4G communication mode, and the other Wi-Fi physical path corresponds to a Wi-Fi 5G communication mode.
Illustratively, the number of lanes requested by the application is 2, the service type is high bandwidth service, and the lanehub may select lanes corresponding to two different physical characteristics from the lane resources of the high bandwidth service and allocate the lanes to the application. The number of the lanes included in the high-bandwidth lane resource in the lane resource may be one or more. If the number of the lanes included in the high-bandwidth lane resources is smaller than two, the lane hub determines that the current number of the lanes does not meet the requirements of the application program, cannot allocate the lanes, and can send a lane resource application failure response to the application program. Optionally, the Lane resource application failure response may also carry a failure reason, and the application program determines whether to apply for a smaller number of Lane resources or apply for Lane resources of other service types according to the failure reason. If the number of the lanes included in the high-bandwidth lane resources is greater than or equal to two, determining that the number of the current lanes meets the requirements of the application program by the lanehub, obtaining the rating scores of all the high-bandwidth lanes as shown in the table 4, sequencing the high-bandwidth lanes according to the rating scores from high to low, obtaining two lanes which are sequenced in front and have different physical characteristics according to the comprehensive rating scores of the electronic devices at the two ends, and distributing the two lanes to the application program.
For example, assume that the service type requested by the application is a high bandwidth service, and the number of lanes requested is 2; the high bandwidth Lane resources managed by the Lanehub include Lane resources of Wi-Fi 2.4G communication mode, lane resources of Wi-Fi 5G communication mode, and Lane resources of BLE communication mode, and each communication mode corresponds to one physical characteristic. Then, according to the comprehensive rating scores of the electronic devices at the two ends, selecting a lane with the highest rating score from the high-bandwidth lane resources of the Wi-Fi 2.4G communication mode, selecting a lane with the highest rating score from the high-bandwidth lane resources of the Wi-Fi 5G communication mode, and selecting a lane with the highest rating score from the high-bandwidth lane resources of the BLE communication mode. And then, sorting the three lanes with the highest rating scores according to the rating scores, selecting two lanes with the highest rating scores, and distributing the two lanes to the application program.
In some embodiments, a lane number determination rule that determines the number of lanes requested is preconfigured in the application, and a usage rule for each lane in the case where the allocated lane resources include multiple lanes. For example, the lane number determination rule includes determining the number of lanes to be requested according to the size of the data to be transmitted. If the data to be transmitted is a large file with the data volume exceeding a preset threshold, the application program determines to request two lanes according to the lane number determining rule. For another example, the usage rules of the multiple allocated lanes include dividing the data to be transmitted equally, each lane carries the corresponding data to be transmitted, and the application program transmits the data in parallel through the multiple lanes. The allocated lane resources include one lane of Wi-Fi 5G communication and one lane of BLE communication as determined by the application. The application program can divide the data to be transmitted evenly, and in the process of transmitting half of the data through one lane of the Wi-Fi 5G communication mode, the other half of the data is transmitted through one lane of the BLE communication mode. Or dividing the proportion of the transmitted data to be transmitted according to the communication mode corresponding to the lane. The proportion may be a proportion preconfigured in the application by the developer, or may also be a user-defined transmission proportion, or may also be a proportion determined according to the communication quality of the lane, or may be a proportion determined by other means. The allocated lane resources include one lane of Wi-Fi 5G communication and one lane of BLE communication as determined by the application. The application program can divide the data to be transmitted into 3 parts, and in the process of transmitting two thirds of data through one lane of the Wi-Fi 5G communication mode, the rest one third of data is transmitted through one lane of the BLE communication mode.
Accordingly, assuming that the number of the lanes used for transmitting the data is multiple, the opposite-end electronic device splices the received data after receiving the data through the multiple lanes, and obtains complete transmission data. The method for data stitching may refer to the prior art, and embodiments of the present application are not limited in this regard.
In other embodiments, the allocated land resources include multiple lands, and the communication module or the management module in the electronic device may segment and splice the transmitted data. For example, application a in electronic device a sends data to application B in electronic device B. And the application A sends the data to be transmitted to a communication module in the electronic equipment A, and the communication module segments the data according to the amount of the Lane resources allocated by the Lane hub in the electronic equipment A and transmits the data. Correspondingly, after receiving the data, the communication module in the electronic equipment B splices the data and sends the spliced data to the application B.
In some embodiments, as described above, the lane hub may allocate multiple lanes for the same service in the frequency domain through statistical multiplexing in a counting manner, so as to improve transmission efficiency. In addition, the lane hub can also carry out statistical multiplexing according to the bandwidth in a time domain angle, and a lane is allocated to bear a plurality of services. For example, a plurality of businesses use the same one lane according to the time sequence. For example, a higher priority service is required to use a lane preferentially by a time limit, and a lower priority service is required to use a lane later by a time limit. Therefore, the completion of the service is not affected, the interference problem caused by the simultaneous execution of a plurality of services is not caused, and the transmission quality of the application is improved.
In some embodiments, the lanehub maintains a ledger that records the lane resources of the electronic device. For example, the lanehub maintains an account book through the monitoring module 511 and the allocation module 512 shown in fig. 5A, and contents recorded in the account book include contents recorded in the home end as shown in table 3 and table 4 above and contents corresponding to target land recorded in other electronic devices in the communication network received through broadcasting as shown in table 3 and table 4 above. The target lane is a lane corresponding to a communication mode supported by the electronic equipment.
In some embodiments, after the lanehub allocates the lane resource to the application program, the lane resource usage condition is monitored, and when the communication quality is detected to be poor, the lane resource can be adjusted to meet the data transmission requirement of the application program (for example, the packet loss rate is smaller than a preset threshold value, etc.). Wherein, the adjustment of the Lane resources comprises Lane resource parameter adjustment, lane resource switching and the like. In the data transmission process, the Lane hub can adjust Lane resources once or more times, so that the transmission quality is ensured.
Illustratively, as shown in FIG. 5B, the Lane hub allocates Lane resources to the application at dispatch point 1 according to the application's request by allocation module 512 shown in FIG. 5A. The lanehub then collects information of the data transmission quality measured by the measurement module 521 in the network drive 52 in the transmission process through the monitoring module 511 shown in fig. 5A. For example, as shown in fig. 5B, assume that a network transmission protocol applied in a data transmission process is a transmission control protocol (transmission control protocol, TCP)/network protocol (pnternet protocol, IP), and in the TCP/IP protocol, the network transmission process includes a 4-layer network protocol transmission as shown in fig. 5B, such as an application layer, a transmission layer, a network layer, and a physical link layer. The specific protocol content corresponding to each layer may refer to the prior art, and will not be described herein. The monitoring module 511 can obtain information such as quality of experience (quality of experience, qoE) information, protocol load information, network card load information, physical channel QoE information, etc. of the application through information collection. The lanehub then analyzes the lane resource usage based on the collected information by the allocation module 512 shown in fig. 5A to determine whether a lane resource adjustment is needed.
Also exemplary, as shown in FIG. 5B, during the analysis of the utilization of the Lane resources, the allocation module 512 may analyze the utilization of the Lane resources from a time domain perspective, a quality perspective, a decision and an execution perspective.
For example, the lane resources are divided based on the frequency domain angle and with the channel as granularity, so that a time-sharing strategy can be adopted to allow different transmission tasks to time-share and call the same lane resources according to the time sequence. Such as the allocation module 512 allocates the lane resources through a Wi-Fi hierarchical clock technique, a BR bluetooth hierarchical clock technique, or the like. Then, the monitoring module 511 needs to monitor the usage of the land resources from the time domain, and the allocation module 512 needs to determine whether to adjust the allocation of the land resources from the time domain.
For another example, the allocation module 512 can obtain quality measurements as shown in table 3 above, perform quality of service (quality of service, qoS) analysis on the lane resources, determine whether adjustment of QoS policies (e.g., adjustment of QoS criteria for evaluating the lane resources, etc.) is required, and analyze the usage of the lane net.
For another example, the allocation scheduling condition of the Lane resources is monitored, for example, the Lane resource scheduling condition of each Lane hub in the Lane net is monitored, and whether the use of the Lane resources of the current application is affected is confirmed. For example, qoS collaboration can be realized, decision adjustment such as including service speed limiting, avoiding and the like is performed on low-priority service, so that long-time service (such as screen throwing service and the like) cannot be influenced by short-time service (such as picture sharing service and the like), or service with higher transmission quality requirement cannot be influenced by other service and the like.
Thereafter, as shown in fig. 5B, the lanehub determines whether it is necessary to reallocate the lan resources according to the analysis result of the use of the lan resources by means of the allocation module 512 shown in fig. 5A. In the scheduling process of the Lane resources, a plurality of scheduling points 2 can exist, namely, the allocated Lane resources can be adjusted for a plurality of times according to the actual use condition of the Lane resources, so that the communication experience of the application is ensured. The method and the system can dynamically switch the land resources, and can ensure that when part of the land resources are unavailable, the available land resources can be predicted and replaced in time to ensure the service duration.
It should be noted that, in conjunction with fig. 5A and 5B, the monitoring module 511 may update the local ledger information, such as updating the contents recorded in the above tables 3 and 4, simultaneously after collecting the information of the land resources in the land net. The allocation module 512 not only can adjust the lane resources according to the monitored lane resource information, but also can allocate the lane resources based on the latest lane resource usage situation in the subsequent lane resource allocation process, so as to effectively improve the communication quality.
Further, the hierarchical monitoring of the TPC/IP protocol illustrated in fig. 5B is merely an exemplary illustration. In an actual application scenario, the lane hub may also perform data transmission through other network protocols, and then the network layering results to be monitored may be the same or different, for example, a 7-layer network protocol, a 5-layer network protocol, etc., which are not limited in detail in this embodiment of the present application.
In some embodiments, the lanehub ensures the data transmission quality of the application program by adjusting the lane resource parameter.
Illustratively, as shown in fig. 5A, the monitoring module 511 in the lanehub monitors the usage of the lane resources allocated to the application by the allocation module 512, and for example, the monitoring module 511 acquires the quality measurement result of the measurement module 521 in the network driver 52 on the lane resources in real time. And, the monitoring module 511 can also obtain the account book broadcast by the opposite-end electronic device of the communication, and determine the quality measurement result of the self-supported Lane resource recorded therein. Thereafter, the adjustment module 513 is notified to adjust the use of the lane resource. For example, during the data transmission process of the device a and the device B through the lane1, the adjustment module 513 in the device a determines that the parameters of the lane1 need to be adjusted according to the quality measurement result of the lane resource, sends an adjustment instruction to the network driver 52, and after receiving the adjustment instruction, the network driver 52 adjusts the parameters of the lane1 through the execution module 522.
For example, in the process of sending the adjustment instruction by the adjustment module 513, the allocation module 512 allocates the latest lane resource of the communication mode with the same physical characteristics as the lane resource applied by the current application according to the quality measurement result of the lane resource, and then the execution module 522 instructs the application to use the newly allocated lane resource for data transmission after receiving the adjustment instruction. If the lane segmentation granularity is assumed to be the channel, the application program is instructed to switch the channel under the same communication mode for data transmission.
Illustratively, it is assumed that the Wi-Fi 2.4G communication mode includes a physical path, and that the lan allocated to the application is a lan in the Wi-Fi 2.4G communication mode. And when the lanehub monitors that the quality of the lane does not meet the data transmission requirement, grading scores of other lanes in the Wi-Fi 2.4G communication mode are obtained. If the highest-ranking Lane meets the data transmission requirement, the Lane with the highest ranking score can be allocated to the application program, and the application program is instructed to release the Lane with poor original quality. Alternatively, the application may choose whether to switch lanes.
For another example, the adjustment module 513 sends an adjustment indication to the execution module 522 for indicating to adjust the power of the lane resource. For example, assuming that the lane splitting granularity is channel, the greater the channel power of lane, the stronger the signal strength and the better the data transmission quality under the same other conditions. Then the lanehub sends a power adjustment indication to the execution module 522 to increase the signal strength and improve the data transmission quality when it is determined that a lane parameter adjustment is needed.
It should be noted that, the land resource in the partial communication manner cannot adjust the power, or the transmission quality cannot be improved after adjusting the power, and the land hub may determine whether to perform power adjustment or determine which parameters need to be adjusted according to the type of the communication manner. For example, in a USB wired communication manner, the data transmission quality cannot be improved by adjusting the channel power in a Wi-Fi communication manner.
Therefore, the use condition of the Lane resource is monitored, and when the Lane resource quality is poor, the Lane resource parameter can be adjusted, so that the application program can provide a better network transmission effect in the data transmission process. And further avoid the failure of data transmission caused by poor quality of the Lane resources.
It should be noted that, the above channel adjustment and power adjustment are only exemplary, and when the lanehub determines that the quality of the lane resource is poor, the lanehub may also adjust other lane resource parameters, so that the lane resource meets the data transmission requirement of the application program. And e, completing the adjustment of the Lane resource parameters in a communication slice adjustment mode.
In other embodiments, the lanehub switches through the lane resource, so as to ensure the data transmission quality of the application program. For example, after the Lanehub adjusts the Lane resource parameter, the quality of the Lane resource is still worse, and the data transmission requirement of the application program cannot be met, so that the transmission mode supported by the opposite terminal equipment of the data transmission can be determined according to the local terminal Lane information recorded in the local account book and the Lane label in the opposite terminal Lane information obtained by receiving the broadcast message, and the Lane resources of other transmission modes supported by the two electronic equipment are directly switched to perform the data transmission, so as to improve the transmission quality. For another example, when the quality of the Lanehub resource is poor, the Lanehub resource of other transmission modes supported by the two electronic devices is directly switched to perform data transmission according to the transmission mode supported by the opposite terminal device of the Lane label determination data transmission, so as to improve the transmission quality.
As shown in fig. 5A, the adjustment module 513 in the lanehub 51 determines that the measurement result of the quality of the lanehub monitored by the monitoring module 511 is still poor after the lanehub parameter is adjusted by the execution module 522, and may determine, according to the account book recorded in the lanehub 51 and the account book broadcasted by other electronic devices in the acquired communication network, a communication mode supported by an electronic device at the opposite end of the application program corresponding to the lanehub resource with poor quality according to the communication mode recorded in the lanehub tag, and further determine a lanehole resource condition of the communication mode identical to the communication mode supported by the electronic device at the opposite end. After that, the adjustment module 513 determines to improve the communication quality by adjusting the communication mode, and notifies the allocation module 512 to select the lane resource from the other communication modes supported by both the two electronic devices, and reallocates the lane resource with better quality. The adjustment module 513 obtains the allocated lane resources of the other communication modes with better quality, and instructs the execution module 522 in the network driver 52 to adjust the lane resources of the application program communication.
For example, assuming that the first electronic device and the second electronic device support a Wi-Fi 2.4G communication mode and a BR bluetooth communication mode, an application a in the first electronic device sends data to the second electronic device through a lane resource in the Wi-Fi 2.4G communication mode, and when data transmission is not completed, other electronic devices join a communication network including the first electronic device and the second electronic device through the Wi-Fi 2.4G communication mode, which results in a deterioration of a network environment of the Wi-Fi 2.4G communication mode, and does not meet requirements of the application a (for example, the data transmission needs to be completed within 1 hour). The lanehub in the first electronic device monitors the use condition of the lanehub resource, determines that the quality of the current lanehole resource does not meet the data transmission requirement of the application A, and can determine other communication modes supported by the first electronic device and the second electronic device, such as BR Bluetooth communication modes, according to the lanehole label recorded in the account book. And then, the lanehub in the first electronic equipment determines that the lane resource of the BR Bluetooth communication mode meets the data transmission requirement of the application A, and allocates the lane resource of the BR Bluetooth communication mode for the application A to use, so that the data transmission quality is improved.
For another example, the communication network includes a plurality of electronic devices such as the electronic device 1, the electronic device 2, the electronic device 3, and the electronic device 4. Wherein, the service 1 is executed between the electronic device 1 and the electronic device 2, the service 2 is executed between the electronic device 1 and the electronic device 3, the service 3 is executed between the electronic device 3 and the electronic device 4, and the service 1, the service 2 and the service 3 are different data transmission services, for example. Let the lane hub in each electronic device allocate a lane resource for each corresponding service, e.g. the lane resource allocated for service 1 is lane 1, and the lane resource allocated for service 2 is lane 2. Then, in the procedure of the lane hub 3 in the electronic device 3 allocating the lane resource for the service 3, it is determined that the alternative lane resource is lane 1, but lane 1 is being used for carrying the service 1. The lane hub 3 determines that the priority of the service 1 is lower than the priority of the service 3, and may negotiate with the lane hub 1 in the electronic device 1 and/or the lane hub 2 in the electronic device 2, or directly preempt the lane 1, so that the service 1 switches to use other lane resources. If the final determination is that the land resource allocated for the service 3 is the land 1, and the land resource allocated for the service 1 is the land 4; alternatively, the lane resource allocated for service 1 is lane 2, and the lane resource is shared with service 2.
It should be noted that, after the lanehub determines to improve the data transmission quality by the method of switching the communication mode, how to select the lane resource in the communication mode after switching is described in the above embodiment, and the description thereof is omitted here.
Thus, the use condition of the land resource is monitored, and when the quality of the land resource is poor, the land resource in a communication mode supported by the electronic equipment at both ends of data transmission can be switched, so that an application program can provide a better network transmission effect in the data transmission process. And further avoid the failure of data transmission caused by poor quality of the Lane resources.
In addition, as described above, no matter the lanehub adjusts the lane resource parameters or switches the lane resource of the communication mode supported by the electronic devices at both ends of the data transmission, the electronic devices do not need to participate in the adjustment of the user in the process of meeting the data transmission requirement of the application program, so that the electronic devices can provide the optimal data transmission experience for the user under the condition that the user does not feel. For example, after the user selects to transmit the photo through the network transmission manner on the interface 602 as shown in fig. 6 (b), the electronic device may automatically select the optimal lane resource to transmit the photo, without performing other operations, so as to provide the user with an optimal photo transmission experience.
Furthermore, the electronic equipment performs unified planning on all network resources through the lanehub, so that the same-frequency interference is avoided. In addition, under the condition of the same-frequency interference, the same-frequency interference can be reduced through parameter adjustment; or, the same frequency interference is eliminated through the Lane resource switching.
In some embodiments, the lanehub monitors the use condition of the lane resource, and when determining that the better lane resource exists, the lane resource can be actively switched under the condition that the user does not feel, so that the network transmission quality is further improved.
For example, if the electronic devices in the communication network broadcast the ledgers according to the preset period (the preset periods corresponding to different electronic devices are the same or different), as shown in fig. 5A, the monitoring module 511 in the lanehub 51 can obtain the ledgers broadcast by other electronic devices, and in the process of monitoring the allocated lane resources, it is determined that other lane resources with better quality exist, and then the adjusting module 513 is notified to adjust the lane resources. Wherein, the communication mode of the adjusted land resource corresponding to the land resource before adjustment is the same or different.
It should be noted that the module division manner in the lanehub 51 and the network driver 52 shown in fig. 5A is only an exemplary illustration, and other module division manners may exist for implementing the above-mentioned lanehub and network driver functions. If the module segmentation is not performed on the lanehub 51 and the network driver 52, the corresponding functions in the above embodiments are directly implemented by the lanehub 51 and the network driver 52.
In some embodiments, after a lanehub receives a service request of a certain type of an application program for the first time, a corresponding lane resource is allocated to the lanehub. Then, after the subsequent lanehub receives the service request of the type sent by the application program, the previous allocated lanehub resource is directly allocated to the subsequent lanehub according to the history record. Therefore, the land resource allocation efficiency of the land hub can be improved, and the data transmission efficiency is improved.
Further, in the application program data transmission process, if the land hub adjusts the land resource corresponding to the service type service, the land resource usage record in the account book can be updated, and the adjusted land resource is recorded. Then, when the subsequent lanehub receives the lane resource request again, the lane resource is allocated according to the latest record.
In this way, the electronic device performs unified management and planning on the network resources, and cuts and schedules the network resources by using the lane as a unit, so as to realize comprehensive scheduling of the wired resources and the wireless resources, thereby the application program can not be limited by an independent interface of a communication mode. The developer can directly develop the application program according to the service type; the electronic equipment can directly allocate the corresponding Lane resources according to the service type requested by the application program; the user does not need to select a communication mode as shown in fig. 1, so that the operation difficulty of the user is reduced. And the electronic equipment can allocate the network resource with better quality for the application program according to the network environment, so that the network transmission quality is improved.
In addition, in the data transmission process, the electronic equipment can dynamically adjust the land resources directly through a parameter adjustment or a communication mode adjustment method under the condition that a user does not feel, so that the data transmission quality is ensured, and the user experience is improved.
Fig. 8 is a flowchart of a communication method according to an embodiment of the present application. As shown in fig. 8, the method includes S801 to S802.
S801, when the first electronic device determines that data needs to be sent to the second electronic device, determining a target lane for transmitting the data in the first lane, the second lane and the third lane.
In some embodiments, the first lane, the second lane, and the third lane are lanes supported by the first electronic device, the first lane corresponding to a first type of network path, the second lane corresponding to a first channel in a second type of network path, the third lane corresponding to a second channel in the second type of network path.
The first electronic device may select, when the first electronic device needs to send data, a lane resource for the current data transmission from the lane resources corresponding to all the communication modes supported by the local device. For example, assume that the first electronic device supports two communication modes, that is, a BLE communication mode and a Wi-Fi 2.4G communication mode, where the first type of network path is a network path of the BLE communication mode, and the second type of network path is a network path of the Wi-Fi 2.4G communication mode. Then, the first lane corresponds to 78 channels included in the BLE communication scheme, and the second and third lanes correspond to 78 channels included in the Wi-Fi 2.4G communication scheme.
It should be noted that the first type of network path and the second type of network path are used to represent different types of physical characteristic paths.
In some embodiments, when the first electronic device determines that data needs to be sent to the second electronic device, the first electronic device determines a service type corresponding to the data. And determining the target lane in the first lane, the second lane and the third lane according to the service type.
Exemplary traffic types include, for example, high bandwidth traffic, high bandwidth low latency, low bandwidth low latency traffic, low latency traffic with high reliability, and the like. The communication network comprising the first electronic device and the second electronic device may further comprise a central device (i.e. a central node), which may be the first electronic device, may be the second electronic device, or may be other devices in the communication network. The central equipment classifies the Lane resources according to the service types, and the subsequent electronic equipment distributes Lane resources with the Lane resource types matched with the service types to corresponding application programs for use in the process of distributing the Lane resources. For example, the classification result of the lane resources includes a high bandwidth lane resource, a high bandwidth low latency lane resource, a low bandwidth low latency lane resource, and a low latency high reliability lane resource.
In some embodiments, when the first electronic device determines that data needs to be sent to the second electronic device, before determining a target lane for transmitting the data in the first lane, the second lane, and the third lane, the first electronic device further needs to acquire first usage information of the first lane, the second lane, and the third lane recorded locally, and acquire second usage information of the first lane, the second lane, and the third lane broadcasted by a plurality of electronic devices in a communication network including the first electronic device. And the first electronic equipment determines the target lane according to the first use information, the second use information and the service type.
The account book for recording the use condition of the land is preset in the electronic equipment, wherein the account book comprises scores of the electronic equipment on the quality measurement result of the land resources. When the first electronic equipment needs to send data, acquiring a local account book and account books broadcast by other electronic equipment in a communication network. And the first electronic equipment synthesizes the scores of the Lane resources monitored by the local end according to the scores of the Lane resources supported by the first electronic equipment recorded in the obtained broadcast account book, obtains the comprehensive scores of the Lane resources, and then the first electronic equipment allocates the Lane resources according to the comprehensive scores. And if the first electronic equipment obtains a first number of target lanes with the previous scores and different types according to the scores, wherein the first number is the number of lanes required for transmitting data.
In other embodiments, the first electronic device locally stores a first ledger for recording usage information for the first, second, and third lanes, and a second ledger for recording usage information for all lanes in a communication system including the first electronic device. When the first electronic device determines that data needs to be sent to the second electronic device, before determining a target lane for transmitting the data in the first lane, the second lane and the third lane, the first electronic device needs to acquire first usage information of the first lane, the second lane and the third lane recorded in the first account book and acquire second usage information of the first lane, the second lane and the third lane recorded in the second account book. Then, the first electronic device may determine the target lane according to the first usage information, the second usage information, and the service type.
That is, two ledgers are stored in the electronic device, one ledger is used to record usage information of the land resources supported by itself, and the other ledger is a public ledger used to record usage information of all the land resources included in the communication system (land net). Wherein public account books stored in each electronic device in the communication system are synchronized. The electronic device may determine an optimal land resource based on the locally recorded usage information of the latest land and the usage information of the land recorded in the public ledger. Or the electronic equipment directly determines the optimal land resource according to the land use information recorded in the public account book.
In some embodiments, the first usage information or the second usage information includes one or more of the following: the number of times of use of the lane, the service type corresponding to the historical transmission data of the lane and the quality parameter information of the lane.
In some embodiments, the number of target lanes is one or more; wherein, in the case that the number of target lanes is plural, the plural target lanes are different types of channels; in the case where the number of target lanes is one, the target lane is transmitting the first data; alternatively, in the case where the number of target lanes is one, the target lanes are idle.
For example, the lane hub can allocate multiple lanes for the same service in the frequency domain through statistical multiplexing in a counting mode, so that the transmission efficiency is improved. Then the number of destination lanes may be one or more.
For another example, the lane hub may perform statistical multiplexing according to the bandwidth in a time domain, and allocate one lane to carry multiple services. For example, a plurality of businesses use the same one lane according to the time sequence. For example, a higher priority service is required to use a lane preferentially by a time limit, and a lower priority service is required to use a lane later by a time limit. Therefore, the completion of the service is not affected, the interference problem caused by the simultaneous execution of a plurality of services is not caused, and the transmission quality of the application is improved. Then, in the case that the priority of the data to be transmitted is lower, the lane hub may allocate, for this service, a lane in which other first data with higher priority is being transmitted, and after the transmission of the first data with higher priority is completed, the first electronic device may transmit the data through the target lane. Or, the priority of the data to be transmitted is higher, the target lane transmitting the first data can be preempted, the data to be transmitted is transmitted through the target lane, and then the first data is transmitted.
It will be appreciated that if there are free land resources and the free land resources meet the requirements for transmitting data to be transmitted, the land resources may be determined as target land. For example, the first electronic device has a lane resource corresponding to a wired transmission mode (such as a USB transmission mode), and is idle, and then it may be preferentially determined that the lane resource corresponding to the wired transmission is the target lane.
S802, the first electronic device sends data to the second electronic device through the target lane.
In some embodiments, the first electronic device monitors a usage of the target lane, and obtains third usage information of the target lane. And updating the use information of the locally recorded target lane into third use information. Third usage information is broadcast.
In this way, the electronic device in the communication network realizes the interaction of the lane use information by broadcasting the lane use information, and further, when the electronic device needs to send data, the electronic device can determine the target lane according to the received lane use information broadcasted by other electronic devices.
In some embodiments, broadcasting the third usage information includes: and broadcasting third use information under the condition that the use time length of the target lane exceeds the preset time length. Or broadcasting the third usage information according to a preset period.
Illustratively, the synchronization of the land hub ledger is divided into strong synchronization and weak synchronization. Optionally, the land hub may determine, according to the service type carried by the land resource, whether the manner of synchronizing the ledger is strong synchronization or weak synchronization.
For example, some services require maintaining long-term communications, or a large amount of data, or maintaining low-interference transmissions, etc. Therefore, after allocating the Lane resources for such services, the Lane hub needs to synchronize the usage of the allocated Lane resources to other Lane hubs in the Lane net, so that the other Lane hubs avoid interfering with the Lane resources in the process of allocating the Lane resources. Then such a lane resource is a lane resource that requires strong synchronization.
For another example, after some temporary preempting the used Lane resources and local updating of the Lane resources, the Lane hub applies and releases the Lane resources in a short time, and then the Lane hub updates the use of the Lane resources to a previous state or directly cancels the previous update, and if each update is broadcast-synchronized, the power consumption will increase. Therefore, the preset period can be set, the account book broadcasting is carried out according to the preset period, and unnecessary power consumption is not increased due to repeated synchronization while the timeliness and the credibility of the account book synchronization are ensured. Then such a lane resource is a lane resource that requires weak synchronization.
Thus, through strong synchronization or weak synchronization, unified records of each lane hub in the lane net on the use condition of the lane resources are ensured, and the problem of lane resource allocation conflict caused by non-uniform use condition of the lane resources is avoided.
In some embodiments, after the lan resource (i.e., the target lan) is allocated to the application program, the lan resource usage situation is monitored by the lan hub in the first electronic device, and when the communication quality is detected to be poor, the lan resource can be adjusted to meet the data transmission requirement of the application program (for example, the packet loss rate is smaller than a preset threshold value, etc.). Wherein, the adjustment of the Lane resources comprises Lane resource parameter adjustment, lane resource switching and the like.
For example, when the quality of some or all of the target lanes does not satisfy the preset condition, the parameters of the first target lane whose quality does not satisfy the preset condition are adjusted.
Illustratively, the power of the first target lane whose quality does not meet the preset condition is adjusted. Or determining a type corresponding to the first target land, determining a second target land which corresponds to the service type, corresponds to the first target land and has the same type as the first target land and the same quality as a preset condition in the first land, the second land and the third land according to the service type and the type corresponding to the first target land, and switching the first target land to the second target land.
For another example, after the parameters are adjusted, the quality of some or all of the first target lanes does not meet the preset condition; the method further comprises the steps of: fourth use information of the lane broadcasted by the second electronic device is obtained. And determining the target type of the lane supported by the first electronic equipment and the second electronic equipment according to the fourth use information. And determining a third target lane with the quality meeting the preset condition from the lanes of the target type, and switching the lanes which still do not meet the preset condition after the adjustment parameters in the first target lane to be the third target lane.
Thus, the electronic equipment performs unified management and planning on the network resources, and cuts and dispatches the network resources in a lane unit, so that the application program can be not limited by an independent interface of a communication mode. The developer can directly develop the application program according to the service type; the electronic equipment can directly allocate the corresponding Lane resources according to the service type requested by the application program; the user does not need to select a communication mode as shown in fig. 1, so that the operation difficulty of the user is reduced. And the electronic equipment can allocate the network resource with better quality for the application program according to the network environment, so that the network transmission quality is improved.
In addition, in the data transmission process, the electronic equipment can dynamically adjust the land resources directly through a parameter adjustment or a communication mode adjustment method under the condition that a user does not feel, so that the data transmission quality is ensured, and the user experience is improved.
The communication method provided in the embodiment of the present application is described in detail above with reference to fig. 4A to 8. The following describes in detail the communication device provided in the embodiment of the present application with reference to fig. 9.
In one possible design, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device 900 may include: a processing unit 901 and a transceiver unit 902. The electronic device 900 may be used to implement the functionality of the electronic device as referred to in the method embodiments described above.
Alternatively, the processing unit 901 is configured to support the electronic device 900 to execute S801 in fig. 8.
Optionally, the transceiver unit 902 is configured to support the electronic device 900 to execute S802 in fig. 8.
The transceiver unit may include a receiving unit and a transmitting unit, may be implemented by a transceiver or a transceiver related circuit component, and may be a transceiver or a transceiver module. The operations and/or functions of each unit in the electronic device 900 are respectively for implementing the corresponding flow of the communication method described in the above method embodiment, and all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional unit, which is not repeated herein for brevity.
Optionally, the electronic device 900 shown in fig. 9 may further include a storage unit (not shown in fig. 9) in which a program or instructions are stored. When the processing unit 901 and the transceiver unit 902 execute the program or instructions, the electronic device 900 shown in fig. 9 may perform the communication method described in the above method embodiment.
The technical effects of the electronic device 900 shown in fig. 9 may refer to the technical effects of the communication method described in the above-mentioned method embodiment, and will not be described herein.
In addition to the form of the electronic device 900, the technical solution provided in the present application may also be a functional unit or a chip in the electronic device, or a device matched with the electronic device for use.
The embodiment of the application also provides a chip system, which comprises: a processor coupled to a memory for storing programs or instructions which, when executed by the processor, cause the system-on-a-chip to implement the method of any of the method embodiments described above.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integrated with the processor or may be separate from the processor, and embodiments of the present application are not limited. For example, the memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately disposed on different chips, and the type of memory and the manner of disposing the memory and the processor in the embodiments of the present application are not specifically limited.
Illustratively, the chip system may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated chip (AP device plication specific integrated circuit, ASIC), a system on chip (SoC), a central processor (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chip.
It should be understood that the steps in the above-described method embodiments may be accomplished by integrated logic circuitry in hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor.
The present embodiment also provides a computer-readable storage medium having a computer program stored therein, which when run on a computer causes the computer to perform the above-described related steps to implement the communication method in the above-described embodiments.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the communication method in the above-mentioned embodiments.
In addition, the embodiment of the application also provides a device. The apparatus may be a component or module in particular, and may comprise one or more processors and memory coupled. Wherein the memory is for storing a computer program. The computer program, when executed by one or more processors, causes an apparatus to perform the communication method in the method embodiments described above.
Wherein an apparatus, a computer-readable storage medium, a computer program product, or a chip provided by embodiments of the present application are each configured to perform the corresponding method provided above. Therefore, the advantages achieved by the method can be referred to as the advantages in the corresponding method provided above, and will not be described herein.
The steps of a method or algorithm described in connection with the disclosure of the embodiments disclosed herein may be embodied in hardware, or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read Only Memory (ROM), erasable programmable read only memory (erasable programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc read only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (AP device plication specific integrated circuit, ASIC).
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the foregoing functional block divisions are merely illustrative for convenience and brevity of description. In practical application, the above functions can be allocated by different functional modules according to the need; i.e. the internal structure of the device is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In the several embodiments provided in this application, it should be understood that the disclosed methods may be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only one logic function division, and other division modes can be adopted when the modules or units are actually implemented; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, module or unit indirect coupling or communication connection, which may be electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Computer readable storage media include, but are not limited to, any of the following: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A communication system, the communication system comprising: a first electronic device and a second electronic device;
the first electronic device is configured to determine, when determining that data needs to be sent to the second electronic device, a service type corresponding to the data, and determine, according to the service type, a target lane for transmitting the data in a first logical path lane, a second lane, and a third lane; the first lane corresponds to a first type of network path, the second lane corresponds to a first channel in a second type of network path, and the third lane corresponds to a second channel in the second type of network path;
The first electronic device is further configured to send the data to the second electronic device through the target lane;
the second electronic device is configured to receive, through the target lane, the data sent by the first electronic device.
2. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
the first electronic device is further configured to monitor a usage situation of the target lane, and obtain third usage information of the target lane;
updating the locally recorded usage information of the target lane into the third usage information;
broadcasting the third usage information.
3. The system of claim 2, wherein the system further comprises a controller configured to control the controller,
the first electronic device is specifically configured to broadcast the third usage information when the usage time of the target lane exceeds a preset duration;
or broadcasting the third usage information according to a preset period.
4. A system according to any of claims 1-3, wherein the first electronic device stores a first ledger for recording usage information of the first, second and third lanes and a second ledger for recording usage information of all lanes in the communication system.
5. A system according to claim 3, wherein the communication system further comprises: a third electronic device;
and the third electronic equipment is used for receiving the third use information and synchronizing the use information of the target land recorded in the locally stored second account book according to the third use information.
6. The system of claim 5, wherein the system further comprises a controller configured to control the controller,
the first electronic device, the second electronic device and the third electronic device are further used for determining target devices for adjusting the type of the land resources, and the target devices are any one of the first electronic device, the second electronic device and the third electronic device;
the target device is configured to obtain usage information of a fourth lane broadcast by the first electronic device, the second electronic device, and the third electronic device, and adjust a lane resource type of a part or all of lanes in the fourth lane according to the usage information of the fourth lane, where the lane resource type includes at least one of a high bandwidth lane resource, a high bandwidth low latency lane resource, a low bandwidth low latency lane resource, and a low latency high reliability lane resource.
7. The system of any of claims 1-3 or 5, wherein the communication system further comprises: a central device;
the central device is configured to obtain usage information of a fifth lane broadcasted by the electronic device included in the communication network, and adjust a lane resource type of a part or all of lanes in the fifth lane according to the usage information of the fifth lane, where the lane resource type includes at least one of a high bandwidth lane resource, a high bandwidth low latency lane resource, a low bandwidth low latency lane resource, and a low latency high reliability lane resource.
8. The system of any one of claims 1-3 or 5-6, wherein the number of target lanes is one or more; wherein, in the case that the number of the target lanes is a plurality of, the plurality of target lanes are different types of channels; in the case that the number of target lanes is one, the target lane is transmitting first data; or, in the case that the number of target lanes is one, the target lanes are idle.
9. A method of communication, applied to a first electronic device, the method comprising:
when determining that data needs to be sent to second electronic equipment, determining a service type corresponding to the data, and determining a target lane for transmitting the data in a first logic path lane, a second lane and a third lane according to the service type, wherein the first lane corresponds to a first type of network path, the second lane corresponds to a first channel in a second type of network path, and the third lane corresponds to a second channel in the second type of network path;
And sending the data to the second electronic equipment through the target lane.
10. The method of claim 9, wherein when the first electronic device determines that data needs to be sent to a second electronic device, before determining a target lane for transmitting the data in the first lane, the second lane, and the third lane, the method further comprises:
acquiring first usage information of the first, second and third lanes recorded locally, and acquiring second usage information of the first, second and third lanes broadcasted by a plurality of electronic devices in a communication network comprising the first electronic device;
according to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps:
and determining the target lane according to the first use information, the second use information and the service type.
11. The method of claim 9, wherein the first electronic device has a first ledger and a second ledger stored locally, the first ledger being used to record usage information for the first, second, and third lanes, the second ledger being used to record usage information for all lanes in a communication system that includes the first electronic device;
When the first electronic device determines that data needs to be sent to the second electronic device, before determining a target lane for transmitting the data in the first lane, the second lane and the third lane, the method further comprises:
acquiring first use information of the first, second and third lanes recorded in the first ledger, and acquiring second use information of the first, second and third lanes recorded in the second ledger;
according to the service type, determining the target lane in the first lane, the second lane and the third lane comprises the following steps:
and determining the target lane according to the first use information, the second use information and the service type.
12. The method according to claim 10 or 11, wherein the first usage information or the second usage information comprises one or more of the following: the number of times of use of the lane, the service type corresponding to the historical transmission data of the lane and the quality parameter information of the lane.
13. The method according to any one of claims 9-11, wherein the number of target lanes is one or more; wherein, in the case that the number of the target lanes is a plurality of, the plurality of target lanes are different types of channels; in the case that the number of target lanes is one, the target lane is transmitting first data; or, in the case that the number of target lanes is one, the target lanes are idle.
14. The method according to any one of claims 9-11, further comprising:
monitoring the use condition of the target lane to obtain third use information of the target lane;
updating the locally recorded usage information of the target lane into the third usage information;
broadcasting the third usage information.
15. The method of claim 14, wherein the broadcasting the third usage information comprises:
broadcasting the third use information under the condition that the use time length of the target lane exceeds a preset time length;
or broadcasting the third usage information according to a preset period.
16. The method according to any one of claims 9-11, further comprising:
and when the quality of part or all of the target lanes does not meet the preset condition, adjusting the parameters of the first target lane of which the quality does not meet the preset condition.
17. The method of claim 16, wherein adjusting the parameters of the first target lane for which the quality does not satisfy the preset condition comprises:
adjusting the power of the first target lane of which the quality does not meet the preset condition;
Or determining a type corresponding to the first target lane, determining a second target lane which corresponds to the service type, is the same as the type corresponding to the first target lane and has the same quality as the type corresponding to the first target lane in the first lane, the second lane and the third lane according to the service type and the type corresponding to the first target lane, and switching the first target lane to the second target lane.
18. The method according to claim 16, wherein after adjusting parameters, the quality of some or all of the first target lanes does not meet the preset condition; the method further comprises the steps of:
acquiring fourth use information of the lane broadcasted by the second electronic equipment;
determining a target type of the lane supported by the first electronic equipment and the second electronic equipment according to the fourth use information;
and determining a third target lane with quality meeting a preset condition from the lanes of the target type, and switching the lane which still does not meet the preset condition after the adjustment parameters in the first target lane to be the third target lane.
19. An electronic device, comprising: a processor and a memory coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to perform the method of any of claims 9-18.
20. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program which, when run on an electronic device, causes the electronic device to perform the method according to any of claims 9-18.
CN202111551238.XA 2021-08-27 2021-10-22 Communication method and electronic equipment Active CN114364026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111551238.XA CN114364026B (en) 2021-08-27 2021-10-22 Communication method and electronic equipment

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110996592 2021-08-27
CN2021109965927 2021-08-27
CN202111235326.9A CN115734344A (en) 2021-08-27 2021-10-22 Communication method and electronic device
CN202111551238.XA CN114364026B (en) 2021-08-27 2021-10-22 Communication method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202111235326.9A Division CN115734344A (en) 2021-08-27 2021-10-22 Communication method and electronic device

Publications (2)

Publication Number Publication Date
CN114364026A CN114364026A (en) 2022-04-15
CN114364026B true CN114364026B (en) 2023-05-12

Family

ID=81125431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111551238.XA Active CN114364026B (en) 2021-08-27 2021-10-22 Communication method and electronic equipment

Country Status (2)

Country Link
CN (1) CN114364026B (en)
WO (1) WO2023025191A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114364026B (en) * 2021-08-27 2023-05-12 华为技术有限公司 Communication method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714279A (en) * 2016-11-14 2017-05-24 广东欧珀移动通信有限公司 Hot spot network switching method and terminal equipment
CN107087292A (en) * 2017-03-10 2017-08-22 北方工业大学 Method for adaptively transmitting data by mobile terminal
CN109587667A (en) * 2018-11-23 2019-04-05 Oppo广东移动通信有限公司 A kind of connection method for building up and device, equipment, storage medium
CN110505712A (en) * 2018-05-17 2019-11-26 华为技术有限公司 A kind of method and terminal for transmitting file
CN111867148A (en) * 2019-04-30 2020-10-30 青岛海信移动通信技术股份有限公司 Method and equipment for establishing equipment connection and data transmission

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125130B (en) * 2020-08-25 2022-12-16 荣耀终端有限公司 Method for controlling communication service state, terminal device and readable storage medium
CN114364026B (en) * 2021-08-27 2023-05-12 华为技术有限公司 Communication method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714279A (en) * 2016-11-14 2017-05-24 广东欧珀移动通信有限公司 Hot spot network switching method and terminal equipment
CN107087292A (en) * 2017-03-10 2017-08-22 北方工业大学 Method for adaptively transmitting data by mobile terminal
CN110505712A (en) * 2018-05-17 2019-11-26 华为技术有限公司 A kind of method and terminal for transmitting file
CN109587667A (en) * 2018-11-23 2019-04-05 Oppo广东移动通信有限公司 A kind of connection method for building up and device, equipment, storage medium
CN111867148A (en) * 2019-04-30 2020-10-30 青岛海信移动通信技术股份有限公司 Method and equipment for establishing equipment connection and data transmission

Also Published As

Publication number Publication date
WO2023025191A1 (en) 2023-03-02
CN114364026A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US11947974B2 (en) Application start method and electronic device
CN112527476B (en) Resource scheduling method and electronic equipment
EP4311314A1 (en) Sleep scheduling method and device
US20240073978A1 (en) Method for monitoring link and terminal device
KR20150132800A (en) Terminal, Cloud Apparatus, Driving Method of Terminal, Method for Providing Cloud Service, Computer Readable Recording Medium
CN114846905A (en) Communication connection method and electronic equipment
CN114364026B (en) Communication method and electronic equipment
CN113645608B (en) Data transmission method and data transmission device
CN116320727B (en) Algorithm scheduling method and electronic equipment
CN116723415B (en) Thumbnail generation method and terminal equipment
CN113806030A (en) Application scheduling method and electronic equipment
CN114173286B (en) Method and device for determining test path, electronic equipment and readable storage medium
CN115734344A (en) Communication method and electronic device
CN117666755A (en) Task scheduling method and related equipment
CN115562772B (en) Scene recognition and preprocessing method and electronic equipment
CN116033344B (en) Geofence determination method, equipment and storage medium
CN115712745B (en) Method, system and electronic device for acquiring user annotation data
CN116471707B (en) Method, device and system for connecting router
WO2023005783A1 (en) Data processing method and electronic device
CN116095219B (en) Notification display method and terminal device
CN116092203B (en) Travel method, device and storage medium based on riding card
CN114916017B (en) Data transmission method, electronic equipment and readable storage medium
CN118051133A (en) Gesture touch control method and electronic equipment
CN117668350A (en) Application recommendation method and related device
CN116709273A (en) Wireless communication system, method and equipment

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