CN107506124B - Video making friends method and system - Google Patents

Video making friends method and system Download PDF

Info

Publication number
CN107506124B
CN107506124B CN201710758641.7A CN201710758641A CN107506124B CN 107506124 B CN107506124 B CN 107506124B CN 201710758641 A CN201710758641 A CN 201710758641A CN 107506124 B CN107506124 B CN 107506124B
Authority
CN
China
Prior art keywords
secret signal
content information
match pattern
signal content
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710758641.7A
Other languages
Chinese (zh)
Other versions
CN107506124A (en
Inventor
张磊
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710758641.7A priority Critical patent/CN107506124B/en
Publication of CN107506124A publication Critical patent/CN107506124A/en
Application granted granted Critical
Publication of CN107506124B publication Critical patent/CN107506124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present invention provides a kind of video making friends method and system, when video friend-making mode setting is secret signal match pattern by user, the secret signal content information of user's input is subjected to persistent storage, when user selects secret signal match pattern again, secret signal content information of the automatic last secret signal content information for obtaining persistent storage as this, and video friend-making object is matched according to secret signal content information, the invention proposes the designs of Different matching mode in video friend-making, the information that can effectively exchange code words carries out persistence design and recovery, and it can accurately control the setting result of match pattern.

Description

Video making friends method and system
Technical field
The present invention relates to internet dating technical fields, more particularly, to video making friends method and system.
Background technique
In internet dating field, video friend making function provides the process that two strangers carry out video exchange, in video It in friend-making process, needs according to user information, matches corresponding video friend-making object for user.
Currently, usually matched mode is exactly, and when user logs in video friend-making interface, according to the essential information of user, For example, the essential informations such as the age of user, occupation, hobby, this according to user's to be matched to corresponding video friend-making object The matched mode of essential information finally matches obtained friend-making object and has very much, not accurate enough.
Summary of the invention
The present invention provide a kind of video making friends method for overcoming the above problem or at least being partially solved the above problem and System.
According to the first aspect of the invention, a kind of video making friends method is provided, comprising:
S1 shows match pattern set interface according to the click event of trigger button on video friend-making interface;
S2, the secret signal match pattern selected in match pattern set interface according to user obtain and secret signal match pattern File is written in secret signal content information persistence by corresponding secret signal content information;
S3, when user selects secret signal match pattern again, newest secret signal content information conduct in the file that will acquire This time secret signal content information of secret signal match pattern, to send the application of friend-making object matching according to this secret signal content information
The invention has the benefit that when video friend-making mode setting is secret signal match pattern by user, user is defeated The secret signal content information entered carries out persistent storage, when user selects secret signal match pattern again, the automatic acquisition last time Secret signal content information matches video friend-making object according to secret signal content information as this secret signal content information, The invention proposes video make friends in Different matching mode design, the information that can effectively exchange code words carry out persistence design and Restore, and can accurately control the setting result of match pattern.
Based on the above technical solution, the present invention can also improve as follows.
Further, matching mould is shown according to the click event of trigger button on video friend-making interface in the step S1 Formula set interface further comprises:
A trigger button is set on video friend-making interface, and calling setOnClickListener function is that the triggering is pressed Monitor is arranged in button;
When monitor listens to the click event of trigger button, at video friend-making interface, boundary is arranged in pop-up match pattern Face;
Wherein, the match pattern set interface is the dialog interface write based on DialogFragment class.
Further, the step S2 further include:
A global variable is defined, the global variable is for marking current match pattern;
According to the match pattern that user selects in match pattern set interface, global variable value described in real-time update.
Further, the match pattern selected in match pattern set interface according to user, described in real-time update Global variable value further comprises:
When the user clicks when random fit button, random fit mode value is set by global variable value;
When the user clicks when secret signal matching button, secret signal match pattern value is set by global variable value;
When clicking ACK button, using the global variable value that the last global variable value is final as this.
Further, secret signal content information corresponding with secret signal match pattern is obtained in the step S2, by secret signal content Information is stored in persistence file:
When clicking ACK button, current matching mode is judged by global variable value;
If judging, current matching mode is secret signal match pattern, obtains the secret signal content information of user's input, and hold Longization storage;
Wherein, when secret signal matches button when the user clicks, a secret signal input frame is popped up, inputs secret signal content letter for user Breath.
Further, after the secret signal content information for obtaining user's input, further includes:
The secret signal content information that will acquire by http agreement be sent to server end carry out sensitive word verification, if verification at Function then carries out persistent storage to the secret signal content information;Otherwise, when clicking ACK button, triggering secret signal content is illegal, The prompt information that please be re-enter.
Further, the step S3 further comprises:
When the user clicks when secret signal button, the secret signal content letter in persistence file is obtained by calling interface function Breath, the secret signal content information Auto-writing is entered in secret signal input frame.
Further, after the step S3 further include:
One interface function is set, when the user clicks when ACK button, by the interface function by current global variable value with And secret signal content information is transferred to higher level interface;
Higher level interface judges current matching mode according to global variable value, if secret signal match pattern, then obtains in secret signal Hold information, do not handled then according to the matching that secret signal content information carries out video friend-making object if random fit mode, wherein If current matching mode is random fit mode, secret signal content information is sky.
According to the second aspect of the invention, a kind of video dating system is provided, comprising:
Display module shows that boundary is arranged in match pattern for the click event according to trigger button on video friend-making interface Face;
Persistence module, the secret signal match pattern for being selected in match pattern set interface according to user, obtain with File is written in secret signal content information persistence by the corresponding secret signal content information of secret signal match pattern;
Module is obtained, in the file for will acquire when user selects secret signal match pattern again in newest secret signal Hold secret signal content information of the information as this secret signal match pattern, to send friend-making object according to this secret signal content information Matching application.
According to the third aspect of the present invention, a kind of non-transient computer readable storage medium is provided, it is described non-transient Computer-readable recording medium storage computer instruction, the computer instruction make the computer execute video making friends method.
Detailed description of the invention
Fig. 1 is the video making friends method flow chart of one embodiment of the invention;
Fig. 2 is that the video dating system of another embodiment of the present invention connects block diagram;
Fig. 3 is that the video dating system of another embodiment of the invention is connected block diagram;
Fig. 4 is that the inside of persistence module in video dating system connects block diagram;
Fig. 5 is that the equipment of the video making friends method of further embodiment of the present invention connects block diagram.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
Referring to Fig. 1, the video making friends method of one embodiment of the invention is provided, comprising: S1, according to video friend-making interface The click event of upper trigger button shows match pattern set interface;S2 is selected in match pattern set interface according to user Secret signal match pattern, corresponding with secret signal match pattern secret signal content information is obtained, by the write-in of secret signal content information persistence File;S3, when user selects secret signal match pattern again, newest secret signal content information is as this in the file that will acquire The secret signal content information of secret signal match pattern, to send the application of friend-making object matching according to this secret signal content information.
In internet dating field, video friend making function provides the possibility that two strangers carry out video friend-making, in video It during friend-making, needs to match each user the Video chat object of reference, is just can guarantee during making friends in this way Concordance.For matched process, two kinds of match patterns, respectively random fit mode and secret signal matching are present embodiments provided Mode, wherein random fit mode refers to according to user information, matches Video chat object, secret signal matching at random for the user Mode refers to the secret signal content information inputted according to user, distributes corresponding video friend-making object for the user.
In the present embodiment, it according to the click event of trigger button on video friend-making interface, is opened up on video friend-making interface Show match pattern set interface, selects match pattern for user.Wherein, there are multiple buttons in match pattern set interface, respectively For random fit button, secret signal button and ACK button are matched, when the user clicks secret signal matching button and when ACK button, i.e., Secret signal match pattern has been selected, the secret signal content information of user's input is obtained, secret signal content information persistence has been written in file. When user's reselection secret signal match pattern next time, last secret signal content information is directly obtained from the file of persistence The application of friend-making object matching is sent as this secret signal content information, and according to this secret signal content information, i.e. server connects Get a secret signal content information, is that user matches corresponding video friend-making object according to secret signal content information.
User is selected the secret signal content information that inputs when secret signal match pattern to carry out persistent storage by the present embodiment, when with When family selects secret signal match pattern again, secret signal content information of the secret signal content information as this of last time is obtained automatically, And video friend-making object is matched according to secret signal content information, the invention proposes Different matching modes in video friend-making Design, the information that can effectively exchange code words carries out persistence design and recovery, and can accurately control setting for match pattern Determine result.
Based on the above technical solution, in one embodiment of the present of invention, according to trigger button in the step S1 Click event, on video friend-making interface show match pattern set interface further comprise: set on video friend-making interface A trigger button is set, and calling setOnClickListener function is that monitor is arranged in the trigger button;When monitor is monitored To trigger button click event when, video friend-making interface pop up match pattern set interface;Wherein, the match pattern is set Setting interface is the dialog interface write based on DialogFragment class.
In the present embodiment, during video is made friends, when user is arranged without match pattern, it is defaulted as random With mode, in order to carry out the selection of secret signal match pattern, a trigger button, Yong Huke are designed on video friend-making interface To trigger the pop-up of match pattern set interface by clicking trigger button, user can be arranged in match pattern set interface Match pattern during this friend-making.Specifically, calling setOnClickListener function is one prison of trigger button setting Device is listened, when monitor listens to the click event of trigger button, pops up match pattern set interface at video friend-making interface.Its In, match pattern set interface is a dialog interface, writes a dialog box specifically by DialogFragment class Interface is as match pattern set interface.
Wherein, the advantage that a dialog interface is realized by DialogFragment class is exactly display and hiding dialogue Frame can be more convenient quick, when needing to show dialog box, it is only necessary to show method be called boundary to be arranged in entire match pattern Face is shown, likewise, when needing to hide dialog box, it is only necessary to call hide method that can hide entire match pattern setting Interface.
On the basis of the various embodiments described above, in another embodiment of the invention, the step S2 further include: define one Global variable, the global variable is for marking current match pattern;It is selected in match pattern set interface according to user Match pattern, global variable value described in real-time update.
For the match pattern that dynamically recording user currently selects, the present embodiment is by defining a global variable CurrentMatchType, the global variable is for marking current match pattern mode, wherein the initial value of global variable is Random fit mode value.Due to that can change match pattern in user in different times section, therefore, it is necessary in real time to global variable Value is updated.For example, random fit mode value is set by global variable value when user has selected random fit mode, Secret signal match pattern then has been selected again, then global variable value has been revised as secret signal match pattern value from random fit mode value.
The present embodiment is the selection for preventing user's frequent switching match pattern, such as, it is also necessary to ACK button is supervised It listens.For example, user does not click ACK button after having selected secret signal match pattern, but random fit button is clicked again, Click ACK button again at this time, then match pattern nearest using before ACK button is as this final match pattern.Specifically To set random fit mode value for global variable value, and then can not there is no point when the user clicks when random button ACK button is hit, but clicks secret signal and matches button, then global variable value is revised as secret signal match pattern value, subsequent user's point ACK button is hit, then the match pattern that secret signal match pattern is final as this, corresponding global variable value is secret signal With mode value.Certainly, it is also possible to which user is after clicking secret signal matching button and clicks cancel button, then existing to become the overall situation Magnitude is revised as secret signal match pattern value, then global variable value is revised as random fit mode value from secret signal match pattern value.
On the basis of the various embodiments described above, in another embodiment of the invention, acquisition and secret signal in the step S2 The corresponding secret signal content information of match pattern, secret signal content information, which is stored in persistence file, further comprises: working as click When ACK button, current matching mode is judged by global variable value;If judging, current matching mode is secret signal match pattern, Then obtain the secret signal content information of user's input, and persistent storage;Wherein, when secret signal matches button when the user clicks, pop-up One secret signal input frame inputs secret signal content information for user.
During secret signal content information is carried out persistence, when the user clicks when ACK button, global change is first passed through Magnitude judges the type of current matching mode, if it is judged that being currently random fit mode, then secret signal content information is not present Acquisition and persistence;If it is judged that the secret signal content information of user's input is then obtained when being currently secret signal match pattern, and Secret signal content information is subjected to persistent storage.The specific method for obtaining secret signal content information is called in edittext Gettext method, wherein edittext is the input frame object for indicating secret signal, obtains secret signal content information.Wherein, it needs to illustrate , when the user clicks when secret signal matching button, will pop up a secret signal input frame, input secret signal content letter thereto for user Breath.
On the basis of the various embodiments described above, in one embodiment of the present of invention, in the secret signal for obtaining user's input After holding information, further includes: the secret signal content information that will acquire is sent to server end by http agreement and carries out sensitive word verification, If verifying successfully, persistent storage is carried out to the secret signal content information;Otherwise, it when clicking ACK button, triggers in secret signal Hold illegal, please to re-enter prompt information.
After obtaining secret signal content information through the above scheme, service is sent by http agreement by secret signal content information Device carries out sensitive word verification, avoids occurring sensitive word content information in secret signal.If server back-checking fails, illustrate secret signal Content information is illegal, at this time when user clicks ACK button, user's secret signal content can be prompted illegal, please re-enter dark Number content information.If server verifies successfully, secret signal content information is subjected to persistent storage.
The method of specific persistent storage is stored by SharedPreferences tool-class.First A SharedPreferences is got by the function getSharedPreferences for calling android system to provide Next object sp is called followed by calling the edit function in sp to get edit object editor corresponding to sp PutString method in editor stores the content of str into editor object.It will eventually by calling commit method Editor method is written in file.The content of secret signal is just written in the file of sp and goes by we in this way.
It should be noted that in order to which the secret signal content information for guaranteeing persistent storage is newest secret signal content information, often When user's click ACK button, all judge whether current matching mode is secret signal match pattern by global variable value, If secret signal match pattern, then the secret signal content information for updating last time persistence is removed with this secret signal content information obtained, is made The secret signal content information for obtaining persistence is newest secret signal content information always.
On the basis of the above embodiments, in another embodiment of the invention, the step S3 further comprises: when with When secret signal button is clicked at family, the secret signal content information in persistence file is obtained by calling interface function, by the secret signal Content information Auto-writing enters in secret signal input frame.
It is above-mentioned to last user select secret signal match pattern when secret signal content information carried out persistence, when user again When secondary selection secret signal match pattern, by calling getSharedPreferences to get a SharedPreferences Then object sp obtains specific secret signal content information by the getString method in investigation sp.If what is got is dark Number content information be not it is empty, then illustrate that secret signal content information was once written, at this time by the secret signal content information read from Dynamic to be filled up in secret signal input frame, the method specifically filled in is by calling the side settext in secret signal input frame edittext Method is filled in.Processing in this way will be defaulted when user clicks secret signal matching button every time fills in the last time The secret signal content information crossed is written in secret signal input frame.
On the basis of the various embodiments described above, in one embodiment of the present of invention, after the step S3 further include: setting One interface function when the user clicks when ACK button, is believed current global variable value and secret signal content by the interface function Breath is transferred to higher level interface;Higher level interface judges current matching mode according to global variable value, if secret signal match pattern, then obtains Secret signal content information is taken, is not located then according to the matching that secret signal content information carries out video friend-making object if random fit mode Reason, wherein if current matching mode is random fit mode, secret signal content information is sky.
When the user clicks when secret signal matching button, last secret signal content information is obtained by above-mentioned method, is made For this secret signal content information, current embodiment require that this secret signal content information is sent to higher level interface.Specifically With one interface function onOkClickResult of mode setting interface (int currentMatchType, String Signal), there are two parameters, respectively global variable value and secret signal content information for interface function carrying.By the two parameters It is transferred to higher level interface by this interface function, match pattern set interface is registered at higher level interface by register function OnOkClickResult interface function.
After higher level interface receives two parameters of onOkClickResult interface function transmitting, according to global variable Value judges current matching mode, and when judging that current matching mode is random fit mode, then secret signal content information is sky at this time, It therefore, there is no need to handle another parameter;When judging current matching mode is secret signal match pattern, secret signal content information is not For sky, then the secret signal content information is obtained, the matching of video friend-making object is carried out according to secret signal content information.
Referring to fig. 2, the video dating system of another embodiment of the present invention, including display module 21, persistence are provided Mode 22 and acquisition module 23.
Display module 21 shows match pattern setting for the click event according to trigger button on video friend-making interface Interface;
Persistence module 22, the secret signal match pattern for being selected in match pattern set interface according to user obtain File is written in secret signal content information persistence by secret signal content information corresponding with secret signal match pattern.Module 23 is obtained, is used for When user selects secret signal match pattern again, newest secret signal content information is matched as this secret signal in the file that will acquire The secret signal content information of mode, to send the application of friend-making object matching according to this secret signal content information.
Referring to Fig. 3, based on the above embodiment, video dating system provided in this embodiment further includes setup module 24, determines Adopted module 25, update module 26, correction verification module 27 and uploading module 28.
Setup module 24 for a trigger button to be arranged on video friend-making interface, and is called SetOnClickListener function is that monitor is arranged in the trigger button.
Correspondingly, it makes friends specifically for listening to the click event of trigger button when monitor in video display module 21 Pop up match pattern set interface in interface;Wherein, a dialog interface is write as matching based on DialogFragment class Mode setting interface.
Definition module 25, for defining a global variable, the global variable is for marking current match pattern.
Update module 26, the match pattern for being selected in match pattern set interface according to user, real-time update institute State global variable value.
Wherein, update module 26 are specifically used for: when the user clicks when random fit button, setting global variable value to Random fit mode value;When the user clicks when secret signal matching button, secret signal match pattern value is set by global variable value;Work as a little When hitting ACK button, using the global variable value that the last global variable value is final as this.
Correction verification module 27, the secret signal content information for will acquire are sent to server end by http agreement and carry out sensitivity Word verification carries out persistent storage to the secret signal content information if verifying successfully;Otherwise, when clicking ACK button, triggering Secret signal content is illegal, the prompt information that please be re-entered.
Module 23 is obtained, is also used to: when the user clicks when secret signal button, being obtained in file by calling interface function Secret signal content information enters the secret signal content information Auto-writing in secret signal input frame.
Uploading module 29 when the user clicks when ACK button, will be worked as an interface function to be arranged by the interface function Preceding global variable value and secret signal content information are transferred to higher level interface, so that higher level interface judges currently according to global variable value Match pattern then obtains secret signal content information if secret signal match pattern, carries out video friend-making object according to secret signal content information Matching do not handled then if random fit mode, wherein if current matching mode be random fit mode, secret signal content Information is sky.
Referring to fig. 4, persistence module 22 specifically includes judging unit 221 and storage unit 222, wherein judging unit 221, for judging current matching mode by global variable value when clicking ACK button;
Storage unit 222 obtains if judging that current matching mode is secret signal match pattern for judging unit 221 The secret signal content information of user's input, and persistent storage;Wherein, when secret signal matches button when the user clicks, a secret signal is popped up Input frame inputs secret signal content information for user.
Referring to Fig. 5, the device structure block diagram of the video making friends method of the embodiment of the present application is shown.
Referring to Fig. 5, the equipment of video making friends method includes: processor (processor) 501, memory (memory) 502 With bus 503;Wherein, the processor 501 and memory 502 complete mutual communication by the bus 503.
The processor 501 is used to call the program instruction in the memory 502, to execute above-mentioned each method embodiment Provided method, for example, according to the click event of trigger button on video friend-making interface, show that boundary is arranged in match pattern Face;The secret signal match pattern selected in match pattern set interface according to user obtains corresponding with secret signal match pattern dark File is written in secret signal content information persistence by number content information;When user selects secret signal match pattern again, will acquire Secret signal content information of the newest secret signal content information as this secret signal match pattern in file, in the secret signal according to this Hold information and sends the application of friend-making object matching.
The present invention discloses a kind of computer program product, which can including being stored in non-transient computer The computer program on storage medium is read, which includes program instruction, when program instruction is computer-executed, meter Calculation machine is able to carry out video making friends method provided by above-mentioned corresponding embodiment, for example, touches according on video friend-making interface The click event of button is sent out, shows match pattern set interface;The secret signal selected in match pattern set interface according to user Match pattern obtains secret signal content information corresponding with secret signal match pattern, and file is written in secret signal content information persistence;When When user selects secret signal match pattern again, newest secret signal content information matches mould as this secret signal in the file that will acquire The secret signal content information of formula, to send the application of friend-making object matching according to this secret signal content information.
The present invention also provides a kind of non-transient computer readable storage medium, which is deposited Computer instruction is stored up, which makes computer execute video making friends method provided by above-mentioned corresponding embodiment, such as It include: that match pattern set interface is shown according to the click event of trigger button on video friend-making interface;It is being matched according to user The secret signal match pattern selected on mode setting interface obtains secret signal content information corresponding with secret signal match pattern, by secret signal File is written in content information persistence;When user selects secret signal match pattern again, newest secret signal in the file that will acquire Secret signal content information of the content information as this secret signal match pattern, to send friend-making pair according to this secret signal content information As matching is applied.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as the equipment of video making friends method described above are only schematical, wherein being used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not In the case where paying creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Certain Part Methods of example or embodiment.
Video making friends method provided by the invention and system, when video friend-making mode setting is secret signal match pattern by user When, the secret signal content information of user's input is subjected to persistent storage and is obtained automatically when user selects secret signal match pattern again Take last secret signal content information as this secret signal content information, and according to secret signal content information to video friend-making object It is matched, the invention proposes the design of Different matching mode in video friend-making, the information that can effectively exchange code words is held Longization design and recovery, and can accurately control the setting result of match pattern.
Finally, the present processes are only preferable embodiment, it is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (9)

1. a kind of video making friends method characterized by comprising
S1 shows match pattern set interface according to the click event of trigger button on video friend-making interface;
S2, the secret signal match pattern selected in match pattern set interface according to user obtain corresponding with secret signal match pattern Secret signal content information, by secret signal content information persistence be written file;
S3, when user selects secret signal match pattern again, newest secret signal content information is as this in the file that will acquire The secret signal content information of secret signal match pattern, to send the application of friend-making object matching according to this secret signal content information;
Wherein, after the step S3 further include:
One interface function is set, when the user clicks when ACK button, by the interface function by current global variable value and secretly Number content information is transferred to higher level interface;
Higher level interface judges current matching mode according to global variable value, if secret signal match pattern, then obtains secret signal content letter Breath is not handled then according to the matching that secret signal content information carries out video friend-making object if random fit mode, wherein if working as Preceding match pattern is random fit mode, then secret signal content information is sky.
2. video making friends method as described in claim 1, which is characterized in that according on video friend-making interface in the step S1 The click event of trigger button shows that match pattern set interface further comprises:
A trigger button is set on video friend-making interface, and calling setOnClickListener function is that the trigger button is set Set monitor;
When monitor listens to the click event of trigger button, match pattern set interface is popped up at video friend-making interface;
Wherein, the match pattern set interface is the dialog interface write based on DialogFragment class.
3. video making friends method as described in claim 1, which is characterized in that the step S2 further include:
A global variable is defined, the global variable is for marking current match pattern;
According to the match pattern that user selects in match pattern set interface, global variable value described in real-time update.
4. video making friends method as claimed in claim 3, which is characterized in that it is described according to user in match pattern set interface The value of the match pattern of upper selection, global variable described in real-time update further comprises:
When the user clicks when random fit button, random fit mode value is set by global variable value;
When the user clicks when secret signal matching button, secret signal match pattern value is set by global variable value;
When clicking ACK button, using the global variable value that the last global variable value is final as this.
5. video making friends method as claimed in claim 4, which is characterized in that obtained and secret signal match pattern in the step S2 Secret signal content information persistence write-in file is further comprised by corresponding secret signal content information:
When clicking ACK button, current matching mode is judged by global variable value;
If judging, current matching mode is secret signal match pattern, obtains the secret signal content information of user's input, and persistence Storage;
Wherein, when secret signal matches button when the user clicks, a secret signal input frame is popped up, inputs secret signal content information for user.
6. video making friends method as claimed in claim 5, which is characterized in that the secret signal content information for obtaining user's input Afterwards, further includes:
The secret signal content information that will acquire is sent to server end by http agreement and carries out sensitive word verification, if verifying successfully, Persistent storage then is carried out to the secret signal content information;Otherwise, when clicking ACK button, triggering secret signal content is illegal, asks The prompt information re-entered.
7. video making friends method as claimed in claim 6, which is characterized in that the step S3 further comprises:
When the user clicks when secret signal button, the secret signal content information in file is obtained by calling interface function, it will be described dark Number content information Auto-writing enters in secret signal input frame.
8. a kind of video dating system characterized by comprising
Display module shows match pattern set interface for the click event according to trigger button on video friend-making interface;
Persistence module, the secret signal match pattern for being selected in match pattern set interface according to user, acquisition and secret signal File is written in secret signal content information persistence by the corresponding secret signal content information of match pattern;
Obtain module, newest secret signal content letter in the file for will acquire when user selects secret signal match pattern again The secret signal content information as this secret signal match pattern is ceased, to send friend-making object matching according to this secret signal content information Application;
Wherein, the video dating system further includes uploading module, and the uploading module works as user for an interface function to be arranged When clicking ACK button, current global variable value and secret signal content information are transferred to by higher level interface by the interface function;
Higher level interface judges current matching mode according to global variable value, if secret signal match pattern, then obtains secret signal content letter Breath is not handled then according to the matching that secret signal content information carries out video friend-making object if random fit mode, wherein if working as Preceding match pattern is random fit mode, then secret signal content information is sky.
9. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 1 to 7 is any.
CN201710758641.7A 2017-08-29 2017-08-29 Video making friends method and system Active CN107506124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758641.7A CN107506124B (en) 2017-08-29 2017-08-29 Video making friends method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758641.7A CN107506124B (en) 2017-08-29 2017-08-29 Video making friends method and system

Publications (2)

Publication Number Publication Date
CN107506124A CN107506124A (en) 2017-12-22
CN107506124B true CN107506124B (en) 2019-09-10

Family

ID=60694260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758641.7A Active CN107506124B (en) 2017-08-29 2017-08-29 Video making friends method and system

Country Status (1)

Country Link
CN (1) CN107506124B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347471B (en) * 2018-01-02 2021-07-23 武汉斗鱼网络科技有限公司 Method, device and system for acquiring third-party user information
CN109547258A (en) * 2018-12-06 2019-03-29 郑州云海信息技术有限公司 A kind of method and apparatus of data configuration

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235737A (en) * 2013-04-08 2013-08-07 厦门市美亚柏科信息股份有限公司 Frameset-based browser dialog box simulation method
CN106201488A (en) * 2016-06-30 2016-12-07 国云科技股份有限公司 A kind of reusable step window implementation method
CN106980688A (en) * 2017-03-31 2017-07-25 上海掌门科技有限公司 A kind of method, equipment and system for being used to provide friend-making object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235737A (en) * 2013-04-08 2013-08-07 厦门市美亚柏科信息股份有限公司 Frameset-based browser dialog box simulation method
CN106201488A (en) * 2016-06-30 2016-12-07 国云科技股份有限公司 A kind of reusable step window implementation method
CN106980688A (en) * 2017-03-31 2017-07-25 上海掌门科技有限公司 A kind of method, equipment and system for being used to provide friend-making object

Also Published As

Publication number Publication date
CN107506124A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN104424094B (en) A kind of exception information acquisition methods, device and intelligent terminal
CN104268006B (en) The back method and device of key mouse script
CN108427633B (en) Display interface processing method and device
CN107566358A (en) A kind of Risk-warning reminding method, device, medium and equipment
CN106844217A (en) Control to applying bury method and device, readable storage medium storing program for executing a little
US9762597B2 (en) Method and system to detect and interrupt a robot data aggregator ability to access a website
US20210042213A1 (en) Method of, and apparatus for, testing computer hardware and software
CN110515679B (en) Data acquisition method, device, equipment and storage medium
CN107256428A (en) Data processing method, data processing equipment, storage device and the network equipment
US11604689B1 (en) Resolving technology issues
CN109657539B (en) Face value evaluation method and device, readable storage medium and electronic equipment
US9329979B2 (en) Derivation of generalized test cases
CN107506124B (en) Video making friends method and system
CN111818066A (en) Risk detection method and device
CN109743286A (en) A kind of IP type mark method and apparatus based on figure convolutional neural networks
CN112418259A (en) Method for configuring real-time rules based on user behaviors in live broadcast process, computer equipment and readable storage medium
CN109240916B (en) Information output control method, information output control device and computer readable storage medium
CN109684177A (en) Information feedback method and device
CN117495544A (en) Sandbox-based wind control evaluation method, sandbox-based wind control evaluation system, sandbox-based wind control evaluation terminal and storage medium
CN109308660B (en) Credit assessment scoring model evaluation method, apparatus, device and storage medium
CN107203471B (en) Joint debugging method, service platform and computer storage medium
CN111143305B (en) Data storage method, device, equipment and medium based on distributed storage system
CN110221952B (en) Service data processing method and device and service data processing system
US10809887B2 (en) Evaluating user interface efficiency
CN113422860A (en) Call abnormity detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant