Method and electronic device for transmitting group message

An electronic device includes wireless communication circuitry configured to perform wireless communication with at least one external electronic device, a sensor configured to obtain information related to the electronic device, a processor operatively coupled to the wireless communication circuitry and the sensor, and a memory operatively coupled to the processor. The memory may store instructions, which upon execution, enable the processor to control the electronic device to: obtain first information comprising information obtained through the sensor and information on a user of the electronic device, obtain second information for the at least one external electronic device from the at least one external electronic device through the wireless communication circuitry, generate at least one group based on at least one piece of criterion information based on the obtained first information and the obtained second information, and group the at least one external electronic device based on the generated at least one group.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based on and claims priority under 35 U.S.C. § 119 to Korean patent application number 10-2019-0011955, filed on Jan. 30, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

Field

The disclosure relates to a method and electronic device for grouping external electronic devices based, for example, on a vehicle to everything (V2X) technology and transmitting a group message to the group.

Description of Related Art

Wireless networking (e.g., vehicle to everything (V2X)) in a vehicle may be a technology in which a vehicle exchanges information with another external electronic device (e.g., another vehicle, mobile device or base station) over a wired or wireless communication network. Wireless networking in a vehicle may be divided into vehicle to infrastructure (V2I), vehicle to vehicle (V2V), vehicle to nomadic device (V2N) and/or vehicle to pedestrian (V2P). For example, in V2V, vehicles may exchange information. In V2I, vehicle running information may be exchanged through a base station installed on a road. A wireless networking technology (e.g., V2X technology) in a vehicle is a technology for performing mutual communication in real time, and may collectively refer to communication between a vehicle and a vehicle and communication between a vehicle and a thing. In the V2X technology, vehicles may exchange surrounding traffic information (e.g., the present traffic condition, an accident situation, access notification or a collision warning for a vehicle). Information related to a vehicle may be provided to a user.

Recently, a traffic system is grafted onto the development of the wireless communication technology, enabling various intelligent technology-added services. An electronic device may provide intelligent technology-added services to a user by exchanging multimedia data, such as moving images or images with an external electronic device.

In general, the V2X technology corresponds to a method of transmitting data to all external electronic devices (e.g., other electronic devices) located within a set range. It may be difficult for a vehicle (e.g., electronic device) to which the V2X technology has been applied to transmit desired data to only a given group or a given external electronic device. Particularly, if a vehicle to which the V2X technology has been applied is running, it may be difficult for the vehicle to select or directly designate a given group and to transmit a group message to only the given group.

SUMMARY

According to various embodiments of the disclosure, a vehicle to which V2X technology has been applied may provide at least one group based on the state of a running external electronic device, may select one of the generated at least one group, and may transmit a group message to the selected one group.

According to various example embodiments of the disclosure, an electronic device includes: wireless communication circuitry configured to perform wireless communication with at least one external electronic device, a sensor configured to obtain information related to the electronic device, a processor operatively coupled to the wireless communication circuitry and the sensor, and a memory operatively coupled to the processor. The memory may be configured to store instructions, which upon execution, enable the processor to control the electronic device to: obtain first information comprising information obtained through the sensor and information on a user of the electronic device, obtain second information for the at least one external electronic device from the at least one external electronic device through the wireless communication circuitry, generate at least one group based on at least one piece of criterion information based on the obtained first information and the obtained second information, and group the at least one external electronic device based on the generated at least one group.

According to various example embodiments of the disclosure, an electronic device includes: wireless communication circuitry configured to perform wireless communication with at least one external electronic device, a display, a processor operatively coupled to the wireless communication circuitry and the display, and a memory operatively coupled to the processor. The memory may store instructions, which upon execution, enable the processor to control the electronic device to: transmit, to the at least one external electronic device, information on a user stored in the memory using the wireless communication circuitry, obtain, from the at least one external electronic device, at least one group message based on a vehicle to everything (V2X) technology, identify whether the electronic device is included as a group member list in the group message, and display the obtained at least one group message on the display based on a result of the identification.

According to various example embodiments of the disclosure, a grouping method may include: obtaining first information comprising information on an electronic device obtained through a sensor and information on a user of the electronic device, obtaining second information for at least one external electronic device from the at least one external electronic device through wireless communication circuitry of the electronic device, generating at least one group based on at least one piece of criterion information based on the obtained first information and the obtained second information, and grouping the at least one external electronic device based on the generated at least one group.

DETAILED DESCRIPTION

Hereinafter, various example embodiments of the disclosure will be described in greater detail with reference to accompanying drawings.

The auxiliary processor123may control at least some of functions or states related to at least one (e.g., the display device160, the sensor module176, or the communication module190) of the components of the electronic device101, instead of the main processor121while the main processor121is in an inactive (e.g., sleep) state, or along with the main processor121while the main processor121is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor123(e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module180or the communication module190) functionally related to the auxiliary processor123.

The memory130may store various data used by at least one component (e.g., the processor120or the sensor module176) of the electronic device101. The various data may include, for example, software (e.g., the program140) and input data or output data for a command related thereto. The memory130(e.g., DRAM, SRAM or SDRAM) may include the volatile memory132or the non-volatile memory134.

The power management module188may manage power supplied to the electronic device101. According to an example embodiment, the power management module188may be implemented as at least part of, for example, a power management integrated circuit (PMIC).

FIG. 2Ais a block diagram illustrating an example electronic device according to various embodiments, andFIG. 2Bis a block diagram illustrating an example electronic device according to various embodiments.

Referring toFIG. 2A, the electronic device201(e.g., the electronic device101inFIG. 1) may include an application processor (AP) (e.g., including processing circuitry)211, a display212, an audio module (e.g., including audio circuitry)213, a camera214, a PMIC215, a USB interface (e.g., including USB interface circuitry)216, a battery217, a sensor hub218, an acceleration sensor219, a gyro sensor220, a geomagnetic sensor221, a GPS module (e.g., including GPS circuitry)231, an antenna for GPS232, a radio-frequency integrated circuit (RFIC)233, an antenna for RFIC234, an integrated module (e.g., including processing circuitry)235, an antenna for integrated module236, a security module (e.g., including a secure storage)237and a memory250.

The AP211(e.g., the main processor121inFIG. 1) may include various processing circuitry and control an overall operation of the electronic device201. For example, when an instruction stored in the memory250(e.g., the memory130inFIG. 1) is executed, the AP211may control at least one piece of hardware to perform an operation corresponding to the instruction. The AP211may have any one of a sleep state or an auto-activation (or wake-up) state. In the sleep state, the AP211may not perform any operation, and thus the consumption of power by the AP211may be reduced. The AP211may switch to the wake-up state or any one of various states of the electronic device201using various conditions as triggers. The various states may be associated with, for example, and without limitation, at least one of transmission or reception based on at least one of a personal safety message (PSM) or a basic safety message (BSM), or the like. In the wake-up state, the AP211may operate in response to an instruction stored in the memory250. The AP211may include various types of information, such as, for example, and without limitation, data obtained from various sensors, such as the acceleration sensor219, the gyro sensor220or the geomagnetic sensor221, data obtained from the GPS module231, the results of analysis of an image obtained from the camera214, or the like. The AP211may control the integrated module235and the antenna for integrated module235to transmit a communication signal including the obtained information. Although not illustrated, a front end module (FEM) may be connected between the integrated module235and the antenna for integrated module236.

The integrated module235may include various processing circuitry and may be implemented as a chipset capable of performing both data processing for Wi-Fi and data (e.g., data for WAVE) processing associated with vehicle safety. For example, the integrated module235may be implemented as a chipset fabricated to process data according to IEEE 802.11 a/b/n/p. Furthermore, the antenna for integrated module236may perform the transmission and reception of a communication signal for Wi-Fi and the transmission and reception of a communication signal (e.g., communication signal for WAVE) associated with vehicle safety. For example, the communication signal for Wi-Fi may use a frequency band having a center frequency of 5 GHz. The communication signal for WAVE may use a frequency band having a center frequency of 5.8 GHz, which has a smaller difference than the frequency band for Wi-Fi. Accordingly, the antenna for integrated module236may perform both the transmission and reception of the two communication signals. The antenna for integrated module236has been illustrated as being one antenna, but this is merely illustrative. The antenna for integrated module236may be implemented as a plurality of antennas as required by a communication standard.

Information necessary for data processing for WAVE may be stored in the security module237. The integrated module235may process data for WAVE using the stored information. For example, various types of information, such as information used for WAVE modulation/demodulation, information used for encryption/decryption, or information used to process a message, may be stored in the security module237. The security module237may include a secure storage and may be directly or indirectly accessed by the integrated module235, the AP211or the sensor hub218. In some implementations, the security module237may be integrated with the memory250or may be implemented as different hardware.

The integrated module235may obtain data from the AP211, may generate an electrical signal corresponding to a communication signal for WAVE by processing the data, and may provide the generated electrical signal through the antenna for integrated module236. The integrated module235may obtain data from the sensor hub218, may generate an electrical signal corresponding to a communication signal for WAVE by processing the data, and may provide the generated electrical signal through the antenna for integrated module236. For example, if the state of the AP211is the wake-up state, the integrated module235may obtain data from at least one of the AP211or the sensor hub218. If the state of the AP211is the sleep state, the integrated module235may obtain data from the sensor hub218. The sensor hub218(e.g., the auxiliary processor123) may include at least one of a processing circuitry capable of obtaining data from at least one of sensors (e.g., the acceleration sensor219, the gyro sensor220or the geomagnetic sensor221) or the GPS module231and processing the data or a storage circuitry capable of storing the data transiently or non-transiently.

The integrated module235may include at least one of a processing circuitry capable of processing a communication signal for WAVE, a transmission circuitry capable of transmitting the communication signal, or a reception circuitry capable of obtaining a communication signal. The integrated module235may scan a communication signal in a given cycle in order to obtain the communication signal, may analyze the communication signal, and may operate although the state of the AP211is the sleep state. The integrated module235may receive a communication signal, and may wake up the AP211if data included in the communication signal satisfies a given condition. In a common Wi-Fi operation, if the state of the AP211is the sleep state, the integrated module235may wake up the AP211if a communication signal is received from an access point that has been previously connected or that has a given condition. Information on the access point that has been previously connected or that has a given condition may be updated. Accordingly, information of the storage of the integrated module235may be changed by the AP211if the information on the access point needs to be updated. The integrated module235may operate based on the changed information.

The integrated module235may include transmission circuitry for transmitting a communication signal and reception circuitry for processing a communication signal from an external electronic device. The electronic device201may selectively enable the transmission circuitry or the reception circuitry. For example, the transmission circuitry may be disabled and the reception circuitry may be enabled so that a communication signal is not transmitted and a communication signal from another entity is scanned. In this disclosure, a given module (e.g., the integrated module235or a vehicle communication module241inFIG. 2B) for performing communication may also be referred to, for example, as communication circuitry.

The AP211or the sensor hub218may identify a current location of the electronic device201. If the electronic device201is identified to be located outside a means of transportation (e.g., vehicle), the AP211or the sensor hub218may enable the transmission circuitry of the integrated module235in response thereto, and may control the transmission circuitry to transmit a communication signal including data obtained through the enabled transmission circuitry (e.g., a communication signal including a PSM). The AP211or the sensor hub218may control the electronic device201to transmit a communication signal using at least some of geographical information for a given area. For example, when the electronic device201enters a given area, it may obtain geographical information for the given area through a base station on the roadside or a server, and may store the information in the memory250. In various embodiments of the disclosure, the memory250may store information for a danger area. According to various embodiments of the disclosure, geographical information may be data that is related to at least one of a given latitude, longitude or altitude and that is represented as a numerical value or may be data of an image form. If location information of the electronic device201identified through the GPS module231is identified to belong to a given location (e.g., danger area), the AP211or the sensor hub218may control the integrated module235to transmit a communication signal.

If the state of the AP211is the sleep state, the sensor hub218may obtain at least some of geographical information for a given area from the memory250, may store the geographical information, and may compare the stored geographical information with the current location of the electronic device201identified through the GPS module231. The sensor hub218may determine whether to transmit a communication signal based on a result of the comparison.

The display212(e.g., the display160) may display various graphic objects (e.g., graphic user interface (GUI)) associated with vehicle safety. In various embodiments of the disclosure, the display212may display a graphic object capable of enabling whether to transmit and receive communication signals for WAVE. The AP211may transmit and receive communication signals for WAVE in response to an input, e.g., an input from a user. According to an example embodiment, the audio module213(e.g., the audio module170) may include various audio circuitry and output a vehicle-related warning voice. The camera214(e.g., the camera module180) may capture an image. The AP211may identify whether to transmit and receive communication signals for WAVE using an image obtained from the camera214. The PMIC215(e.g., power management module188) may supply at least one of a voltage or current of power from the battery217(e.g., the battery189) by controlling the voltage or current to a numerical value suitable for each piece of hardware. A cable of wired power transmission may be connected through the USB interface216(e.g., the interface177). The electronic device201may obtain power through the USB interface216(e.g., the interface177). The RFIC233may be implemented as a chipset for data communication, for example. The RFIC233may generate an electrical signal, corresponding to a signal for data communication, based on data from the AP211, and may provide the electrical signal to the antenna for RFIC234. The acceleration sensor219may identify the acceleration of the electronic device201. The gyro sensor220may identify rotation information. The geomagnetic sensor221may identify geomagnetic information.

The AP211or the sensor hub218may include information in a communication signal (e.g., a communication signal including a PSM) to be transmitted through the integrated module235using data from various types of sensors (e.g., the acceleration sensor219, the gyro sensor220or the geomagnetic sensor221) or the GPS module231. In various embodiments of the disclosure, the electronic device201may not include the sensor hub218. In this case, the AP211may be always in the wake-up state or may periodically wake up and identify whether to transmit a communication signal.

In various embodiments of the disclosure, the AP211or the sensor hub218may execute a vulnerable road user (VRU) safety application. The VRU safety application may be an application capable of generating the BSM or PSM. The VRU safety application may identify the location, heading, speed or time of the electronic device201or a relative location for other entities based on at least some of data from the GPS module231, data obtained from a BLE positioning system, or data collected from various sensors (e.g., the acceleration sensor219, the gyro sensor220or the geomagnetic sensor221). The VRU safety application may generate a PSM in response to a detected event or may identify timing in which a corresponding PSM is transmitted.

In various embodiments of the disclosure, the AP211or the sensor hub218may select any one of various states of the electronic device201, and may identify the transmission or reception mode of a PSM or BSM in response to the selected state. The AP211or the sensor hub218may control the transmission and reception mode of the integrated module235(or the vehicle communication module241inFIG. 2B) based on the identified transmission or reception mode.

FIG. 2Bis a block diagram illustrating an example electronic device according to various embodiments. The electronic device201according to an example embodiment ofFIG. 2Bmay include a Wi-Fi module (e.g., including Wi-Fi circuitry)239and a vehicle communication module (e.g., including communication circuitry)241instead of the integrated module235ofFIG. 2A. The Wi-Fi module239may be implemented as a chipset including circuitry capable of performing Wi-Fi communication. The vehicle communication module241may be implemented as a chipset including various communication circuitry capable of performing WAVE communication, for example. The electronic device201may transmit and receive communication signals for Wi-Fi through an antenna for Wi-Fi240connected to the Wi-Fi module239. The electronic device201may transmit and receive communication signals for WAVE (e.g., a communication signal including a PSM or a communication signal including a BSM), for example, through an antenna for vehicle communication242connected to the vehicle communication module241. The vehicle communication module241may further include transmission circuitry and reception circuitry. If the vehicle communication module241is implemented according to a WAVE standard, it may also be referred to as a communication module for WAVE. In various embodiments of the disclosure, the vehicle communication module241and the Wi-Fi module239may be connected to the respective antennas242and240as inFIG. 2B. In other embodiments, the vehicle communication module241and the Wi-Fi module239may share an antenna.

Although not illustrated, the electronic device201may be implemented as a device having a dongle form. In this case, the electronic device201may be implemented in a simple form, including the vehicle communication module241and the antenna for vehicle communication242and control circuitry for calculation (e.g., a micro controlling unit (MCU), a digital signal processor (DSP), a field-programmable gate array (FPGA), a central processing unit (CPU), or the like), for example. The electronic device201may be connected to an external electronic device (e.g., the electronic device102or104inFIG. 1) in a wired or wireless way. The electronic device201may obtain sensor data or data related to a location from the external electronic device, and may transmit a communication signal including the data (e.g., a communication signal including a PSM or a communication signal including a BSM).

FIG. 3is a diagram illustrating an example process of processing a group message according to various embodiments.

Referring toFIG. 3, an electronic device (e.g., the electronic device101inFIG. 1) may install a V2X application310for performing wireless networking related to the V2X technology along with an external electronic device350(e.g., the electronic device104inFIG. 1). For example, a processor (e.g., the processor120inFIG. 1) of the electronic device101may install the V2X application310(e.g., the program140inFIG. 1) related to wireless networking in a memory (e.g., the memory130inFIG. 1). The V2X application310may include at least one application320(e.g., the application146inFIG. 1). The V2X application310may include at least one algorithm330corresponding to at least one application320. Hereinafter, the electronic device101may include the electronic device of a vehicle to which the V2X technology has been applied. According to an example embodiment, the electronic device101may transmit and receive data to the external electronic device350(e.g., the electronic device104inFIG. 1) through a communication protocol311(e.g., standard IEEE 802.11p). For example, the electronic device101may communicate with the external electronic device350(e.g., another running vehicle, base station or mobile device) while running, and may transmit a message to the external electronic device350. According to an example embodiment, the electronic device101may be a running vehicle. The external electronic device350may include, for example, and without limitation, an electronic device embedded in another running vehicle, an electronic device embedded in a bicycle, an electronic device owned by a pedestrian, or the like.

According to an example embodiment, at operation301, the electronic device101may obtain (e.g., receive) a message from the external electronic device350. For example, the obtained message may be a group message. At operation303, the electronic device101may identify group message information based on the algorithm330related to the obtained message.

According to an example embodiment, at operation305, the electronic device101may obtain an input for transmitting a message to the external electronic device350. For example, the message to be transmitted may be a group message. At operation307, the electronic device101may transmit (e.g., send) the message to the external electronic device350based on the algorithm330related to the message to be transmitted.

According to various embodiments, a message related to the V2X technology (hereinafter referred to as a “V2X message”) may be configured based on a message format, such as, for example, and without limitation, a basic safety message (BSM), a personal safety message (PSM), or the like. The V2X message may include information on the location (e.g., latitude/longitude, speed and/or heading) of the electronic device101, but is not limited to the information. According to an example embodiment, a standard SAE J2735 DSRC message set that defines a data set included in a V2X message may be configured with 17 messages, 156 data frames, 230 data elements and/or 58 external data elements. The V2X message may include common data elements, such as speedy, heading, latitude, longitude or elevation. According to an example embodiment, the electronic device101may obtain a message from the external electronic device104, and may identify the obtained message using the V2X application320and the algorithm330.

An electronic device (e.g., the electronic device101inFIG. 1) according to various example embodiments of the disclosure may include: wireless communication circuitry (e.g., the communication module190inFIG. 3) configured to perform wireless communication with at least one external electronic device (e.g., the electronic device102or104inFIG. 1, the external electronic device350inFIG. 3), a sensor (e.g., the sensor module176inFIG. 1) configured to obtain information related to the electronic device101, a processor (e.g., the processor120inFIG. 1) operatively coupled to the wireless communication circuitry and the sensor, and a memory (e.g., the memory130inFIG. 1) operatively coupled to the processor. The memory may store instructions, which upon execution, enable the processor to control the electronic device to: obtain first information including information obtained through the sensor and information on the user of the electronic device, obtain second information for the at least one external electronic device from the at least one external electronic device through the wireless communication circuitry, generate at least one group based on at least one piece of criterion information based on the obtained first information and the obtained second information, and group the at least one external electronic device based on the generated at least one group.

According to an example embodiment, the processor may be configured to control the electronic device to connect the at least one external electronic device using the wireless communication circuitry based on a vehicle to everything (V2X) technology, and may exchange information related to the V2X technology with the at least one external electronic device.

According to an example embodiment, the at least one piece of criterion information may include at least one of a relative distance, relative velocity or relative acceleration between the electronic device and the at least one external electronic device, and may further include at least one of information on the type, heading or state of a vehicle corresponding to at least one of the electronic device or the at least one external electronic device.

According to an example embodiment, information obtained through the sensor may include at least one of pieces of information of the type, location, speed, acceleration, size or communication state of a vehicle corresponding to the electronic device. Information on the user of the electronic device may include at least one of pieces of information of the age, sex, driving experience or fellow passenger of a vehicle riding in a vehicle.

According to an example embodiment, the electronic device may further include a display (e.g., the display160inFIG. 1) operatively coupled to the processor. The processor may control the electronic device to display, on the display, a user interface including at least one of the at least one piece of criterion information, information on the generated at least one group or information on the at least one external electronic device included in the at least one group.

According to an example embodiment, the processor may control the electronic device to detect an input to select one of the at least one group through the user interface, and may transmit at least one message to the selected group in response to the detected input.

According to an example embodiment, the processor may generate at least one message based on a message format based on the V2X technology, and may transmit the at least one message to the at least one external electronic device included in the selected group.

According to an example embodiment, the message format based on the V2X technology may have a form in which a group message frame, including at least one of a group ID, an object ID list, and data, and V2X message optional have been combined.

According to an example embodiment, the at least one message may be a message stored in the memory or may include a message input through the user interface.

According to an example embodiment, the processor120may control the electronic device to search for at least one external electronic device to be invited to the at least one group, and may transmit the at least one message for inviting at least some of the retrieved at least one external electronic device to the at least one group.

According to an example embodiment, the processor may control the electronic device to identify whether the generated at least one group includes a plurality of external electronic devices, and may release grouping for the at least one group based on a result of the identification.

According to various example embodiments of the disclosure, an electronic device (e.g., the electronic device101inFIG. 1) may include: wireless communication circuitry (e.g., the communication module190inFIG. 3) configured to perform wireless communication with at least one external electronic device (e.g., the electronic device102or104inFIG. 1, the external electronic device350inFIG. 3), a display (e.g., the display160inFIG. 1), a processor operatively coupled to the wireless communication circuitry and the display, and a memory (e.g., the memory130inFIG. 1) operatively coupled to the processor. The memory may store instructions, which upon execution, enable the processor to control the electronic device to: transmit information on a user stored in the memory to the at least one external electronic device using the wireless communication circuitry, obtain at least one group message based on the V2X technology from the at least one external electronic device, identify whether the electronic device is included in the group message as a group member list, and display the obtained at least one group message on the display based on a result of the identification.

According to an example embodiment, the processor may control the electronic device to detect a withdrawal input from a group corresponding to the obtained at least one group message, may transmit a withdrawal request signal for withdrawal from the group based on a V2X technology in response to the withdrawal input, and may filter a group message transmitted by the group.

FIG. 4is a flowchart illustrating an example method of generating a group and transmitting a group message according to various embodiments.

Referring toFIG. 4, at operation401, a processor (e.g., the processor120inFIG. 1) of an electronic device (e.g., the electronic device101inFIG. 1) may control the electronic device to obtain first information related to the electronic device101. For example, the first information may include information related to the V2X technology, and may include at least some of the speed of a vehicle corresponding to the electronic device101, the location of the vehicle, the heading of the vehicle and/or information (e.g., the age, driving experience or sex of the driver, whether the driver is pregnant or whether a child is on board) related to a driver who drives the vehicle.

At operation403, the electronic device101may obtain second information related to the external electronic device104from at least one external electronic device (e.g., the electronic device104inFIG. 1) through a communication module (e.g., the communication module190inFIG. 3). For example, the second information may include information related to the V2X technology, and may include at least some of the speed, location or heading of the external electronic device104(e.g., an electronic device embedded in a vehicle, an electronic device owned by a pedestrian or a base station) and/or information (e.g., the age of a user, or the driving experience or sex of a driver or whether the driver is pregnant in the case of a vehicle) related to the user who uses the external electronic device104.

At operation405, the electronic device101may form groups according to at least one criterion based on the first information and the second information. For example, the groups may be classified into a vehicle group if the external electronic device104corresponds to an electronic device embedded in a vehicle, a pedestrian group if the external electronic device104corresponds to an electronic device owned by a pedestrian, and a bicycle group if the external electronic device104corresponds to an electronic device embedded in a bicycle, based on the external electronic device104. Furthermore, the groups may be classified into a male and a female based on the sex of a user who uses the external electronic device104.

At operation407, the electronic device101may select one of the formed groups. According to an example embodiment, a criterion for selecting a group may be preset by a developer and a user or may be selected based on a user's preference. For example, a group may be set based on the type of means of transportation (e.g., a vehicle, a bicycle or a pedestrian). According to an example embodiment, the electronic device101may display, on a screen, a group list corresponding to the formed groups, and may select at least one group in response to a user input.

At operation409, the electronic device101may transmit at least one message to the selected group. For example, the at least one message may have been previously written and stored in a memory (e.g., the memory130inFIG. 1), or a message corresponding to a group may have been predetermined. According to an example embodiment, the electronic device101may load at least one message, corresponding to the selected group, from the memory130, and may display the loaded at least one message on a screen. The electronic device101may transmit a message, corresponding to a user input, to the selected group based on the at least one message displayed on the screen as a group message. According to an example embodiment, the electronic device101may display a keypad for writing a message on a display (e.g., the display160inFIG. 1), and may transmit, to the selected group, a message written using the keypad as a group message.

FIG. 5Ais a diagram illustrating an example method of generating a group according to various embodiments,FIG. 5Bis a diagram illustrating an example method of generating a group according to various embodiments, andFIG. 5Cis a diagram illustrating an example method of generating a group according to various embodiments.

Referring toFIG. 5A, a vehicle501(e.g., the electronic device101inFIG. 1) to which the V2X technology has been applied may communicate with an external electronic device (e.g., an electronic device embedded in another vehicle, an electronic device embedded in a bicycle or an electronic device owned by a pedestrian) (e.g., the electronic device104inFIG. 1) located within a set range (e.g., the radius of curvature R) in a wired or wireless way, and may classify the external electronic device104as at least one group (e.g., a vehicle group510, a bicycle group520or a pedestrian group530). According to an example embodiment, the set range may be set based on an absolute value and reference value corresponding to the at least one group. The absolute value and reference value may be determined by a developer and a user. According to an example embodiment, the setting of a range corresponding to at least one group may be fixed or the range may be set based on a user's choice. According to an example embodiment, the external electronic device104may include an electronic device whose application related to the V2X technology has been enabled within a set range.

According to various embodiments, the vehicle501to which the V2X technology has been applied may obtain first information related to the vehicle501. For example, the first information may include at least some of a latitude, longitude, heading, speed, acceleration, communication state, data transmission time and/or V2X data element corresponding to the vehicle501.

According to various embodiments, the vehicle501to which the V2X technology has been applied may obtain second information related to the external electronic device104from the external electronic device104. According to an example embodiment, the electronic device101and the external electronic device104may exchange data through wired communication or wireless communication, and may transmit and receive data to which the V2X technology has been applied. According to an example embodiment, the vehicle501may transmit the first information to the external electronic device104. The vehicle501may obtain the second information from the external electronic device104.

According to various embodiments, the vehicle501may generate at least one group based on the first information and the second information, and may classify at least one external electronic device for each group based on the generated group.

FIG. 5Bis a diagram illustrating an example process of obtaining first information541corresponding to the vehicle501to which the V2X technology has been applied and second information543corresponding to another vehicle (e.g., the external electronic device104) and calculating a relative difference between the first information541and the second information543.

Referring toFIG. 5B, the first information541may include at least some of identification (ID) information, location information (e.g., latitude (lat), longitude (long), speed or heading corresponding to the vehicle501. The second information543may include at least some of ID information, location information, speed or heading corresponding to another vehicle (e.g., the external electronic device104). According to an example embodiment, the vehicle501may calculate a relative difference545between the first information and the second information, and may classify at least one group based on the calculated difference545. For example, the difference545may be a reference value for classifying a group. According to an example embodiment, the difference545may be a relative numerical value, and may include at least some of a relative distance (e.g., a relative distance difference between the vehicle501and another vehicle), a relative velocity (e.g., a speed difference between the vehicle501and another vehicle), a relative acceleration (e.g., an acceleration difference between the vehicle501and another vehicle), the type, heading (e.g., moving direction) or status information (e.g., the number of passengers or information on a driver) of a vehicle.

FIG. 5Cis a diagram illustrating an example process of generating at least one group based on the difference545calculated based on the first information541and the second information543. For example, the difference545may include a relative numerical value difference between the vehicle501and another vehicle, a relative difference between distances, a relative difference between velocities, a relative difference between accelerations, a difference between the types of vehicle, a relative difference between headings or a relative difference between pieces of status information. According to an example embodiment, the vehicle501may identify criterion information for classifying at least one group (e.g., classify a group based on a speed difference, classify a group based on a distance difference or classify a group based on heading) based on the difference545. The vehicle501may identify criterion information, and may identify at least one group corresponding to the criterion information. For example, for the at least one group, an absolute reference value (e.g., a value “K”) and a range value (e.g., a value “a”) may be set based on a set range in accordance with criterion information. For example, if at least one group is classified based on a “speed difference”, an absolute reference value (e.g., a value “K”) may be 10 km. If an absolute reference value is 10 km and a range value (e.g., a value “a”) is 10, a relative velocity difference between at least one group and the vehicle501may be divided into within 10 km, within 10˜20 km, and within 20˜30 km. According to an example embodiment, an absolute reference value (e.g., a value “K”) and a range value (e.g., a value “a”) may be changed and adjusted by a developer and a user.

Referring toFIG. 5C, a group may be classified as at least one group (e.g., a group A551, a group B553and a group C555) based on an absolute reference value (e.g., a value “K”) and a range value (e.g., a value “a”). For example, the group A551may include one vehicle (x=1) and two vehicles (x=2). The group B553may include three vehicles (x=3) and four vehicles (x=4). The group C555may include five vehicles (x=5) and six vehicles (x=6). For example, a relative velocity difference between the vehicle501and another vehicle may be identified as criterion information. The speed of the vehicle501may be 60 km. An absolute reference value (e.g., a value “K”) may be set to 10, and a range value (e.g., a value “a”) may be set to 10. Table 1 illustrates a process of classifying another vehicle as at least one group when the speed of the vehicle501is 60 km.

Referring to Table 1, a group (e.g., group A, group B or group C) may be classified based on an absolute reference value and a range value. A representative value (e.g., a middle value of a section for classifying a group) may be calculated based on the absolute reference value and the range value. For example, the representative value may be “(k+k+10)/2=representative value” if group section is (k˜k+10) (in the case of the group A). According to an example embodiment, a representative value corresponding to each group and a relative difference (e.g., a speed difference) between the vehicle501and another vehicle may be measured. At least one different vehicle may be grouped based on the measured representative value and the relative difference. Referring to Table 1, the vehicle501may classify another vehicle as one group based on a relative velocity difference between the vehicle501and another vehicle. For example, in Table 1, vehicles (e.g., two vehicles (x=2)) whose ID (e.g., an X-axis value inFIG. 5C) corresponds to 2 may move at the speed of about 67 km, and a representative value may be 5. A relative velocity difference between the vehicle501and the two vehicles (x=2) may be about 7 km because the speed of the vehicle501is about 60 km. The two vehicles (x=2) may be classified as the group A, that is, a group corresponding to a representative value (5) closest to the measured difference (7 km). The two vehicles having an ID corresponding to 2 may be classified as the group A. According to various embodiments, the vehicle501may measure a representative value and a difference, and may classify another vehicle as at least one group based on the representative value and the difference.

Referring toFIG. 5C, a group may be classified as the group A551, the group B553or the group C555. At least one different vehicle may be classified as one group. According to various embodiments, criterion information for classifying a group is not limited to a moving speed, and may be set based on a difference between the relative distances of vehicles or a difference between the relative headings of vehicles.

FIG. 6Ais a diagram illustrating example criterion for generating a group according to various embodiments, andFIG. 6Bis a diagram illustrating example criterion for generating a group according to various embodiments.

FIG. 6Aillustrates an example user interface611for configuring information on the electronic device101in an electronic device (e.g., the electronic device101inFIG. 1) to which the V2X technology has been applied. According to an example embodiment, the electronic device101may be an electronic device embedded in a vehicle. A user may configure data related to a vehicle, such as the type, size or registration number of a vehicle.

According to various embodiments, the electronic device101may communicate with an external electronic device (e.g., the electronic device104inFIG. 1) in a wired or wireless way, and may exchange information on a vehicle with the external electronic device. According to an example embodiment, regarding the electronic device101, the size of a vehicle may be assigned to a data element value as V2X-related information depending on a user's choice. The electronic device101may group the external electronic device104based on the size of the vehicle, and may calculate a representative value of the group corresponding to the size of the electronic device101. The electronic device101may search for a value most approximate or closest to a representative value corresponding to each group based on the calculated representative value, and may identify a group corresponding to the most proximate or closest value. For example, the electronic device101may identify a group based on a higher value if any one of the length, width or height of a vehicle exceeds a reference value.

FIG. 6Billustrates an example user interface612for configuring information on a user who uses the electronic device101in an electronic device (e.g., the electronic device101inFIG. 1) to which the V2X technology has been applied. According to an example embodiment, the electronic device101may be an electronic device embedded in a vehicle. A user who uses the electronic device101may be a driver. The electronic device101may store information (e.g., an inexperienced driver, a novice driver, a pregnant woman or a child on board) on a driver and a passenger.

According to various embodiments, the electronic device101may communicate with an external electronic device (e.g., the electronic device104inFIG. 1) in a wired or wireless way, and may exchange information on a driver and a passenger with the external electronic device104. According to an example embodiment, the electronic device101may group the external electronic device104based on driver information. For example, the electronic device101may generate at least one group based on status information (e.g., state value) for at least one external electronic device104, and may group the external electronic device104based on the generated at least one group. According to an example embodiment, the electronic device101and the external electronic device104may exchange group messages. The group message may include a group message ID and a group member list (e.g., unique information) included in a group. The electronic device101may identify at least one group to which the electronic device101belongs based on the group message. According to an example embodiment, the electronic device101may transmit a group message according to a broadcasting method, may select a group message transmitted by the external electronic device104based on a group to which the electronic device101belongs, and may obtain the selected group message.

According to various embodiments, the electronic device101may withdraw from a corresponding group if it does not want to receive a group message from the external electronic device104. For example, the electronic device101may configure a group message to be not received or may withdraw from a given group so that a group message is not received from only the given group. If a group message is received from the external electronic device104, the electronic device101may perform a process of making a withdrawal request for withdrawing from a group related to the group message or filtering out the group message so that the group message is not received.

According to an example embodiment, if the reception of a message from a given group is refused, the electronic device101may delete a given group from a group list to which the electronic device101belongs. According to an example embodiment, the electronic device101may block the reception of a group message by filtering out the group message generated by a given group. Furthermore, the electronic device101may disable a V2X program or delete information classified as a given group through a V2X program. According to an example embodiment, if the number of electronic devices belonging to a V2X group is 2 or less, the V2X group may be automatically removed.

FIG. 7Ais a flowchart illustrating an example method of transmitting a group message according to various embodiments,FIG. 7Bis a flowchart illustrating an example method of transmitting a group message according to various embodiments, andFIG. 7Cis a diagram illustrating an example format of a group message according to various embodiments.

FIG. 7Ais a flowchart illustrating an example method for an electronic device (e.g., the electronic device101inFIG. 1) to transmit a group message to at least one external electronic device (e.g., the electronic device104inFIG. 1). Referring toFIG. 7A, at operation701, the electronic device101may initialize a V2X module. For example, the V2X module may be an element of the electronic device101for applying the V2X technology. The electronic device101may initialize the V2X module for the application of the V2X technology.

At operation703, the electronic device101may start V2X transmission and reception. For example, the electronic device101may execute or enable a V2X program (e.g., application) for the application of the V2X technology. The electronic device101may execute a V2X program for transmitting and receiving data based on the V2X technology. According to an example embodiment, the electronic device101may obtain data (e.g., a V2X message) from the external electronic device104and transmit data to the external electronic device104. According to an example embodiment, the electronic device101may transmit data to at least one external electronic device104according to a broadcasting method.

At operation705, the electronic device101may identify whether the external electronic device104can be grouped based on the received V2X message. For example, the electronic device101may obtain a V2X message from at least one external electronic device104, and may perform grouping corresponding to common information based on the received V2X message. According to various embodiments, the electronic device101may perform grouping according to a condition if at least two of conditions, including a relative data difference calculated based on a first V2X message autonomously obtained with respect to the electronic device101and a second V2X message obtained from the external electronic device104, a value K, that is, an absolute value related to the V2X technology, or a range value “a”, are satisfied. According to an example embodiment, the electronic device101and the external electronic device104may perform groupings, respectively, or may perform groupings of different forms based on the state of the external electronic device104that has transmitted a V2X message.

At operation705, if it is identified that grouping is possible, at operation707, the electronic device101may group the at least one external electronic device104based on the received V2X message, and may display a group list on a user screen (e.g., the display160inFIG. 1). According to an example embodiment, the electronic device101may display a user interface for a V2X program on a screen. A group list may be displayed through the user interface. For example, the electronic device101may display a group list including at least one group so that a user can select a desired group.

At operation709, the electronic device101may select a group desired by a user and write a message. For example, the electronic device101may receive a user input for a group list, may identify a group corresponding to the user input, and may write a message corresponding to the identified group. According to an example embodiment, the message corresponding to the group may be a message stored in a memory (e.g., the memory130inFIG. 1) or may be a message directly written by a user. According to an example embodiment, the message may be written using a keyboard, voice or text by a user.

At operation711, the electronic device101may generate a group message frame having an element, such as a group ID, an object list or data. According to an example embodiment, data according to the V2X technology may be generated based on a configured format, and may include a frame of a message form.

At operation713, the electronic device101may generate a V2X message by including the generated group message frame in V2X message optional. For example, the V2X message may include a group message frame and V2X message optional, and may be generated in a format for exchanging information with the external electronic device104. A process of generating the group message frame is described in greater detail below with reference toFIG. 7C.

FIG. 7Bis a flowchart illustrating an example method for an electronic device (e.g., the electronic device101inFIG. 1) to receive a group message from an external electronic device (e.g., the electronic device104inFIG. 1). Referring toFIG. 7B, at operation721, the electronic device101may initialize a V2X module. At operation723, the electronic device101may start V2X transmission and reception. InFIG. 7B, operation721and operation723may operate identically with or similarly to operation701and operation703inFIG. 7A.

At operation725, the electronic device101may identify whether a group data frame list is present in the received V2X message. According to an example embodiment, the electronic device101may obtain a V2X message from the at least one external electronic device104, and may identify whether a group data frame list is present based on the received V2X message.

At operation725, if it is identified that the group data frame list is present, at operation727, the electronic device101may search the group data frame list for its own (e.g., the electronic device101) ID. For example, one or a plurality of IDs for the electronic device101may be searched for in the group data frame list.

At operation729, the electronic device101may identify whether the ID is searched for in a plurality of group data frame lists. If it is identified that the ID is searched for in a plurality of group data frame lists at operation729, at operation731, the electronic device101may set a group data frame representative value. At operation733, the electronic device101may output the contents of a group message, corresponding to the plurality of retrieved group data frame lists, in a text or voice form.

If it is identified that the ID is not searched for in a plurality of group data frame lists at operation729, the electronic device101does not belong to the received V2X message, and the V2X message may be neglected.

FIG. 7Cis a diagram illustrating an example format of a group message to which the V2X technology has been applied. Referring toFIG. 7C, the format751of a message (e.g., V2X message format) to which the V2X technology has been applied may be selectively combined with the configuration of V2X message optional753, and may be converted into a group message format. According to an example embodiment, the format of a group message to which the V2X technology has been applied may include a V2X message format751and V2X message optional753. The V2X message optional753may include the configuration of a group message set755.

The group message set755may include at least one group data frame756. The group data frame756may include a group ID, an object ID list and/or data. For example, the group ID is a unique ID value capable of identifying a group, and cannot have the same value. The object ID list may include a ID list for the external electronic device104belonging to a group. The data may include the contents of a group message. According to an example embodiment, the group data frame756may be configured and adjusted by a developer and a user, and may be a data set configured with the data elements of a group ID, an object ID list and/or data. According to various embodiments, if data (e.g., messages) to which the V2X technology has been applied is exchanged between the electronic device101and the external electronic device104, the data may be exchanged based on the V2X message format751. If grouped group messages are exchanged, they may be exchanged based on the group message set755.

FIG. 8Ais a diagram illustrating an example user interface related to the generation of a group according to various embodiments, andFIG. 8Bis a diagram illustrating an example user interface related to the generation of a group according to various embodiments.

An electronic device (e.g., the electronic device101inFIG. 1) may be grouped for the application of the V2X technology. A grouping target may be changed or adjusted based on criterion information. The electronic device101may display, on a screen (e.g., the display160inFIG. 1), a user interface801in which a grouping target is changed based on criterion information. According to an example embodiment, the electronic device101may exchange information related to the V2X technology with an external electronic device (e.g., the electronic device104inFIG. 1). The electronic device101may group the external electronic device104based on the exchanged information.

Referring toFIG. 8A, the electronic device101may group the external electronic device104based on the type of means of transportation (e.g., the type of vehicle). For example, grouping criterion information810may be configured by a user. A group to which the external electronic device104belongs may be changed based on the selection of the criterion information810. InFIG. 8A, the user interface801may differently display a bicycle group A, a full-size sedan B, a sport utility vehicle (SUV) C and a mid-size car D among vehicles, or a bus group E based on the type of vehicle. According to an example embodiment, the electronic device101may select at least one of the classified groups, and may transmit and receive group messages based on the selected at least one group.

According to various embodiments, the electronic device101may generate at least one group in real time based on at least some of the speed of a vehicle, the size, location information, acceleration or driver status of a vehicle or the type of vehicle, and may display the generated at least one group through the user interface801. The user interface801may differently display at least some of a color, size or interval in accordance with the generated at least one group so that the group is visually classified. The user interface801may display an exchange time when group messages may be exchanged using a graph of a bar form for each group. For example, the exchange time may be time when group messages may be transmitted and received between the electronic device101and at least one group. Each of the electronic device101and at least one group may be moving. For example, the faster the moving speed of each electronic device101is, the shorter the exchange time when group messages may be exchanged will be. According to an example embodiment, the electronic device101may transmit and receive group messages within a preset range, and may provide a user with the time when a group message corresponding to each group may be transmitted through the user interface801. According to an example embodiment, the user interface801may also display an arrow icon indicative of heading for each group. According to various embodiments, the electronic device101may display a grouping state between the electronic device101and the external electronic device104and information on each group through the user interface801. A user may intuitively identify the information based on the user interface801.

Referring toFIG. 8B, the electronic device101may display grouping criterion information by listing the criterion information811, and may change the criterion information in response to a user's choice input. According to an example embodiment, if grouping criterion information is changed, the user interface801may display the external electronic device104grouped in accordance with the changed criterion information. For example, the criterion information may include a relative velocity (e.g., the relative velocity of the external electronic device104based on the speed of the electronic device101), a relative distance, a direction, the type of vehicle, a driver status, a vehicle status, and a running application. According to an example embodiment, the electronic device101may display the criterion information by listing the criterion information811, and may select a given group generated based on the criterion information in response to a voice or a keyboard input. The electronic device101may provide a group message based on the selected given group, and may transmit the generated group message.

FIG. 9Ais a diagram illustrating an example method of generating a group based on a given criterion according to various embodiments,FIG. 9Bis a diagram illustrating an example method of generating a group based on a given criterion according to various embodiments, andFIG. 9Cis a diagram illustrating an example method of generating a group based on a given criterion according to various embodiments.

Referring toFIG. 9A, an electronic device901(e.g., the electronic device101inFIG. 1) may be a running vehicle. The electronic device901may exchange information (e.g., messages) related to the V2X technology with an external electronic device (e.g., the electronic device104inFIG. 1, an electronic device embedded in another vehicle, an electronic device embedded in a bicycle or an electronic device owned by a pedestrian) through communication. The electronic device901may generate at least one group based on information received from the external electronic device104. For example, the electronic device901may classify the external electronic device104as a vehicle group912, a bicycle group911or a pedestrian group913. According to an example embodiment, the electronic device901may select a given group, and may transmit a group message to the external electronic device104belonging to the selected group.

For example, the electronic device901may transmit a group message to the bicycle group911so that a bicycle runs on a bicycle driveway905. The electronic device901may generate a group message reading that “run on a bicycle driveway”, and may transmit the group message to the bicycle group911. The group message may have been previously stored in a memory (e.g., the memory130inFIG. 1) of the electronic device901or may be written by a user of the electronic device901.

Referring toFIG. 9B, an electronic device902(e.g., the electronic device101inFIG. 1) may be a running ambulance vehicle. The electronic device902may transmit a message related to the V2X technology through communication with an external electronic device (e.g., an electronic device embedded in another vehicle located ahead or an electronic device embedded in another vehicle located behind). The electronic device902may classify external electronic devices located nearby into a first vehicle group921located ahead and a second vehicle group922located behind based on the electronic device902. According to an example embodiment, the electronic device902may select the first vehicle group921and transmit a group message to the selected first vehicle group921.

For example, the electronic device902may transmit a group message to the first vehicle group921in order to rapidly remove a patient. The electronic device902may generate a group message reading that “the ambulance vehicle is running in the first lane”, and may transmit the generated group message to the first vehicle group921.

Referring toFIG. 9C, an electronic device903(e.g., the electronic device101inFIG. 1) may be one running vehicle. The electronic device903may transmit and receive messages related to the V2X technology through communication with an external electronic device (e.g., the electronic device104inFIG. 1). The electronic device903may classify external electronic devices104located nearby into a first vehicle group931in which a listening-to-music application is executing and a second vehicle group932in which a navigation application is executing. According to an example embodiment, the electronic device903may select the first vehicle group931and transmit a group message to the selected first vehicle group931or may obtain a group message from the selected first vehicle group931.

For example, the electronic device903may share a listening music list with the first vehicle group931. According to an example embodiment, if the second vehicle group932in which the navigation application is executing is selected, the electronic device903may share information related to a surrounding traffic condition (e.g., an accident situation or a traffic control condition) with the second vehicle group932.

According to various embodiments, the electronic device903may designate a given group including at least one external electronic device, and may transmit a given message to at least one external electronic device included in the given group.

FIG. 10is a diagram illustrating an example method of inviting an external electronic device to a group according to various embodiments.

Referring toFIG. 10, an electronic device (e.g., the electronic device101inFIG. 1) may invite the other party (e.g., friend) to a given group using information on the other party who owns an external electronic device (e.g., the electronic device102or104inFIG. 1). For example, the electronic device101may search for the other party stored in a memory (e.g., the memory130inFIG. 1) using the telephone number or car number of the other party, and may invite the retrieved other party to a given group. According to various embodiments, the electronic device101may display a user interface1001for searching for at least one other party. The user interface1001may include a search box1010for searching for at least one other party and a result box1020for displaying a search result list. According to an example embodiment, the electronic device101may search for at least one other party based on information stored in the memory130in response to an input to the search box1010, and may display information of the retrieved other party through the result box1020.

According to various embodiments, the electronic device101may search for at least one external electronic device located within a set range (e.g., V2X communication arrival range, about a radius of 1 km), may select at least some of the retrieved at least one external electronic device, and may invite the selected external electronic device to a group.

According to various embodiments, if a group is a group generated by a user's choice or a group toward the same destination, the electronic device101may change a method from a broadcast method to a TCP/IP method, and may continue to transmit a group message based on a set range (e.g., V2X communication arrival range, a radius of 1 km).

According to various example embodiments of the disclosure, a grouping method may include obtaining first information including information on an electronic device (e.g., the electronic device101inFIG. 1) obtained through a sensor (e.g., the sensor module176inFIG. 1) and information on the user of the electronic device101, receiving second information for at least one external electronic device (e.g., the electronic device102or104inFIG. 1, the external electronic device350inFIG. 3) from the at least one external electronic device through wireless communication circuitry (e.g., the communication module190inFIG. 3) of the electronic device, generating at least one group according to at least one piece of criterion information based on the obtained first information and second information, and may group the at least one external electronic device based on the generated at least one group.

According to an example embodiment, the electronic device and the at least one external electronic device may be connected using the wireless communication circuitry based on the V2X technology, and may exchange information related to the V2X technology.

According to an example embodiment, the at least one piece of criterion information may include at least one of a relative distance, a relative velocity or a relative acceleration between the electronic device and the at least one external electronic device, and may further include at least one of the type, moving direction or status information of a vehicle corresponding to at least one of the electronic device or the at least one external electronic device.

According to an example embodiment, the information on the electronic device may include at least one piece of information of the type, location, speed, acceleration, size or communication state of a vehicle corresponding to the electronic device. Information on the user of the electronic device may include at least one piece of information of the age, sex or driving experience of a driver or information of a fellow passenger who is in the vehicle.

According to an example embodiment, a user interface, including at least one of the at least one piece of criterion information, information on the generated at least one group or information on the at least one external electronic device included in the at least one group, may be displayed on the display. A user input for selecting at least one of the at least one group may be detected through the user interface. At least one message may be transmitted to the selected group in response to the detected user input.

According to an example embodiment, an operation of transmitting at least one message to the at least one group may include an operation of generating the at least one message based on a message format based on the V2X technology and transmitting the generated at least one message to the at least one external electronic device included in the selected group.

A method according to an example embodiment may include searching for at least one external electronic device to be invited to the at least one group and transmitting the at least one message for inviting at least some of the retrieved at least one external electronic device to the at least one group.

According to various embodiments of the disclosure, an electronic device (e.g., vehicle) can perform wireless networking (e.g., wireless communication based on the V2X technology) with at least one external electronic device, and can generate or dissolve at least one group (e.g., a group based on the V2X technology) based on the state of the external electronic device. The electronic device can efficiently transmit a group message in accordance with generated at least one group.

An electronic device according to various embodiments can select or directly designate a given group based on generated at least one group, and can perform communication with the given group in real time. In addition, various effects obtained through this document directly or indirectly may be provided.

While the disclosure has been illustrated and described with reference to various example embodiments, it should be understood that the various example embodiments are intended to be illustrative, not limiting. One of ordinary skill in the art will understand and appreciate that various changes in form and detail may be made without departing from the spirit and scope of the disclosure, including the appended claims and equivalents thereof.