Disclosure of Invention
The invention aims to provide a communication method, a device, a computer and a storage medium for lovers in different places to solve the problem of how to better express the emotion of the lovers in different places.
The invention solves the technical problems through the following technical means:
a communication method for lovers in different places comprises the following steps:
s11, the first terminal responds to the operation of the registration command and sends a matching relation establishing instruction to the second terminal;
s12, the second terminal receives the matching relation instruction and establishes a matching relation;
s13, when the first terminal and the second terminal establish a matching relationship, obtaining the current time, and judging the current time to be a night security mode or an early security mode;
when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal, and the second terminal receives the first instruction and controls the projection lamp to display lamplight;
when the mobile terminal is in the early-safety mode, the first terminal acquires the service time of the second terminal and can display the service time on the interface, and the second terminal acquires the service time of the first terminal and can display the service time on the interface.
According to the invention, firstly, couples briefly describe a matching relationship through a first terminal and a second terminal, then according to the current time, when the couple is at night, one party holding the first terminal sends an instruction to the other party, the second terminal controls the light of a projection lamp based on the instruction, different lights are displayed through different instructions to create a good atmosphere, the problem that the existing remote love situation can only express the emotion through dull characters is solved, the good atmosphere is created through the mutual cooperation of the characters and the lights, and the emotion between the couples can be more effectively expressed and maintained.
As a further scheme of the invention: the step S12 includes:
s121, the second terminal receives the matching relation instruction, and obtains and displays the identity information in the instruction so that the user can confirm the identity of the other party;
s122, the second terminal responds to the operation instruction, establishes a matching relation with the first terminal when judging that the operation instruction is 'yes', and sends a feedback result to the first terminal;
and when the operation instruction is judged to be 'no', refusing to establish a matching relation and sending a feedback result to the first terminal.
As a further scheme of the invention: the step S13:
s131, when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal;
s132, the second terminal extracts the key instruction information of the first instruction, sends the key instruction information to the first terminal based on the key instruction information,
s133, the first terminal receives the key instruction information and sends a second instruction to the projection lamp, so that the projection lamp plays light, and meanwhile, the second terminal plays music;
and S134, when the mode is the daytime mode, the first terminal acquires the service life of the second terminal, and the second terminal acquires the service life of the first terminal.
As a further scheme of the invention: the projection lamp comprises a lamp body and a cover body, wherein the cover body is sleeved at the top of the lamp body.
As a further scheme of the invention: the lamp body comprises a base and a light emitting part, wherein the light emitting part is arranged above the base and emits different lights through the light emitting part.
A communication method for lovers in different places is applied to a first terminal and comprises the following steps:
s21, the first terminal responds to the operation of the registration command and sends a matching relation establishing instruction to the second terminal;
s22, when the first terminal and the second terminal establish a matching relationship, obtaining the current time, and judging the current time to be a night security mode or an early security mode;
when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal, and the second terminal receives the first instruction and controls the projection lamp to display lamplight;
when the mobile terminal is in the early-safety mode, the first terminal acquires the service time of the second terminal and can display the service time on the interface, and the second terminal acquires the service time of the first terminal and can display the service time on the interface.
As a further scheme of the invention: the step S22 includes:
s221, when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal;
s222, the first terminal receives the key instruction information and sends a second instruction to the projection lamp, so that the projection lamp plays light, and meanwhile, the second terminal plays music;
the key instruction information is extracted from the first instruction by the second terminal;
and S223, when the mode is the daytime mode, the first terminal acquires the service life of the second terminal.
An communication device for lovers staying at different places, comprising:
the response module is used for responding to the operation of the registration command and sending a matching relationship establishing instruction to the second terminal;
the matching module is used for receiving the matching relation instruction and establishing a matching relation;
the judging module is used for acquiring the current time, and the current time is judged to be in a night security mode or an early security mode;
when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal, and the second terminal receives the first instruction and controls the projection lamp to display lamplight;
when the mobile terminal is in the early-safety mode, the first terminal acquires the service time of the second terminal and can display the service time on the interface, and the second terminal acquires the service time of the first terminal and can display the service time on the interface.
A computer comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
A storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
The invention has the advantages that:
1. according to the invention, firstly, couples briefly develop a matching relationship through a first terminal and a second terminal, then according to the current time, when the time is in the evening, one party holding the first terminal sends an instruction to the other party, the second terminal controls the light of a projection lamp based on the instruction, different lights are displayed through different instructions to create a good atmosphere, the problem that the existing remote love situation can only express the emotion through dull characters is solved, the good atmosphere is created through the mutual cooperation of the characters and the lights, and the emotion among the couples can be more effectively maintained.
2. In the invention, when the night is in a good-night stage, the first terminal or the second terminal extracts key information from the first instruction, converts the key information into corresponding sleep-aiding music and light, and displays the corresponding sleep-aiding music and light through the projection lamp of the other side, wherein the extracted key words are 'thought', 'love', 'accompany', and the like. The vocabularies correspond to corresponding music materials with different styles and also correspond to corresponding projector lights; through Bluetooth connection and IOT technology, the first terminal or the second terminal can select corresponding sleep-aiding music and light based on the keyword information, project the music and the light to a projection lamp of the other side, and play the sleep-aiding music at the same time;
after the projection lamp starts to work, the lovers can put down the mobile phones, empty themselves within the time of a song, feel the love of the other and brew sleepiness, and then can fall asleep in a relaxed state. The ceremony helps a user to build a good sleeping environment and relieves the negative emotion of a lover separating two places. The language is a symbol in nature, a lover in a love sometimes has difficulty in transmitting emotion through the language of the lover, or the love or the language expression capability is included or hindered, another expression symbol is established under the ceremony and is shown through too much sensory experience, different forms can be presented according to the daily moods and the keywords of chatting of the lovers, meanwhile, the expectation of the lovers to each other is increased, and the emotional viscosity of the lovers in different places is enhanced.
3. In the invention, when the lovers are in the early stage, the lovers in different places also have a lot of negative emotions when getting up, and hope to feel the companions of the other parties at the first time. As the beginning of the day, there is a greater need for rituals that give them a good mental appearance. Similar to the night-safety ceremony mentioned above, the morning-safety ceremony is designed such that both lovers wake up at a predetermined time to check the sleeping conditions of themselves and the other. The first terminal and the second terminal can record and visualize data of the user during sleep. Both lovers can check the sleeping conditions of themselves and the other, which is also a way to concern and express love. Both lovers can greet the other party for morning security and discuss sleeping moods and dreams.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the invention is used, the first terminal and the second terminal which are held by both the remote lovers can promote emotional contact mainly by the following method: the first terminal responds to the operation of the registration command and sends a matching relationship establishing instruction to the second terminal; the second terminal receives the matching relation instruction and establishes a matching relation; when the first terminal and the second terminal establish a matching relationship, the current time is obtained, and the current time is judged to be a night security mode or an early security mode; when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal, and the second terminal receives the first instruction and controls the projection lamp to display lamplight; when the mobile terminal is in the early-safety mode, the first terminal acquires the service time of the second terminal and can display the service time on the interface, and the second terminal acquires the service time of the first terminal and can display the service time on the interface.
Example 1
Referring to fig. 1, fig. 1 is a block diagram of a flow chart of a communication method for lovers in different places according to embodiment 1 of the present invention, where the method includes the following steps:
s11, the first terminal responds to the operation of the registration command and sends a matching relation establishing instruction to the second terminal;
the matching relation instruction includes but is not limited to information of name, sex, age and the like of the opposite party.
S12, the second terminal receives the matching relation instruction and establishes a matching relation;
s121, the second terminal receives the matching relation instruction, and obtains and displays the identity information in the instruction so that the user can confirm the identity of the other party;
s122, the second terminal responds to the operation instruction, establishes a matching relation with the first terminal when judging that the operation instruction is 'yes', and sends a feedback result to the first terminal;
and when the operation instruction is judged to be 'no', refusing to establish a matching relation and sending a feedback result to the first terminal.
In the scheme of the embodiment of the present disclosure, the corresponding matching relationship, that is, the association relationship, is established.
S13, when the second terminal and the first terminal establish a matching relation, and the current time is obtained, and the current time is judged to be a night security mode or an early security mode;
s131, when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal;
s132, the second terminal extracts the key instruction information of the first instruction, sends the key instruction information to the first terminal based on the key instruction information,
s133, the first terminal receives the key instruction information and sends a second instruction to the projection lamp, so that the projection lamp plays light, and meanwhile, the second terminal plays music;
in the scheme of the embodiment of the disclosure, the first instruction is text information, and the second instruction is information of a command for controlling the projection lamp to work.
Specifically, when two couples of the lovers agree well on the time to fall asleep together, the agreed time to fall asleep is input into the first terminal and the second terminal respectively, and the first terminal and the second terminal enter a sleep mode after the time is reached, the ceremony function at this stage is embodied in helping the formation of habits, and one couple of the lovers can greet the other side at night through a chat page in the first terminal and can transmit a plurality of emotions as the last sentence in one day;
and the first terminal or the second terminal extracts the key information of the words, converts the key information into corresponding sleep-aiding music and light and displays the corresponding sleep-aiding music and light through a projection lamp of the opposite side. The extracted keywords are like ' thought, love ', accompany ' and the like. The vocabularies correspond to corresponding music materials with different styles and also correspond to corresponding projector lights; through bluetooth connection and IOT technique, first terminal or second terminal will be based on keyword information, select corresponding help to sleep music and light to throw in the projection lamp of other side, play simultaneously and help to sleep the music.
And specific different vocabularies correspond the music and the projecting apparatus light of different styles, what the user can set up by oneself, for example:
when keywords such as 'thinking' and 'thinking' are extracted (mainly used for expressing the thinking of the other side), the song can be more sensible, and the light is very mild.
After the projection lamp starts to work, the lovers can put down the mobile phones, empty themselves within the time of a song, feel the love of the other and brew sleepiness, and then can fall asleep in a relaxed state. The ceremony helps a user to build a good sleeping environment and relieves the negative emotion of a lover separating two places. The language is a symbol in nature, a lover in a love sometimes has difficulty in transmitting emotion through the language of the lover, or the love or the language expression capability is included or hindered, another expression symbol is established under the ceremony and is shown through too much sensory experience, different forms can be presented according to the daily moods and the keywords of chatting of the lovers, meanwhile, the expectation of the lovers to each other is increased, and the emotional viscosity of the lovers in different places is enhanced.
And S134, when the mode is the daytime mode, the first terminal acquires the service life of the second terminal, and the second terminal acquires the service life of the first terminal.
In the early stage of peace after waking up, the ceremony of the part is often ignored by people, but in fact, the lovers in different places also have a lot of negative emotions when getting up, and hope that the lovers feel the accompany of the other party at the first time. As the beginning of the day, there is a greater need for rituals that give them a good mental appearance. Similar to the night-safety ceremony mentioned above, the morning-safety ceremony is designed such that both lovers wake up at a predetermined time to check the sleeping conditions of themselves and the other. The first terminal and the second terminal can record and visualize data of the user during sleep. Both lovers can check the sleeping conditions of themselves and the other, which is also a way to concern and express love. Both lovers can greet the other party for morning security and discuss sleeping moods and dreams.
Meanwhile, in the morning, the first terminal and the second terminal can also extract the key character information in the first instruction and convert the key character information into corresponding music and light. Through bluetooth connection and IOT technique, the music and the light of helping sleeping who will convert throws in the other side's hardware equipment. The ceremony is mainly used for relieving the negative emotion of the user after getting up, and people can feel the interest and love of the opponent from the beginning of a day.
The first terminal and the second terminal are devices such as a movable tablet, a mobile phone and a computer.
In addition, referring to fig. 4 and fig. 5, fig. 4 is a schematic structural diagram of a projection lamp according to an embodiment of the present invention, and fig. 5 is a schematic structural diagram of a lamp body in the projection lamp according to the embodiment of the present invention.
It is emphasized that the projection lamp comprises a lamp body 1 and a cover body 2, and the cover body 2 is sleeved on the top of the lamp body 1.
The lamp body 1 includes a base 101 and a light emitting portion 102, wherein the light emitting portion 102 is disposed above the base 101, and different lights are emitted from the light emitting portion 102.
In addition, a controller is arranged inside the base 101 for communicating with an external terminal, and the controller receives a signal to control the emitting part 102 to emit different light rays.
It is emphasized that the particular controller controls the light to emit different colors and will not be described in detail herein.
The base 101 is a cylinder structure, preferably a cylinder structure, which is more attractive.
The emitting part 102 is a curved surface structure, which is similar to a spherical part structure, and the size of the emitting part 102 can be specifically set according to actual needs, so that the emitting part is more attractive.
The cover body 2 is used for being sleeved on the light emitting part 102, so that different lights can be conveniently observed when the cover body 2 is opened in the early morning, and the people feel happy.
Example 2
Referring to fig. 2, fig. 2 is a block diagram of a flow of a communication method for a lover in a different place applied to a first terminal according to embodiment 2 of the present invention. The communication method is applied to a first terminal and comprises the following steps:
s21, the first terminal responds to the operation of the registration command and sends a matching relation establishing instruction to the second terminal;
s22, when the first terminal and the second terminal establish a matching relationship, obtaining the current time, and judging the current time to be a night security mode or an early security mode;
when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal, and the second terminal receives the first instruction and controls the projection lamp to display lamplight;
when the mobile terminal is in the early-safety mode, the first terminal acquires the service time of the second terminal and can display the service time on the interface, and the second terminal acquires the service time of the first terminal and can display the service time on the interface.
Wherein the step S22 includes: s221, when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal;
s222, the first terminal receives the key instruction information and sends a second instruction to the projection lamp, so that the projection lamp plays light, and meanwhile, the second terminal plays music;
the key instruction information is extracted from the first instruction by the second terminal;
and S223, when the mode is the daytime mode, the first terminal acquires the service life of the second terminal.
In the early stage of peace after waking up, the ceremony of the part is often ignored by people, but in fact, the lovers in different places also have a lot of negative emotions when getting up, and hope that the lovers feel the accompany of the other party at the first time. As the beginning of the day, there is a greater need for rituals that give them a good mental appearance. Similar to the night-safety ceremony mentioned above, the morning-safety ceremony is designed such that both lovers wake up at a predetermined time to check the sleeping conditions of themselves and the other. The first terminal and the second terminal can record and visualize data of the user during sleep. Both lovers can check the sleeping conditions of themselves and the other, which is also a way to concern and express love. Both lovers can greet the other party for morning security and discuss sleeping moods and dreams.
Meanwhile, in the morning, the first terminal and the second terminal can also extract the key character information in the first instruction and convert the key character information into corresponding music and light. Through bluetooth connection and IOT technique, the music and the light of helping sleeping who will convert throws in the other side's hardware equipment. The ceremony is mainly used for relieving the negative emotion of the user after getting up, and people can feel the interest and love of the opponent from the beginning of a day.
The first terminal and the second terminal are devices such as a movable tablet, a mobile phone and a computer.
Further, it is emphasized that the projection lamp includes a lamp body 1 and a cover 2, and the cover 2 is fitted over the top of the lamp body 1.
The lamp body 1 includes a base 101 and a light emitting portion 102, wherein the light emitting portion 102 is disposed above the base 101, and different lights are emitted from the light emitting portion 102.
In addition, a controller is arranged inside the base 101 for communicating with an external terminal, and the controller receives a signal to control the emitting part 102 to emit different light rays.
It is emphasized that the particular controller controls the light to emit different colors and will not be described in detail herein.
The base 101 is a cylinder structure, preferably a cylinder structure, which is more attractive.
The emitting part 102 is a curved surface structure, which is similar to a spherical part structure, and the size of the emitting part 102 can be specifically set according to actual needs, so that the emitting part is more attractive.
The cover body 2 is used for being sleeved on the light emitting part 102, so that different lights can be conveniently observed when the cover body 2 is opened in the early morning, and the people feel happy.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram of an communication device for lovers in different places according to embodiment 3 of the present invention, the device includes:
the response module is used for responding to the operation of the registration command and sending a matching relationship establishing instruction to the second terminal;
the matching module is used for receiving the matching relation instruction and establishing a matching relation; and is also used for:
the second terminal receives the matching relation instruction, acquires and displays the identity information in the instruction, so that the user can confirm the identity of the other party;
the second terminal responds to the operation instruction, establishes a matching relation with the first terminal when judging that the operation instruction is 'yes', and sends a feedback result to the first terminal;
when the operation instruction is judged to be 'no', refusing to establish the matching relation and sending a feedback result to the first terminal
The judging module is used for acquiring the current time, and the current time is judged to be in a night security mode or an early security mode;
when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal, and the second terminal receives the first instruction and controls the projection lamp to display lamplight;
when the mobile terminal is in the early-safety mode, the first terminal acquires the service time of the second terminal and can display the service time on the interface, and the second terminal acquires the service time of the first terminal and can display the service time on the interface; and is also used for:
s131, when the night security mode is adopted, the first terminal responds to the sending operation and sends a first instruction to the second terminal;
s132, the second terminal extracts the key instruction information of the first instruction, sends the key instruction information to the first terminal based on the key instruction information,
s133, the first terminal receives the key instruction information and sends a second instruction to the projection lamp, so that the projection lamp plays light, and meanwhile, the second terminal plays music;
and S134, when the mode is the daytime mode, the first terminal acquires the service life of the second terminal, and the second terminal acquires the service life of the first terminal.
Example 4
A computer comprising a memory storing a computer program and a processor implementing the steps of the method of any of the above embodiments when the processor executes the computer program.
Example 6
A storage medium, i.e. a computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the preceding embodiments.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.