Light emitting method and device based on host mobile phone and guest mobile phone, and storage medium

By establishing a communication connection between the host mobile phone and the client mobile phone, a light-emitting mode is generated to control the light-emitting components to emit light, which solves the problem that the function of mobile phone LED lights has not been fully developed and realizes the functional expansion of creating emotional atmosphere in the environment.

CN117061656BActive Publication Date: 2026-04-10PATEO CONNECT (NANJING) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PATEO CONNECT (NANJING) CO LTD
Filing Date
2022-05-07
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

The LED light on the back of the phone has not been fully utilized and cannot create an atmosphere that evokes emotions or enhances mood in the current environment.

Method used

A communication connection is established between the master mobile phone and the customer mobile phone. A light-emitting mode is generated based on the rhythm selection command, location information and the number of customer mobile phones, and the light-emitting components of the master and customer mobile phones are controlled to emit light according to the light-emitting mode.

Benefits of technology

It achieves the desired atmosphere in the current environment, expands the functionality of the phone's light-up component, and can be done without purchasing any additional items, at zero cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117061656B_ABST
    Figure CN117061656B_ABST
Patent Text Reader

Abstract

The application discloses a light emitting method and device based on a host mobile phone and a guest mobile phone and a storage medium, and relates to the technical field of mobile phones. The method comprises the following steps: establishing a communication connection with at least one guest mobile phone; determining beat information in response to receiving a beat selection instruction of a user; receiving position information sent by all the guest mobile phones which have established the communication connection; generating a light emitting mode according to the beat information, the number of the guest mobile phones which have established the communication connection and the position information; and controlling a light emitting part of the host mobile phone to emit light according to the light emitting mode, and sending the light emitting mode to the guest mobile phones which have established the communication connection, so that the light emitting part of the guest mobile phones emits light according to the light emitting mode. The application not only can create an atmosphere which can render emotions and set up a mood in the current environment with the light emitted by the light emitting part of the mobile phone, but also can expand the function of the light emitting part of the mobile phone, so that the function of the light emitting part of the mobile phone is fully developed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of mobile phones, and in particular to a light emitting method and device based on a host mobile phone and a guest mobile phone, and a storage medium. BACKGROUND

[0002] With the development of science and technology, mobile phones have more and more functions and have become necessities of daily life. In related technologies, the back of a mobile phone is usually provided with an LED light, which either serves as a flashlight to illuminate for a user or serves as a flash for a camera to provide light, and the function of the LED light is not fully developed.

[0003] SUMMARY

[0004] The purpose of the present application is to provide a light emitting method and device based on a host mobile phone and a guest mobile phone, and a storage medium, so as to use the light emitting part of a mobile phone to create an atmosphere that can render emotions and set moods in the current environment, and fully develop the function of the light emitting part of a mobile phone.

[0005] To achieve the above purpose, according to a first aspect of the present application, a light emitting method based on a host mobile phone is provided, comprising:

[0006] establishing a communication connection with at least one guest mobile phone;

[0007] determining dance information in response to receiving a dance selection instruction of a user;

[0008] receiving position information sent by all guest mobile phones that have established the communication connection;

[0009] generating a light emitting mode according to the dance information, the number of guest mobile phones that have established the communication connection, and the position information; and

[0010] controlling a light emitting part of the host mobile phone to emit light according to the light emitting mode, and sending the light emitting mode to the guest mobile phones that have established the communication connection, so that the light emitting part of the guest mobile phones emits light according to the light emitting mode.

[0011] According to a second aspect of the present application, a light emitting method based on a guest mobile phone is provided, comprising:

[0012] establishing a communication connection with a host mobile phone;

[0013] sending position information to the host mobile phone based on the established communication connection, so that the host mobile phone generates a light emitting mode according to dance information related to a user, the number of all guest mobile phones that have established the communication connection, and the position information; and

[0014] receiving the light emitting mode sent by the host mobile phone, and controlling a light emitting part of the guest mobile phone to emit light according to the light emitting mode.

[0015] The electronic device provided in the third aspect of the present application comprises:

[0016] at least one processor; and

[0017] a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the light emitting method based on the host mobile phone according to the first aspect of the present application.

[0018] The computer readable storage medium provided in the fourth aspect of the present application stores a computer program, and the computer program is executed by a processor to implement the light emitting method based on the host mobile phone according to the first aspect of the present application.

[0019] The light emitting method, device and storage medium based on the host mobile phone and the guest mobile phone provided in the embodiments of the present application generate a light emitting mode by determining the motion information based on the number of the guest mobile phones in communication connection with the host mobile phone, the position information of the guest mobile phones and the user's motion selection instruction, and make the light emitting parts of the host mobile phone and the guest mobile phones emit light according to the light emitting mode, which not only can create an atmosphere that can render emotions and set up moods in the current environment by means of the light emitted by the light emitting parts of the mobile phones, but also can expand the functions of the light emitting parts of the mobile phones, so that the functions of the light emitting parts of the mobile phones can be fully developed.

[0020] In addition, since the mobile phone has become a necessity in people's daily life, everyone carries a mobile phone with them, so that the user does not need to purchase or prepare any articles in advance in the whole process of implementing the above method, and only needs to take out the mobile phone to perform corresponding operations to create the expected atmosphere, which is not only convenient but also can be realized at zero cost.

[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS

[0022] Other features, objects and advantages of the present application will become more apparent through reading the following detailed description of non-limiting embodiments made with reference to the accompanying drawings. The accompanying drawings are used to better understand the present application and do not constitute limitations on the present application. Among them:

[0023] Figure 1 is an exemplary system architecture diagram to which the present application can be applied;

[0024] Figure 2 is a flowchart of a light emitting method based on a host mobile phone according to an embodiment of the present application;

[0025] Figure 3 is a flowchart of step S100 in a host phone based light emitting method according to an embodiment of the present application;

[0026] Figure 4 is a flowchart of step S200 in a host phone based light emitting method according to an embodiment of the present application;

[0027] Figure 5 is another flowchart of step S200 in a host phone based light emitting method according to an embodiment of the present application;

[0028] Figure 6 is a flowchart of a host phone based light emitting method according to another embodiment of the present application;

[0029] Figure 7 is a flowchart of a host phone based light emitting method according to another embodiment of the present application;

[0030] Figure 8 is a flowchart of a host phone based light emitting method according to another embodiment of the present application;

[0031] Figure 9 is a block diagram of an electronic device for implementing a host phone based light emitting method or a guest phone based light emitting method according to an embodiment of the present application.

[0032] Reference Signs:

[0033] 100, system architecture; 101, host phone; 102, guest phone; 103, network;

[0034] 200, electronic device; 201, computing unit; 202, memory (ROM);

[0035] 203, memory (RAM); 204, bus; 205, I / O interface;

[0036] 206, input unit; 207, output unit; 208, storage unit;

[0037] 209, communication unit. DETAILED DESCRIPTION

[0038] Exemplary embodiments of the present application are described herein with reference to the accompanying drawings, which are cited by way of example only. The various details of the embodiments of the application can be understood with reference to the figures, which are intended to illustrate the general principles of the application and should not be construed as limiting the scope of the application. Thus, persons of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, for the purpose of clarity and the brevity, the description below omits the description of well-known functions and structures.

[0039] It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0040] Figure 1 An exemplary system architecture 100 is shown, which can apply the embodiment of the light emitting method based on the host mobile phone or the light emitting method based on the guest mobile phone.

[0041] As shown in Figure 1 , the system architecture 100 can include a host mobile phone 101, a guest mobile phone 102 and a network 103. The network 103 is a medium for providing a communication link between the host mobile phone 101 and the guest mobile phone 102.

[0042] It should be understood that Figure 1 the number of the guest mobile phone 102 and the network 103 in the above embodiment is only illustrative. Any number of the guest mobile phone 102 and the network 103 can be provided according to the implementation needs.

[0043] In daily life, in some occasions, people want to create an atmosphere that can render emotions and set moods through simple operations. For example, when celebrating a colleague's birthday in a conference room, it is usually desired to quickly create a warm and lively atmosphere in the conference room through simple operations. For another example, when a child performs a program at home, it is also usually desired to create a dynamic and cheerful atmosphere at home through simple operations. However, in the related art, the back of the mobile phone is usually provided with an LED light, which either serves as a flashlight to illuminate the user or serves as a flash for the camera to provide light, and its function is not fully developed.

[0044] Therefore, in order to solve the above problems, the present application provides a light emitting method based on a host mobile phone. Referring to Figure 2 , a flowchart of one embodiment of the light emitting method based on the host mobile phone according to the present application is shown. The light emitting method based on the host mobile phone includes the following steps:

[0045] S100, establishing a communication connection with at least one guest mobile phone 102;

[0046] S200, determining the motion information in response to receiving the user's motion selection instruction;

[0047] S300, receiving position information sent by all guest mobile phones 102 establishing communication connection;

[0048] S400, generating a light-emitting mode according to the rhythm information, the number of guest mobile phones 102 establishing communication connection and the position information;

[0049] S500, controlling the light-emitting part of the host mobile phone 101 to emit light according to the light-emitting mode, and sending the light-emitting mode to the guest mobile phone 102 establishing communication connection, so that the light-emitting part of the guest mobile phone 102 emits light according to the light-emitting mode.

[0050] It should be noted that the configuration of the host mobile phone 101 and the guest mobile phone 102 can be completely the same or different, that is, the host mobile phone 101 and the guest mobile phone 102 can be the same brand and the same model, or different brands and / or different models. For the convenience of description, the mobile phone executing the light-emitting method based on the host mobile phone in the embodiment of the application is referred to as the host mobile phone 101, and the other mobile phone is referred to as the guest mobile phone 102. The number of guest mobile phones 102 can be one or more.

[0051] In order to create the expected atmosphere in the current environment, the host mobile phone 101 establishes communication connection with at least one guest mobile phone 102. During the process of establishing communication connection between the host mobile phone 101 and the guest mobile phone 102 or after establishing communication connection, if the processor of the host mobile phone 101 receives the user's rhythm selection instruction, the processor of the host mobile phone 101 determines the rhythm information according to the rhythm selection instruction. The rhythm selection instruction can be generated by the user touching the screen of the host mobile phone 101, or can be generated by the user not touching the screen of the host mobile phone 101, for example, by voice. At the same time of establishing communication connection between the host mobile phone 101 and the guest mobile phone 102 or after establishing communication connection, the processor of the host mobile phone 101 receives the position information sent by all guest mobile phones 102 establishing communication connection. The processor of the host mobile phone 101 generates a light-emitting mode according to the rhythm information, the number of guest mobile phones 102 establishing communication connection and the position information. Thus, the processor of the host mobile phone 101 controls the light-emitting part of the host mobile phone 101 to emit light according to the above-mentioned light-emitting mode, and sends the light-emitting mode to the guest mobile phone 102 establishing communication connection, so that the light-emitting part of the guest mobile phone 102 also emits light according to the above-mentioned light-emitting mode, which can create the expected atmosphere in the current environment, that is, the atmosphere corresponding to the rhythm selection instruction. The light-emitting part of the host mobile phone 101 and the light-emitting part of the guest mobile phone 102 can include but are not limited to mobile phone LED light and / or mobile phone screen.

[0052] It can be seen that the light emitting method based on the host mobile phone in the embodiment of the application generates the light emitting mode according to the number of the guest mobile phone 102 that has established a communication connection with the host mobile phone 101, the position information of the guest mobile phone 102 and the rhythm information determined based on the user's rhythm selection instruction, so that the light emitting part of the host mobile phone 101 and the light emitting part of the guest mobile phone 102 emit light according to the light emitting mode. Not only can the light emitted by the light emitting part of the mobile phone create an atmosphere that can render emotions and set moods in the current environment, but also can expand the function of the light emitting part of the mobile phone, so that the function of the light emitting part of the mobile phone is fully developed. In addition, since the mobile phone has become a necessity in people's daily life, everyone carries a mobile phone with them, so the user does not need to purchase or prepare any items in advance in the whole process of implementing the above method, and only needs to take out the mobile phone to perform the corresponding operation to create the expected atmosphere, which is not only convenient but also can achieve zero cost.

[0053] The steps of the light emitting method based on the host mobile phone in the embodiment of the application will be described in detail below.

[0054] Step S100

[0055] The host mobile phone 101 can establish a communication connection with the guest mobile phone 102 in various ways, for example:

[0056] Method one, the wifip2p network hotspot method, specifically, as shown in Figure 3 The step S100 includes:

[0057] S110, generating a wifip2p network hotspot in response to receiving a user's group building instruction;

[0058] S120, in response to receiving the connection request of the guest mobile phone 102, connecting at least one guest mobile phone 102 to the wifip2p network hotspot to form a network group.

[0059] For example, the embodiment of the application can be realized by installing an application (Application, hereinafter referred to as APP) on the host mobile phone 101 and the guest mobile phone 102. The host mobile phone 101 and the guest mobile phone 102 can be pre-installed with the APP. The user of the host mobile phone 101 opens the corresponding APP of the host mobile phone 101, establishes a wifip2p group with a preset name by touching the corresponding key of the APP to generate a group building instruction, and the processor of the host mobile phone 101 generates a wifip2p network hotspot according to the received group building instruction of the user. The user of the guest mobile phone 102 opens the corresponding APP of the guest mobile phone 102, searches by touching the search key or shaking, and the screen of the guest mobile phone 102 displays the wifip2p group with the preset name, that is, the wifip2p network hotspot generated by the host mobile phone 101. After the user of the guest mobile phone 102 triggers the wifip2p network hotspot, the guest mobile phone 102 sends a connection request to the host mobile phone 101. When the processor of the host mobile phone 101 receives the connection request of the guest mobile phone 102, the guest mobile phone 102 sending the connection request is connected to the wifip2p network hotspot to form a network group.

[0060] The second way is the Bluetooth way. Specifically, the step S100 includes:

[0061] S110, in response to receiving the Bluetooth opening instruction of the user, searching for the guest mobile phone 102 with the opened Bluetooth function in a preset range;

[0062] S120, in response to receiving the pairing instruction of the user to the guest mobile phone 102, establishing a Bluetooth connection with the guest mobile phone 102.

[0063] Of course, compared with the second way, the number of guest mobile phones 102 establishing a communication connection with the host mobile phone 101 is not limited in the first way, and the application range is wider.

[0064] It should be noted that while the host mobile phone 101 and the guest mobile phone 102 establish a communication connection, the guest mobile phone 102 can send its location information to the host mobile phone 101. Of course, the guest mobile phone 102 can also send its location information to the host mobile phone 101 based on the instruction of the host mobile phone 101. For example, the processor of the host mobile phone 101 sends a location request instruction to the guest mobile phone 102 establishing a communication connection with it in response to receiving the instruction of the user. After the guest mobile phone 102 receives the location request instruction sent by the host mobile phone 101, it sends its location information to the host mobile phone 101. The location information can include but is not limited to at least one of the latitude and longitude of the location of the guest mobile phone 102, the distance between the guest mobile phone 102 and the host mobile phone 101, and the direction of the guest mobile phone 102 relative to the host mobile phone 101.

[0065] Step S200

[0066] The beat information can be determined based on different forms of beat selection instructions, for example:

[0067] Form I, the beat selection instruction is a music selection instruction, specifically, as shown in Figure 4 S200 includes:

[0068] S210, in response to receiving the user's music selection instruction, obtaining the frequency of the music to be played;

[0069] S220, determining the beat information according to the high and low levels of the frequency of the music to be played.

[0070] The user can generate a music selection instruction by tapping the music in the host phone 101. After the processor of the host phone 101 receives the user's music selection instruction, it obtains the frequency of the music to be played, i.e. the music selected by the user, based on the music selection instruction. The processor of the host phone 101 determines the beat information according to the high and low levels of the frequency of the music to be played. Thus, after the processor of the host phone 101 generates a light-emitting pattern based on the beat information, the number and position information of the guest phone 102 with which a communication connection is established, the light-emitting part of the host phone 101 and the light-emitting part of the guest phone 102 can flash, change color and / or change the light-emitting intensity according to the light-emitting pattern with the music being played. For example, if the music being played on the host phone 101 belongs to the dynamic type of music, the light-emitting part of the host phone 101 and the light-emitting part of the guest phone 102 will flash, change color and / or change the light-emitting intensity quickly and at high frequency; on the contrary, if the music being played on the host phone 101 belongs to the soothing type of music, the light-emitting part of the host phone 101 and the light-emitting part of the guest phone 102 will flash, change color and / or change the light-emitting intensity slowly and at low frequency.

[0071] Form II, the beat selection instruction is a scene mode selection instruction, specifically, as shown in Figure 5 S200 includes:

[0072] S210, in response to receiving the user's scene mode selection instruction, obtaining the preset rule of the preset scene mode;

[0073] S220, determining the beat information according to the preset rule.

[0074] The user can generate a scene mode selection instruction by touching a pre-stored scene mode in the host mobile phone 101. The scene mode can be pre-stored in an APP, and can include at least one of a cool mode, a night mode, a soothing mode, a Chinese mode, and a stage mode, but is not limited thereto. After the processor of the host mobile phone 101 receives the scene mode selection instruction of the user, the processor obtains preset rules of the preset scene mode based on the scene mode selection instruction, and determines the beat information according to the preset rules. Thus, after the processor of the host mobile phone 101 generates the light-emitting mode according to the beat information, the number and the position information of the guest mobile phone 102 with which the communication connection is established, the light-emitting part of the host mobile phone 101 and the light-emitting part of the guest mobile phone 102 can flash, change color, and / or change the light-emitting intensity according to the light-emitting mode. For example, if the user selects the night mode on the host mobile phone 101, the light-emitting part of the host mobile phone 101 and the light-emitting part of the guest mobile phone 102 will flash, change color, and / or change the light-emitting intensity at a high frequency. Conversely, if the user selects the Chinese mode on the host mobile phone 101, the light-emitting part of the host mobile phone 101 and the light-emitting part of the guest mobile phone 102 will flash, change color, and / or change the light-emitting intensity at a low frequency.

[0075] It should be noted that the parameters of the light-emitting mode include at least one of the light-emitting color, the flashing frequency, and the light-emitting intensity. For example, if the light-emitting part includes a mobile phone LED lamp, the parameters of the light-emitting mode can include the flashing frequency and / or the light-emitting intensity. For another example, if the light-emitting part includes a mobile phone screen, the parameters of the light-emitting mode can include at least one of the light-emitting color, the flashing frequency, and the light-emitting intensity.

[0076] In addition, considering that new friends can join in the process of creating an atmosphere by using a mobile phone, the application further includes the following steps after step S500, as shown in the following table. Figure 6

[0077] S610, in response to receiving a connection request of a guest mobile phone 102 that has not established a communication connection, establishing a communication connection with the guest mobile phone 102 that has not established a communication connection;

[0078] S620, in response to receiving the position information of the guest mobile phone 102 that has not established a communication connection, generating a current light-emitting mode according to the number and the position information of the guest mobile phone 102 with which the communication connection is currently established;

[0079] S630, updating the previous light-emitting mode to the current light-emitting mode;

[0080] S640, sending the current light-emitting mode to the guest mobile phone 102 with which the communication connection is currently established.

[0081] ​In the case that a new friend joins, the new friend opens the pre-downloaded APP on his / her phone, i.e. the guest end phone 102 which has not established the communication connection, and searches by tapping the search button or shaking, and the screen of the phone will display the Wi-Fi P2P group with the preset name, i.e. the Wi-Fi P2P network hotspot generated by the host end phone 101. After the new friend triggers the Wi-Fi P2P network hotspot, the phone will send a connection request to the host end phone 101. When the processor of the host end phone 101 receives the connection request of the guest end phone 102 which has not established the communication connection, the guest end phone 102 which sends the connection request is connected to the Wi-Fi P2P network hotspot. Since the number of the guest end phones 102 which establish the communication connection with the host end phone 101 changes at this time, in order to match the music played by the host end phone 101 or the scene mode selected by the user, when the processor of the host end phone 101 receives the position information of the newly added guest end phone 102, the processor of the host end phone 101 generates the current light emitting mode according to the number and position information of the guest end phones 102 which currently establish the communication connection, and updates the previous light emitting mode to the current light emitting mode. Thus, the processor of the host end phone 101 controls the light emitting part of the host end phone 101 to emit light according to the updated light emitting mode, i.e. the current light emitting mode, and sends the current light emitting mode to all the guest end phones 102 which establish the communication connection with the host end phone 101, so that the light emitting part of the guest end phone 102 also emits light according to the light emitting mode. Assuming that two guest end phones 102 establish the communication connection with the host end phone 101 previously, the previous light emitting mode is that the light emitting part of the host end phone 101 and the light emitting part of the two guest end phones 102 flash in turn, i.e. each light emitting part flashes once with a first preset time interval. After a new guest end phone 102 is added, the current light emitting mode is that the light emitting part of the host end phone 101 and the light emitting part of the three guest end phones 102 flash in turn, i.e. each light emitting part flashes once with a second preset time interval, and the second preset time interval is greater than the first preset time interval.

[0082] As can be seen from the above, the number of the guest end phones 102 which establish the communication connection with the host end phone 101 can increase. Similarly, the number of the guest end phones 102 which establish the communication connection with the host end phone 101 can also decrease, and in this case, the light emitting mode also changes in real time. Specifically, as shown in FIG. 7, after step S500 is performed, the light emitting method based on the host end phone in the embodiment of the application further includes the following steps: Figure 7

[0083] S710, in response to receiving the disconnection signal of the guest end phone 102 which disconnects the communication connection, generating the current light emitting mode according to the number and position information of the guest end phones 102 which currently establish the communication connection.​

[0084] S720, updating the previous light-emitting mode to the current light-emitting mode;

[0085] S730, sending the current light-emitting mode to the guest mobile phone 102 which has established the communication connection currently.

[0086] For example, in the case that the user of the guest mobile phone 102 temporarily needs to answer a call or leave for something, the guest mobile phone 102 disconnects the communication connection with the host mobile phone 101, and the processor of the host mobile phone 101 receives the disconnection signal of the guest mobile phone 102 for disconnecting the communication connection. Then, the processor generates the current light-emitting mode according to the number and position information of the guest mobile phones 102 which have established the communication connection currently, and updates the previous light-emitting mode to the current light-emitting mode. In this way, the processor of the host mobile phone 101 controls the light-emitting member of the host mobile phone 101 to emit light according to the updated light-emitting mode, i.e., the current light-emitting mode, and sends the current light-emitting mode to the remaining guest mobile phones 102 which have established the communication connection, so that the light-emitting members of the remaining guest mobile phones 102 also emit light according to the light-emitting mode. Assuming that three guest mobile phones 102 have established the communication connection with the host mobile phone 101 previously, and the previous light-emitting mode is that the light-emitting members of the host mobile phone 101 and the three guest mobile phones 102 flash in turn, i.e., each light-emitting member flashes once at an interval of a first preset time length. Then, after one guest mobile phone 102 exits, the current light-emitting mode is that the light-emitting members of the host mobile phone 101 and the remaining two guest mobile phones 102 flash in turn, i.e., each light-emitting member flashes once at an interval of a second preset time length, and the second preset time length is less than the first preset time length.

[0087] In addition, considering that the user of the host mobile phone 101 can also temporarily need to answer a call or leave for something, in the case that the number of the guest mobile phones 102 is multiple, the host mobile phone 101 needs to transfer the control right to one of the guest mobile phones 102 before exiting, therefore, as shown in FIG. 8, after step S500 is performed, the light-emitting method based on the host mobile phone in the embodiment of the application further includes the following steps: Figure 8

[0088] S810, in response to receiving the exit instruction of the user, sending the number and position information to the target mobile phone; wherein the target mobile phone is any one of the guest mobile phones 102 which have established the communication connection;

[0089] S820, sending a control right transfer request to the target mobile phone;

[0090] S830, in response to receiving the confirmation feedback signal of the target mobile phone, releasing the communication connection with all the guest mobile phones 102.

[0091] ​The following takes the target mobile phone as an example of the first guest mobile phone 102 establishing a communication connection, when the processor of the host mobile phone 101 receives the user's exit instruction, the number and location information of the guest mobile phone 102 establishing a communication connection with it are sent to the target mobile phone, that is, the first guest mobile phone 102 establishing a communication connection with it, and a control authority transfer request is sent to the target mobile phone. When the target mobile phone receives the control authority request sent by the host mobile phone 101, the number and location information of all guest mobile phones 102 establishing a communication connection, the screen of the target mobile phone displays a prompt message. If the user of the target mobile phone is willing to receive the control authority, the prompt message is triggered to make the target mobile phone send a confirmation feedback signal to the host mobile phone 101, and when the host mobile phone 101 receives the confirmation feedback signal sent by the target mobile phone, the communication connection with all guest mobile phones 102 is released, at this time the target mobile phone becomes the host mobile phone 101. The new host mobile phone 101 repeats the above steps, that is, automatically re-establishes a communication connection with the guest mobile phone 102, generates a new light emission mode according to the rhythm information, the number and location information of the guest mobile phone 102, etc.

[0092] In order to achieve better results, while avoiding the user's eyes from being affected by the light emitted by the light emitting part of the guest mobile phone 102, the light emitting method based on the host mobile phone in the embodiment of the application further includes the following steps:

[0093] S910, in response to receiving the location information of the guest mobile phone 102, determining the predetermined inclination range of the guest mobile phone 102;

[0094] S920, obtaining the current inclination angle of the guest mobile phone 102;

[0095] S930, determining the deflection angle of the guest mobile phone 102 according to the predetermined inclination range and the current inclination angle;

[0096] S940, sending the deflection angle to the guest mobile phone 102.

[0097] When the processor of the host mobile phone 101 receives the location information sent by the guest mobile phone 102, the processor of the host mobile phone 101 determines the predetermined inclination range of the corresponding guest mobile phone 102 according to the location information, that is, when the inclination angle of the guest mobile phone 102 is within the predetermined inclination range, the light emitting part of the guest mobile phone 102 is less likely to shine into the user's eyes. The processor of the host mobile phone 101 obtains the current inclination angle of the guest mobile phone 102 through the gyroscope of the guest mobile phone 102, and determines the deflection angle of the guest mobile phone 102 according to the predetermined inclination range and the current inclination angle. The processor of the host mobile phone 101 sends the determined deflection angle to the guest mobile phone 102, and the user of the guest mobile phone 102 can deflect the guest mobile phone 102 according to the deflection angle sent by the host mobile phone 101.

[0098] In addition, in order to leave a good memory, people usually have the need of shooting video while creating atmosphere, and in the case that the number of the guest end mobile phones 102 is multiple, the light emitting method based on the host end mobile phone in the embodiment of the application further includes the following steps: sending shooting instructions to the multiple guest end mobile phones 102 located at different positions according to all the position information; receiving the videos shot by the multiple guest end mobile phones 102 located at different positions, and processing the multiple videos.

[0099] Based on this, when the multiple guest end mobile phones 102 located at different positions are distributed in a ring shape, that is, when everyone surrounds a circle, the processor of the host end mobile phone 101 can combine the multiple received videos into a panoramic video when receiving the videos shot by the multiple guest end mobile phones 102 located at different positions, and this effect is equivalent to the effect of 360° shooting by the user of the host end mobile phone 101 holding the host end mobile phone 101. Of course, the processor of the host end mobile phone 101 can also splice the multiple videos into spliced videos that can be played in parallel when receiving the videos shot by the multiple guest end mobile phones 102 located at different positions.

[0100] In addition, the embodiment of the application further provides a light emitting method based on a guest end mobile phone, and the method includes the following steps:

[0101] S101, establishing a communication connection with the host end mobile phone 101;

[0102] S201, sending position information to the host end mobile phone 101 based on the established communication connection, so that the host end mobile phone 101 generates a light emitting mode according to the user-related dance information, the number and position information of all the guest end mobile phones 102 that have established the communication connection;

[0103] S301, receiving the light emitting mode sent by the host end mobile phone 101, and controlling the light emitting part of the guest end mobile phone 102 to emit light according to the light emitting mode.

[0104] Taking the example that the guest mobile phone 102 and the host mobile phone 101 establish a communication connection through a WiFi P2P network hotspot, the embodiment of the application can be implemented by installing an application (Application, hereinafter referred to as APP) on the host mobile phone 101 and the guest mobile phone 102. The host mobile phone 101 and the guest mobile phone 102 can be pre-installed with the APP. The user of the guest mobile phone 102 opens the corresponding APP of the guest mobile phone 102, and generates a search instruction by searching for a button or shaking. The processor of the guest mobile phone 102 displays the WiFi P2P network hotspot generated by the host mobile phone 101 according to the search instruction. When the user of the guest mobile phone 102 triggers the WiFi P2P network hotspot, the processor of the guest mobile phone 102 sends a connection request to the host mobile phone 101. When the processor of the host mobile phone 101 receives the connection request of the guest mobile phone 102, the guest mobile phone 102 that sends the connection request is connected to the WiFi P2P network hotspot to form a network group.

[0105] In the case that the host mobile phone 101 wants to exit, the light emitting method based on the guest mobile phone in the embodiment of the application further includes the following steps: in response to receiving the control authority transfer request sent by the host mobile phone 101, the number and position information of all the guest mobile phones 102 that establish a communication connection, a prompt message is displayed; in response to the user's confirmation operation on the prompt message, a confirmation feedback signal is sent to the host mobile phone 101, so that the guest mobile phone 102 becomes the host mobile phone 101.

[0106] The embodiment of the application also provides an electronic device, which comprises at least one processor and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the light emitting method based on the host mobile phone.

[0107] The embodiment of the application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the light emitting method based on the host mobile phone.

[0108] The embodiment of the application also provides another electronic device, which comprises at least one processor and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the light emitting method based on the guest mobile phone.

[0109] The embodiment of the application also provides another computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the light emitting method based on the guest mobile phone.

[0110] Figure 9 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present disclosure described and / or claimed in this document.

[0111] As Figure 9 shown, the electronic device 200 includes a computing unit 201 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 202 or a computer program loaded into a random access memory (RAM) 203 from a storage unit 208. Various programs and data required for the operation of the electronic device 200 can also be stored in the RAM 203. The computing unit 201, the ROM 202, and the RAM 203 are connected to each other through a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0112] Various components in the electronic device 200 are connected to the I / O interface 205, including an input unit 206, such as a keyboard, a mouse, etc.; an output unit 207, such as various types of displays, a speaker, etc.; the storage unit 208, such as a magnetic disk, an optical disk, etc.; and a communication unit 209, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 209 allows the electronic device 200 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0113] The computing unit 201 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 201 performs various methods and processes described above, such as the host phone based light emitting method. For example, in some embodiments, the host phone based light emitting method can be implemented as a computer software program tangibly embodied in a machine readable medium, such as the storage unit 208. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 200 via the ROM 202 and / or the communication unit 209. When the computer program is loaded onto the RAM 203 and executed by the computing unit 201, one or more steps of the host phone based light emitting method described above can be performed. Alternatively, in other embodiments, the computing unit 201 can be configured to perform the host phone based light emitting method by any other appropriate means, such as by means of firmware.

[0114] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0115] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine or server, or entirely on a remote machine or server.

[0116] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0117] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0118] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0119] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

[0120] It should be understood that the various forms of flow shown above can be used to reorder, add, or remove steps. For example, the steps described in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technology disclosed in the present disclosure are achieved, which is not limited herein.

[0121] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A light emitting method based on a host mobile phone, applied to the host mobile phone, characterized in that, The method comprises: establishing a communication connection with at least one guest mobile phone; determining beat information in response to receiving a beat selection instruction of a user; receiving position information sent by all guest mobile phones that have established the communication connection; generating a light emission pattern according to the beat information, the number of guest mobile phones that have established the communication connection, and the position information; and controlling a light emission component of the host mobile phone to emit light according to the light emission pattern, and sending the light emission pattern to the guest mobile phones that have established the communication connection, so that the light emission components of the guest mobile phones emit light according to the light emission pattern. The number of the guest mobile phones is multiple. After the light emission pattern is sent to the guest mobile phones that have established the communication connection, the light emission method based on the host mobile phone further comprises: in response to receiving an exit instruction of the user of the host mobile phone, sending the number and the position information to a target mobile phone; wherein the target mobile phone is the first guest mobile phone that has established the communication connection; sending a control authority transfer request to the target mobile phone; and in response to receiving a confirmation feedback signal of the target mobile phone, releasing the communication connection with all the guest mobile phones. The target mobile phone becomes a new host mobile phone and automatically re-establishes the communication connection with the guest mobile phones, and generates a new light emission pattern according to the beat information, the number of the guest mobile phones, and the position information. The step of establishing a communication connection with at least one guest mobile phone comprises:

2. The master handset-based light emitting method of claim 1, wherein, in response to receiving a group building instruction of a user, generating a WiFi P2P network hotspot; and in response to receiving a connection request of the guest mobile phone, connecting the at least one guest mobile phone to the WiFi P2P network hotspot to form a network group. The light emission component comprises a mobile phone screen and / or a mobile phone LED light.

3. The master handset based light emitting method of claim 1, wherein, The beat selection instruction is a music selection instruction.

4. The master handset-based light emitting method of claim 1, wherein, The step of determining beat information in response to a beat selection instruction of a user comprises: in response to receiving the music selection instruction of the user, obtaining the frequency of music to be played; and determining the beat information according to the high and low levels of the frequency of the music to be played. The beat selection instruction is a scene mode selection instruction.

5. The master handset based light emitting method of claim 1, wherein, The step of determining beat information in response to a beat selection instruction of a user comprises: in response to receiving the scene mode selection instruction of the user, obtaining a preset rule of a preset scene mode; and determining the beat information according to the preset rule. The parameters of the light emission pattern comprise at least one of a light emission color, a flashing frequency, and a light emission intensity.

6. The master handset based light emitting method of claim 1, wherein, After the light emission pattern is sent to the guest mobile phones that have established the communication connection, the light emission method based on the host mobile phone further comprises:

7. The master handset based light emitting method of claim 1, wherein, in response to receiving a connection request of a guest mobile phone that has not established the communication connection, establishing a communication connection with the guest mobile phone that has not established the communication connection; in response to receiving position information of the guest mobile phone that has not established the communication connection, generating a current light emission pattern according to the number and the position information of the guest mobile phones that have currently established the communication connection; updating the previous light emission pattern to the current light emission pattern; and sending the current light emission pattern to the guest mobile phones that have currently established the communication connection. ​ 8. The master handset based light emitting method of claim 1, wherein, After sending the light-emitting mode to the guest mobile phone that has established the communication connection, the light-emitting method based on the host mobile phone further comprises: In response to receiving a disconnection signal of the guest mobile phone that has disconnected the communication connection, generating a current light-emitting mode according to the number and position information of the guest mobile phones that have currently established the communication connection; updating the previous light-emitting mode to the current light-emitting mode; and sending the current light-emitting mode to the guest mobile phones that have currently established the communication connection.

9. The master handset based light emitting method according to any one of claims 1 to 8, wherein, The light-emitting method based on the host mobile phone further comprises: In response to receiving the position information of the guest mobile phone, determining a predetermined inclination range of the guest mobile phone; obtaining a current inclination of the guest mobile phone; determining a deflection angle of the guest mobile phone according to the predetermined inclination range and the current inclination; and sending the deflection angle to the guest mobile phone.

10. The master handset based light emitting method according to any one of claims 1 to 8, wherein, The number of the guest mobile phones is multiple, and the light-emitting method based on the host mobile phone further comprises: According to all the position information, sending a shooting instruction to the multiple guest mobile phones located at different positions; receiving videos shot by the multiple guest mobile phones located at different positions, and processing the multiple videos.

11. The master handset based light emitting method of claim 10, wherein, The multiple guest mobile phones located at different positions are distributed in a ring shape, and processing the multiple videos comprises: combining the multiple videos into a panoramic video.

12. The master handset based light emitting method of claim 11, wherein, Processing the multiple videos comprises: stitching the multiple videos into a stitched video that can be played in parallel.

13. An electronic device, comprising: comprise: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the light-emitting method based on the host mobile phone as claimed in any one of claims 1 to 12.

14. A computer readable storage medium storing a computer program, wherein the computer program comprises program instructions configured to cause a processor to perform the method according to any one of claims 1 to 13. The computer program is executed by the processor to implement the light-emitting method based on the host mobile phone as claimed in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Control method and system of light-emitting equipment, intelligent terminal and readable storage medium

    CN113891539A