CN108966162A - Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing - Google Patents
Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108966162A CN108966162A CN201810681366.8A CN201810681366A CN108966162A CN 108966162 A CN108966162 A CN 108966162A CN 201810681366 A CN201810681366 A CN 201810681366A CN 108966162 A CN108966162 A CN 108966162A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal
- mailing address
- sent
- data communications
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/18—Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of data communications method, communication processing equipment, terminal and readable storage medium storing program for executing, the equipment for supporting Ble mesh technology for the prior art cannot not support the equipment of the technology to interact based on Ble mesh technology with other, limit the performance of the equipment, the problem of influencing user experience, by providing a kind of data communications method, receive the first information for carrying second terminal mailing address that first terminal is sent, the second information is generated according to the first information, the mailing address of first terminal is carried in second information, then the second information is based on ble mesh agreement and is sent to second terminal, to by carrying corresponding mailing address in the information, and protocol conversion of the communication processing equipment to information, realize the information exchange of across a network.
Description
Technical field
The present invention relates to field of communication technology, more specifically to a kind of data communications method, communication processing equipment,
Terminal and readable storage medium storing program for executing.
Background technique
Ble mesh (Bluetooth Low Energy mesh, bluetooth low energy consumption grid network) technology be it is a kind of it is low at
Sheet, short distance, interoperable robustness wireless technology, work exempt from license 2.4GHz ISM radio frequency band.There is BLE4.0,
Multiple protocol versions such as BLE4.1, BLE4.2, BLE 5.0.It is designed as super low-power consumption (ULP) wireless technology from the beginning,
It reduces power consumption using many intelligent means to the maximum extent.
But, since in the not yet popularization and application to all devices of Ble mesh technology, presently, there are equipment components simultaneously
Ble mesh technology is not supported.When the equipment A of support Ble mesh technology needs to need to carry out with the equipment B of the technology is not supported
It when interaction, can only be made a concession by equipment A, abandon the Ble mesh technology using low-power consumption, select other equipment B that can also support
The communication technology communicated.Obviously this is unfavorable for the performance of equipment A performance, limits the experience of equipment A side user.
Summary of the invention
The technical problem to be solved in the present invention is that the equipment that the prior art supports Ble mesh technology cannot be based on Ble
Not the problem of mesh technology does not support the equipment of the technology to interact with other, limits the performance of the equipment, influences user experience;Needle
To the technical problem, a kind of data communications method is provided, the data communications method includes:
Receive the first information for carrying second terminal mailing address that first terminal is sent;
The second information is generated according to the first information, carries the first terminal communicatedly in second information
Location;
Second information is based on bluetooth low energy consumption grid network ble mesh agreement and is sent to the second terminal.
Optionally, second information is based on described after Ble mesh agreement is sent to the second terminal, also
Include:
The third information that the second terminal is sent is received, includes for the practical reception to information in the third information
Indicative forwarding is held to indicate;
The third information is converted into support the 4th information of WLAN WLAN technology;
According to the forwarding instruction, indicated practical receiving end sends the 4th information.
Optionally, the practical receiving end indicated according to the forwarding instruction carries out transmission packet to the 4th information
It includes:
If the indicated mailing address of the forwarding instruction is effective, the 4th letter is sent according to the mailing address
Breath.
Optionally, before the 4th information according to mailing address transmission, further includes: pass through and determine described turn
The mailing address indicated by showing of bristling with anger is not default mailing address to determine that the mailing address is effective;
If it is determined that the indicated mailing address of the forwarding instruction is default mailing address, then determine the mailing address without
Effect carries out broadcast transmission to the 4th information.
Optionally, second information is based on described after Ble mesh agreement is sent to the second terminal, also
Include:
Receive the 5th information that the second terminal is sent according to second information, the 5th information and described second
Information carries same mailing address;
5th information is converted into support the 6th information of WLAN technology;
According to the mailing address carried in the 5th information by the 6th information be based on WLAN protocol be sent to it is described
First terminal.
The present invention also provides a kind of data communications method, the data communications method includes:
The second information that communication processing equipment is sent based on Ble mesh agreement is received, second information is by the communication
The first information that processing equipment is sent according to first terminal generates, and second information include the first terminal communicatedly
Location;
Dissection process is carried out to second information.
Optionally, after the progress dissection process to second information, further includes:
Third information is sent to the communication processing equipment based on Ble mesh agreement, includes being used in the third information
The indicative forwarding in the practical receiving end of information is indicated, so that the third information is converted by the communication processing equipment
After the 4th information for supporting WLAN technology, according to the forwarding instruction, indicated practical receiving end carries out the 4th information
It sends.
The present invention also provides a kind of communication processing equipment, the communication processing equipment includes first processor, the first storage
Device and the first communication bus;
First communication bus is for realizing the connection communication between first processor and first memory;
The first processor is above-mentioned to realize for executing one or more program stored in first memory
The step of data communications method.
The present invention also provides a kind of terminal, the terminal includes second processor, second memory and the second communication bus;
Second communication bus is for realizing the connection communication between second processor and second memory;
The second processor is above-mentioned to realize for executing one or more program stored in second memory
The step of data communications method.
Optionally, the computer-readable recording medium storage has one or more program, one or more of
Program can be executed by one or more processor, the step of to realize above-mentioned data communications method.
Beneficial effect
The present invention provides a kind of data communications method, communication processing equipment, terminal and readable storage medium storing program for executing, for existing skill
The equipment that art supports Ble mesh technology cannot not support the equipment of the technology to interact based on Ble mesh technology with other, limit
The performance of the equipment, by providing a kind of data communications method, receives what first terminal was sent at the problem of influencing user experience
The first information of second terminal mailing address is carried, the second information is generated according to the first information, carries first in the second information
Then second information is based on ble mesh agreement and is sent to second terminal by the mailing address of terminal, thus by the information
The protocol conversion of corresponding mailing address and communication processing equipment to information is carried, the information exchange of across a network is realized.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the data communications method basic flow chart that first embodiment of the invention provides;
Fig. 4 is the ble mesh protocol frame structural schematic diagram that first embodiment of the invention provides;
Fig. 5 is the ble mesh protocol frame structural schematic diagram with the instruction of the address mac that first embodiment of the invention provides;
Fig. 6 is that the data communications method that second embodiment of the invention provides extends flow chart;
Fig. 7 is that the data communications method that second embodiment of the invention provides extends flow chart;
Fig. 8 is the data communications method signal flow diagram that third embodiment of the invention provides;
Fig. 9 is the communication processing equipment composition figure that fourth embodiment of the invention provides;
Figure 10 is the composition schematic diagram for the terminal that fifth embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
Fig. 3 is data communications method basic flow chart provided in this embodiment, is applied at least support first terminal and the
The communication processing equipment of the communication protocol of two terminals, and wherein second terminal supports ble mesh agreement, first terminal and second
Terminal supports different agreements, as wlan (WLAN), NFC (Near Field Communication, near-field communication),
Zigbee communication agreement etc.;It should be understood that other than these communication protocols, first terminal and communication processing equipment it
Between communication be also possible to based on other any feasible agreements.The data communications method includes:
S301, communication processing equipment receive the first information for carrying second terminal mailing address that first terminal is sent;
S302, communication processing equipment generate the second information according to the first information;
Second information is based on Ble mesh agreement and is sent to second terminal by S303, communication processing equipment.
First terminal needs to carry the first information in the first information when sending the first information to communication processing equipment
Destination address namely second terminal mailing address, after receiving the first information with communication processing equipment, understand
It needs the first information being sent to second terminal.So-called mailing address can be MAC (Media Access in the present embodiment
Control, media access control) address, it is also possible to other kinds of mailing address.
When the first information being sent to communication processing equipment due to first terminal, used communication protocol is not Ble
Mesh agreement, therefore, the frame structure of the first information may be not appropriate for transmitting under Ble mesh agreement.In order to by first
The information that terminal is sent is sent to second terminal, and communication processing equipment, can be to the first information after receiving the first information
It is handled, such as the content extracted in the first information generates the second information.It should be appreciated that the second information should be Ble
The information of mesh protocol requirement.
Since the second information will be sent to second terminal by communication processing equipment, according only to Correspondent Node, second eventually
End possibly can not understand the practical transmitting terminal of information namely second terminal does not know which the practical object communicated with oneself is
It is a.In order to solve this problem, in the present embodiment, communication processing equipment is when generating the second information according to the first information,
The mailing address of first terminal can be carried in the second information, in other words, communication processing equipment can be by the source of the first information
Mailing address is included in the second information.
The second information generated below to communication processing equipment is simply introduced:
The frame structure of Ble mesh please refers to shown in Fig. 4, and all profile are using service+
The mode of characteristic come illustrate its support service, and service defined in type.Service is data
It is divided into independent logical item one by one, it includes one or more Characteristic.Each Service has a UUID
Unique identification, 128bit can be practical mac customized, therefore that sender in expression network can be identified using the field
Address, eventually as the exclusive evidence in ble mesh network in across a network interaction.Referring to FIG. 5, Fig. 5 be the present embodiment in from
Under definition forwarding service, ble mesh frame structure;Wherein, the value of UUID is set to
0X10000000000000000000000000000001 is one of example, can be any other and meets value model
The other values enclosed, the present embodiment are simultaneously not limited thereof.In Characteristic, then the address mac is accordingly written.
In the prior art, Ble mesh technology is primarily used to short distance broadcast operation, but in the present embodiment, by
Purpose mailing address can be got from the first information in communication processing equipment, therefore for communication processing equipment, the
Two information have specific intended recipient terminal.So Ble can be based on after communication processing equipment generates the second information
Second information is sent to corresponding intended recipient terminal by mesh agreement, namely is sent to second terminal.
Optionally, after second terminal receives the second information, dissection process can be carried out to the second information received,
To obtain the content of information transmitted by first terminal, the purpose that first terminal sends information is understood.Such as second terminal can be with
Service discovery data frame is extracted from the second information, and the information carried in content field is determined according to identification field therein
It is exactly the mailing address of the practical transmitting terminal of the information.
It should be understood that second terminal receives after the second information in some examples of the present embodiment, it is also possible to
It needs according to the second information, carries out information-reply to first terminal, second terminal is real so communication processing equipment also wants help
Now sent to the information of first terminal.In this case, second terminal can find agreement according to from the second information service
The mailing address of the first terminal extracted in frame sends information to first terminal.
It is worth noting that, the communication means provided in the present embodiment is suitable for first terminal and does not prop up according to foregoing description
Ble mesh technology is held, and the case where second terminal support Ble mesh technology, but it will be appreciated by those skilled in the art that,
Communication means provided in this embodiment is applied equally to the situation that two terminals all support Ble mesh agreement.In other words, though
Right two terminals all support ble mesh agreement, but the two terminal supports other agreements simultaneously, can be in interactive process
Other agreements, through this embodiment in data communications method realize interaction.
The present embodiment provides a kind of data communications methods, when first terminal is unsuitable for being led to using Ble mesh technology
Letter, and second terminal expectation using Ble mesh technology carry out information exchange when, first terminal can will need to be sent to second
The information of terminal is sent to communication processing equipment, since communication processing equipment had both been supported with first terminal using Ble mesh agreement
Communication protocol communication in addition, meanwhile, it is communicated using Ble mesh technology with second terminal by supporting again, therefore by logical
The auxiliary for believing processing equipment can make second terminal realize the information between first terminal using its desired communication mode
Interaction achievees the effect that across a network interaction, to fully ensure that the experience of first terminal side Yu second terminal side user.
Second embodiment
Fig. 6 is the data communications method flow chart that second embodiment of the invention provides, to be provided in first embodiment
Data communications method on the basis of, extension and extension that it is carried out;The data communications method includes:
S601, second terminal judge whether the third information to outgoing has specific intended recipient terminal;
Second terminal judges whether third information has specific intended recipient terminal, if it is judged that be it is yes, then illustrate
Third information is to need to be sent to the clear or effective intended recipient terminal of some or certain several mailing addresses.But if judgement knot
Fruit be it is no, then illustrate second terminal at present and can not determine that the practical receiving end of third information is which or which terminal, therefore
Communication processing apparatus is needed to carry out information broadcast.
The mailing address of intended recipient terminal is added in the forwarding instruction of third information by S602, second terminal;
If the third information of second terminal outgoing can be believed by specific intended recipient terminal, second terminal in third
The mailing address of the intended recipient terminal is carried in the forwarding instruction of breath, it should be appreciated that since the mailing address can be only
One corresponds to intended recipient terminal, therefore the mailing address is effective.
Default mailing address is added in the forwarding instruction of third information by S603, second terminal;
If determining that third information does not have specific intended recipient terminal by the judgement of second terminal, therefore, second eventually
Default mailing address can be added in the forwarding instruction of third information by end.It is understood that default mailing address can be with
It is invalid mailing address, so-called invalid mailing address refers to the mailing address of no intended recipient terminal and presets logical here
Believe that address matching is consistent.By mailing address be MAC Address for: it is assumed that MAC Address FF:FF:FF:FF:FF:FF currently without with
Corresponding terminal, then the MAC Address belongs to invalid MAC Address.Second terminal and communication processing equipment (such as gateway is set
It is standby) MAC Address can be scheduled to as default mailing address.Certainly, communication processing equipment and second terminal can make a reservation for set
Set multiple default mailing addresses, second terminal determine need through communication processing equipment overseas broadcast third information when, can be with
It is carried in the forwarding instruction of third information from selection one in this multiple default mailing address.Wherein, address FF:FF:FF:
FF:FF:FF can be used as, the tag addresses that message is broadcasted, and can be broadcasted message based on the address information, and
It is not limited to be transferred to specified terminal.
Third information is based on Ble mesh agreement and is sent to communication processing equipment by S604, second terminal.
After the completion of third information generates, which can be sent to together by second terminal based on Ble mesh agreement
Sample supports the communication processing equipment of Ble mesh technology, so that communication processing equipment is by third information according to second terminal
It is required that issuing corresponding practical receiving end outside.
Communication processing equipment, can be to the letter after receiving the third information that second terminal is sent based on ble mesh agreement
Breath is handled and is forwarded, referring to FIG. 7, specific as follows:
S701, communication processing equipment receive the third information that second terminal is sent;
Communication processing equipment is communicated with second terminal using Ble mesh technology, therefore, when second terminal is by third
When information carries out outgoing by Ble mesh communication mode, communication processing equipment be can receive.
Third information is converted into supporting the 4th information of WLAN WLAN technology by S702, communication processing equipment;
Since second terminal is needed through communication processing equipment outgoing messages, so, the practical receiving end of third information is logical
It in normal situation is not supported or is not presently adapted to using Ble mesh technical communication.Therefore, in order to send information to reality
Receiving end, communication processing equipment need to convert third information.It is assumed that the practical receiving end of third information is supported to use
WLAN technology is communicated, then communication processing equipment can be by carrying out frame format conversion to third information, to be supported
4th information of WLAN technology.
S703, communication processing equipment send the 4th information according to the indicated practical receiving end of forwarding instruction.
Since the forwarding instruction carried in third information can indicate the practical receiving end of information, so obtaining the
After four information, communication processing equipment can carry out outgoing to the 4th information according to the forwarding instruction carried in third information
?.If the mailing address that communication processing equipment is extracted from the forwarding instruction of third information is effective, communication processing equipment can
The 4th information is sent with being based on WLAN communication protocol according to the mailing address.If communication processing equipment determines that third is believed
In breath forwarding instruction the mailing address that carries is invalid, then, communication processing equipment can be based on WLAN communication protocol to receiving
4th information carries out broadcast transmission.
It is generated with second terminal side and the process of outgoing third information is corresponding, communication processing equipment is in judge to receive the
When whether the mailing address in three information is effective, it can be determined that whether the mailing address is default mailing address.Such as in this reality
It applies in a kind of example of example, default mailing address is MAC Address " FF:FF:FF:FF:FF:FF ", then in the judgment process, communication
Processing equipment can extract the mailing address in the forwarding instruction of third information, then by the mailing address of extraction and MAC Address
" FF:FF:FF:FF:FF:FF " carries out matching comparison, if communication processing equipment determine the mailing address that extracts with " FF:FF:
FF:FF:FF:FF " is identical, then illustrates that the mailing address carried in third information is invalid mailing address, otherwise illustrates that third is believed
The mailing address that carries is effective in breath forwarding instruction, can directly by the mailing address, address carries out the 4th letter as a purpose
The transmission of breath.
It optionally, can also include: to receive after the second information to be based on to Ble mesh agreement and is sent to second terminal
The 5th information that second terminal is sent according to the second information, the 5th information and the second information carry same mailing address;By
Five information are converted into supporting the 6th information of WLAN technology;The 6th information is based on according to the mailing address carried in the 5th information
WLAN protocol is sent to first terminal.5th information is by second terminal according to the second information feedback information generated, hair
The object sent is exactly the first terminal for sending the first information;In such a case, it is possible to by communication entrained in the second information
Address is as former state in the 5th information of filling;Data processing equipment is after receiving the 5th information, the communication protocols based on first terminal
5th information is converted to the 6th information for supporting WLAN protocol, the 6th information is then transmitted to first by view, such as WLAN protocol
Terminal, to complete this message feedback process.
3rd embodiment
Referring to FIG. 8, Fig. 8 is the data communications method signal flow diagram that third embodiment of the invention provides, it is applied to tool
Have in first terminal, second terminal and communication processing equipment communication system;Data communications method specifically includes:
S801, first terminal send the first information to communication processing equipment;
Wherein, in the first information, the purpose terminal that first terminal sends the first information, that is, the second end are carried
The address information at end.
The first information is converted to the second information by S802, communication processing equipment;
Communication processing equipment parses the content of the first information, determines that the sending object of the first information is second terminal;Then,
Communication processing equipment is converted accordingly based on the communication protocol with second terminal, by the first information, is converted to second terminal
Second information of the ble mesh agreement supported.At the same time, communication processing equipment can add the address information of first terminal
It adds in the second information.
Second information is sent to second terminal by S803, communication processing equipment;
After completing protocol conversion, the second information can be sent to second terminal by communication processing equipment.
S804, second terminal are based on the second information, generate third information;
Second terminal receives the second information and is parsed accordingly, parses result to need according to the second information next life
At third information, and first terminal is fed back to, then, second terminal generates third information, and the ground that will be carried in the second information
Location information is inserted in third information as former state.
Third information is sent to communication processing equipment by S805, second terminal;
Second terminal is based on ble mesh agreement, and third information is sent to communication processing equipment.
Third information is converted to the 4th information by S806, communication processing equipment;
Communication processing equipment is parsed after receiving third information, parses address information therein, and issue this
The equipment of three information be ble mesh protocol devices, therefore the address information instruction should be purpose terminal address information,
That is first terminal;The third information is converted to the 4th information by the agreement that communication equipment is supported based on first terminal.
4th information is sent to first terminal by S807, communication processing equipment.
Fourth embodiment
Fig. 9 is the communication processing equipment composition schematic diagram that fourth embodiment of the invention provides, which includes
First processor 91, first memory 92 and the first communication bus 93;
First communication bus 93 is for realizing the connection communication between first processor 91 and first memory 92;
First processor 91 is above-mentioned each to realize for executing one or more program stored in first memory 92
The step of data communications method in embodiment, which is not described herein again.
5th embodiment
Figure 10 is the terminal composition schematic diagram that provides of fifth embodiment of the invention, which includes second processor 101, the
Two memories 102 and the second communication bus 103;
Second communication bus 103 is for realizing the connection communication between second processor 101 and second memory 102;
Second processor 101 is above-mentioned to realize for executing one or more program stored in second memory 102
The step of data communications method in each embodiment, which is not described herein again.
Sixth embodiment
The present embodiment additionally provides a kind of computer readable storage medium, is stored with one in the computer readable storage medium
A or multiple computer programs, which can be executed by one or more processor, with reality
The step of showing the data communications method in the various embodiments described above, which is not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of data communications method, which is characterized in that the data communications method includes:
Receive the first information for carrying second terminal mailing address that first terminal is sent;
The second information is generated according to the first information, the mailing address of the first terminal is carried in second information;
Second information is based on bluetooth low energy consumption grid network ble mesh agreement and is sent to the second terminal.
2. data communications method as described in claim 1, which is characterized in that second information is based on Ble described
Mesh agreement is sent to after the second terminal, further includes:
Receive the third information that the second terminal is sent, include in the third information for the practical receiving end to information into
The forwarding instruction of row instruction;
The third information is converted into support the 4th information of WLAN WLAN technology;
According to the forwarding instruction, indicated practical receiving end sends the 4th information.
3. data communications method as claimed in claim 2, which is characterized in that the reality indicated according to the forwarding instruction
Border receiving end send to the 4th information
If the indicated mailing address of the forwarding instruction is effective, the 4th information is sent according to the mailing address.
4. data communications method as claimed in claim 3, which is characterized in that described to send described the according to the mailing address
Before four information, further includes: indicating indicated mailing address by the determination forwarding is not default mailing address to determine
The mailing address is effective;
If it is determined that mailing address indicated by the forwarding instruction is default mailing address, then determine that the mailing address is invalid,
Broadcast transmission is carried out to the 4th information.
5. data communications method as described in any one of claims 1-3, which is characterized in that described by the second information base
After Ble mesh agreement is sent to the second terminal, further includes:
Receive the 5th information that the second terminal is sent according to second information, the 5th information and second information
Carry same mailing address;
5th information is converted into support the 6th information of WLAN technology;
The 6th information is based on WLAN protocol according to the mailing address carried in the 5th information and is sent to described first
Terminal.
6. a kind of data communications method, which is characterized in that the data communications method includes:
The second information that communication processing equipment is sent based on Ble mesh agreement is received, second information is by the communication process
Equipment is generated according to the first information that first terminal is sent, and second information includes the mailing address of the first terminal;
Dissection process is carried out to second information.
7. data communications method as claimed in claim 6, which is characterized in that carried out at parsing described to second information
After reason, further includes:
Third information is sent to the communication processing equipment based on Ble mesh agreement, includes for letter in the third information
The indicative forwarding instruction in the practical receiving end of breath, so that the third information is converted into supporting by the communication processing equipment
After 4th information of WLAN technology, according to the forwarding instruction, the 4th information is sent out in indicated practical receiving end
It send.
8. a kind of communication processing equipment, which is characterized in that the communication processing equipment include first processor, first memory and
First communication bus;
First communication bus is for realizing the connection communication between first processor and first memory;
The first processor is for executing one or more program stored in first memory, to realize such as claim
The step of 1-5 described in any item data communications methods.
9. a kind of terminal, which is characterized in that the terminal includes second processor, second memory and the second communication bus;
Second communication bus is for realizing the connection communication between second processor and second memory;
The second processor is for executing one or more program stored in second memory, to realize such as claim
The step of data communications method described in 6 or 7.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 7
Any one of described in data communications method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681366.8A CN108966162A (en) | 2018-06-27 | 2018-06-27 | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681366.8A CN108966162A (en) | 2018-06-27 | 2018-06-27 | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108966162A true CN108966162A (en) | 2018-12-07 |
Family
ID=64487431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810681366.8A Pending CN108966162A (en) | 2018-06-27 | 2018-06-27 | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108966162A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995475A (en) * | 2019-04-04 | 2019-07-09 | 江苏紫米软件技术有限公司 | A kind of control method of intelligent terminal, device, storage medium and electronic equipment |
CN115002941A (en) * | 2022-08-08 | 2022-09-02 | 浙江正泰仪器仪表有限责任公司 | Communication method of Bluetooth electric energy meter |
WO2023020046A1 (en) * | 2021-08-19 | 2023-02-23 | 华为技术有限公司 | Communication method and communication apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104467925A (en) * | 2014-12-31 | 2015-03-25 | 重庆金瓯科技发展有限责任公司 | Dual-mode Bluetooth communication control method and dual-mode Bluetooth communication switching device |
CN105388777A (en) * | 2015-12-16 | 2016-03-09 | 江苏惠通集团有限责任公司 | Smart home control system |
WO2016173807A1 (en) * | 2015-04-28 | 2016-11-03 | Qualcomm Technologies International, Ltd. | Application framework |
CN206807796U (en) * | 2016-08-31 | 2017-12-26 | 四川金理念科技有限公司 | A kind of low-power consumption bluetooth turns WIFI equipment |
-
2018
- 2018-06-27 CN CN201810681366.8A patent/CN108966162A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104467925A (en) * | 2014-12-31 | 2015-03-25 | 重庆金瓯科技发展有限责任公司 | Dual-mode Bluetooth communication control method and dual-mode Bluetooth communication switching device |
WO2016173807A1 (en) * | 2015-04-28 | 2016-11-03 | Qualcomm Technologies International, Ltd. | Application framework |
CN105388777A (en) * | 2015-12-16 | 2016-03-09 | 江苏惠通集团有限责任公司 | Smart home control system |
CN206807796U (en) * | 2016-08-31 | 2017-12-26 | 四川金理念科技有限公司 | A kind of low-power consumption bluetooth turns WIFI equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995475A (en) * | 2019-04-04 | 2019-07-09 | 江苏紫米软件技术有限公司 | A kind of control method of intelligent terminal, device, storage medium and electronic equipment |
WO2023020046A1 (en) * | 2021-08-19 | 2023-02-23 | 华为技术有限公司 | Communication method and communication apparatus |
CN115002941A (en) * | 2022-08-08 | 2022-09-02 | 浙江正泰仪器仪表有限责任公司 | Communication method of Bluetooth electric energy meter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110351704A (en) | A kind of paging control method, dual-card dual-standby terminal and computer readable storage medium | |
CN107707450A (en) | A kind of method, apparatus and computer-readable recording medium for transmitting file | |
CN109379735A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN110180181A (en) | Screenshot method, device and the computer readable storage medium of Wonderful time video | |
CN109462700A (en) | A kind of call method, mobile terminal and computer readable storage medium | |
CN110069167A (en) | Touch point sweep-out method, mobile terminal and computer readable storage medium | |
CN108901083A (en) | Method for transmitting signals, signal transmission apparatus, terminal and storage medium | |
CN108966162A (en) | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing | |
CN107493396A (en) | Button screen method, terminal and computer-readable recording medium | |
CN109428923A (en) | Information push method, server, terminal and computer readable storage medium | |
CN110213717A (en) | A kind of localization method, localization message remind terminal and localization message system for prompting | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN108900503A (en) | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing | |
CN109062678A (en) | A kind of Working mode switching method, wearable device and computer storage medium | |
CN108449736A (en) | A kind of data transmission method, terminal and computer readable storage medium | |
CN109947519A (en) | Hardware-accelerated control method, terminal and computer readable storage medium | |
CN110191477A (en) | A kind of web search control method, terminal and computer readable storage medium | |
CN109889660A (en) | Temporary information recording method, storage medium and mobile terminal | |
CN109089258A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN109918101A (en) | Terminal and its application component management method, computer readable storage medium | |
CN109151163A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109257739A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN109219039A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN109151201A (en) | A kind of Anti-addiction method, mobile terminal and computer storage medium | |
CN108833132A (en) | log acquisition control method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |