CN107172259A - Terminal and its information interacting method, storage device based on Quick Response Code - Google Patents
Terminal and its information interacting method, storage device based on Quick Response Code Download PDFInfo
- Publication number
- CN107172259A CN107172259A CN201710233782.7A CN201710233782A CN107172259A CN 107172259 A CN107172259 A CN 107172259A CN 201710233782 A CN201710233782 A CN 201710233782A CN 107172259 A CN107172259 A CN 107172259A
- Authority
- CN
- China
- Prior art keywords
- picture
- newly
- quick response
- response code
- increased
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/2753—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
- H04M1/2757—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
Abstract
The present invention provides a kind of terminal and its information interacting method, storage device based on Quick Response Code.The present invention is sent the corresponding Quick Response Code of associated person information by transmitting the application program of bitmap file, and when the system picture library of monitoring has newly-increased picture, whether the newly-increased picture of detection includes Quick Response Code, if so, then scanning Quick Response Code to obtain associated person information.Based on this, the present invention can realize that the quick of associated person information is shared, and reduce user's operation, and do not limited by geographical position.
Description
Technical field
The present invention relates to technical field of information interaction, and in particular to a kind of terminal and its information exchange side based on Quick Response Code
Method, storage device.
Background technology
Communication is social, and the interaction of associated person information is self a kind of publicity and gets to know a kind of other people important way, currently
The interaction for carrying out associated person information using electric terminals such as mobile phones gradually replaces paper business card, as one tide in social circle
Stream.Existing mobile phone typically carries out the interaction of associated person information with Quick Response Code mode in the form of text.But, textual form can not be propped up
The quick of associated person information is held to share, and Quick Response Code mode not only need the manually operated terminal-pair Quick Response Code of other side be scanned and
The addition of associated person information, and it is limited by geographical location.
The content of the invention
In view of this, the present invention provides a kind of terminal and its information interacting method, storage device based on Quick Response Code, can
Realize that the quick of associated person information is shared, reduce user's operation, and do not limited by geographical position.
The information interacting method based on Quick Response Code of one embodiment of the invention, including:
First terminal transfers associated person information, and generates Quick Response Code corresponding with associated person information;
First terminal, which is filtered out, can transmit the application program of bitmap file, and be sent out the Quick Response Code by application program
Give second terminal;
Second terminal receives Quick Response Code, and Quick Response Code is stored in into system picture library;
Whether the second terminal monitoring system picture library has newly-increased picture;
When the system picture library of monitoring has newly-increased picture, whether the newly-increased picture of second terminal detection includes two dimension
Code;
If so, then second terminal scans Quick Response Code to obtain corresponding associated person information.
One embodiment of the invention based on Quick Response Code carry out information exchange terminal, the terminal include processor and with
The memory and transceiver of processor connection, wherein,
Transceiver is used to receive Quick Response Code, and the Quick Response Code is stored in into system picture library;
Processor is used for whether monitoring system picture library to have newly-increased picture, and has newly-increased in the system picture library of monitoring
Detect whether newly-increased picture includes Quick Response Code during picture;If so, then processor is corresponding to obtain for scanning Quick Response Code
It is people's information;
Memory is used for storing contact information.
The storage device of one embodiment of the invention, have program stored therein data, and described program data can be performed to realize
The above-mentioned information interacting method based on Quick Response Code.
Beneficial effect:The present invention carries out the transmission and reception of associated person information by Quick Response Code, can realize that contact person believes
The quick of breath is shared, by way of transmitting the application program of bitmap file and sending Quick Response Code so that other side is without face to face or closely
Range sweep Quick Response Code, therefore, it is possible to reduce user's operation, and is not limited by geographical position.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the information interacting method based on Quick Response Code of first embodiment of the invention;
Fig. 2 is the schematic flow sheet of the method for sharing Quick Response Code by application program of one embodiment of the invention;
Fig. 3 is that the flow whether the monitoring system picture library of one embodiment of the invention has the method for newly-increased picture is illustrated
Figure;
Fig. 4 be one embodiment of the invention the newly-increased picture of detection whether the schematic flow sheet of the method comprising Quick Response Code;
Fig. 5 is the schematic flow sheet of the information interacting method based on Quick Response Code of second embodiment of the invention;
Fig. 6 be another embodiment of the present invention the newly-increased picture of detection whether the flow signal of the method comprising Quick Response Code
Figure;
Fig. 7 is the schematic flow sheet of the information interacting method based on Quick Response Code of third embodiment of the invention;
Fig. 8 is the structural representation of the terminal of one embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the skill of each exemplary embodiment provided by the present invention
Art scheme is clearly and completely described.In the case where not conflicting, the feature in following each embodiment and embodiment can
To be mutually combined.
Referring to Fig. 1, being the information interacting method based on Quick Response Code of one embodiment of the invention.Described information exchange method
Step S11~S16 can be included.
S11:First terminal transfers associated person information, and generates Quick Response Code corresponding with associated person information.
First terminal can be transferred using vCard (Personal Data Interchange, personal data are exchanged) form
Associated person information, the associated person information includes but is not limited to the letter such as phone number, address, head portrait of contact person in address list
Breath.VCard format fields pass through identifier record associated person information, i.e., identifier and the different associated person informations of different values
With mapping relations.Because the value of the identifier of vCard format fields is limited, in order to realize adding for more associated person informations
Plus, the present embodiment can use enumeration type to record the identifier of vCard format fields and the mapping relations of associated person information,
That is, all possible value of the identifier of vCard format fields is enumerated out by the present embodiment, and is built with associated person information
Vertical mapping relations.
First terminal can select the partial information of a certain designated contact according to user instruction and generate Quick Response Code.Specifically
Ground, after user instruction is received, the system of first terminal can be obtained by Content Provider (content offer) component
Take the specific field in vCard format fields.Certainly, other embodiment of the invention can also be when not receiving user instruction
Acquiescence transfers the full detail of a certain designated contact and generates corresponding Quick Response Code.
The present embodiment can use ZXing (open source projects) source codes to encode vCard format fields, and in coding
Bit Matrix (bit matrix) object is returned afterwards, finally utilizes this Bit Matrix objects draw Quick Response Code.Drawn
Quick Response Code include view finding figure, positioning figure, data encoding content and error correction information code.View finding figure and positioning graphical representation
For three " returning " font regions of Quick Response Code, for determining the position of Quick Response Code, and coordinate reference is provided.Data encoding content is
The bar code that vCard format fields are converted into according to certain predictive encoding algorithm.Error correction information code is used to specify the fault-tolerant of Quick Response Code
Rate, to ensure the fault-tolerance of data, error correction information code can be RS codes (Reed Solomon, inner institute's code).Quick Response Code it is fault-tolerant
Rate is higher, its error correction information included code it is more, Quick Response Code can repair ability it is higher.
Further, the present embodiment can add the contact number of people using add Logo (sticking on mark) method in the middle of Quick Response Code
Picture.Specifically, the system of first terminal is pressed Quick Response Code and contact head image this two pictures using Canvas (covering) algorithms
Synthesis drafting is carried out according to certain proportion.In synthesis drawing process, due to former Quick Response Code (Quick Response Code before synthesis drafting)
The data of center section are capped and lose, it is therefore desirable to which the serious forgiveness of former Quick Response Code is higher.
S12:First terminal, which is filtered out, can transmit the application program of bitmap file, and by application program by the two dimension
Code is sent to second terminal.
Quick Response Code is substantially exactly bitmap file (bitmap), therefore shares side of the Quick Response Code with sharing a pictures
Formula is identical.Based on this, referring to Fig. 2, first, the system of first terminal sets the action (action) of Intent (demand) component
To send, i.e. Intent.ACTION_SEND, and Intent components type (type) for " image/jpeg " or
“image/*”.Then, program (is obtained by the get Package Info of Package Manager (program bag management) component
Package informatin) function can obtain all application programs with " image/jpeg " or " image/* " of first terminal installation
Information.Application-specific is needed to use to carry out sharing for Quick Response Code if Intent components are specified, first terminal can lead to
The List (list) that Package Manager components obtain Result Info (object information) is crossed, by comparing Result
Info package Name (software kit name) determine destination application with the package Name of destination application.Most
Afterwards, system using the component (component) of destination application as Intent components component, and call start
Activity (performing action) function sends Quick Response Code, is realized with this and shares Quick Response Code by the destination application.
S13:Second terminal receives Quick Response Code, and Quick Response Code is stored in into system picture library.
After second terminal successfully gets the Quick Response Code that first terminal is transmitted, the system picture library of second terminal is just
Change, new Quick Response Code is added into system picture library.
S14:Whether second terminal monitoring system picture library has newly-increased picture.
By taking android system as an example, Content Observer (content observation) component can be used in the system of second terminal
Data variation in monitoring system picture library.When the data variation in system picture library, Content Observer components can
To return to the data before change and after change by onChange () function (function to be changed), newly-increased figure is got with this
Piece.
In order to increase the monitor duration to system picture library, i.e., macroscopically it is being always maintained at monitoring state, this reality as far as possible
Applying example can use one kind in three kinds of modes shown in Fig. 3 to perform monitoring.
One is, improves the priority of the background process of monitoring system picture library so that background process is changed into service processes
(Intent Service), and whether have newly-increased picture by service processes monitoring system picture library.Specifically, exist
The numerical priority value of background process, for example, peak 1000 are set in Android Manifest (list).Then, call
OnStartCommand (order to be launched) function returns to (continuous) orders of START_STICKT.Based on this, service processes are being
System resource may be moved to end operation when nervous, but when system resource is recovered, the service processes will restart, so that after
Whether continuous monitoring system picture library has newly-increased picture.
Two are, improve the background process of monitoring system picture library in the priority of front stage operation, then pass through background process
Whether monitoring system picture library has newly-increased picture.Specifically, the system of second terminal sets RECEIVER_BOOT_
COMPLETED components are permission (license), and activity processes and service processes are separated.Service processes
Starting-up signal is received by BR (Broadcast Receiver, broadcasting receiver), and starts service processes.Then,
Service processes call start Foreground (unlatching foreground) function.With service processes after activity process initiations
Binding, is communicated by IPC (Inter-Process Communication, interprocess communication) mode between the two, so that
The notice of newly-increased picture can be displayed whether in the menu informing of second terminal.When activity processes are exited with
Service processes are unbinded.
Three are, whether have newly-increased picture using service processes and finger daemon alternate monitoring system picture library.Service into
Journey and finger daemon keep set membership, if subprocess terminates, parent process re-creates subprocess;If parent process terminates,
Subprocess restarts parent process using AM (Activity Manager, activity management) orders.That is, service processes monitor finger daemon
Running status, if finger daemon terminates, service processes arouse finger daemon again;Finger daemon monitors the fortune of service processes
Row state, if service processes terminate, finger daemon arouses service processes again.
Certainly, other embodiments of the invention can be determined whether by the identifier of picture in monitoring system picture library
Newly-increased picture.Specifically, service attachment will be monitored in some specific softwares, when software is opened by user to be run, backstage
Service processes can carry out traversal lookup to the identifier of picture in system picture library, and newly-increased picture is filtered out with this.Wherein,
Identifier can use bit (byte) type, if picture was monitored, its identifier is revised as 1, be otherwise null.It is logical
This mode is crossed, when system picture library has a large amount of pictures, even if a traversal is carried out to system picture library, when can also reduce
Between and resource on loss.
If the system picture library of monitoring has newly-increased picture, step S15~S16 is performed.If not monitoring system
Picture library has newly-increased picture, then continues executing with step S14, until monitoring just to perform when system picture library has newly-increased picture
Step S15~S16.
S15:Whether the newly-increased picture of second terminal detection includes Quick Response Code.
With reference to shown in Fig. 4, the present embodiment can pass through getFramingRect () letter in ZXing (open source projects) source code
The size of the focus frame of number (rectangular frame function) modification two-dimensional code scanning, i.e., do not limit the size of focus frame as picture (screen
Curtain) size 5/8, then pass through getFramingRectInPreview () function (rectangular frame preview function) complete second
The screen resolution of terminal to camera resolution conversion, so as to show the overall dimension of picture in focus frame.Then,
By focus frame scanned picture, and judge that the picture is identified with the presence or absence of three " returning " fonts, if in the presence of judging newly-increased figure
Piece includes Quick Response Code, performs step S16;If being not present, judge that newly-increased picture does not include Quick Response Code, the picture is not performed
Follow up scan processing, can continue executing with step S14.Whether the present embodiment contains three " returning " fonts by Scanning Detction picture
Mark, without scan full hard disk picture and parses the full content of Quick Response Code.
S16:Second terminal scans Quick Response Code to obtain corresponding associated person information.
The present embodiment can call decode () letter of QRCode Reader in ZXing source codes (Quick Response Code reading) component
Number (decoding functions) automatically scanning Quick Response Code.
Based on above-mentioned, the present embodiment carries out sharing and interacting, solution for associated person information using current general Quick Response Code
Traditional use text or attachment version, which are shared, needs the drawbacks of user enters row information addition processing manually, while have certain
Data security.Also, be compared to prior art only can generate Quick Response Code, this implementation to the associated person information in address list
Example can allow for Quick Response Code and carry more associated person informations.
In addition, sending the Quick Response Code of associated person information, the present embodiment energy by the way that the application program of bitmap file can be transmitted
More than enough channel shares associated person information, such as user can by multimedia message, wechat, mail application transfer contact person believe
Breath so that other side by geographical position without face to face or short range scanning Quick Response Code, therefore, it is possible to reduce user's operation, and not limited
System.
Also, whether the picture increased newly by background service process automatic detection includes Quick Response Code and recognizes letter therein
Breath, is changed " opening picture-carry out two-dimensional code scanning in scanner-opening system picture library-selection system picture library "
This traditional scanning system picture library Quick Response Code mode, can greatly simplify user's operation.
Referring to Fig. 5, being the information interacting method based on Quick Response Code of another embodiment of the present invention.Described information interaction side
Method can include step S51~S56.
S51:First terminal transfers associated person information, and generates Quick Response Code corresponding with associated person information.
S52:First terminal, which is filtered out, can transmit the application program of bitmap file, and by application program by the two dimension
Code is sent to second terminal.
S53:Second terminal receives Quick Response Code, and Quick Response Code is stored in into system picture library.
S54:Whether second terminal part monitoring system picture library has multiple newly-increased pictures in the given time.
In the picture for monitoring to have multiple newly-increased in the system picture library scheduled time, the present embodiment performs step
S55 and S56.Monitoring that the present embodiment is directly held when only having a newly-increased picture in the system picture library scheduled time
Row step S56.
S55:Second terminal obtains in multiple described newly-increased pictures the picture containing Quick Response Code and is shown to user, and root
Quick Response Code is scanned according to user instruction.
S56:Second terminal scans Quick Response Code to obtain corresponding associated person information.
On the basis of the description of previous embodiment, but it is different from, the system of the present embodiment second terminal can be carried out
The delay operation of one scheduled time (such as 2 seconds), the purpose to distinguish user's operation.When in this section of scheduled time only
When one newly-increased picture is imported, it is that user is purposefully added to represent the picture, has greater probability to need scanning, now system is being prolonged
When terminate after can detect whether the newly-increased picture contains Quick Response Code, if so, then directly scanning and obtaining corresponding contact person
Information is simultaneously preserved.If there are multiple newly-increased pictures to import in this section of scheduled time, represent that user needs automatically scanning Quick Response Code
Purpose it is not strong, therefore only need to that newly-increased picture is made whether to include the detection of Quick Response Code after delay terminates.
Wherein, when having multiple newly-increased pictures to import within this section of scheduled time, the present embodiment can be newly-increased by multiple
The URI (Uniform Resource Identifier, Uniform Resource Identifier) of picture adds pending queue, without
By newly-increased image cache.Only when user is assigned, and the picture in pending queue is operated, the present embodiment ability according to
The newly-increased picture of URI cachings, and the picture for wherein including Quick Response Code is shown to user, transfer to user to choose whether scanning.
For CPU and memory source all extremely limited terminal, the easy a large amount of quilt of the loading of picture and processing procedure
Occupying system resources, cause system interim card and influence the performance of whole system, occur when serious OOM (Out of Memory,
Low memory) phenomenon.Based on this, in the picture for monitoring to have multiple newly-increased in the system picture library scheduled time, the present embodiment
Multiple newly-increased pictures can sequentially be added to obstruction queue, and set up thread pool, the multiple active lines set up using thread pool
Whether multiple newly-increased pictures in journey detection obstruction queue include Quick Response Code.
With reference to shown in Fig. 6, the openable worker thread number for example, N of this task maximum, thread are set using thread pool
Pond itself does not have worker thread when creating.Thread pool manager by multiple the newly-increased pictures obtained in the scheduled time sequentially
Add in obstruction queue, obstruction queue can guarantee that processing procedure is carried out in order.Blocking queue can produce to current worker thread
Obstruction, if obstruction queue is sky, current worker thread can be blocked until having newly-increased picture in obstruction queue, so
The worker thread being blocked afterwards can be waken up.The worker thread of wake-up judges that whether newly-increased picture includes Quick Response Code, and will sentence
Disconnected result adds result queue.Thread pool manager obtains the figure containing Quick Response Code in multiple newly-increased pictures from result queue
Piece.By way of blocking queue+thread pool, the present embodiment can be managed effectively, traffic control thread goes to recognize that multiple are new
Whether the picture of increasing includes Quick Response Code, it is to avoid excessive system resources consumption.
Referring to Fig. 7, being the concrete application of information interacting method one example based on Quick Response Code of the present invention.The embodiment is realized
The whole process of present invention, therefore not to repeat here.
It should be appreciated that can be combined with each other between each above-mentioned embodiment, and if above-mentioned functions with software function
Form realize and sell or take in storage medium in use, being storable in an electronic device-readable as stand-alone product, i.e.
The present invention also provides a kind of storage device for the data that have program stored therein, and described program data can be performed to realize above-mentioned implementation
The method of example, the storage device can be such as USB flash disk, CD, server.That is, each embodiment of the present invention can be with
Embodied in the form of software product, it includes some instructions to so that an intelligent terminal is performed described in each embodiment
The all or part of step of method.
Referring to Fig. 8, being the terminal that information exchange is carried out based on Quick Response Code of one embodiment of the invention.The terminal 80 can
So that including processor 81, memory 82, transceiver 83, display 84 and communication bus 85, processor 81 passes through communication bus 85
It is connected with memory 82, transceiver 83 and display 84.
Transceiver 83 is used to receive Quick Response Code, and Quick Response Code is stored in into system picture library.
Processor 81 is used for whether monitoring system picture library to have newly-increased picture, and has newly-increased in the system picture library of monitoring
Picture when the newly-increased picture of detection whether include Quick Response Code.If so, then processor 81 is used to scan Quick Response Code to obtain accordingly
Associated person information.
Memory 82 is used for storing contact information.
In order to increase the monitor duration to system picture library, i.e., monitoring state is macroscopically being always maintained at as far as possible, handled
Device 81 can improve the priority of the background process of monitoring system picture library so that the background process is changed into service processes, and
Whether there is newly-increased picture by service processes monitoring system picture library, or, improve the background process of monitoring system picture library
In the priority of front stage operation, then whether there is newly-increased picture by background process monitoring system picture library;Or, use
Whether service processes and finger daemon alternate monitoring system picture library have newly-increased picture.
When processor 81 monitors the picture for having multiple newly-increased in the system picture library scheduled time, the terminal 80 it is aobvious
Show that device 84 is used to the picture containing Quick Response Code in multiple newly-increased pictures being shown to user, transceiver 83 refers to for receiving user
Order, the user instruction that processor 81 is used to be received according to transceiver 83 scans Quick Response Code.
In the picture for monitoring to have multiple newly-increased in the system picture library scheduled time, processor 81 is used to increase newly multiple
Picture sequentially add obstruction queue, and set up thread pool, and the multiple worker threads detection obstruction set up using thread pool
Whether multiple newly-increased pictures in queue include Quick Response Code.
The said structure element correspondence of the terminal 80 of the present embodiment performs the letter based on Quick Response Code of each above-mentioned embodiment
Exchange method is ceased, with same technique effect.
Terminal (including first terminal and second terminal) described in full of the invention can be smart mobile phone, PDA (Personal
Digital Assistant, personal digital assistant or tablet personal computer) etc. mobile terminal or be worn on limbs or embedding
Enter the wearable device that there is associated person information to interact display function in clothing, jewellery, accessory.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
Technical characteristic is mutual between equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, such as each embodiment
With reference to, or other related technical fields are directly or indirectly used in, it is included within the scope of the present invention.
Claims (10)
1. a kind of information interacting method based on Quick Response Code, it is characterised in that methods described includes:
First terminal transfers associated person information, and generates Quick Response Code corresponding with the associated person information;
The first terminal, which is filtered out, can transmit the application program of bitmap file, and by the application program by the two dimension
Code is sent to second terminal;
Second terminal receives the Quick Response Code, and the Quick Response Code is stored in into system picture library;
The second terminal monitors whether the system picture library has newly-increased picture;
When monitoring that the system picture library has newly-increased picture, the second terminal detects whether the newly-increased picture wraps
Containing Quick Response Code;
If so, then the second terminal scans the Quick Response Code to obtain corresponding associated person information.
2. according to the method described in claim 1, it is characterised in that
The second terminal monitors whether the system picture library has newly-increased picture, including:
The second terminal part monitors whether the system picture library has multiple newly-increased pictures in the given time;
In the picture for monitoring to have multiple newly-increased in the system picture library scheduled time, the second terminal scanning described two
Code is tieed up, including:
The second terminal obtains in multiple described newly-increased pictures the picture containing Quick Response Code and is shown to user, and according to
Family instruction scan Quick Response Code.
3. method according to claim 2, it is characterised in that monitoring there is many in the system picture library scheduled time
During Zhang Xinzeng picture,
The second terminal detects whether the newly-increased picture includes Quick Response Code, including:
Multiple newly-increased pictures are sequentially added into obstruction queue;
Multiple set up in thread pool, and the multiple worker threads detection obstruction queue set up using the thread pool are increased newly
Picture whether include Quick Response Code.
4. according to the method described in claim 1, it is characterised in that the mark of picture in the second terminal monitoring system picture library
Know symbol to determine whether newly-increased picture.
5. according to the method described in claim 1, it is characterised in that the second terminal monitors whether the system picture library has
Newly-increased picture, including:
Improve the priority of the background process of monitoring system picture library so that the background process is changed into service processes, and passes through
Whether the service processes monitoring system picture library has newly-increased picture;
Or, the background process of monitoring system picture library is improved in the priority of front stage operation, then passes through the background process
Whether monitoring system picture library has newly-increased picture;
Or, whether there is newly-increased picture using service processes and finger daemon alternate monitoring system picture library.
6. it is a kind of based on Quick Response Code carry out information exchange terminal, it is characterised in that the terminal include processor and with institute
The memory and transceiver of processor connection are stated, wherein,
The transceiver is used to receive Quick Response Code, and the Quick Response Code is stored in into system picture library;
The processor is used to monitor whether the system picture library has newly-increased picture, and is monitoring the system picture library
Detect whether the newly-increased picture includes Quick Response Code when having newly-increased picture;If so, then the processor is described for scanning
Quick Response Code is to obtain corresponding associated person information;
The memory is used for storing contact information.
7. terminal according to claim 6, it is characterised in that the terminal also includes display, in processor prison
When measuring the picture for having multiple newly-increased in the system picture library scheduled time, the display is used for described that multiple to be newly-increased
The picture containing Quick Response Code is shown to user in picture, and the transceiver is used to receive user instruction, and the processor is used for root
The user instruction received according to the transceiver scans Quick Response Code.
8. terminal according to claim 7, it is characterised in that monitoring there is many in the system picture library scheduled time
During Zhang Xinzeng picture, the processor is used to multiple newly-increased pictures sequentially adding obstruction queue, and sets up thread pool,
And whether multiple newly-increased pictures in the multiple worker threads detection obstruction queue set up using the thread pool are included
Quick Response Code.
9. terminal according to claim 6, it is characterised in that the processor is used to improve after monitoring system picture library
The priority of platform process so that the background process is changed into service processes, and passes through the service processes monitoring system picture library
Whether newly-increased picture is had;Or, the background process of monitoring system picture library is improved in the priority of front stage operation, is then passed through
Whether the background process monitoring system picture library has newly-increased picture;Or, replaced using service processes and finger daemon
Whether monitoring system picture library has newly-increased picture.
10. a kind of storage device, it is characterised in that the storage device has program stored therein data, described program data can be by
Perform to realize the method as described in claim any one of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710233782.7A CN107172259B (en) | 2017-04-11 | 2017-04-11 | Terminal and information interaction method and storage device based on two-dimensional code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710233782.7A CN107172259B (en) | 2017-04-11 | 2017-04-11 | Terminal and information interaction method and storage device based on two-dimensional code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107172259A true CN107172259A (en) | 2017-09-15 |
CN107172259B CN107172259B (en) | 2020-09-25 |
Family
ID=59849208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710233782.7A Active CN107172259B (en) | 2017-04-11 | 2017-04-11 | Terminal and information interaction method and storage device based on two-dimensional code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172259B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446579A (en) * | 2018-03-15 | 2018-08-24 | 维沃移动通信有限公司 | A kind of graphic code knows method for distinguishing and terminal |
CN108984315A (en) * | 2018-06-14 | 2018-12-11 | 深圳市轱辘汽车维修技术有限公司 | Application data processing method, device, terminal and readable medium |
CN111091016A (en) * | 2018-10-23 | 2020-05-01 | 北京鼎九信息工程研究院有限公司 | Ding nine code reading method and device and mobile terminal |
CN111340165A (en) * | 2020-04-17 | 2020-06-26 | 支付宝(杭州)信息技术有限公司 | Data interaction method, device and equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8424775B2 (en) * | 2008-03-27 | 2013-04-23 | Denso Wave Incorporated | Two-dimensional code having rectangular region provided with specific patterns to specify cell positions and distinction from background |
CN103279730A (en) * | 2013-06-05 | 2013-09-04 | 北京奇虎科技有限公司 | Method and device for processing visualized image encoding by mobile terminal |
CN103854006A (en) * | 2012-12-06 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Image recognition method and device |
WO2014114930A1 (en) * | 2013-01-22 | 2014-07-31 | Mimio Llc | Two-dimensional code-driven method and system for synchronizing wireless devices with a computing device |
CN104144197A (en) * | 2013-09-26 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Information processing method, device, terminal equipment and system |
CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
CN105046186A (en) * | 2015-08-27 | 2015-11-11 | 北京恒华伟业科技股份有限公司 | Two-dimensional code recognition method and device |
CN105373557A (en) * | 2014-08-26 | 2016-03-02 | 腾讯科技(深圳)有限公司 | Content synchronization method and device |
CN105677748A (en) * | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Picture display method and device and electronic equipment |
CN105718979A (en) * | 2016-01-14 | 2016-06-29 | 厦门纳纬信息技术有限公司 | Method for generating two-dimensional code picture |
CN105893908A (en) * | 2016-03-31 | 2016-08-24 | 青岛海信移动通信技术股份有限公司 | Two-dimensional code image identification method and device |
CN106022426A (en) * | 2016-05-16 | 2016-10-12 | 微位(上海)网络科技有限公司 | Method and system for generating two-dimensional code with color pattern |
CN106453846A (en) * | 2016-09-14 | 2017-02-22 | 北京小米移动软件有限公司 | Display method and device for two-dimensional code business card |
-
2017
- 2017-04-11 CN CN201710233782.7A patent/CN107172259B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8424775B2 (en) * | 2008-03-27 | 2013-04-23 | Denso Wave Incorporated | Two-dimensional code having rectangular region provided with specific patterns to specify cell positions and distinction from background |
CN103854006A (en) * | 2012-12-06 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Image recognition method and device |
WO2014114930A1 (en) * | 2013-01-22 | 2014-07-31 | Mimio Llc | Two-dimensional code-driven method and system for synchronizing wireless devices with a computing device |
CN103279730A (en) * | 2013-06-05 | 2013-09-04 | 北京奇虎科技有限公司 | Method and device for processing visualized image encoding by mobile terminal |
CN104144197A (en) * | 2013-09-26 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Information processing method, device, terminal equipment and system |
CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
CN105373557A (en) * | 2014-08-26 | 2016-03-02 | 腾讯科技(深圳)有限公司 | Content synchronization method and device |
CN105046186A (en) * | 2015-08-27 | 2015-11-11 | 北京恒华伟业科技股份有限公司 | Two-dimensional code recognition method and device |
CN105677748A (en) * | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Picture display method and device and electronic equipment |
CN105718979A (en) * | 2016-01-14 | 2016-06-29 | 厦门纳纬信息技术有限公司 | Method for generating two-dimensional code picture |
CN105893908A (en) * | 2016-03-31 | 2016-08-24 | 青岛海信移动通信技术股份有限公司 | Two-dimensional code image identification method and device |
CN106022426A (en) * | 2016-05-16 | 2016-10-12 | 微位(上海)网络科技有限公司 | Method and system for generating two-dimensional code with color pattern |
CN106453846A (en) * | 2016-09-14 | 2017-02-22 | 北京小米移动软件有限公司 | Display method and device for two-dimensional code business card |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446579A (en) * | 2018-03-15 | 2018-08-24 | 维沃移动通信有限公司 | A kind of graphic code knows method for distinguishing and terminal |
CN108446579B (en) * | 2018-03-15 | 2020-07-28 | 维沃移动通信有限公司 | Method and terminal for identifying graphic code |
CN108984315A (en) * | 2018-06-14 | 2018-12-11 | 深圳市轱辘汽车维修技术有限公司 | Application data processing method, device, terminal and readable medium |
CN108984315B (en) * | 2018-06-14 | 2022-04-15 | 深圳市轱辘车联数据技术有限公司 | Application data processing method and device, terminal and readable medium |
CN111091016A (en) * | 2018-10-23 | 2020-05-01 | 北京鼎九信息工程研究院有限公司 | Ding nine code reading method and device and mobile terminal |
CN111091016B (en) * | 2018-10-23 | 2023-06-16 | 北京鼎九信息工程研究院有限公司 | Tripod nine-code reading method and device and mobile terminal |
CN111340165A (en) * | 2020-04-17 | 2020-06-26 | 支付宝(杭州)信息技术有限公司 | Data interaction method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107172259B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020248955A1 (en) | Content sharing method and electronic device | |
CN107172259A (en) | Terminal and its information interacting method, storage device based on Quick Response Code | |
US20180373851A1 (en) | Screen shot marking and identification for device security | |
US8320676B2 (en) | Method for configuring camera-equipped electronic devices using an encoded mark | |
EP2763034A1 (en) | Method and device for image-capturing application screen for use in mobile terminal | |
US10691390B2 (en) | Method and device for video rendering | |
AU2021229220B2 (en) | Image processing method and device | |
CN111935349B (en) | Terminal-based information display method and device, terminal and storage medium | |
US20240104248A1 (en) | Privacy transformations in data analytics | |
WO2014194827A1 (en) | Method and device for mobile terminal to process visualization graphics code | |
CN113051950B (en) | Multi-bar code identification method and related equipment | |
CN115687814A (en) | Two-dimensional code processing method and device | |
CN113672420B (en) | Fault detection method and electronic equipment | |
CN114237890A (en) | Application collaborative display method and device, server, terminal and program product | |
WO2021185232A1 (en) | Barcode identification method, and related device | |
CN115687783A (en) | Business application pushing method and device, storage medium and computer equipment | |
CN111858084B (en) | Data transmission method and device, electronic equipment and storage medium | |
WO2016173136A1 (en) | Terminal application processing method and device thereof | |
CN114690924A (en) | False touch prevention locking method, terminal device and computer readable storage medium | |
CN112492200B (en) | Photographing method and device, electronic equipment and storage medium | |
WO2022247664A1 (en) | Graphical interface display method, electronic device, medium, and program product | |
EP2624176A1 (en) | Menu assembly method, menu assembly system and terminal | |
WO2022267696A1 (en) | Content recognition method and apparatus, electronic device, and storage medium | |
CN110244892B (en) | Screen display method, mobile terminal and readable storage medium | |
CN110677251B (en) | Information processing method, device, medium and equipment |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200907 Address after: 315000 10 / F, No. 5, Lane 999, Yangfan Road, hi tech Zone, Ningbo City, Zhejiang Province Applicant after: TCL mobile communication technology (Ningbo) Co.,Ltd. Address before: 518063 Guangdong city of Shenzhen province Nanshan District ten South Road West High Technology South Road North Tower B 16 floor TCL Applicant before: Jiekai communication (Shenzhen) Co.,Ltd. |
|
TA01 | Transfer of patent application right |