[go: up one dir, main page]

CN116938612A - Communication method and communication system - Google Patents

Communication method and communication system Download PDF

Info

Publication number
CN116938612A
CN116938612A CN202210335996.6A CN202210335996A CN116938612A CN 116938612 A CN116938612 A CN 116938612A CN 202210335996 A CN202210335996 A CN 202210335996A CN 116938612 A CN116938612 A CN 116938612A
Authority
CN
China
Prior art keywords
communication module
phy chip
data
communication
module
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.)
Pending
Application number
CN202210335996.6A
Other languages
Chinese (zh)
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.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202210335996.6A priority Critical patent/CN116938612A/en
Publication of CN116938612A publication Critical patent/CN116938612A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/323Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the physical layer [OSI layer 1]

Landscapes

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

Abstract

The application provides a communication method and a communication system, wherein after detecting that a communication module sends first data, the communication module is controlled by a configuration channel to complete the deactivation dialing operation, the communication module is controlled to unload PHY chip drive, and the communication module is controlled to enter a dormant state by a dormant awakening module to power off the PHY chip. In the technical scheme, the PHY chip is powered off when data communication is not needed, so that the power consumption of the PHY chip is reduced.

Description

Communication method and communication system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communications method and a communications system.
Background
In recent years, the development of the communication technology of the internet of things is rapid, the application of the wireless communication module on various upper computers of the internet of things is more and more extensive, the upper computers generally have certain requirements on the power consumption of the whole machine, and the wireless communication module and various peripheral modules are embedded.
In the prior art, a wireless communication module is generally provided with a control channel and a data channel, and physical interfaces with various forms are provided as much as possible for integration of an upper computer. Typical data lanes include the high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIe), ethernet ports, etc., which are also widely used in many current host computers. Because of the integration and versatility, the communication module will not embed an ethernet interface. One typical implementation is to provide the PCIe interface on the module side while providing support on the drive for the PCIe interface-equipped network port Physical (PHY) chips of some typical vendors.
However, in practical use, the driving and power consumption management of the network PHY chip, and the power consumption design of the module and the module, under certain terminal application scenarios depending on battery power supply, it is hoped to reduce the power consumption of the ethernet module when data transmission is not performed, while the external ethernet PHY chip itself, even when no data transmission is performed, still has relatively large power consumption, so how to reduce the power consumption of the PHY chip itself when no data transmission is performed is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a communication method and a communication system, which are used for solving the technical problem of how to reduce the power consumption of a PHY chip when no data transmission exists.
In a first aspect, an embodiment of the present application provides a communication system, including: the device comprises an upper computer, a port physical layer PHY chip and a communication module;
the configuration interface of the upper computer is connected with the configuration interface of the communication module to form a configuration channel, the RJ45 network port of the upper computer is connected with the high-speed serial computer expansion bus standard PCIe bus of the communication module through the PHY chip to form a data channel, the power interface of the upper computer is connected with the power interface of the PHY chip, and the dormancy wakeup module of the upper computer is connected with the dormancy wakeup module of the communication module;
after the communication module sends first data, the upper computer controls the communication module to complete deactivation dialing operation through the configuration channel, controls the communication module to unload PHY chip drive, controls the communication module to enter a dormant state through the dormant awakening module, and cuts off power to the PHY chip.
In a second aspect, an embodiment of the present application provides a communication method, which is applied to an upper computer in the communication system in the first aspect, where the method includes:
after detecting that the communication module sends first data, controlling the communication module to complete the deactivation dialing operation through a configuration channel;
and controlling the communication module to unload the PHY chip drive, controlling the communication module to enter a dormant state through the dormant wake-up module, and powering off the PHY chip.
In one possible design of the second aspect, before the controlling the communication module through the configuration channel completes the deactivating dialing operation, the method further includes:
responding to a first data sending request of a user, and controlling the communication module to complete dial-up connection with a wireless communication network through a configuration channel, wherein the first data sending request is used for controlling the communication module to send the first data to the wireless communication network;
after the communication module and the wireless communication network are in dial-up connection, the communication module is controlled to send the first data through a data channel.
In another possible design of the second aspect, the method further comprises:
responding to a second data transmission request of a user, and controlling the communication module to release a dormant state through a dormant wakeup module, wherein the receiving time of the second data transmission request is later than that of the first data transmission request;
powering up the PHY chip;
controlling the communication module to load PHY chip driving;
and controlling the communication module to send second data through a data channel.
In yet another possible design of the second aspect, the method further comprises:
and controlling the PCIe bus to scan the PHY chip.
In a third aspect, an embodiment of the present application provides a communication device, which is applied to an upper computer in the communication system in the first aspect, where the device includes:
and the control module is used for controlling the communication module to finish the deactivation dialing operation through the configuration channel after detecting that the communication module transmits the first data, controlling the communication module to unload the PHY chip drive, controlling the communication module to enter a dormant state through the dormant awakening module and powering off the PHY chip.
In one possible design of the third aspect, before the controlling the communication module through the configuration channel to complete the deactivating dialing operation, the control module is further configured to:
responding to a first data sending request of a user, and controlling the communication module to complete dial-up connection with a wireless communication network through a configuration channel, wherein the first data sending request is used for controlling the communication module to send the first data to the wireless communication network;
after the communication module and the wireless communication network are in dial-up connection, the communication module is controlled to send the first data through a data channel.
In another possible design of the third aspect, the control module is further configured to:
responding to a second data transmission request of a user, and controlling the communication module to release a dormant state through a dormant wakeup module, wherein the receiving time of the second data transmission request is later than that of the first data transmission request;
powering up the PHY chip;
controlling the communication module to load PHY chip driving;
and controlling the communication module to send second data through a data channel.
In a further possible design of the third aspect, the control module is further configured to:
and controlling the PCIe bus to scan the PHY chip.
In a fourth aspect, an embodiment of the present application provides an upper computer, including: a processor, a memory;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions to cause the upper computer to perform the communication method as described in the first aspect and various possible designs described above.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out a communication method as described in the first aspect and in various possible designs described above.
In a sixth aspect, embodiments of the present application provide a computer program product comprising a computer program for implementing a communication method as described in the first aspect and various possible designs above, when the computer program is executed by a processor.
The embodiment of the application provides a communication method and a communication system. The communication system includes: the upper computer is connected with the configuration interface of the communication module to form a configuration channel, an RJ45 network port of the upper computer is connected with a high-speed serial computer expansion bus standard PCIe bus of the communication module through the PHY chip to form a data channel, a power interface of the upper computer is connected with a power interface of the PHY chip, a dormancy awakening module of the upper computer is connected with a dormancy awakening module of the communication module, the upper computer controls the communication module to complete deactivation dialing operation after the communication module sends first data, controls the communication module to unload PHY chip drive, controls the communication module to enter a dormant state through the dormancy awakening module, and cuts off the power of the PHY chip, so that the power consumption of the PHY chip is reduced when no data is transmitted.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a communication method according to an embodiment of the present application;
fig. 3 is a second schematic flow chart of a communication method according to an embodiment of the present application;
fig. 4 is a flow chart of a communication method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an upper computer according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Before describing embodiments of the present application, the background art of the present application will be explained first:
in recent years, the development of the communication technology of the internet of things is rapid, the application of the wireless communication module on various terminal devices of the internet of things is more and more extensive, the terminal devices generally have certain requirements on the whole power consumption, and the wireless communication module and various peripheral modules are embedded.
The wireless communication module is generally provided with a control channel and a data channel externally, and provides physical interfaces with various forms as much as possible so as to integrate terminal equipment. Typical data channels are universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART), universal serial bus (Universal Serial Bus, USB), high speed serial computer expansion bus standard (peripheral component interconnect express, PCIe), ethernet ports, etc., which are also widely used in many terminal devices today.
Because of the integration and versatility, the communication module will not embed an ethernet interface. One typical implementation is to provide PCIe interfaces on the module side while providing support on the drive for PCIe interface-equipped network Physical (PHY) chips of some typical vendors. However, this implementation also presents challenges in terms of driving and power management of the network PHY chip, and in terms of power consumption design with which the module itself is compatible.
Therefore, many wireless communication modules currently either do not claim support for an ethernet port or claim support for an ethernet port while emphasizing application scenarios that are insensitive to power consumption. Thus, the existing Ethernet port requirements are limited, and the application sensitive to power consumption is also limited.
Specifically, the following technical problems occur:
1. in certain battery-powered terminal applications, it is desirable to have both an ethernet interface and reduce power consumption of the ethernet module when data transmission is not performed. And the power consumption of the external Ethernet PHY chip is still relatively large even when no data transmission exists.
The technical problems occur as follows: chip itself static power consumption: the static power consumption of the PHY chip itself is currently relatively high, especially with respect to battery-powered terminal devices;
furthermore, the host PCIe driver: the current upper computer PCIe drive of the PHY chip is mainly provided by a chip manufacturer, and the current drive is mainly considered to be applied to windows systems of personal computers (Personal Computer, PCs) or linux systems of industrial control types, and the upper computer systems are generally directly provided with external power supplies, so that the chip-level power consumption is basically not concerned, and the control and optimization of the power consumption are relatively limited in the implementation of the PHY chip design and a driving power management module.
Even if the chip manufacturer provides a certain driving implementation in the aspect of power management optimization, the overall power consumption also depends on the support of the upper chip platform itself on the PCIe bus level driver, and the implementation of PCIe drivers of some upper chip platform manufacturers on the power management is still not perfect.
2. After the communication module wakes up, powers up the PHY chip again and loads the PHY driver, the physical layer link between the communication module and the upper computer is not enabled, such as a basic ping packet test failure.
The technical problems occur as follows: PHY chip drives may not be loaded successfully in effect
3. After the communication module wakes up, powers up the PHY chip again and loads the PHY drive, the data path between the upper computer and the network server is not connected, for example, the access to the public network address fails.
The technical problems occur as follows: there may be some coupling and sequencing issues between the communication module sleep wake-up process and the various operations of the PHY chip.
The technical conception process of the inventor aiming at the technical problems is as follows: the method is characterized in that the PHY chip is powered off when data transmission is not needed, the PHY chip is powered on when the data transmission is needed, PCIe bus scanning is triggered once again after the PHY chip is powered on and before PHY chip driving is loaded, the dormancy wakeup process of the communication module is checked, the sequence of dormancy wakeup of the communication module and each operation loop of the PHY chip is reasonably planned, namely, each link of dormancy wakeup of the communication module and PHY chip operation needs to be combed, and the inherent relation and sequence relation can be determined, so that the technical problems can be solved.
The technical scheme of the application is described in detail by specific examples. It should be noted that the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application. As shown in fig. 1, the communication system includes: the upper computer 11, the PHY chip 12 and the communication module 13.
The configuration interface of the upper computer 11 is connected with the configuration interface of the communication module 13 to form a configuration channel, the RJ45 network port of the upper computer 11 is connected with the PCIe bus of the communication module 13 through the PHY chip 12 to form a data channel, the power interface of the upper computer 11 is connected with the power interface of the PHY chip 12, and the sleep wake-up module of the upper computer 11 is connected with the sleep wake-up module of the communication module 13.
First, a description will be given of a device in a communication system:
1. the communication module 13 may be a wireless communication module, which is used to implement a data path between the wireless communication network and the local host computer 11;
2. PHY chip 12: the network physical layer chip of the PCIe interface is used for realizing conversion between the PCIe bus and the RJ45 network interface and providing a data path;
3. upper computer 11: the wireless networking function is realized through the PHY chip 12 and the communication module 13.
Further, a configuration channel formed by connecting the configuration interface of the upper computer 11 with the configuration interface of the communication module 13 is used for realizing configuration information interaction between the upper computer 11 and the module; the RJ45 network port of the upper computer 11 is connected with the PCIe bus of the communication module 13 through the PHY chip 12 to form a data channel for realizing a data path between the upper computer 11 and the PHY chip 12; the power interface of the upper computer 11 is connected with the power interface of the PHY chip 12 to realize the power control of the upper computer 11 to the PHY chip 12, namely power-off, power-on and the like; the dormancy wakeup module of the upper computer 11 is connected with the dormancy wakeup module of the communication module 13 to realize the dormancy wakeup control function of the upper computer 11 on the module.
The PCIe bus is used to implement configuration and data interaction paths between the communication module 13 and the PHY chip 12.
Furthermore, the above design provides a configuration operation interface to the client side.
Optionally, after the communication module 13 sends the first data, the upper computer 11 controls the communication module 13 to complete the activation dialing operation through the configuration channel, controls the communication module 13 to unload the drive of the PHY chip 12, controls the communication module 13 to enter the sleep state through the sleep wake-up module, and cuts off the power of the PHY chip 12.
In one possible implementation, after the upper computer 11 utilizes the PHY chip 12 and the communication module 13 to send data to the wireless communication network, that is, the upper computer 11 detects that the data is sent, the upper computer 11 firstly controls the communication module 13 to complete operations such as deactivation dialing through a configuration channel, then controls the communication module 13 to unload the PHY chip 12 to drive, then controls the communication module 13 to enter a sleep state through the sleep wake-up module, and finally cuts off power to the PHY chip 12 through a power interface, thereby enabling the system to enter a minimum power consumption state.
The low power consumption processing of the upper computer 11 is realized by the client side.
The communication system provided by the embodiment of the application comprises: the upper computer is connected with the configuration interface of the communication module to form a configuration channel, an RJ45 network port of the upper computer is connected with a PCIe bus of the communication module through the PHY chip to form a data channel, a power interface of the upper computer is connected with a power interface of the PHY chip, a dormancy wakeup module of the upper computer is connected with a dormancy wakeup module of the communication module, the upper computer controls the communication module to complete deactivation dialing operation after the communication module sends first data through the configuration channel, controls the communication module to unload PHY chip drive, controls the communication module to enter a dormancy state through the dormancy wakeup module, cuts off the power of the PHY chip, and reduces the power consumption of the PHY chip when no data is transmitted.
On the basis of the above-mentioned embodiment of the communication system, fig. 2 is a schematic flow chart of a communication method according to an embodiment of the present application. As shown in fig. 2, the communication method includes the steps of:
and step 21, after the communication module is detected to send the first data, the communication module is controlled by the configuration channel to complete the deactivation dialing operation.
In this step, in the above communication system, the upper computer realizes one transmission of the data (first data) through cooperation between the PHY chip and the communication module, that is, the upper computer detects that the communication module transmits the first data, and at this time, the upper computer controls the communication module to complete operations such as deactivation dialing through a configuration channel between the upper computer and the communication module.
Optionally, after the first data transmission is completed, in order to make the communication system enter into low power consumption, the operation of activating the dialing is first controlled by the configuration channel to control the communication module to exit.
Before this step, the communication module is controlled to complete the dial-up connection with the wireless communication network through the configuration channel in response to the first data transmission request of the user.
The first data sending request is used for controlling the communication module to send the first data to the wireless communication network.
Optionally, when the user needs to use the upper computer to send the first data, the upper computer responds to the first data sending request of the user, and controls the communication module to complete dial-up connection with the wireless communication network through a configuration channel between the upper computer and the communication module.
Further, after the communication module completes dial-up connection with the wireless communication network, the communication module is controlled to send the first data through the data channel.
At this time, the upper computer sends the first data to the communication module through the data channel between the upper computer and the PHY chip and the data and configuration channel between the PHY chip and the communication module, and the communication module sends the first data to the wireless communication network.
And 22, controlling the communication module to unload the PHY chip drive, controlling the communication module to enter a dormant state through the dormant wake-up module, and powering off the PHY chip.
In this step, after the upper computer detects that the communication module has transmitted the first data, in order to reduce power consumption of the communication system when no data is transmitted, the upper computer controls the communication module to unload the drive of the PHY chip, and then controls the communication module to enter a sleep state through the sleep wake-up module, and cuts off the power of the PHY chip.
Optionally, aiming at the problem that the static power consumption of the external PCIe PHY chip is relatively high, the upper computer controls the power supply of the PHY chip through a power interface. When data transmission is needed, power is supplied to the PHY chip in advance; and when data transmission is not needed, the PHY chip is powered off finally, so that the average power consumption of the system is reduced.
According to the communication method provided by the embodiment of the application, after the communication module is detected to send the first data, the communication module is controlled to complete the deactivation dialing operation through the configuration channel, the communication module is controlled to unload the PHY chip drive, and the communication module is controlled to enter the dormant state through the dormant awakening module to power off the PHY chip. In the technical scheme, the PHY chip is powered off when data communication is not needed, so that the power consumption of the PHY chip is reduced.
Based on the foregoing embodiments, fig. 3 is a second schematic flow chart of the communication method according to the embodiment of the present application. As shown in fig. 3, after the above step 22, the communication method may further include the steps of:
and step 31, responding to a second data transmission request of the user, and controlling the communication module to release the dormant state through the dormant wakeup module.
Wherein the second data transmission request is received later than the first data transmission request.
In this step, after the first data is sent by the communication module, the user needs to send new data to the wireless communication network through the upper computer, and at this time, the upper computer wakes up the communication module from the sleep state through the sleep wake-up module.
In this process, the PCIe bus has synchronously completed the scanning process of the PHY chip that may exist, but when the PHY chip is not powered up, the PHY chip cannot be scanned, and the PHY chip is not assigned with a device number, and then, when the PHY chip is powered up and the driver is reloaded, the normal loading process cannot be completed. The above-described problem can be solved by forcing the addition of a PCIe bus scan between powering up and loading the drivers to the PHY chip.
Step 32, powering up the PHY chip.
In this step, after the communication module releases the sleep state and enters the active state, the upper computer supplies power to the PHY chip by controlling the power interface, i.e. the PHY chip is powered on.
Optionally, the upper computer provides power to the power interface of the PHY chip through the power interface of the upper computer, so as to realize power-on of the PHY chip.
And 33, controlling the communication module to load the PHY chip driver.
In this step, the upper computer controls the communication module by configuring the channel, so that the communication module loads the PHY chip driver.
Prior to this step, the upper computer also controls the PCIe bus to scan the PHY chip.
That is, between powering up the PHY chip and loading the PHY driver, the execution of PCIe bus scan is re-triggered once again to avoid situations where the PHY chip driver may not be loaded effectively.
Optionally, in order to ensure that the PHY chip driver is loaded successfully, that is, a method of properly re-triggering PCIe bus enumeration is adopted, which involves adjusting a part of the driver architecture, and overall planning is required for operations of the communication module sleep wakeup module and the PHY chip.
And step 34, the communication module is controlled to send the second data through the data channel.
In this step, after each device of the communication system works normally, the upper computer sends the second data to the communication module through the data channel between the upper computer and the PHY chip and the data and configuration channel between the PHY chip and the communication module, and the communication module sends the second data to the wireless communication network, so as to complete new data sending.
Furthermore, aiming at the problem that the data path between the upper computer and the network server (wireless communication network) is not connected after the communication module wakes up, powers up the PHY chip and reloads the PHY chip driver, the core point is that:
in the whole low-power consumption processing flow, the communication module and the PHY chip are required to be uniformly managed, and the communication module and the PHY chip are strictly carried out according to a certain order and operation steps, so that the situation that a network data channel is not smooth is avoided.
According to the communication method provided by the embodiment of the application, the communication module is controlled to release the dormant state through the dormant wakeup module in response to the second data sending request of the user, the PHY chip is electrified, the communication module is controlled to load the PHY chip drive, and the communication module is controlled to send second data through the data channel.
On the basis of the above embodiment, fig. 4 is a schematic flow chart of a communication method according to the embodiment of the present application. As shown in fig. 4, the communication method may further include the steps of:
step 1, powering up and starting a communication system;
step 2, waiting for the communication module to reside in the network;
after the communication module successfully resides in the network, executing the step 3;
and if the step is not successfully executed, waiting for successful network residence.
Step 3, powering up the PHY chip;
step 4, PCIe bus scans PHY chip;
step 5, loading PHY chip drive;
step 6, the communication module completes dial-up connection with the wireless communication network;
step 7, after dialing is successful, the communication module sends data to the wireless communication network;
step 8, the communication module disconnects the dial-up connection;
step 9, unloading PHY chip drive;
step 10, the communication module enters a dormant state;
step 11, the PHY chip is powered off;
step 12, the communication system needs to send new data;
step 13, the communication module exits from the dormant state;
step 14, powering up the PHY chip;
step 15, PCIe bus scans PHY chip;
step 16, loading PHY chip drive, and jumping to step 6.
And when other new data are needed to be sent subsequently, the execution process is repeated, so that the low power consumption of the PHY chip can be realized, the PHY chip driver is reloaded, and the smoothness of a data path between the upper computer and the network server is ensured.
The communication method provided by the embodiment of the application comprises the steps of powering on the communication system, waiting for the communication module to reside on the network, powering on the PHY chip after the communication module is successful in residing on the network, scanning the PHY chip by the PCIe bus, loading the PHY chip driver, completing dial-up connection with the wireless communication network by the communication module, sending data to the wireless communication network by the communication module after the dial-up is successful, disconnecting the dial-up connection by the communication module, unloading the PHY chip driver, enabling the communication module to enter a dormant state, powering off the PHY chip, requiring the communication system to send new data, exiting the dormant state by the communication module, powering on the PHY chip, scanning the PHY chip by the PCIe bus, loading the PHY chip driver, completing dial-up connection with the wireless communication network by the communication module, and sending the new data to the wireless communication network by the communication module after the dial-up is successful. According to the technical scheme, the PHY chip is powered off when data communication is not needed, and is powered on when the data communication is needed, so that average power consumption is reduced, the sequence of dormancy wakeup of the module and each operation ring of the PHY chip is reasonably planned, and after reloading driving is realized, a data path between the upper computer and the network server is smooth.
On the basis of the above method embodiment, fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present application. The communication device is applied to the upper computer in the method embodiment, and the communication device comprises:
the control module 51 is configured to control the communication module to complete the deactivation dialing operation by configuring the channel after detecting that the communication module transmits the first data, and control the communication module to unload the PHY chip driver, and control the communication module to enter a sleep state by the sleep wake-up module, so as to power off the PHY chip.
In one possible design of the embodiment of the present application, before the deactivation dialing operation is completed by configuring the channel control communication module, the control module 51 is further configured to:
responding to a first data sending request of a user, and controlling the communication module to complete dial-up connection with the wireless communication network through a configuration channel, wherein the first data sending request is used for controlling the communication module to send first data to the wireless communication network;
after the communication module completes dial-up connection with the wireless communication network, the communication module is controlled to send first data through the data channel.
In another possible design of the embodiment of the present application, the control module 51 is further configured to:
responding to a second data transmission request of the user, and controlling the communication module to release the dormant state through the dormant wakeup module, wherein the receiving time of the second data transmission request is later than that of the first data transmission request;
powering up the PHY chip;
controlling the communication module to load PHY chip drive;
and the communication module is controlled to send the second data through the data channel.
In yet another possible design of the embodiment of the present application, the control module 51 is further configured to:
and controlling the PCIe bus to scan the PHY chip.
The communication device provided by the embodiment of the application can be used for executing the technical scheme corresponding to the communication method in the embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; the method can also be realized in a form of calling software by a processing element, and the method can be realized in a form of hardware by a part of modules. In addition, all or part of the modules can be integrated together or can be independently implemented. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
Fig. 6 is a schematic structural diagram of an upper computer according to an embodiment of the present application. As shown in fig. 6, the upper computer 11 may include: a processor 60, a memory 61, and computer program instructions stored on the memory 61 and executable on the processor 60.
The upper computer 11 may be a mobile phone, a telephone, a computer, a tablet, etc.
Processor 60 executes computer-executable instructions stored in memory 61, causing processor 60 to perform the aspects of the embodiments described above. The processor 60 may be a general purpose processor including a central processing unit CPU, a network processor (network processor, NP), etc.; but may also be a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
The memory 61 is connected to the processor 60 via a system bus and communicates with each other, the memory 61 being adapted to store computer program instructions.
The system bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The system bus may be classified into an address bus, a data bus, a control bus, and the like.
For ease of illustration, the system bus is shown with only one bold line, but not with only one bus or one type of bus.
The upper computer provided by the embodiment of the application can be used for executing the technical scheme corresponding to the communication method in the embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
The embodiment of the application also provides a chip for running the instruction, which is used for executing the technical scheme of the communication method in the embodiment.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions, and when the computer instructions run on the upper computer, the upper computer is caused to execute the technical scheme of the communication method in the embodiment.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program is used for executing the technical scheme of the communication method in the embodiment when being executed by a processor.
The computer readable storage medium described above may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose host computer.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A communication system, comprising: the device comprises an upper computer, a port physical layer PHY chip and a communication module;
the configuration interface of the upper computer is connected with the configuration interface of the communication module to form a configuration channel, the RJ45 network port of the upper computer is connected with the high-speed serial computer expansion bus standard PCIe bus of the communication module through the PHY chip to form a data channel, the power interface of the upper computer is connected with the power interface of the PHY chip, and the dormancy wakeup module of the upper computer is connected with the dormancy wakeup module of the communication module;
after the communication module sends first data, the upper computer controls the communication module to complete deactivation dialing operation through the configuration channel, controls the communication module to unload PHY chip drive, controls the communication module to enter a dormant state through the dormant awakening module, and cuts off power to the PHY chip.
2. A communication method, applied to the upper computer in the communication system of claim 1, comprising:
after detecting that the communication module sends first data, controlling the communication module to complete the deactivation dialing operation through a configuration channel;
and controlling the communication module to unload the PHY chip drive, controlling the communication module to enter a dormant state through the dormant wake-up module, and powering off the PHY chip.
3. The method of claim 2, wherein prior to the completion of the deactivation dialing operation by the configuration channel controlling the communication module, the method further comprises:
responding to a first data sending request of a user, and controlling the communication module to complete dial-up connection with a wireless communication network through a configuration channel, wherein the first data sending request is used for controlling the communication module to send the first data to the wireless communication network;
after the communication module and the wireless communication network are in dial-up connection, the communication module is controlled to send the first data through a data channel.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
responding to a second data transmission request of a user, and controlling the communication module to release a dormant state through a dormant wakeup module, wherein the receiving time of the second data transmission request is later than that of the first data transmission request;
powering up the PHY chip;
controlling the communication module to load PHY chip driving;
and controlling the communication module to send second data through a data channel.
5. The method according to claim 4, wherein the method further comprises:
and controlling the PCIe bus to scan the PHY chip.
6. A communication apparatus for use in the communication system of claim 1, the apparatus comprising:
and the control module is used for controlling the communication module to finish the deactivation dialing operation through the configuration channel after detecting that the communication module transmits the first data, controlling the communication module to unload the PHY chip drive, controlling the communication module to enter a dormant state through the dormant awakening module and powering off the PHY chip.
7. The apparatus of claim 6, wherein the control means is further configured to, prior to the completion of the deactivation dialing operation by controlling the communication module via the configuration channel:
responding to a first data sending request of a user, and controlling the communication module to complete dial-up connection with a wireless communication network through a configuration channel, wherein the first data sending request is used for controlling the communication module to send the first data to the wireless communication network;
after the communication module and the wireless communication network are in dial-up connection, the communication module is controlled to send the first data through a data channel.
8. An upper computer, comprising: processor, memory and computer program instructions stored on the memory and executable on the processor, characterized in that the processor implements the communication method according to any of the preceding claims 2 to 5 when executing the computer program instructions.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein computer executable instructions for implementing the communication method according to any of the preceding claims 2 to 5 when being executed by a processor.
10. A computer program product comprising a computer program, characterized in that the computer program is for implementing the communication method according to any of the preceding claims 2 to 5 when being executed by a processor.
CN202210335996.6A 2022-03-31 2022-03-31 Communication method and communication system Pending CN116938612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210335996.6A CN116938612A (en) 2022-03-31 2022-03-31 Communication method and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210335996.6A CN116938612A (en) 2022-03-31 2022-03-31 Communication method and communication system

Publications (1)

Publication Number Publication Date
CN116938612A true CN116938612A (en) 2023-10-24

Family

ID=88375986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210335996.6A Pending CN116938612A (en) 2022-03-31 2022-03-31 Communication method and communication system

Country Status (1)

Country Link
CN (1) CN116938612A (en)

Similar Documents

Publication Publication Date Title
KR101729106B1 (en) Mobile device
US11704944B2 (en) Automobile diagnosis instrument, method for running system of automobile diagnosis instrument and automobile diagnosis system
US7137003B2 (en) Subscriber identity module verification during power management
US8160645B2 (en) Apparatus and method for supporting SIM card in mobile communication terminal having multiple modems
US7366930B2 (en) System and method for successfully negotiating a slowest common link speed between a first and second device
JP4336726B2 (en) High-speed vehicle bus network activity
KR101840287B1 (en) Mobile device
US8738953B2 (en) Power-saving device for universal serial bus modem apparatus and method thereof
US7051236B2 (en) Wirelessly network-connected, battery-powered information handling system featuring prevention of data corruption after wake-up by a network event
CN113194524B (en) Dormancy awakening method, upper computer, vehicle-mounted communication module and communication system
US20160309416A1 (en) Power Supply Control Method and Wireless Terminal
CN108628792B (en) Communication interface current leakage prevention system and method
CN108108314B (en) Exchanger system
CN116938612A (en) Communication method and communication system
CN116644011B (en) A quick identification method, device, equipment and storage medium for I2C devices
CN113867787A (en) A system and method for switching between server network cards
US7945919B2 (en) Information processing apparatus and device controller driving/controlling method
CN112948315A (en) Storage area sharing method, storage medium and electronic device
WO2016045363A1 (en) Method for cpu to control wifi module via hsic bus interface
CN118474711A (en) WiFi connection control method, device, equipment and storage medium
US20040029527A1 (en) Power supply control method and device in portable communication device
CN112162514B (en) Synchronization module, auxiliary synchronization module and domain controller
CN114553744A (en) OTA (over the air) upgrading flow reservation method, device, equipment and storage medium
CN119052301A (en) Management method, system, medium and device of PHY device
CN110231862B (en) Server system with power failure protection function and method thereof

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